is how we accomplished something similar to your pblem.
Hope this helps.
-Nate
____
From: Russell Neufeld [mailto:russ.neuf...@hds.com]
Sent: Mon 6/29/2009 5:19 PM
To: Struts Users Mailing List
Subject: Need help writing an interceptor to force a user to change their
pass
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
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
Thanks Dave. Worked like a charm.
Dave Newton wrote:
Russell Neufeld wrote:
One of the struts actions I'm implementing shuts down the server.
Hmm.
Is there a special value I can return from a Struts 2 execute()
> method, say null, which tells the framework not
Hi all,
One of the struts actions I'm implementing shuts down the server.
I'd like to be able to send back an HTML response before the server
shuts down, but the action's execute() method doesn't dispatch to the
jsp for the html response until after the return of the method. That
means i
Hi all,
What's the future of the dojo plugin for Struts2? We're starting to
port an existing web app from Struts1 to Struts2, and one of the
features which was very appealing in Struts2 was the dojo plugin. Our
web app doesn't do anything too fancy, but we're planning on making
heavy use
an inoperable submit button. Any ideas what might be
going on here? Thanks,
Russ
Dave Newton wrote:
Russell Neufeld wrote:
I set disabled="true" in an s:form tag, expecting the resulting form
to be disabled (greyed out, unable to submit by clicking, etc...)
however th
Hi all,
I set disabled="true" in an s:form tag, expecting the resulting form
to be disabled (greyed out, unable to submit by clicking, etc...)
however that appears not be working. I checked the HTML that Struts 2
produced and the "disabled" attribute doesn't show up. I'm using Struts
2.1
Ahh! It's an array! So instead of
I need to do this:
Thank you!
Russ
Dave Newton wrote:
Russell Neufeld wrote:
I'm still coming up the learning curve on Struts2, and I've come
across something I can't explain. Hopefully you guys out there can help
Lavignotte
Ingénieur Conception & Développement
http://pierre.lavignotte.googlepages.com
On Fri, Apr 17, 2009 at 8:01 PM, Terry Gardner wrote:
try
On Apr 17, 2009, at 1:58 PM, Russell Neufeld wrote:
Hi all,
I'm still coming up the learning curve on Struts2, and I've com
Thanks for the suggestion. That did not work. Evaluates to false.
Terry Gardner wrote:
try
On Apr 17, 2009, at 1:58 PM, Russell Neufeld wrote:
Hi all,
I'm still coming up the learning curve on Struts2, and I've come
across something I can't explain. Hopefully you
Hi all,
I'm still coming up the learning curve on Struts2, and I've come
across something I can't explain. Hopefully you guys out there can help
me understand this. I have a request parameter "status" set to
"invalid" which I'd like to access from within a JSP. If I use the
following li
You're right - the method may be a quicker change. I'll give
that a shot. Thanks for the quick answer.
Russ
Wes Wannemacher wrote:
On Wednesday 15 April 2009 16:00:34 Russell Neufeld wrote:
Hi all,
We're porting an app from Struts 1 to Struts 2, and I'm hav
Hi all,
We're porting an app from Struts 1 to Struts 2, and I'm having
trouble figuring out how to conditionally include a portion of a JSP
depending on the role of the user principal. In Struts 1 we did this:
... some html ...
What's the preferred way of doing this in Struts2?
14 matches
Mail list logo