Re: [s2] s:component and reading parameters

2007-08-06 Thread mraible
Here's how I'm referencing the component/template: In my addposition.jsp, I added: This doesn't render the error for "partnerPosition". However, if I change it to: ...it works. In my textfield tags, parameters.name is resolved correctly, so I know I'm passing the proper value

Re: [s2] s:component and reading parameters

2007-08-06 Thread Musachy Barroso
Ah..that "parameter", my bad. Just to make it easier to figure it out break it down to: now this is kind of a dumb question, but are you sure there is an error for that field? musachy On 8/6/07, mraible <[EMAIL PROTECTED]> wrote: > > I tried your suggestion, no dice. I think the problem is

Re: [s2] s:component and reading parameters

2007-08-06 Thread mraible
I tried your suggestion, no dice. I think the problem is that I have an expression w/in an expression. The following works for a textfield: I don't know if "parameters" is request parameters - it's whatever creates. Matt Musachy Barroso wrote: > > Try (assuming parameters here are the requ

Re: [s2] s:component and reading parameters

2007-08-06 Thread Musachy Barroso
Try (assuming parameters here are the request parameters) (#parameter.name is an array, it gets me all the time :) ) musachy On 8/6/07, mraible <[EMAIL PROTECTED]> wrote: > > That worked - thanks! > > Now I can't get the following to work - is it possible? > > > > I need to use this syntax to

Re: [s2] s:component and reading parameters

2007-08-06 Thread mraible
That worked - thanks! Now I can't get the following to work - is it possible? I need to use this syntax to render errors next to fields since the default (simple) tag wraps the error with an even when there's only one error. This makes it difficult to put errors next to fields (w/o customizi

Re: [s2] s:component and reading parameters

2007-08-06 Thread Musachy Barroso
try : musachy On 8/6/07, mraible <[EMAIL PROTECTED]> wrote: > > I'm trying to use the tag to create a re-usable set of fields > in a form. In my JSP: > > > > > > In template/simple/addposition.jsp, I have: > > <%@ taglib uri="/struts-tags" prefix="s" %> > > Name: > > For some reaso