Sorry,
the docs are a little sparse for the taglib... Take a look at the example JSPs
in the example web app...
For
getting texts from a resource bundle, you can use getText() like
so:
<ww:textfield label="getText('some.text.key')"
name="'username'"/>
You
can supply default messages, arg lists for parameterized messages, etc. Take a
look at the com.opensymphony.xwork.TextProvider Interface. If your Action
extends ActionSupport you've already got an implementation of this Interface,
otherwise you can implement it yourself (see
com.opensymphony.xwork.TextProviderSupport for an implementation you can
delegate to)
|
Title: Message
- [OS-webwork] WebWork2 taglib Mark Woon
- Re: [OS-webwork] WebWork2 taglib Francisco Hernandez
- Re: [OS-webwork] WebWork2 taglib Mark Woon
- RE: [OS-webwork] WebWork2 taglib Jason Carreira
- Re: [OS-webwork] WebWork2 taglib Mark Woon
- Re: [OS-webwork] WebWork2 taglib Jason Carreira
- Re: [OS-webwork] WebWork2 taglib Mark Woon
- Re: [OS-webwork] WebWork2 taglib Mark Woon
- RE: [OS-webwork] WebWork2 taglib Jason Carreira
- Re: [OS-webwork] WebWork2 taglib Mark Woon