double post, apologizes:curses back button:
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4021807#4021807
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4021807
___
jboss-
Speak for yourself man, just copy one of the examples, or do seam gen, and that
is it, start coding.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4021806#4021806
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4021806
Just a quick reply so that it may help future "non seam gen" coders:
I also go bitten by :
| 13:51:16,296 ERROR [STDERR] javax.faces.FacesException:
com.sun.faces.lifecycle.LifecycleFactoryImpl
| 13:51:16,296 ERROR [STDERR] at
javax.faces.FactoryFinder.getImplGivenPreviousImpl(Factor
Speak for yourself, just follow one of the example projects as a template.
Setting everything up has been the easiest experience for me.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996350#3996350
Reply to the post :
http://www.jboss.com/index.html?module
Yes. You can also build the seam examples to see working examples of how to
build Seam with the various supporting technologies.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996292#3996292
Reply to the post :
http://www.jboss.com/index.html?module=bb&op
I got it working.
Keys to the solution: el-*.jar must be in the ear and of course must be
referenced in application.xml. I was trying a bunch of other things which gave
me a bunch of other exceptions; once I did everything simpy, and just put the
el-*.jars where they were needed, it worked.
I
Without knowing more about your configuration files I can't help you except
saying they might be flawed (surprise ?!) - i.e. the
org.jboss.seam.ui.facelet.SeamFaceletViewHandler is configured in my web.xml
_not_ in faces-config.xml.
If I were you I would use seam-gen (as described at
http://do
Ok, I looked some more in the seam-pay application, and I found that its
application.xml file references:
| jboss-seam-pay.jar
|
|
| jboss-seam.jar
|
|
| el-api.jar
|
|
| el-ri.jar
|
|
Are these need
And now, after closely copying the seampay example, whenever I try to access a
page with the .seam extension, I get:
01:32:04,519 ERROR [PhaseListenerManager] Exception in PhaseListener
RESTORE_VIEW(1) afterPhase
| java.lang.IllegalStateException: No phase id bound to current thread (make
sur
Now I copied the myfaces jars from the facelets distribution, and I get:
00:59:18,186 ERROR [StartupServletContextListener] Error initializing
ServletContext
| javax.faces.FacesException: org.jboss.seam.jsf.SeamApplicationFactory
| at
javax.faces.FactoryFinder.getImplGivenPreviousImp
And I just looked at that error, and looked at the source code. In
src/ui/org/jboss/seam/ui/facelet/SeamFaceletViewHandler.java, it says:
public class SeamFaceletViewHandler extends FaceletViewHandler
so SeamFaceletViewHandler most certainly is a FaceletViewHandler. There must
be a bug in
org
After some more changes I am now getting:
java.lang.IllegalArgumentException: Class
org.jboss.seam.ui.facelet.SeamFaceletViewHandler is no
javax.faces.application.ViewHandler
|
In my entire experience with JBoss and Seam, about 40% of the project time has
been spent working on config files
"[EMAIL PROTECTED]" wrote : Oh, and Facelets is trivial to set up. Have a
look at the examples. I would NEVER go back to plain JSPs unless forced to.
It simply is not trivial. It is far from trivial. I have been working on this
all evening. I can't get past this exception, even though tha
I'm trying to figure out how the example Facelet apps are working. The one I
am looking at, Seampay, has NO jars at all. I don't see how this is even
possible. Are you sure that Facelets is practical with Seam and JBoss? There
doesn't seem to be much information about what is needed and I ca
Ok, I'll try that. I'm now thinking that the problem is I don't have the
Facelets Servlet installed in my web.xml. That would make sense; it's a
load-on-startup servlet which probably does set up factories, etc.
But then I'm totally confused about URLs. Right now my files are .jsp files,
but
Add the same jars that the example apps add. :)
I'm assuming the only thing you have to add is jsf-facelets.jar, but since I
don't normally use JSP with seam, I may be forgetting something obvious. You
should really just build one of the examples that uses facelets and compare.
View the or
Ok, I'm running plain vanilla JBoss 4.0.5 with whatever Tomcat it comes with,
meaning that I'm using JSP 2.0, so that shouldn't be a problem.
"[EMAIL PROTECTED]" wrote : Oh, and Facelets is trivial to set up. Have a
look at the examples. I would NEVER go back to plain JSPs unless forced to.
Oh, and Facelets is trivial to set up. Have a look at the examples. I would
NEVER go back to plain JSPs unless forced to.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996240#3996240
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posti
If you are using JBoss 4, you are using JSP 2.0. JSP 2.1 is the Java EE 5
version, which is sadly not yet available on JBoss 4. I believe Tomcat 6
supports JSP 2.1, but you have to go to JBoss 5 for that. (Or maybe JBoss 4.2,
though I've given up trying to figure out what exactly will or won'
I looked into it some more, and it looks like it would be substantial work to
convert ALL my existing JSP pages to proper XML Faclets pages. Also it looks
like it's non-trivial to even get Faclets working within JBoss; I kept on
getting exceptions like:
java.lang.IllegalStateException: Applica
20 matches
Mail list logo