Re: [appfuse-user] SOLVED - AppFuse 2.0 + Hibernate - logging SQL Parameters

2007-12-11 Thread Rob Hills
Hi Matt, Matt Raible wrote: On 12/11/07, Rob Hills <[EMAIL PROTECTED]> wrote: Hi Matt, Matt Raible wrote: Finally, it'd be really nice to be able to turn this on and off via the POM the way you can for hibernate.show_sql. How is this possible from the POM? There's nothing we

Re: [appfuse-user] SOLVED - AppFuse 2.0 + Hibernate - logging SQL Parameters

2007-12-11 Thread Matt Raible
On 12/11/07, Rob Hills <[EMAIL PROTECTED]> wrote: > Hi Matt, > > Matt Raible wrote: > >> Finally, it'd be really nice to be able to turn this on and off via the > >> POM the way you can for hibernate.show_sql. > >> > > > > How is this possible from the POM? There's nothing we're doing special > > t

Re: [appfuse-user] SOLVED - AppFuse 2.0 + Hibernate - logging SQL Parameters

2007-12-11 Thread Rob Hills
Hi Matt, Matt Raible wrote: Finally, it'd be really nice to be able to turn this on and off via the POM the way you can for hibernate.show_sql. How is this possible from the POM? There's nothing we're doing special that I know of. Hmmm, OK. I have the following in the "properties" ele

Re: [appfuse-user] SOLVED - AppFuse 2.0 + Hibernate - logging SQL Parameters

2007-12-11 Thread Matt Raible
On 12/11/07, Rob Hills <[EMAIL PROTECTED]> wrote: > Hi All, > > Rob Hills wrote: > > Rob Hills wrote: > >> Dale Newfield wrote: > >>> Matt Raible wrote: > log4j.properties is AppFuse 1.9.x specific. In 2.0, it's > src/main/resources/log4j.xml. > >>> So while it couldn't hurt, apparently i

Re: [appfuse-user] AppFuse 2.0 + Hibernate - logging SQL Parameters

2007-12-11 Thread Matt Raible
Unfortunately, I don't think it's possible to see the full query from Hibernate - I believe you have to log at the database or driver level. You might try P6Spy: http://www.p6spy.com/ Matt On 12/11/07, Rob Hills <[EMAIL PROTECTED]> wrote: > Hi All, > > Rob Hills wrote: > > Dale Newfield wrote:

[appfuse-user] populating arrived form fields

2007-12-11 Thread Vishal S
Hello, I have a few HtmlInputText variables in my backing bean with its setter and getter methods. This is used for displ- aying some calculated values in the form. This are populat- ed with a backing bean function. Now, when I show the titlePlanForm for editing I want to display t

Re: [appfuse-user] SOLVED - AppFuse 2.0 + Hibernate - logging SQL Parameters

2007-12-11 Thread Rob Hills
Hi All, Rob Hills wrote: Rob Hills wrote: Dale Newfield wrote: Matt Raible wrote: log4j.properties is AppFuse 1.9.x specific. In 2.0, it's src/main/resources/log4j.xml. So while it couldn't hurt, apparently it won't help, either. Not sure why your changes to log4j.xml are not working. Are

Re: [appfuse-user] AppFuse 2.0 + Hibernate - logging SQL Parameters

2007-12-11 Thread Rob Hills
Hi All, Rob Hills wrote: Dale Newfield wrote: Matt Raible wrote: log4j.properties is AppFuse 1.9.x specific. In 2.0, it's src/main/resources/log4j.xml. So while it couldn't hurt, apparently it won't help, either. Not sure why your changes to log4j.xml are not working. Are your changes maki

Re: [appfuse-user] [2.0.1] "mvn appfuse:full-source" error

2007-12-11 Thread mraible
This is caused by a bug in Ant 1.7. If 1.7.1 isn't released by the time we're ready to release 2.0.2, we may have to back down the version of Ant we're using. http://issues.appfuse.org/browse/APF-970 Matt Eric Martin wrote: > > mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes >

Re: [appfuse-user] Appfuse and svn externals

2007-12-11 Thread Matt Raible
I use and like svn:externals as well. However, it does have a flaw in that it doesn't work well with tagging or branching. Often you "tag" in order to mark a snapshot in history. However, the svn:external symlink will likely still point at the trunk, so it doesn't really take a snapshot of that. I

[appfuse-user] Suggested pattern for dynamic user interface

