So you are saying as long as you have the following in the .properties of the
page formid.firstName=My Label, I don't even need to set the label in the
form code?

Very Nice.



Erik van Oosten wrote:
> 
> You don't even need to do that when you have a resource with the name
>   formid.firstName
> of just
>   firstName
> 
>      Erik.
> 
> 
> craigdd schreef:
>> Sorry, should have read a few more posts...here is the solution to the
>> different message.
>>
>> new RequiredTextField("firstName").setLabel(new
>> ResourceModel("resource.key"));
>>
>>   
> 
> -- 
> Erik van Oosten
> http://www.day-to-day-stuff.blogspot.com/
> 
> 
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> 
> 

-- 
View this message in context: 
http://www.nabble.com/User-Friendly-Validation-Messages-tf2427094.html#a6776477
Sent from the Wicket - User mailing list archive at Nabble.com.


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to