On 4/16/2018 9:10 AM, mli...@x76.eu wrote:
> Hi,
> I'm looking for a simple example on how to extend the textfield tag to
> only allow for certain input and display the value in a certain form
> when the field is initially displayed.
>
> So the plugin handles the input validation via a specified attribute,
> and the output formatting according to another attribute.
> E.g.
>
> output="%(name)" />
>
> If you have or know where to find such and example, please let me know.
It seems you don't need to extend Struts textfiled as Struts already
supports both validations and formats. Just search "Struts regex
validation" and "Struts textfield format" :)
Regards.
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org