*
The moose likes JSF and the fly likes JSF Validation Messages in a Portlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
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: 200

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: 200

I found a solution. For those interested:

Blog Post
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSF Validation Messages in a Portlet
 
Similar Threads
validateLongRange in JSF
Avoid duplicates in RichFaces messages tag
display error message
portlet startup problem
[Liferay] Protect portlet