2007-12-11 Thread sparqle
Hello, Suppose I am creating a reporting application, which lists all the reports that are available. Also, suppose that each report can take different parameters (of different data types - such as string, integer, double, date, select from combobox (enumeration ) etc). If I want to create only o

Re: [appfuse-user] CXF and AppFuse 2.0.1

2007-12-11 Thread Matt Raible
XFire is already integrated: http://appfuse.org/display/APF/Web+Services More information about CXF is on the above page. Matt On Dec 11, 2007, at 12:36 PM, James Chartrand wrote: I'd like to use CXF with AppFuse 2.0.1. Could anyone suggest a starting point for integrating CXF, or warn me

[appfuse-user] CXF and AppFuse 2.0.1

2007-12-11 Thread James Chartrand
I'd like to use CXF with AppFuse 2.0.1. Could anyone suggest a starting point for integrating CXF, or warn me of any potential pitfalls? Thank you, james - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

Re: [appfuse-user] AppFuse 2.0 + Hibernate - logging SQL Parameters

2007-12-11 Thread Rob Hills
Hi Dale, Dale Newfield wrote: Matt Raible wrote: log4j.properties is AppFuse 1.9.x specific. In 2.0, it's src/main/resources/log4j.xml. So while it couldn't hurt, apparently it won't help, either. Not sure why your changes to log4j.xml are not working. Are your changes making into your dep

[appfuse-user] Has anybody integrated Sitemesh+JSF/Tomahawk? Using both filters?

2007-12-11 Thread Carlos Ortiz
Hi In this URL https://javaserverfaces.dev.java.net/servlets/ProjectDocumentList?folderID=2204the user has taken the sitemesh-example.war plus the jsf-guessNumber to work, leaving a functional JSF integration Question is: I would like to know if Sitemesh works with Tomahawk library using the

Re: [appfuse-user] AppFuse 2.0 + Hibernate - logging SQL Parameters

2007-12-11 Thread Dale Newfield
Matt Raible wrote: log4j.properties is AppFuse 1.9.x specific. In 2.0, it's src/main/resources/log4j.xml. So while it couldn't hurt, apparently it won't help, either. Not sure why your changes to log4j.xml are not working. Are your changes making into your deployed app in the right place?

Re: [appfuse-user] AppFuse 2.0 + Hibernate - logging SQL Parameters

2007-12-11 Thread Matt Raible
log4j.properties is AppFuse 1.9.x specific. In 2.0, it's src/main/ resources/log4j.xml. Matt On Dec 11, 2007, at 11:38 AM, Dale Newfield wrote: Rob Hills wrote: I actually don't have a log4j.properties file in my WEB-INF/ classes directory, should I have? In the end, no. Right now for deb

Re: [appfuse-user] AppFuse 2.0 + Hibernate - logging SQL Parameters

2007-12-11 Thread Dale Newfield
Rob Hills wrote: I actually don't have a log4j.properties file in my WEB-INF/classes directory, should I have? In the end, no. Right now for debugging, it couldn't hurt. -Dale - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: [appfuse-user] AppFuse 2.0 + Hibernate - logging SQL Parameters

