-
1. Re: I can not access Seam-core from UIComponent
asookazian Aug 10, 2009 9:46 PM (in response to kaboel.repel.steel.scarlet.be)use seam-gen to generate a project skeleton and you will most likely avoid this problem...
-
2. Re: I can not access Seam-core from UIComponent
wilhelmtell Aug 11, 2009 12:06 AM (in response to kaboel.repel.steel.scarlet.be)Should it not have been org.jboss.seam.core.Expressions which is located in the jboss.seam.jar.
-
3. Re: I can not access Seam-core from UIComponent
asookazian Aug 11, 2009 12:19 AM (in response to kaboel.repel.steel.scarlet.be)In 2.1.2 I see org.jboss.seam.core.Expressions.
-
4. Re: I can not access Seam-core from UIComponent
swd847 Aug 11, 2009 12:58 AM (in response to kaboel.repel.steel.scarlet.be)I am assuming that you are deploying in an ear? If so try putting the library in the ear lib directory (and make the appropriate application.xml entry if using 4.x) and it should work.
-
5. Re: I can not access Seam-core from UIComponent
asookazian Aug 11, 2009 1:05 AM (in response to kaboel.repel.steel.scarlet.be)For an EAR deployment, you should see this in application.xml:
<module> <ejb>jboss-seam.jar</ejb> </module>
Otherwise, do a seam-gen like I said and then compare the code via diff, etc.
-
6. Re: I can not access Seam-core from UIComponent
kaboel.repel.steel.scarlet.be Aug 11, 2009 1:46 AM (in response to kaboel.repel.steel.scarlet.be)
["
thanks for answering :
was talking to myself -- trying to get to the answer:
refference When the taskBackButton I will read it and come back <<<<<
-Clearly ear deployed but jboss 5.1
I'm not referencing anithing in project.jar ...
but I've a common library in Jboss/default/lib assisting both ear and Taglib code
this code seems to run fine and is working in theTaglib... UIComponent classloader
apearently I can not access jboss-seam.jar ....
wich is properly specified in application.xml (i think nothing would work if I made my mistake there ...
I trap the ClassNotfound error just logging output and the application definitly runs fine
asside from calling seam-core
-Seam-gen sure but it does not realy support taglib development .... I'm trying <<<
-expresion(s) was clearly a typing error
"] -
7. Re: I can not access Seam-core from UIComponent
kaboel.repel.steel.scarlet.be Aug 11, 2009 1:54 AM (in response to kaboel.repel.steel.scarlet.be)
Checked the WhenTheBackButtonDoesNotWork
as far as I can see it does not apply
I'm not using page navigation yet
and the application is independent and simple
input and output few strings to a database (application works)
I use it as a simple environment just to call my new UIcomponent
but for now I have a zero impact on the application (none) -
8. Re: I can not access Seam-core from UIComponent
swd847 Aug 11, 2009 2:01 AM (in response to kaboel.repel.steel.scarlet.be)This is a classloading issue, if you put your taglib in the root of the ear it should start working.
In the diagram your taglib is being loaded by 'WarLoader' and jboss-seam.jar is being loaded by 'EJB ENCLoader'. These loaders are isolated so your taglib cannot access the classes declared in jboss-seam.jar. Just move the taglib out of WEB-INF/lib and into the EAR.