• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using Richfaces clientside validation

 
Raghu Sha
Ranch Hand
Posts: 122
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am using RF 4.3.1.
Need to validate the form on click of submit button. Form is available in (<f:view>) frames.

Popup window not appeared in IE 8, but displayed other than IE.
below are the code snippet.

Page 1

<f:view>
<h:body>
<h:form>
<div class="frameHeader">Header Form</div>
<div class="listOdd">
<a href="DisplayData.jsf" target="rightFrame" style = "text-decoration:none">Display Data</a><br></br>
</div>
</h:form>
</h:body>
</f:view>

Page 2

</td>
<td><h:commandButton type="submit" value="#{msg.disp}"
id="display"
action="#{listBean.showData}"
render="dataDisplay" />
</td>
</tr>

<rich:popupPanel id="messagePanel" modal="true"
show="#{facesContext.maximumSeverity != null}">
<rich:messages />
<f:facet name="controls">
<h:outputLink value="#"
onclick="#{rich:component('messagePanel')}.hide(); return false;">
X
</h:outputLink>
</f:facet>
</rich:popupPanel>

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic