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 - Can not set id of XHTML components via property editor
Summary: Can not set id of XHTML components via property editor
Status: STARTED
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: _ sandipchitale
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-05 23:42 UTC by Winston Prakash
Modified: 2008-03-26 16:35 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.