This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSF Validation Messages in a Portlet

 
Guy deLyonesse
Ranch Hand
Posts: 200
Eclipse IDE Java Ubuntu
  • 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
  • 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