2007-12-11 Thread Rob Hills
Hi Dale, Thanks for the reply. Dale Newfield wrote: Rob Hills wrote: I've googled around and come across a couple of suggestions for settings in the log4j.xml file, but neither of those is working for me. Are these the ones you were updating? They're in log4j.properties (in WEB-INF/classes

Re: [appfuse-user] Re[appfuse-user] move jsessionid in Struts 2

2007-12-11 Thread Nathan Anderson
It is my understanding that the jsessionid is appended to all links by Tomcat when it creates a new session. But once the server knows your browser has cookies enabled it stops appending the links. Does that match what you are seeing? Nathan - "sarat.pediredla" <[EMAIL PROTECTED]> wrote:

Re: [appfuse-user] AppFuse 2.0 + Hibernate - logging SQL Parameters

2007-12-11 Thread Dale Newfield
Rob Hills wrote: I've googled around and come across a couple of suggestions for settings in the log4j.xml file, but neither of those is working for me. Are these the ones you were updating? They're in log4j.properties (in WEB-INF/classes), not log4j.xml. # All hibernate log output of "info

[appfuse-user] AppFuse 2.0 + Hibernate - logging SQL Parameters

2007-12-11 Thread Rob Hills
Hi All, I'm using AppFuse 2.0 and Hibernate and I've currently got SQL logging happening OK using the hibernate.show_sql property in my profiles.xml I'm sure I remember also seeing SQL parameters being logged some time back in my project, but I don't now recall if I did something to enable this

RE: [appfuse-user] wsdl4j-1.6.1.pom - problem

2007-12-11 Thread Bilgin YAZAR
Jsf basic or modular; doesn’t matter. mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes -DarchetypeArtifactId=appfuse-basic-jsf -DremoteRepositories=http://static.appfuse.org/releases -DarchetypeVersion=2.0.1 -DgroupId=com.mycompany.app -DartifactId=myproject I think You can do t

RE: [appfuse-user] wsdl4j-1.6.1.pom - problem

2007-12-11 Thread Bilgin YAZAR
You can find below; Thanks for fast reply. C:\appfuse\Source\myproject>mvn [INFO] Scanning for projects... [INFO] [INFO] Building AppFuse JSF Application [INFO]task-segment: [install] [INFO] -

Re: [appfuse-user] wsdl4j-1.6.1.pom - problem

2007-12-11 Thread Matt Raible
Can you post the archetype:create command you used to create your project? Thanks, Matt On Dec 11, 2007, at 10:37 AM, Bilgin YAZAR wrote: You can find below; Thanks for fast reply. C:\appfuse\Source\myproject>mvn [INFO] Scanning for projects... [INFO]

Re: [appfuse-user] wsdl4j-1.6.1.pom - problem

2007-12-11 Thread Michael Horwitz
Which version of Maven are you using? And have you tried running mvn with the -U switch to make sure all your plugins are up to date? No other users have reported a problem with the wsdl4j pom file. Mike On 12/11/07, bilgin yazar <[EMAIL PROTECTED]> wrote: > > Hi > I'm new to appfuse. > So to try

Re: [appfuse-user] Why using pickList.jsp instead of using s:optiontransferselect ?

2007-12-11 Thread Matt Raible
We started using pickList when I first created AppFuse - way back in early 2003. We didn't upgrade to Struts 2 until 2007, so that's the most likely reason. We are interested in making each individual framework take advantage of its strengths, so this is probably a reasonable change for Str

Re: [appfuse-user] Issues with JasperReports exporting in AppFuse

2007-12-11 Thread Michael Horwitz
Which version of AppFuse and which web framework are you using? Mike On 12/11/07, R P <[EMAIL PROTECTED]> wrote: > > Hello. I have integrated JasperReports into AppFuse the way it's > described in the tutorials in the AppFuse page. But I have 2 issues: > > > >- I need the *file name* genera

Re: [appfuse-user] wsdl4j-1.6.1.pom - problem

2007-12-11 Thread Matt Raible
Can you post the error you're seeing so we can try to reproduce? Thanks, Matt On Dec 11, 2007, at 5:45 AM, bilgin yazar wrote: Hi I'm new to appfuse. So to try, I did the instructions at QuickStart Guide step by step. After creating the archetype, I could not run mvn or mvn jetty:run-war. M

Re: [appfuse-user] Re[appfuse-user] move jsessionid in Struts 2

2007-12-11 Thread Matt Raible
Can you reproduce this issue on the demo site? Matt On Dec 11, 2007, at 7:01 AM, sarat.pediredla wrote: I presumed jsessionid will only show when cookies are disabled? However, I have cookies enabled in my browser but all the menu items have jsessionid suffixed to them? Is there anyway to

[appfuse-user] Why using pickList.jsp instead of using s:optiontransferselect ?

2007-12-11 Thread Benoît Moraillon
Hi Matt, Why do you user pickList.jsp instead of using s:optiontransferselect ? For compatibility between all frameworks ? I use s:optiontransferselect in my project. Thanks, Benoît Moraillon - To unsubscribe, e-mail: [EMAIL PRO

[appfuse-user] wsdl4j-1.6.1.pom - problem

2007-12-11 Thread bilgin yazar
Hi I'm new to appfuse. So to try, I did the instructions at QuickStart Guide step by step. After creating the archetype, I could not run mvn or mvn jetty:run-war. Mvn gives error with wsdl4j-1.6.1.pom at .m2\repository\wsdl4j\wsdl4j\1.6.1 Because the wsdl4j-1.6.1.pom has problem with the . I

[appfuse-user] wsdl4j-1.6.1.pom - problem

2007-12-11 Thread bilgin yazar
Hi I'm new to appfuse. So to try, I did the instructions at QuickStart Guide step by step. After creating the archetype, I could not run mvn or mvn jetty:run-war. Mvn gives error with wsdl4j-1.6.1.pom at .m2\repository\wsdl4j\wsdl4j\1.6.1 Because the wsdl4j-1.6.1.pom has problem with the . I

[appfuse-user] Issues with JasperReports exporting in AppFuse

2007-12-11 Thread R P
Hello. I have integrated JasperReports into AppFuse the way it’s described in the tutorials in the AppFuse page. But I have 2 issues: I need the file name generated to be dynamically generated, so that it contains detailed information about the file contents. This is the most impo

Re: AW: [appfuse-user] Problems with Server Roundtrips and Issue in JSF Demo

2007-12-11 Thread Matt Raible
Sounds like you've discovered a bug. Can you please enter an issue in JIRA for this with steps to reproduce? http://issues.appfuse.org/browse/APF Thanks, Matt On Dec 11, 2007, at 1:55 AM, René Günther wrote: I found at least a solution to the issue described below: In users.xhtml at

Re: [appfuse-user] AppFuse 2.0.1 - Problem when changing from MyFaces to Sun's JSF RI

2007-12-11 Thread Matt Raible
Sounds like we might've missed something then. I'd suggest you look at this file and try to modify it so the property that's blank gets populated correctly. You can probably comment out the JavaScript that submits the form and use "view source" to see if it gets populated correctly. Matt

Re: [appfuse-user] Auto copy data from JSP page to data model other than clicking 'Submit'

2007-12-11 Thread BruceLee
Thank Mike for response. I use AppFuse 1.9.4 with WebWork. -Bruce Mike Horwitz wrote: > > Hi, > > It may help if you could let us know which web framework and version of > AppFuse you are using? > > Mike > > > On 12/7/07, BruceLee <[EMAIL PROTECTED]> wrote: >> >> >> Dear Team, >> >> My User

[appfuse-user] Re[appfuse-user] move jsessionid in Struts 2

2007-12-11 Thread sarat.pediredla
I presumed jsessionid will only show when cookies are disabled? However, I have cookies enabled in my browser but all the menu items have jsessionid suffixed to them? Is there anyway to disable jsessionid being suffixed to all the menu links irrespective of whether cookies are enable or not? -- V

Re: [appfuse-user] Running some code at startup (one time only) using Struts 2

2007-12-11 Thread Michael Horwitz
On 12/11/07, sarat.pediredla <[EMAIL PROTECTED]> wrote: > > > Is there anyway to specify some code to run only when the web application > context starts up? I am using Appfuse 2 with Struts 2. > > Basically, I want my basic lucene index to be created the first time I > start > my application. I did

Re: [appfuse-user] Running some code at startup (one time only) using Struts 2

2007-12-11 Thread Ealden Escañan
On Dec 11, 2007 9:31 PM, sarat.pediredla <[EMAIL PROTECTED]> wrote: > > Is there anyway to specify some code to run only when the web application > context starts up? I am using Appfuse 2 with Struts 2. > > Basically, I want my basic lucene index to be created the first time I > start > my applica

[appfuse-user] Running some code at startup (one time only) using Struts 2

2007-12-11 Thread sarat.pediredla
Is there anyway to specify some code to run only when the web application context starts up? I am using Appfuse 2 with Struts 2. Basically, I want my basic lucene index to be created the first time I start my application. I did think of putting this in an custom Struts 2 Interceptor but I dont r

Re: [appfuse-user] End user local time

2007-12-11 Thread Rene Guenther
jithesh wrote: > > In my web application i need to store the clients local time (ie > the time he logs into the application). Currently the server time is > stored in the database. Is there any option to get the end user time. > Maybe it would be better to get the clients time zone an

[appfuse-user] End user local time

2007-12-11 Thread jithesh
Hi guys... In my web application i need to store the clients local time (ie the time he logs into the application). Currently the server time is stored in the database. Is there any option to get the end user time. Thanks and regards, jithesh -- View this message in context: http://w

AW: [appfuse-user] Problems with Server Roundtrips and Issue in JSF Demo

2007-12-11 Thread René Günther
I found at least a solution to the issue described below: In users.xhtml at Add But now there is still an issue. Just

[appfuse-user] Mocking out calls jax-rpc web service during canoo web tests

2007-12-11 Thread cfoy
Hi All, I am using an appfuse spring mvc basic 2.0 project template (henceforth known as the app) and have added calls from the service tier to a web service. The app is consuming a web service. I am using the spring's org.springframework.remoting.jaxrpc.JaxRpcPortProxyFactoryBean to inject the