[JBoss Seam] - Re: Seam 2.0.0 B1 & validateAll
by FabBoco
Since I have not resolved my problem with , I am trying to compare my application with the trinidad example provided with seam.
I have checked seam out from cvs repository and built it.
Then I go into the trinidad directory to build the jboss-seam libraries. I get the following error running ant:
| /root/jboss-seam/trinidad/build.xml:35: /root/jboss-seam/trinidad/${trinidad.lib.dir} not found.
|
Almost the same error if try to compile the seamdiscs example
| BUILD FAILED
| /root/jboss-seam/trinidad/examples/seamdiscs/build.xml:60: The following error occurred while executing this line:
| /root/jboss-seam/trinidad/build.xml:35: /root/jboss-seam/trinidad/${trinidad.lib.dir} not found.
|
Is there anybody out there that can help ?
Thank you
Fabrizio
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063926#4063926
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063926
19Â years
[JBoss Portal] - Re: how to get LayoutService in a external webapp (not portl
by cpage
i have one generic jsp for all of my layouts. (to make easiest the maintenability)
so, instead of something like that in many jsp
<p:region regionName='left' regionID='regionA'/>
| <p:region regionName='center' regionID='regionB'/>
| ....
|
i have a custom tag who generate the good tags p:region :
<cp:myownregionTag>
public class MyOwnRegionTagHandler extends RegionTagHandler{
...
for each regions ....
{
setRegionID(layoutName + "-" + region.getId());
setRegionName(region.getId());
super.doTag();
}
i get the list of the regions from the pageResult
but page.getRegions don't get the empty regions
| PageContext app = (PageContext) getJspContext();
| HttpServletRequest request = (HttpServletRequest) app.getRequest();
| PageResult page = (PageResult) request.getAttribute(LayoutConstants.ATTR_PAGE);
|
| String layoutName = page.getProperty("layout.id");
most of the times, this works well because i don't have empty regions.
but in the dashboard, users could move portlets and make empty regions and when they reconnect, they can't move back there portlets because region is no longer in the page layout.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063923#4063923
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063923
19Â years
[JBoss Seam] - Need urgent help : tomcatSeam2_0 and tomcat6
by icap
Hello their
How do you integrate seam into tomcat
I have tried to follow the documentation of seam
---------------------------------------------------
Thi sis what I did:
1) I have set the location of your Tomcat 6.0 installation in the build.properties file in the root folder of your Seam installation
(25.5.1. Installing Embedded JBoss)
2) I have copied all files and directories under the Embedded JBoss bootstrap and lib directories, except for the jndi.properties file, into the Tomcat lib directory.
Removed the annotations-api.jar file from the Tomcat lib directory.
3) I heve added the Embedded JBoss listener to conf/server.xml.
For the WAR file scanning to be enabled I added a listener to conf/context.xml.
4) Then I go to
D:\EclipseJbossSeam\jboss-seam-2.0.0.BETA1\examples\registration
and do ant deploy.tomcat
Result:
[copy] Copying 1 file to D:\EclipseJbossSeam\jboss4_2\server\default\deploy
-- I already see maybe one problem why doesn't ant build my file into tomcat ????
5) If I decompress the jboss-seam-registration.ear and put the war file under tomcat6/webapps I get the following error
Error listenerStart
13 juil. 2007 12:15:12 org.apache.catalina.core.StandardContext start
GRAVE: Erreur de dÚmarrage du contexte [/jboss-seam-registration] suite aux erre
urs prÚcÚdentes
------------------------------------
What am I missing ???
Do I need to embed ejb3 and if so how ????
I am not far from dropping seam if I don't find a solution so don't hesitate to answer me (I have a deadline soon)
My mail is icapidees(a)yahoo.fr
Thank's in advance
----------------------------
What can I do to fix it ???
Thanks in advance,
icap
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063905#4063905
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063905
19Â years