-
1. Re: Sun Java studio Creator 2 and JBoss Seam
kusan Jun 26, 2006 12:46 PM (in response to dloiacono)I am having this same problem. It is possible to run studio creator 2 applicaitons in JBOSS, it's just that if you try to put seam it throughs a lot of exceptions
-
2. Re: Sun Java studio Creator 2 and JBoss Seam
dloiacono Jun 27, 2006 9:05 AM (in response to dloiacono)The solution is:
1) creator.taglib.xml like this<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE facelet-taglib PUBLIC "-//Sun Microsystems, Inc.//DTD Facelet Taglib 1.0//EN" "http://java.sun.com/dtd/facelet-taglib_1_0.dtd"> <facelet-taglib> <namespace>http://www.sun.com/web/ui</namespace> <tag> <tag-name>calendar</tag-name> <component> <component-type>com.sun.rave.web.ui.Calendar</component-type> <renderer-type>com.sun.rave.web.ui.Calendar</renderer-type> </component> </tag> <tag> <tag-name>form</tag-name> <component> <component-type>com.sun.rave.web.ui.Form</component-type> <renderer-type>com.sun.rave.web.ui.Form</renderer-type> </component> </tag> <tag> <tag-name>body</tag-name> <component> <component-type>com.sun.rave.web.ui.Body</component-type> <renderer-type>com.sun.rave.web.ui.Body</renderer-type> </component> </tag> <tag> <tag-name>page</tag-name> <component> <component-type>com.sun.rave.web.ui.Page</component-type> <renderer-type>com.sun.rave.web.ui.Page</renderer-type> </component> </tag> <tag> <tag-name>head</tag-name> <component> <component-type>com.sun.rave.web.ui.Head</component-type> <renderer-type>com.sun.rave.web.ui.Head</renderer-type> </component> </tag> <tag> <tag-name>html</tag-name> <component> <component-type>com.sun.rave.web.ui.Html</component-type> <renderer-type>com.sun.rave.web.ui.Html</renderer-type> </component> </tag> <tag> <tag-name>link</tag-name> <component> <component-type>com.sun.rave.web.ui.Link</component-type> <renderer-type>com.sun.rave.web.ui.Link</renderer-type> </component> </tag> <tag> <tag-name>panelLayout</tag-name> <component> <component-type>com.sun.rave.web.ui.PanelLayout</component-type> <renderer-type>com.sun.rave.web.ui.PanelLayout</renderer-type> </component> </tag> <tag> <tag-name>tabSet</tag-name> <component> <component-type>com.sun.rave.web.ui.TabSet</component-type> <renderer-type>com.sun.rave.web.ui.TabSet</renderer-type> </component> </tag> <tag> <tag-name>tab</tag-name> <component> <component-type>com.sun.rave.web.ui.Tab</component-type> <renderer-type>com.sun.rave.web.ui.Tab</renderer-type> </component> </tag> <tag> <tag-name>dropDown</tag-name> <component> <component-type>com.sun.rave.web.ui.DropDown</component-type> <renderer-type>com.sun.rave.web.ui.DropDown</renderer-type> </component> </tag> <tag> <tag-name>panelGroup</tag-name> <component> <component-type>com.sun.rave.web.ui.PanelGroup</component-type> <renderer-type>com.sun.rave.web.ui.PanelGroup</renderer-type> </component> </tag> <tag> <tag-name>messageGroup</tag-name> <component> <component-type>com.sun.rave.web.ui.MessageGroup</component-type> <renderer-type>com.sun.rave.web.ui.MessageGroup</renderer-type> </component> </tag> <tag> <tag-name>label</tag-name> <component> <component-type>com.sun.rave.web.ui.Label</component-type> <renderer-type>com.sun.rave.web.ui.Label</renderer-type> </component> </tag> <tag> <tag-name>pageSeparator</tag-name> <component> <component-type>com.sun.rave.web.ui.PageSeparator</component-type> <renderer-type>com.sun.rave.web.ui.PageSeparator</renderer-type> </component> </tag> <tag> <tag-name>hyperlink</tag-name> <component> <component-type>com.sun.rave.web.ui.Hyperlink</component-type> <renderer-type>com.sun.rave.web.ui.Hyperlink</renderer-type> </component> </tag> <tag> <tag-name>textField</tag-name> <component> <component-type>com.sun.rave.web.ui.TextField</component-type> <renderer-type>com.sun.rave.web.ui.TextField</renderer-type> </component> </tag> <tag> <tag-name>passwordField</tag-name> <component> <component-type>com.sun.rave.web.ui.PasswordField</component-type> <renderer-type>com.sun.rave.web.ui.PasswordField</renderer-type> </component> </tag> <tag> <tag-name>staticText</tag-name> <component> <component-type>com.sun.rave.web.ui.StaticText</component-type> <renderer-type>com.sun.rave.web.ui.StaticText</renderer-type> </component> </tag> </facelet-taglib>
2)in web.xml.... <context-param> <param-name>facelets.LIBRARIES</param-name> <param-value>/WEB-INF/creator.taglib.xml</param-value> </context-param> ....
3) include sun jars in your application
4) remove myFaces implementation from /jbossweb-tomcat55.sar/jsf-libs -
3. Re: Sun Java studio Creator 2 and JBoss Seam
sitongia Aug 3, 2006 8:47 AM (in response to dloiacono)Hi,
Wow, this is just what I was looking for! I've been investigating Seam, and just started trying out Creator.
Are webui.jar, webui-dt.jar the only Sun jars you need to add to your project?
Have you written about this online, in a blog, perhaps?
It would be wonderful if you have a sample project that I could download.
Thanks!
==Leonard -
4. Re: Sun Java studio Creator 2 and JBoss Seam
maxandersen Aug 3, 2006 8:50 AM (in response to dloiacono)how do you work around the "issue" with creators requirment how always having a concrete backingbean ?
-
5. Re: Sun Java studio Creator 2 and JBoss Seam
dloiacono Aug 3, 2006 8:55 AM (in response to dloiacono)An Ant script that delete backing bean and delete "binding" from tags in pages.
-
6. Re: Sun Java studio Creator 2 and JBoss Seam
arondaniel Nov 8, 2006 6:37 PM (in response to dloiacono)Hello,
Although I'm not attempting to use SEAM (just JSF) this page seems the closest match to what I'm experiencing.
I'm using jboss4.0.4.GA, default JSF, and attempting to deploy a war with Sun rave UI in it, from Java Studio Creator 2.
Just like you mentioned, the sun ui components don't render at all, but I don't get any exceptions either.
o I'm including sun's jars in the ear containing the war (except sun jsf jars)
o I copied Sun's jstl.jar and default.jar to deploy/jbossweb-tomcat55.sar.
o I added in the creator.taglib.xml as you explained, and context-param in web.xml
Still the same thing, no errors, nothing rendered.
Do you have any suggestion?
Thanks,
-Aron