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
r
code to populate the list in the Prepare() method.
http://struts.apache.org/2.x/docs/crud-demo-i.html
check out the "The prepare approach" in the above link.
I hope this helps.
-Scott
-----Original Message-
From: Roberto Nunnari [mailto: [EMAIL PROTECTED]
Sent: Wednesday, June 20
--- 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
>
>
>
> This is the table caption
>
>
>
> Any hints?
> Thank you.
>
> --
> Robi
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
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
pproach" in the above link.
I hope this helps.
-Scott
-Original Message-
From: Roberto Nunnari [mailto:[EMAIL PROTECTED] Sent:
Wednesday, June 20, 2007 12:16 PM
To: Struts Users Mailing List
Subject: properties at times not found
Hello.
I have an action with a getter for a List.
In t
ROTECTED]
Sent: Wednesday, June 20, 2007 12:16 PM
To: Struts Users Mailing List
Subject: properties at times not found
Hello.
I have an action with a getter for a List.
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 lis
2:16 PM
To: Struts Users Mailing List
Subject: properties at times not found
Hello.
I have an action with a getter for a List.
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.
the action:
public class StorySear
Hello.
I have an action with a getter for a List.
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.
the action:
public class StorySearch extends ActionSupport {
private List stories = null;
...
public Stri
20 matches
Mail list logo