Is the method you're calling binded in some action that result in this form?
I mean, to call some method by OGNL this method should be on the stack.

Make sure it is on the stack, if it is and keeps not working, post the code
of your action and your form here.

Regards,

Felipe


meeboo wrote:
> 
> Hey all
> 
> I am trying to populate the value of a s:textfield with some data from a
> method via OGNL. I tried value="getTagsAsString(movie.id)" which doesn't
> work at all (the textfield is populated with "getTagsAsString(movie.id)").
> Then I tried the JSTL approach, by writing
> value="%{#getTagsAsString(movie.id)}" but that doesn't return a result at
> all. It seems as if the method getTagsAsString isn't called - shouldn't 
> you be able to do this via the value parameter of a s:textfield? I have
> pulled it off before with s:property.
> 
> Thanks!
> 

-- 
View this message in context: 
http://www.nabble.com/%3Cs%3Atextfield%3E-question-tf3657820.html#a10220047
Sent from the Struts - User mailing list archive at Nabble.com.


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

Reply via email to