struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Pratt <thechrispr...@gmail.com>
Subject Re: dinamic name for textfield
Date Tue, 21 Jun 2011 15:20:03 GMT
According to what you showed, the type attribute is taken from the page
parameters at run time, which is what I showed, if you don't want to
evaluate the myField portion yet, try:

<s:textfield name="%{#parameters.type + '.myField'}" maxlength="250"
size="20" />

  (*Chris*)

On Mon, Jun 20, 2011 at 1:25 PM, k3v1n <mitnick@email.it> wrote:

> Thanks for reply.
>
> but "Type" field is evaluated to run time for me!
>
>
>
> --
> View this message in context:
> http://struts.1045723.n5.nabble.com/dinamic-name-for-textfield-tp4506481p4507886.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message