[JBoss Portal] - Re: JSF Portlet tutorial out of date?
by desropolis
OK, so SeamApplicationFactory is not an ApplicationFactory.
It sounds like MyFaces is unwilling to accept the SeamApplicationFactory for some reason.
I haven't started using Seam at all, so I could be way off, but perhaps the versions of Seam and MyFaces are not in agreement.
For this we need to know the exact version of MyFaces distributed with JBP 2.6.1 and the exact version of Seam you're using.
The other thing that could help is looking at the stack trace and finding out which MyFaces class doesn't like the Seam class.
Then... Read the MyFaces Source Code!
It is not as scary as it sounds and you can probably do it from a browser. I don't know what version control they're using.
Post the stack trace and I'll see what I can do. Maybe some JBoss person will take pity on us in the meantime.
Dean
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4069751#4069751
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4069751
18Â years, 8Â months
[JBoss Seam] - seam/jboss/richfaces classloading problems
by schmod54
Hello. I'm a newbie to seam. I'm using seam 2.0.0.B1 and jboss 4.2.0.GA.
I seam-genned a new project. I wanted to make my own richfaces tree... so I made a class that implements org.richfaces.component.TreeNode. Everything compiles and packages fine. But when I deploy, I get the following error:
java.lang.NoClassDefFoundError: org/richfaces/component/TreeNode
| at java.lang.ClassLoader.defineClass1(Native Method)
I've tried playing with jboss class loading settings, and tried moving the location of various jars between my war's lib and my ear's lib, and tried putting various combinations of jars in my server/default/lib directory, but all I've succeeded in doing is getting different types of classloader errors. Can anyone give me specific instructions on how to subclass a richfaces component in a seam-gen structure? Thanks!
P.S. I suspect this is a problem with the embedded ejb container that seamgen made for me... do I need that container if I'm running my ear inside jboss? If not, how do I get rid of it? Thanks again!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4069749#4069749
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4069749
18Â years, 8Â months
[JBoss Seam] - Not able to use conversation context variable
by sawant.yuvraj
Hi,
I am trying to use a Conversation in my application. A conversation is getting created but the Conversation context Variables cannot be accessed on next page. If I return a "" from and API in SFSB it goes to the same page and I am able to see the contents of a conversation context variable but when I forward it to a different JSF page I am not able to find this conversation context variable on new page.
I also verified it using debug.seam page provided by JBoss to watch various context variables . I found out that conversation has been established and this conversation holds a variable which I want to display.
Do we have to modify any configuration file to support conversation?
I am stuck and am not able to find out a way to use a variable which is present in conversation context on target JSF page.
TIA,
Regards,
Yuvraj.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4069748#4069748
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4069748
18Â years, 8Â months