I though the examples at
http://struts.apache.org/2.0.11.2/docs/ajax-and-javascript-recipes.html
would be helpful and didn't want to use all of struts 2.1 until the final
release. I'm pretty sure I read somewhere that it was being done...
> Why are you trying to do this?
> L.
I ended up solving a similiar problem using an Interceptor and saving the
parameter Map to the session.
session.setAttribute("input_params", request.getParameterMap();
Then in my action I implemented SessionAware and utililized BeanUtils from
Jakarta Commons to re-populate the properties in my a
Any idea how to get the struts2-dojo-plugin-2.1.2 with struts 2.0.11? I've
tried to put the before the in the
struts-dojo-tags.tld with no luck. I'm running resin 3.0. I feel like an
idiot. Thanks for any help you can give.
ERROR:
jar:file:/usr/lib/resin/webapps/hol/WEB-INF/lib/struts2-dojo
If I don't use a delay the wait.jsp is displayed on my input and success
results.
Because I don't want to display the wait.jsp on my input result I'm using a
delay.
If I use a delay (any length of time) the wait.jsp never displays.
Any ideas would be appreciated! Thank you.
newton.dave wrote:
>
>
> I can't overstate enough that I have no idea how your application is
> designed--it's possible an interceptor *is* the best way to handle your
> needs, but I'm having trouble coming up with a reason why it would be
> better
> than just using another action, which would
ar from an expert Java programmer. Can you explain why
the use of an interceptor is not the right way to go about this?
Thanks!
newton.dave wrote:
>
> --- daveck <[EMAIL PROTECTED]> wrote:
>> Sometimes "PARMS" manages to keep its value, and sometimes
>> the
Hi,
I have a BillingInterceptor that throws up a Confirmation Screen after
submitting the input parameters and before processing the action. I am using
the session to hold the parameter map so it's available to the action after
the user Confirms their purchase. I have confirmed that the "PARMS" is
SOLVED!
By adding the following to decorators.xml.
/struts/dojo/*
/struts/ajax/*
/struts/simple/*
daveck wrote:
>
> sitemesh is taking the content from the first pair of tags in the main.jsp
> (my main decorator) and putting it in the
> tag
r decorator is missing the tag in
> its head section?
>
> daveck wrote:
>> It works if I put in the of the html.
>>
>>
>> daveck wrote:
>>
>>> Hi,
>>> I am having problem using an ajax tabbedPanel with sitemesh.
>>> If I don&
sitemesh is taking the content from the first pair of tags in the main.jsp
(my main decorator) and putting it in the
tag of the page it's trying to decorate!
The first pair of tags could be any html tag (, ,,
etc...).
The code is in a post I left earlier today.
Crazy... any help would b
It works if I put in the of the html.
daveck wrote:
>
> Hi,
> I am having problem using an ajax tabbedPanel with sitemesh.
> If I don't decorate page.jsp, the tabbedPanel works fine.
> As soon as I decorate it, the in the
> section of page.jsp doesn't make it th
Hi,
I am having problem using an ajax tabbedPanel with sitemesh.
If I don't decorate page.jsp, the tabbedPanel works fine.
As soon as I decorate it, the in the section
of page.jsp doesn't make it through to the final decorated page. As a
result, only the html is displayed.
Any help would be app
In case I wasn't clear... the attribute "PARMS" exists but loses it value.
--
View this message in context:
http://www.nabble.com/Losing-Session-Attributes-tp15298791p15307254.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
Laurie Harper wrote:
>
>
> Are you sure? Have you confirmed that the session is the same in both
> requests?
>
Yes, by checking the session id throughout the process.
Laurie Harper wrote:
>
>
> getSession(true) will create a session if one doesn't exist on the
> request. If the session
I'm losing the quest-input.jsp form attributes. Probably 3 out of 4 times.
Session ID remains the same throughout the process. Here is part of my
applicationContext.xml
I'm not quite sure what you mean by needing to configure in session
attributes.
mgainty wrote:
>
> you'll definitely n
Hi,
I'm looking for some help, or some input on why I might be losing session
attributes (Not the session itself).
Processing Flow:
quest.action --> quest-input.jsp -> quest.action --> MyInterceptor ->
confirm.jsp -> question.action --> quest-success.jsp
I am setting sess
my action class.
this.setRequestMap((Map)this.getSession().get("input_parms"));
BeanUtils.populate(this, this.getRequestMap();
Thank you for your help.
David
Laurie Harper wrote:
>
> daveck wrote:
>> Hello,
>> I need to put up a "Confirmation Screen&quo
Hello,
I need to put up a "Confirmation Screen" in between my input jsp and my
success jsp.
byproduct.action -> byproduct-input.jsp
byproduct-input.jsp -> confirm.jsp
(If yes...)
confirm.jsp -> byproduct.action
byproduct.action -> byproduct-success.action
Is there a Struts 2 way to carry the inp
18 matches
Mail list logo