This content has been marked as final.
Show 7 replies
-
1. Re: Seam Object in JSP Scriptlet
gavin.king Sep 19, 2006 3:32 PM (in response to sateeshnagilla)There is NEVER any good reason to use scriptlets. Please don't do this.
-
2. Re: Seam Object in JSP Scriptlet
mrohad Sep 20, 2006 4:29 AM (in response to sateeshnagilla)I used ti import classes in JSP (moslty Constants) and use them inside the JSP , how can I do that with JSF?
-
3. Re: Seam Object in JSP Scriptlet
gavin.king Sep 20, 2006 4:35 AM (in response to sateeshnagilla)create a component which holds the constants as properties, and use EL:
<h:outputText value="#{constants.someValue}"/>
-
4. Re: Seam Object in JSP Scriptlet
mrohad Sep 25, 2006 3:13 AM (in response to sateeshnagilla)what about ENUM ?
-
5. Re: Seam Object in JSP Scriptlet
cja987 Sep 25, 2006 11:39 AM (in response to sateeshnagilla)JSF 1.2 handles enums just fine. 1.1 will require you to supply your own enum converter.
This page has one of the simplest enum converters around: http://brondsema.net/blog/index.php/2005/09/30/jsf_and_java_5_0_enums -
6. Re: Seam Object in JSP Scriptlet
mrohad Sep 25, 2006 1:44 PM (in response to sateeshnagilla)how do I upgrade to JSF 1.2?
(which jars should I replace)
Thanks! -
7. Re: Seam Object in JSP Scriptlet
cja987 Sep 25, 2006 2:12 PM (in response to sateeshnagilla)Check the Wiki:
http://wiki.jboss.org/wiki/Wiki.jsp?page=SeamWithJSF1.2