This content has been marked as final.
Show 2 replies
-
1. Re: Reset Form Validation on return to page
todd123 Aug 17, 2010 2:30 PM (in response to todd123)A little more information:
I am using jboss-portal-2.7.0, seam 2.2.1, richfaces 3.3.3I want to be able to click the tab links and start a new view instance on these links if possible. Thanks
-
2. Re: Reset Form Validation on return to page
todd123 Aug 17, 2010 3:47 PM (in response to todd123)Ok, still working through this issue. If I create a link inside the xhtml file and redcirect it works:
profile.xhtml
<s:link id="configureUser" action="#{profileAction.configureUser}" >
<h:graphicImage value="#{sessionManager.imagePath}/wrench.png" />
</s:link>
ProfileAction.java
@Begin (join = true)
public String configureUser() {
return "/myProfile.xhtml";
}
This gets me a new view with no validation errors. But I want to be able to click on a tab from the portal and accomplish this too. From the default tabs.jsp in the jboss portal server:
<ul>
<%
for (Iterator j = tmp.iterator(); j.hasNext();)
{
PortalNode childChild = (PortalNode)j.next();
%>
<li><a href='<%= childChild.createURL(context) %>'><%= childChild.getDisplayName(locale) %>
</a></li>
<%
}
%>
</ul>
Has anyone tried to do this before? The link in the tab is: /portal/auth/user/myProfile and I want that to create a new view.