| Author |
Message |
|
|
|
Do you want to display the text while the user typing or you want to do on focus lost.
|
 |
|
|
Apologies for flooding with messages.
Did you got any built-in required error messages when the required attribute of the field is set to true.
|
 |
|
|
|
Performing the empty validation check in action method that will be called when you submit the form.
|
 |
|
|
|
Am not sure whether requiredMessage works in Icefaces because its not working for me. So try the last solution( add validation check in action method).
|
 |
|
|
Dear jeshaw70,
Take a look at the following thread.
http://www.icefaces.org/JForum/posts/list/7520.page
Hope this will help you.
|
 |
|
|
Dear notizklotz,
Your solution not working for me.
I tried with Icefaces1.7.2 and JSF1.2_12.
|
 |
|
|
I had posted some solution for your problem in the following topic.
http://www.icefaces.org/JForum/posts/list/3417.page
|
 |
|
|
I think you are using Icefaces request scope, so that the components persists even after the navigation. Use one of the following solution
Add <redirect /> to the <navigation-case> inside <navigation-rule> in Faces-Config.xml
Change to normal standard request scope by adding or modifying the following lines in Web.xml
<context-param>
<param-name>com.icesoft.faces.standardRequestScope</param-name>
<param-value>true</param-value>
</context-param>
Hope this will help you.
|
 |
|
|
I have no idea whether there is any specific approach to handle this situation.
But am using the following two solutions in my project.
By setting required attribute to "true" and requiredMessage attribute with the message to be displayed.
Performing the empty validation check in action method.
|
 |
|
|
See the "Communication between managed beans" section in the below blog.
http://balusc.blogspot.com/2006/06/communication-in-jsf.html
Hope this will help you.
|
 |
|
|
Since Icefaces request scope is longer than the standard request scope, the values in the bean lives longer. If you want then Clear the fields in the registration page on navigation to that page or add or change if already exists as the following lines in Web.xml of project to use the normal Standard request scope.
Code:
<context-param>
<param-name>com.icesoft.faces.standardRequestScope</param-name>
<param-value>true</param-value>
</context-param>
|
 |
|
|
|
Did you clicked the clicked the "Refresh" button of the browser or retyped the url in the address bar.
|
 |
|
|
|
The only option is that you have to write a custom converter.
|
 |
|
|
|
I want to change the text of the inputtext component automatically in regular fixed intervals. Is there any ways to do this in Icefaces.
|
 |
|
|
|
After trying with various versions of JSF, i found that your code will work in JSF1.2 but will not work in JSF1.1 or JSF1.1_02 because the custom messages you specified are not used in the versions prior to JSF1.2. Hope this will help you.
|
 |
|
|