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 errors  RSS feed

 
Shashidahanu Iyyanar
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I have a particular page in my application.The page has 2 frames,left frame and right frame.In the right frame of the page,I am having a form consisting of user-enterable fields.Whenever the user enters a wrong data in one of the fields,he should be presented with a error message.However,the error message should get displayed in the left frame of the page.How to achieve the above mentioned scenario using JSF?Anyone please suggest a solution for this scenario?A example would be much better.Thanks in advance.

Regards,
Shashidhar.
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, from the little bit of research on this I did this morning I think you could do 1 of 2 things.

1. Have frame A submit to Frame b. That way your error results would be posted to the frame where you need them. Although this might not be what you want when Frame A submits successfully.

2. Use Javascript in FrameA to manipulate FrameB. So you get the error messages back, use Javascript to paint the error messages to FrameB.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!