messages go away. I'm not sure if
> those errors are in there for debugging reasons or not.
>
> -Scott
>
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Thursday, June 21, 2007 9:53 AM
> To: Struts Users Mailing List
>
1, 2007 9:53 AM
To: Struts Users Mailing List
Subject: Re: properties at times not found
Hey Scott --
I am using ModelDriven and Preparable so I can pass an ID along with the
requests. I added an id attribute to my baseaction class and things are
working with one exception. Since the
prepare m
Dave Newton wrote:
--- Roberto Nunnari <[EMAIL PROTECTED]> wrote:
But what does that mean?
I've just been chalking it up to magic.
How can I find out what's going on?
Do I have to keep the filter mapped?
Probably. Are you using SiteMesh? In a nutshell, this
No. But I'm using Tiles.
fi
Hey Scott --
I am using ModelDriven and Preparable so I can pass an ID along with the
requests. I added an id attribute to my baseaction class and things are
working with one exception. Since the
prepare method is called before the getModel, when I post a form, and the
prepare gets called, I am
--- Roberto Nunnari <[EMAIL PROTECTED]> wrote:
> But what does that mean?
I've just been chalking it up to magic.
> How can I find out what's going on?
> Do I have to keep the filter mapped?
Probably. Are you using SiteMesh? In a nutshell, this
filter tells the dispatcher filter not to clean up
Hello Dave.
Yes. That helps! Now the JSP always get good data..
But what does that mean?
How can I find out what's going on?
Do I have to keep the filter mapped?
Dave Newton wrote:
One thing I've done when weird things are happening
for no apparent reason is include the context cleanup
filter
One thing I've done when weird things are happening
for no apparent reason is include the context cleanup
filter; you can always see if that helps; map it
before the struts dispatcher.
contextCleanup
org.apache.struts2.dispatcher.ActionContextCleanUp
d.
--- Roberto Nunnari <[EMAIL
Hello list.
Going on with investigation on this strange misbehaviour, I found
out that when the JSP page gets good data, in the value stack
I see:
key: com.opensymphony.xwork2.dispatcher.HttpServletRequest
value: [EMAIL PROTECTED]
while when I get no data I see:
key: com.opensymphony.xwork2.
Jeff Amiel wrote:
On 6/20/07, Roberto Nunnari <[EMAIL PROTECTED]> wrote:
humm...
If it's truly 'random' like that there are only 4 things that could be
happening.
1. Display tag is broken (not likely)
don't think so.. the same thing happens also with another action that
puts a list (differ
On 6/20/07, Roberto Nunnari <[EMAIL PROTECTED]> wrote:
humm...
If it's truly 'random' like that there are only 4 things that could be
happening.
1. Display tag is broken (not likely)
2. You occasionally have another element in some other scope with the
same name that is being picked up 'firs
Jeff Amiel wrote:
On 6/20/07, Roberto Nunnari <[EMAIL PROTECTED]> wrote:
Yes. That's it. It happens at random times.. not always.
When it happens, all I get instead of the table in the browser is:
Nothing found to display.
makes no sensesure you don't have a local variable inside the
exec
On 6/20/07, Roberto Nunnari <[EMAIL PROTECTED]> wrote:
Yes. That's it. It happens at random times.. not always.
When it happens, all I get instead of the table in the browser is:
Nothing found to display.
makes no sensesure you don't have a local variable inside the
execute method called s
Hi Jeff.
Jeff Amiel wrote:
On 6/20/07, Roberto Nunnari <[EMAIL PROTECTED]> wrote:
In the execute method of the action I can verify the list is not empty.
But in the jsp view, at times it reports an empty list.
Are you saying that 'sometimes' when the search actually brings back
results (and
On 6/20/07, Roberto Nunnari <[EMAIL PROTECTED]> wrote:
In the execute method of the action I can verify the list is not empty.
But in the jsp view, at times it reports an empty list.
Are you saying that 'sometimes' when the search actually brings back
results (and you output it via that for lo
Hello, i had a similar problem,
u may need a concrete implementation for your
property
something like:
private List stories = new LinkedList();
public List getStories() { return stories; }
and make sure to override toString() in your Story class...
don't know what else to tell ya.
Good Luck.
Original Message-
From: Roberto Nunnari [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 20, 2007 12:49 PM
To: Struts Users Mailing List
Subject: Re: properties at times not found
Hello Scott.
..but.. the list is a property of the action, and it's populated in
the execute method.. th
Hi again Scott.
I tried anyways adding
to my struts.xml but it doesn't help..
Any more hints?
Roberto Nunnari wrote:
Hello Scott.
..but.. the list is a property of the action, and it's populated in
the execute method.. the JSP, should be rendered after
the execute method has returned, and
Hello Scott.
..but.. the list is a property of the action, and it's populated in
the execute method.. the JSP, should be rendered after
the execute method has returned, and so at that time it
should be safe to get the stories from the action, as
by now it should be set and ready.
Do I miss anyhi
If you are trying to load your list by using a parameter passed in.. say
and Id from a link or another page, you might need to use the
paramsPrepareParamsStack interceptor and implement Preparable in you
action.
I ran into a similar problem the other day. You would need to put your
code to popula
19 matches
Mail list logo