Martin Gainty wrote:
dave is is correct..
The following example without the proceeding situation setup is quite
misleading (so here it is) :
For example, suppose we are using standard OGNL (not using XWork) and
there are two objects in the OgnlContext map: "foo" -> foo and "bar" ->
bar and
Hi,
I'm new to struts. I'm trying to write my own simple application with only
1 jsp, only 1 form bean and only 1 action. I've set a breakpoint in netbeans
in the action's execute() method, but the application doesn't stop. I can
stop in the BaseServlet so I think it's my struts configuration &
I think you're trying to do a nested property but that's not supported that
way. The bean name is already specified by "name" so no need to repeat it in
"property"
;
Paul
On 9/9/07, Maya menon <[EMAIL PROTECTED]> wrote:
>
> Reposting: dont know why junk charachers appear below
> I have a quest
Reposting: dont know why junk charachers appear below
I have a question about how to retrive the value from a data object in the
form bean
I have a form bean, TestForm where I declare my dataobject as
private testdata[] data;
with its getter and setter
In my testdata class I have a Strin
> value='mypath'/>">I have a question about how to retrive the value from a
> data object in the form bean
> value='mypath'/>">
> value='mypath'/>">I have a form bean, TestForm where I declare my
dataobject as
> value='mypath'/>">private testdata[] data;
> value='mypath'/>">
> value
--- xyz <[EMAIL PROTECTED]> wrote:
> Any hints/ideas on achieving this?
Have you considered using indexed properties?
d.
TV dinner still cooling?
Check out "Tonight's Picks" on Yahoo! TV.
http://tv.yahoo.c
user clicks
"finish" and all saved data from session along with some common information
is to be handled for further processing. Is there any mechanism in Struts
supporting multiple instances.
Any hints/ideas on achieving this?
Thanks
--
View this message in context:
http://www.na
Jim John <[EMAIL PROTECTED]> wrote on 01/26/2007 01:50:45 PM:
> I'm very new to struts and have a simple question
>
> I have a page called mailGroups.jsp which uses some
> beans. I forward to mailGroupsEdit.jsp so that I can
> use the data from the beans in mailGroups.jsp for
> editing. So how do
I'm very new to struts and have a simple question
I have a page called mailGroups.jsp which uses some
beans. I forward to mailGroupsEdit.jsp so that I can
use the data from the beans in mailGroups.jsp for
editing. So how do I get this information from
mailGroups to mailGroupsEdit? What do I need t
On 7/18/05, Rick Reumann <[EMAIL PROTECTED]> wrote:
> To me, this is very confusing. Why doesn't the html:property tag perform
> the same kind of logic as JSTL does? I would think I should be able to
> just do...
>
>
>
> and not need to create a new accessor method name and the odd syntax (x) ?
Rick Reumann wrote the following on 7/14/2005 4:26 PM:
Rick Reumann wrote the following on 7/14/2005 4:20 PM:
From the FAQ I'm going to try this in my ActionForm..
public Object getStringMapped(String key) {
return map.get(key);
}
public void setStringMapped(String key, Obj
Right as rain, Rick! You also can have a getMap() method and use
map.name rather than map[1].name. There is some fairly weird code,
unfortunately, underlying all this, which makes the creation of an
ActionForm as an instrumented Map impossible. However, looking at the
code itself is very instruc
Rick Reumann wrote the following on 7/14/2005 4:20 PM:
From the FAQ I'm going to try this in my ActionForm..
public Object getStringMapped(String key) {
return map.get(key);
}
public void setStringMapped(String key, Object value) {
map.put(key, value);
}
When i
Rick Reumann wrote the following on 7/14/2005 3:17 PM:
Ok this is basic, but I'm stumped here at the moment...
Imagine a Map of Animals. (Animal has a "name" property)
map.put(new Integer(1), new Animal() );
map.put(new Integer(2), new Animal() );
In my Action form this map is in there as:
pr
Ok this is basic, but I'm stumped here at the moment...
Imagine a Map of Animals. (Animal has a "name" property)
map.put(new Integer(1), new Animal() );
map.put(new Integer(2), new Animal() );
In my Action form this map is in there as:
private Map animalsMap;
getAnimalsMap()
setAnimalsMap(Map
http://struts.apache.org/faqs/database.html#manager
http://struts.apache.org/userGuide/configuration.html#data-source_config
Hubert
On Mon, 17 Jan 2005 17:59:07 +0100, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> Hubert,
>
> You wrote "The Struts dev team now recommends you use other faciliti
;
17/01/2005 16:53
Please respond to
"Struts Users Mailing List"
To
Struts Users Mailing List
cc
Subject
Re: Struts question
John,
Please send your questions to the Struts user list. The biggest
reason is that you'd get a wide audience for your question, with
several p
John,
Please send your questions to the Struts user list. The biggest
reason is that you'd get a wide audience for your question, with
several people possibly helping you, and several people benefitting
from the answer being shared, too. It's a community effort, but it's
the community that benef
wards that look like:
Ok, the problem appears to be with the velocity link tool. Which is
generating a link like:
http://localhost:8080/tsr/ui/select.company.page
for the forwards defined above. So not a specific struts question.
2.) I will rephrase this question beca
t:8080/tsr/ui/select.company.page
for the forwards defined above. So not a specific struts question.
2.) I will rephrase this question because it was unclear. I have an
action: edituser
this action does some switching based on a parameter passed into the
request (It is more
Bullard, James wrote:
A couple tiles questions.
1.) Is there any way to have a global-forward forward to a tile, It always
tells me that such a path does not exist, meaning that rather than recognize
the page as tile def it thinks it is a page.
Hmm not sure what is wrong. You could try adding co
A couple tiles questions.
1.) Is there any way to have a global-forward forward to a tile, It always
tells me that such a path does not exist, meaning that rather than recognize
the page as tile def it thinks it is a page.
2.) I am using the same forms for editing and creating new entity instan
22 matches
Mail list logo