[jboss-user] [JBoss Portal] - Jboss Portal Server caching render-view

Todd Brady do-not-reply at jboss.com
Wed Aug 18 08:39:26 EDT 2010

Todd Brady [http://community.jboss.org/people/todd123] created the discussion

"Jboss Portal Server caching render-view"

To view the discussion, visit: http://community.jboss.org/message/557899#557899

Hi -

I am using jboss portal 2.7.0, seam 2.2.1, and richfaces 3.3.3.  If I go to a page from the tabs on the top with required='true' on a widget and click save.  The page says 'Field is required'  That works perfectly.  But if I click another tab and click back to that tab, the validation errors are still present.  I was wondering if there was a way for me to force a new view when they click on that tab everytime?

If I create a link inside the xhtml file and redcirect it works:
  <s:link id="configureUser" action="#{profileAction.configureUser}" >
         <h:graphicImage value="#{sessionManager.imagePath}/wrench.png" />

@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:
            for (Iterator j = tmp.iterator(); j.hasNext();)
               PortalNode childChild = (PortalNode)j.next();
         <li><a href='<%= childChild.createURL(context) %>'><%= childChild.getDisplayName(locale) %>

Has anyone tried to do this before? The link in the tab is: /portal/auth/user/profile and I want that to create a new view.If I create a link inside the xhtml file and redcirect it works:


Reply to this message by going to Community

Start a new discussion in JBoss Portal at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100818/63f0655e/attachment.html 

More information about the jboss-user mailing list