[jbosstools-issues] [JBoss JIRA] (JBIDE-5388) Implement openOn for Jsf 2 resources declaration

Daniel Azarov (Updated) (JIRA) jira-events at lists.jboss.org
Tue Jan 10 13:51:09 EST 2012


     [ https://issues.jboss.org/browse/JBIDE-5388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Azarov updated JBIDE-5388:
---------------------------------

    Description: 
Add open on for such jsf 2 resource declaration #{resource['LIBRARY_NAME:RESOURCE_NAME']}".
Test case:
EXECUTE:
1. Create JSF 2 Project with following files in resource folder:
/resources/css/foobar.css
/resources/images/foobar.gif
/resources/javascript/foobar.js
2. Create page.xhtml file:

{code}
<html xmlns:h="http://java.sun.com/jsf/html">
   <head>
      <title>Example</title>
   </head>
   <body>
   		<!-- implemented -->
		<h:graphicImage library="images" name="foobar.gif"/>
		<h:outputStylesheet library="css" name="foobar.css"/>
		<h:outputScript library="javascript" name="foobar.js" target="head"/>
		
		<!-- via EL. Need to be done -->
		<h:graphicImage value="#{resource['images:foobar.jpg']}"/>
		<h:outputStylesheet value="#{resource['css:foobar.css']}"/>
		<h:outputScript value="#{resource['javascript:foobar.js']}"/>

	</body>
</html>
{code}

2. Press Ctrl button and click mouse to "foobar.jpg" or "foobar.css" or "foobar.js" in EL part
ASSERT: Selected file should be opened in editor

  was:Add open on for such jsf 2 resource declaration #{resource['LIBRARY_NAME:RESOURCE_NAME']}".


    
> Implement openOn for Jsf 2 resources declaration
> ------------------------------------------------
>
>                 Key: JBIDE-5388
>                 URL: https://issues.jboss.org/browse/JBIDE-5388
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: jsp/jsf/xml source editing
>    Affects Versions: 3.1.0.CR1
>            Reporter: Maxim Areshkau
>            Assignee: Daniel Azarov
>              Labels: jsf2
>             Fix For: 3.4.x
>
>
> Add open on for such jsf 2 resource declaration #{resource['LIBRARY_NAME:RESOURCE_NAME']}".
> Test case:
> EXECUTE:
> 1. Create JSF 2 Project with following files in resource folder:
> /resources/css/foobar.css
> /resources/images/foobar.gif
> /resources/javascript/foobar.js
> 2. Create page.xhtml file:
> {code}
> <html xmlns:h="http://java.sun.com/jsf/html">
>    <head>
>       <title>Example</title>
>    </head>
>    <body>
>    		<!-- implemented -->
> 		<h:graphicImage library="images" name="foobar.gif"/>
> 		<h:outputStylesheet library="css" name="foobar.css"/>
> 		<h:outputScript library="javascript" name="foobar.js" target="head"/>
> 		
> 		<!-- via EL. Need to be done -->
> 		<h:graphicImage value="#{resource['images:foobar.jpg']}"/>
> 		<h:outputStylesheet value="#{resource['css:foobar.css']}"/>
> 		<h:outputScript value="#{resource['javascript:foobar.js']}"/>
> 	</body>
> </html>
> {code}
> 2. Press Ctrl button and click mouse to "foobar.jpg" or "foobar.css" or "foobar.js" in EL part
> ASSERT: Selected file should be opened in editor

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list