aspose file tools
The moose likes JSF and the fly likes JSF Validation Messages in a Portlet Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » JSF
Reply Bookmark "JSF Validation Messages in a Portlet " Watch "JSF Validation Messages in a Portlet " New topic
Author

JSF Validation Messages in a Portlet

Guy deLyonesse
Ranch Hand

Joined: Apr 12, 2011
Posts: 192

So the scenario is this:

I have an ICEfaces 1.8 portlet running in Liferay 5.2 and I'm using both built-in and custom field validators.

My custom validator message is a nice, default JSF formatted message that is pleasant to look at.

The required field validator is hideous, looks completely different, and has the Liferay portlet instance info tacked onto the message.



My questions:

Why are there two different CSS styles for messages on the same ice:message control?
Is there a way I can control the exact contents of the required validator message to remove all the extra info that the user doesn't need?
Guy deLyonesse
Ranch Hand

Joined: Apr 12, 2011
Posts: 192

I found a solution. For those interested:

Blog Post
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: JSF Validation Messages in a Portlet
 
Similar Threads
Avoid duplicates in RichFaces messages tag
[Liferay] Protect portlet
portlet startup problem
validateLongRange in JSF
display error message