Re: OpenSessionExecuteAndWait vs. OpenSessionInViewFilter

2009-06-29 Thread Dale Newfield
XieCharles wrote: The hibernateandspringenabledexecuteandwaitinterceptor is just the OpenSessionExecuteAndWaitInterceptor I used. Which is exactly what you asked for, right? BTW, make sure that the version you're using doesn't have the startup race condition. When I was searching to find the

Re: OgnlValueStack - Could not find property

2009-06-29 Thread Musachy Barroso
I meant...the next release after 2.1.6, which should be 2.1.8 On Mon, Jun 29, 2009 at 8:49 PM, Musachy Barroso wrote: > it will be gone in 2.1.7 > > musachy > > On Mon, Jun 29, 2009 at 8:43 PM, Lee Clemens wrote: >> I have seen a lot on this issue. >> >> Does anyone know how to actually correct it

Re: OgnlValueStack - Could not find property

2009-06-29 Thread Musachy Barroso
it will be gone in 2.1.7 musachy On Mon, Jun 29, 2009 at 8:43 PM, Lee Clemens wrote: > I have seen a lot on this issue. > > Does anyone know how to actually correct it so that Struts does not log > these warnings - without disabling the logging of warnings all together? > > The closest I have com

RE: OgnlValueStack - Could not find property

2009-06-29 Thread Lee Clemens
I have seen a lot on this issue. Does anyone know how to actually correct it so that Struts does not log these warnings - without disabling the logging of warnings all together? The closest I have come is by adding getTheme and getTemplateDir directories to my Action class, but that doesn't solve

RE: OpenSessionExecuteAndWait vs. OpenSessionInViewFilter

2009-06-29 Thread XieCharles
The hibernateandspringenabledexecuteandwaitinterceptor is just the OpenSessionExecuteAndWaitInterceptor I used. http://charles-xie.spaces.live.com > Date: Mon, 29 Jun 2009 13:56:09 -0400 > From: d...@newfield.org > To: user@struts.apache.org > Subject: Re: OpenSessionExecuteAndWait vs. O

RE: Need help writing an interceptor to force a user to change their password

2009-06-29 Thread Sarr, Nathan
Hi Russ, You may want to try creating a global result in your struts.xml: /pages/user/login/force_change_password.jsp Then in your interceptor return the result name "change-password" That is how we accomplished something similar to your pblem. Hope this helps. -Nate _

Re: Need help writing an interceptor to force a user to change their password

2009-06-29 Thread Timothy Orme
You should be able to just create a global result with the jsp you want. Ala: /passwordChange.jsp Then have the interceptor return that string when needed. Any time it's true, the result will get hit and the user will get fowarded. Unless I'm missing something. -Tim Russell Neufel

Need help writing an interceptor to force a user to change their password

2009-06-29 Thread Russell Neufeld
Hi all, I'm trying to implement functionality which will force a user to a change-password page if a certain bit is set on their user account. That is, no matter what action they are attempting to take, I'd like to intercept the request and show them a change-password page. I've written a

Need help writing an interceptor to force a user to change their password

2009-06-29 Thread Russell Neufeld
Hi all, I'm trying to implement functionality which will force a user to a change-password page if a certain bit is set on their user account. That is, no matter what action they are attempting to take, I'd like to intercept the request and show them a change-password page. I've writte

Struts2/Hibernate/Sitemesh

2009-06-29 Thread CRANFORD, CHRIS
I am looking to use the following tools for our web application: - Struts 2.1.6 - Hibernate 3 - Sitemesh In our WEB.XML file I have added the following lines to support Struts2 with Sitemesh. struts2-cleanup org.apache.struts2.dispatcher.ActionContextCleanUp sitemesh com.opensymph

Re: OpenSessionExecuteAndWait vs. OpenSessionInViewFilter

2009-06-29 Thread Dale Newfield
XieCharles wrote: > the OpenSessionExecuteAndWaitInterceptor cannot work with the > OpenSessionInViewFilter well. Is there any piece of code about how to > use these two components correctly? http://cwiki.apache.org/WW/hibernateandspringenabledexecuteandwaitinterceptor.html -Dale --

