This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JSF Validation Messages in a Portlet  RSS feed

 
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!