[jboss-user] [JBoss Seam] - Re: Seam Themes based on domain?

2007-05-25 Thread tim_perrett
Just thinking aloud - If i needed each theme to use a different XHTML file within seam, as perhaps the HTML was different, is this even possible? How does seam know to look for the view files? I am guessing there is a paramater i could set somwhere to dynamically point it at a different set of

[jboss-user] [JBoss Seam] - Re: Seam Themes based on domain?

2007-05-25 Thread tim_perrett
Ok great, so im guessing i can also use the themes to do it for any templae, not just the layout so i could also do: | | s:decorate template=#{theme.some.property} | ui:define name=labelZip:/ui:define | #{hotel.zip} | /s:decorate | |

[jboss-user] [JBoss Seam] - Re: Seam Themes based on domain?

2007-05-24 Thread tim_perrett
Ok sounds like the kind of thing I was thinking of! Excellent. So basicly, it will get called on every request due to the view id * in web.xml (should it be web.xml?) Many thanks Tim View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048264#4048264 Reply to

[jboss-user] [JBoss Seam] - Re: Seam Themes based on domain?

2007-05-24 Thread tim_perrett
LOL - sorry now that was a silly mistake!!! Cheers Tim PS: i'll do the code and post it back up when its ready :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048286#4048286 Reply to the post :

[jboss-user] [JBoss Seam] - Seam Themes based on domain?

2007-05-22 Thread tim_perrett
Hey Guys Is there a way that an appication could be configured to use a different theme based on the domain they were visiting? I have no idea if this is possible and would really appreciate your input :) Thanks Tim View the original post :

[jboss-user] [JBoss Seam] - Re: Using templates in Seam

2007-05-04 Thread tim_perrett
when you use seam gen to make a new project, take a look at template.xhtml That should put you on track to see how to implement the layout... Cheers Tim View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4043134#4043134 Reply to the post :

[jboss-user] [JBoss Seam] - where to go after generate entities?

2007-05-04 Thread tim_perrett
Hey all Starting with a default seam-gen app it deploys fine, however when i then do a reverse DB enginer it breaks. Where should I be looking? What are the usual steps to take to start building the app? Cheers Tim View the original post :

[jboss-user] [JBoss Seam] - Building the correct WARs for Tomcat

2007-04-21 Thread tim_perrett
Hey all I have constucted an Ant script that *looks* to build the correct type of WAR file for deployment in tomcat. However, and im not sure if i think this is a tomcat issue or one related to seam but it doesnt actually deploy in tomcat. I have set it up so that it includes the correct

[jboss-user] [JBoss Seam] - Re: Building the correct WARs for Tomcat

2007-04-21 Thread tim_perrett
From what i can find out it seams to be a generic error that tomcat produces when it cant do somthing. Which is, well, not very helpfull to be honest! There looks to be an active seam comunity but i guess your all using JBoss AS? I am running OSX and linux, so perhaps I might change

[jboss-user] [JBoss Seam] - Re: Building the correct WARs for Tomcat

2007-04-21 Thread tim_perrett
For sure, i have the examples working on tomcat no problem at all. Thats the ironic thing The examples worked out of the box, it just did what it said on the tin! lol I have been using seam-gen to build my projects so far with no problems. I just thought that i would keep it 100% simple,

[jboss-user] [JBoss Seam] - Re: Building the correct WARs for Tomcat

2007-04-21 Thread tim_perrett
I get the following error when deploying to Jboss [EMAIL PROTECTED] { url=file:/Applications/jboss-4.0.5.GA/server/default/deploy/jboss-seam-contactlist.ear } deployer: [EMAIL PROTECTED] status: Deployment FAILED reason: ejb-jar.xml must either obey the right xml schema or define a valid

[jboss-user] [JBoss Seam] - Re: Building the correct WARs for Tomcat

2007-04-21 Thread tim_perrett
lol excellent - its working, the examples anyway! JBoss gives me better errors than tomcat and seems to work just as well so all good. Just a quick one about seam... After creating a new project using seam gen, would you expect that to just work or does it *always* require extra config to

[jboss-user] [JBoss Seam] - Re: Building the correct WARs for Tomcat

2007-04-21 Thread tim_perrett
oh ok cool. The thing is it keep generating Authenticator.java. which looks to be a method for loggin in, wont this cause errors ootb? I have the examples all working both tomcat and JBoss AS now, but i'll be dammed if i can make an seam-gen one work correctly lol Even with a basic

[jboss-user] [JBoss Seam] - Re: Tomcat target for your use (almost done - need help with

2007-04-19 Thread tim_perrett
Brilliant, have been looking for a Tomcat Ant script as ive been having problems with it still including the serverlet-api JAR. Is everything as it should be with your other XML configs? What about the DB driver, have you included connector/j ? cheers Tim Perrett View the original post :