Re: OgnlValueStack - Could not find property

2009-06-29 Thread Musachy Barroso
if you are using log4j: log4j.category.com.opensymphony.xwork.util.OgnlValueStack=ERROR musachy On Mon, Jun 29, 2009 at 9:44 AM, Mitch Claborn wrote: > Everything appears to be working.  How can I turn off that logging? > mitch > > Musachy Barroso wrote: >> is everything working? I would say tha

Re: adding values to a variable inside iterator tag

2009-06-29 Thread Bhaarat Sharma
for our purpose i'd prefer doing it in the iterator tag. I tried something like this but this does not seem to work. what can fix this? On Mon, Jun 29, 2009 at 12:08 PM, Jim Kiley wrote: > You're far better off doing it inside the Action class. > That said, you can probably use s:set to get

Re: OgnlValueStack - Could not find property

2009-06-29 Thread Mitch Claborn
I did not have a standalone default.properties file, so I assume they were being pulled from the jar file. The default.properties in the jar did NOT have the two entires you mention. I extracted that file from the jar and put in in the classes directory, adding those two entries, but it did not a

RE: OgnlValueStack - Could not find property

2009-06-29 Thread Martin Gainty
/WEB-INF/classes/org/apache/struts2/default.properties should contain struts.valueStack and org.apache.catalina.jsp_file entries? struts.valueStack=com.opensymphony.xwork2.util.ValueStack.ValueStack org.apache.catalina.jsp_file=index_jsp.java can you confirm these entries or are the entries are

Re: OgnlValueStack - Could not find property

2009-06-29 Thread Mitch Claborn
Everything appears to be working. How can I turn off that logging? mitch Musachy Barroso wrote: > is everything working? I would say that is the value stack just being > annoying and logging to much. We added a setting to turn verbose mode > on (it is on now by default) in 2.1.7, and it will be o

Re: OgnlValueStack - Could not find property

2009-06-29 Thread Musachy Barroso
is everything working? I would say that is the value stack just being annoying and logging to much. We added a setting to turn verbose mode on (it is on now by default) in 2.1.7, and it will be off by default. You can ignore those. musachy On Mon, Jun 29, 2009 at 8:35 AM, Mitch Claborn wrote: > G

Re: adding values to a variable inside iterator tag

2009-06-29 Thread Jim Kiley
You're far better off doing it inside the Action class. That said, you can probably use s:set to get what you want. jk On Mon, Jun 29, 2009 at 12:03 PM, Bhaarat Sharma wrote: > Hi, > I have a simple iterator tag like the following > > > > > > > > is there a way to get the total of value1 a

adding values to a variable inside iterator tag

2009-06-29 Thread Bhaarat Sharma
Hi, I have a simple iterator tag like the following is there a way to get the total of value1 at the end of this iterator tag? basically in java we would do totalValue += value1; and then at the end of the loop we would have total of value1. Is that possible to do with an iterator tag?

OgnlValueStack - Could not find property

2009-06-29 Thread Mitch Claborn
Getting some odd messages that I don't understand, just running the basic tutorial code. Any ideas what this is? The messages are: [WARN] OgnlValueStack - Could not find property [org.apache.catalina.jsp_file] [WARN] OgnlValueStack - Could not find property [struts.valueStack] [WARN] OgnlValueSta

OpenSessionExecuteAndWait vs. OpenSessionInViewFilter

2009-06-29 Thread XieCharles
The Spring's OpenSessionInViewFilter has already applied in my struts2 project, and I am about to use the ExecuteAndWaitInterceptor, so I put the OpenSessionExecuteAndWaitInterceptor which extends the struts' original ExecuteAndWaitInterceptor at last of the interceptor stack(see Struts2 cookbo

Re: Update to Struts 2.1.7

2009-06-29 Thread Pro1712
I've got a method "input" in the action. settint "struts.enable.DynamicMethodInvocation = true" solevd the problem. -- View this message in context: http://www.nabble.com/Update-to-Struts-2.1.7-tp24166101p24250172.html Sent from the Struts - User mailing list archive at Nabble.com. --