This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 121234

Summary: Can not set id of XHTML components via property editor
Product: obsolete Reporter: Winston Prakash <wjprakash>
Component: visualwebAssignee: _ sandipchitale <sandipchitale>
Status: STARTED ---    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description Winston Prakash 2007-11-05 23:42:08 UTC
It is impossible to set the id of XHTML components. The id is disabled.
The only way for now is to set it via JSP editor.

If I have some CSS rules in the Style Sheet

#container{
}

then it is impossible to assign it to XHTML <div> via property sheet.
I need to go to JSP and editr

<div id=container ..
Comment 1 _ sandipchitale 2007-11-06 01:59:29 UTC
Apparently this is because of:

    /*
     * @see org.netbeans.modules.visualweb.insync.beans.Bean#canSetName()
     */
    public boolean canSetName() {
        return false;
    }

in org.netbeans.modules.visualweb.insync.faces.HtmlBean
Comment 2 _ sandipchitale 2007-11-16 22:14:55 UTC
This was most likely intensional. So in that sense this is an enhancement.