[jboss-user] [JBoss Seam] - Seeking wisdom behind source code layout change with 1.2.1

2007-04-10 Thread DataGazetteer
I just finished migrating a project from 1.1.6 to 1.2.1 and in the course of doing so wondered why 'seam-gen' creates a skeleton project with top-level 'action' and 'model' and 'test' packages in the source directory. E.g., my seam-gen new-project generates this: ... | file-copy: | [c

[jboss-user] [JBoss Seam] - Re: Seam 1.1.6.GA

2007-02-08 Thread DataGazetteer
"[EMAIL PROTECTED]" wrote : | Migration guide: | Other than what you noted in the migration guide, can I simply copy the JARs over to my project and let it fly? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013269#4013269 Reply to the post : http://w

[jboss-user] [JBoss Seam] - Re: Seam via Apache and ProxyPass/ProxyPassReverse not worki

2007-02-02 Thread DataGazetteer
I found a way to work around this by adding additional ProxyPass and ProxyPassReverse lines. The source of the mysterious applet context path still remains, though, as the "/drc" path still shows up in the browser for Seam Facelet form only. This is quite strange and unexpected. | |

[jboss-user] [JBoss Seam] - Re: Seam via Apache and ProxyPass/ProxyPassReverse not worki

2007-01-31 Thread DataGazetteer
A follow-up -- I've tweaked the Apache configuration to the point where I can get the home page to load, but the next step in the application -- form submissions -- is not working. Here is the new Apache configuration (different from the first by adding some trailing slashes to some of the para

[jboss-user] [JBoss Seam] - Seam via Apache and ProxyPass/ProxyPassReverse not working

2007-01-31 Thread DataGazetteer
I'm trying to route my Seam application through an Apache virtual host and am running into problems with URL rewriting. I'm following these instructions for accomplishing the same task for Confluence: http://confluence.atlassian.com/display/DOC/Using+Apache+with+mod_proxy#UsingApachewithmod_pro

[jboss-user] [JBoss Seam] - Possible bug -- conflict with app's own 'StringUtility' clas

2007-01-09 Thread DataGazetteer
I created a class called 'StringUtility' in a package called 'Utility' and encountered this stack trace when deploying: | 16:57:39,660 INFO [Initialization] initializing Seam | 16:57:39,704 INFO [Scanner] scanning: .../jboss-4.0.5.GA/server/default/deploy/app.ear/app.jar | 16:57:40,064

[jboss-user] [JBoss Seam] - Does Seam know too much about its context? -- Apache Mod_Rew

2007-01-09 Thread DataGazetteer
For various reasons -- enough reasons to be roadblocks to considering otherwise -- we need to front JBoss with Apache HTTPD. Some of these reasons also mean that we want the servlet application to appear it is at the root of the web server. When we had a straight Tomcat-hosted servlet, this bi

[jboss-user] [JBoss Seam] - Re: Seeking best way to get docRoot from the application con

2007-01-09 Thread DataGazetteer
Ah, I think I see. Something like this? | import javax.faces.context.FacesContext; | import javax.servlet.ServletContext; | | FacesContext facesContext = FacesContext.getCurrentInstance(); | ServletContext servletContext = (ServletContext) facesContext.getExternalContext().getContext

[jboss-user] [JBoss Seam] - Re: Seeking best way to get docBase from the application con

2007-01-09 Thread DataGazetteer
Sorry, no -- I didn't type the exact name of what I'm looking for and that is undoubtedly a source of confusion. What I need is the best way to get the /docBase/ -- otherwise known as the "Context Root" according to the Tomcat documentation: anonymous wrote : The Document Base (also known as t

[jboss-user] [JBoss Seam] - Seeking best way to get docRoot from the application context

2007-01-09 Thread DataGazetteer
I'm looking for the recommended way to get the docRoot in a SEAM application. Would it be best to go through http://docs.jboss.com/seam/latest/api/org/jboss/seam/contexts/Contexts.html#getApplicationContext()? If so, what would that look like in code? View the original post : http://www.jbos

[jboss-user] [JBoss Seam] - Re: JSF Exception handling

2006-12-31 Thread DataGazetteer
Did you ever get an answer to this? It seems like a good technique and one I would like to apply myself... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3997096#3997096 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=39

[jboss-user] [JBoss Seam] - Re: Using an @Logger instance outside of a SEAM POJO

2006-12-15 Thread DataGazetteer
"DataGazetteer" wrote : I have a feeling I'm doing something very wrong with respect to passing a reference to a log to a non-SEAM object. What happens (running under JBoss AS 4.0.5) is that the first time the non-SEAM object tries to use a log method all log output from the

[jboss-user] [JBoss Seam] - Using an @Logger instance outside of a SEAM POJO

2006-12-14 Thread DataGazetteer
I have a feeling I'm doing something very wrong with respect to passing a reference to a log to a non-SEAM object. What happens (running under JBoss AS 4.0.5) is that the first time the non-SEAM object tries to use a log method all log output from the container stops. The application keeps run

[jboss-user] [JBoss Seam] - Re: REST applications with Seam and the Restlet framework (n

2006-12-11 Thread DataGazetteer
"d1g" wrote : I have created a proof-of-concept application based on Seam and the Restlet framework. Fortunately Seam has been designed with this kind of integration in mind and the job was not difficult. I thought other users might like to see how easy this is. Diggory -- have you had the chan

[jboss-user] [JBoss Seam] - Re: First JBoss Seam book released

2006-12-06 Thread DataGazetteer
Safari online updated the estimated date of this book to April 27, 2007. Does anyone (Thomas?) know what happened? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991730#3991730 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=re

[jboss-user] [JBoss Seam] - Using the SEAM equivalent to CGI's 'path_info'

2006-11-30 Thread DataGazetteer
Is there a way to trick SEAM into parsing parameters off of the URL path rather than URL parameters? It would be something equivalent to the PATH_INFO environment variable in the CGI spec. The reason I'm asking is so that I can make the URLs prettier. For instance, rather than: | http://e