[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-5149) Make OpenOn work for styleClass="|"

Victor Rubezhny (JIRA) jira-events at lists.jboss.org
Wed Nov 18 07:45:30 EST 2009


    [ https://jira.jboss.org/jira/browse/JBIDE-5149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12495223#action_12495223 ] 

Victor Rubezhny commented on JBIDE-5149:
----------------------------------------

The problem is that CSSClassHyperlinkPartitioner had never been responcible for JSF tags attributes like 'styleClass'. So, the test specified before is not supposed to work with success. CSSClassHyperlinkPartitioner is responcible only for standard HTML CSS classes declared using STYLE and LINK tags and supposed to be responcible to process hyperlink for 'class' attribute (not 'styleClass').

That's the reason I vote for a "New Feature", but not for a "Bug"

I've committed a new partitioner and hypelink classes to SVN due to support  'styleClass' attribute (you may run OpenOnCssClassTest_JBIDE4775 to test it). But if your test page is using a CSS class declared only on the same page. Because of partial support of included pages it will not work for CSS classes loaded by a templates (included using 'template' attribute). For the same reason I don't resolve the issue and mark it as depending on JBIDE-5119.

Please test it again (with the restrictions I desribed above) if you can and let me know on the result. (Don't forget to update org.jboss.tools.jsf.text.ext.richfaces plug-in as well as others needed plug-ins before testing)

> Make OpenOn work for styleClass="|"
> -----------------------------------
>
>                 Key: JBIDE-5149
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-5149
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: jsp/jsf/xml source editing
>    Affects Versions: 3.1.0.CR1
>            Reporter: Anton Klimkovich
>            Assignee: Victor Rubezhny
>             Fix For: 3.1.0.CR1
>
>
> EXECUTE: Create Seam web project
> EXECUTE: Open home.xhtml
> EXECUTE: Make OpenOn on  <h:messages globalOnly="true" styleClass="message"/>
> ASSERT:    Should redirect to class message
> EXECUTE: Add <link href="/pages/theme.css" rel="stylesheet" type="text/css"> to the page
> EXECUTE: add <h:inputText styleClass="input"/>
> EXECUTE: Make OpenOn on "input"
> ASSERT:   Should redirect to CSS file.

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

        


More information about the jbosstools-issues mailing list