Simplica

ProductsLearnPurchaseSupportDemoDownload
  [Search] Search   [Recent Topics] Recent Topics  
requiredMessage on suggestInput and lookupinput
Forum Index -> Lookup/Suggest Input
Author Message
cobar


Joined: 08/01/2007 17:02:58
Messages: 98
Offline

Just curious if you have plans to add requiredMessage to the suggestion tag. Required can be set but not the message?
adina_mihai
Simplica Team

Joined: 04/01/2007 00:00:00
Messages: 189
Offline

We will add this property on our next release. Thanks!
adina_mihai
Simplica Team

Joined: 04/01/2007 00:00:00
Messages: 189
Offline

We analyzed this issue, and it seems that JSF has the solution. The JSF specification defines several standard bundle keys, one of which is for required messages: javax.faces.component.UIInput.REQUIRED.

You should specify the resource bundle in the application’s faces-config.xml like that:


Then, put in the .properties file following key:

On suggest, you just have to set required="true", and use <h:messages/> tag to display your custom message.
We may still consider your request for a future release, if you need custom messages for each component.
 
Forum Index -> Lookup/Suggest Input
Go to:   
Powered by JForum 2.1.7 © JForum Team
Home   |  News   |  Contact   |  About   |  License   |  Privacy   |  Documentation
Copyright © 2009 Simplica Corporation. All rights reserved.