[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-1781) CA: content assist doesn't work for "styleClass" and "class" attributes

Alexey Kazakov (JIRA) jira-events at lists.jboss.org
Thu Feb 14 08:40:26 EST 2008


    [ http://jira.jboss.com/jira/browse/JBIDE-1781?page=comments#action_12399426 ] 
            
Alexey Kazakov commented on JBIDE-1781:
---------------------------------------

There are a pair of *style* attributes in html: "style" and "class" for example: <a style="..." class="..."/>
Very often JSF tags use the similar attributes: "style" and "styleClass". For example: <h:outputText style="..." styleClass="..."/>
WTP provides CA for style/class attributes for HTML tags.
It would be nice if our CA could provide similar CA for style/styleClass attributes fo JSF tags. But we never did it.
As I see the both issues are about the same missing feature.

> CA: content assist doesn't work for "styleClass" and "class" attributes
> -----------------------------------------------------------------------
>
>                 Key: JBIDE-1781
>                 URL: http://jira.jboss.com/jira/browse/JBIDE-1781
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: jsp/jsf/xml source editing
>    Affects Versions: 2.0.1
>            Reporter: Andrei Scherbovich
>         Assigned To: Maxim Areshkau
>            Priority: Minor
>
> Content assist doesn't work for "styleClass" and "class" attributes. It should display available style classes.
> Steps to reproduce:
> 1. EXECUTE: create style class in jsp (or any) file
>                  <style type="text/css">
> 			.myStyle {
> 				background: pink;
> 				color: green;
> 			}
>                  </style>
> 2. EXECUTE: create any component where user can use "styleClass" or "class" attributes (<h:outputText> e.g.)
> 3. EXECUTE: create "styleClass" or "class" attributes and try to use CA for choosing "myStyle"
> => CA doesn't work

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list