File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSF Validation Messages in a Portlet

 
Guy deLyonesse
Ranch Hand
Posts: 200
Eclipse IDE Java Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 200
Eclipse IDE Java Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I found a solution. For those interested:

Blog Post
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic