Maybe I'm still thinking with a Struts mindset, but doesn't that seem
just a bit excessive?

On 7/12/05, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> Wicket is very Java centric, so yes, it means that you need to add
> labels as components, and if you want to attach localized strings to
> them, you should use StringResourceModels.
> 
> If you want to use e.g. localized labels in your markup, you can make a
> reusable component, and address it like:
> 
>   <wicket:component name="label1" class="com.foo.MyLabel"
> resourceKey="my.resource.label">to be replaced</wicket:component>
> 
> We didn't shout this functionality from the roofs, but it has been there
> for quite some time. Inserting tags using <wicket:component could be a
> bit improved too in future, like as a user being able to create a
> logical name/ map lookup so that you don't have to put the full class
> names in them.
> 
> Eelco
> 
> 
> Nick Heudecker wrote:
> 
> >Okay, new problem.  I need to retrieve localized messages for the HTML
> >pages.  Things like form field names and error messages.  There must
> >be a way to just put a Wicket tag into the HTML markup without having
> >to add more Java code to the Page class.
> >
> >
> >-------------------------------------------------------
> >This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
> >July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
> >core and dual graphics technology at this free one hour event hosted by HP,
> >AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
> >_______________________________________________
> >Wicket-user mailing list
> >Wicket-user@lists.sourceforge.net
> >https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
> >
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
> July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
> core and dual graphics technology at this free one hour event hosted by HP,
> AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>


-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to