[
https://jira.jboss.org/jira/browse/JBIDE-2550?page=com.atlassian.jira.plu...
]
Maxim Areshkau commented on JBIDE-2550:
---------------------------------------
For #2.a
Now we have EL resolutions, so if you specify #{resource['hskaCore:myImg.jpg']} in
our EL expression and provide a correct path for it, image will be loaded into visual page
editor from resources folder.
Preliminary support for JSF 2.0
-------------------------------
Key: JBIDE-2550
URL:
https://jira.jboss.org/jira/browse/JBIDE-2550
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: Visual Page Editor Templates
Affects Versions: 3.0.0.cr1
Reporter: Juergen Zimmermann
Assignee: Maxim Areshkau
Fix For: 3.1.0.M3
JSF 2.0 EDR1 is available. I tested it with my up and found only one issue:
https://javaserverfaces.dev.java.net/issues/show_bug.cgi?id=748
I tested the fix with Mojarra r5055 and it works fine.
However, the VPE cannot support previewing. There are only a couple of changes:
1) There is also <h:head> and <h:body> instead of plain <head> and
<body>
2) Images can be included this way: <h:graphicImage
value="#{resource['hskaCore:myImg.jpg']}" />
The default implementation will look for resources in two locations and in the following
order:
a) /resources this location represents resources in the webapp itself and if present,
must be in the root of the web application
b) /META-INF/resources this location represents resources on the classpath
More detail description about jsf 2.0 resources processing changes can be founded here:
for #2
http://blogs.sun.com/rlubke/entry/jsf_2_0_new_feature3
for #a & #b
http://blogs.sun.com/rlubke/entry/jsf_2_0_new_feature5
--
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