Ray Madigan wrote:

I have narrowed the problem down to:

<html-el:text property='elementMap(${element.element})'
              value='${element.value}'/>

being in a tile.  If the tag is in the main body of the JSP
everything works as it should.

???? - Guess I better look harder at the tiles I use.

Thanks

Looking at this I haven't used the value='' attribute before. The Struts taglib API says


' Value to which this field should be initialized. [Use the corresponding bean property value] [RT Expr]'

This sounds like it will try to access the method in the form bean to find the initial value.

If your ${element.value} evaluates to "abc" then it will try to do a Form.getAbc() for the initial value. I don't think that is what you want.

I think you should be using this:

<html-el:text property='elementMap(${element.element})'/>

and in the action that you call to get to this JSP page, you should be putting in the initial values.

--
Jason Lea


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to