Hi!

I have the following page setup : UIViewRoot->UIForm->HTMLPanelGrid->HTMLDataTable...->UIColumn->HtmlCommandLink registered with an ActionLister to do some column sorting inside a table. When I click on the HtmlCommandLink, the view gets restored, but in applyRequestValues Phase's processDecode coming to the UIForm Element the following happens : if (!isSubmitted()) return; and my HtmlCommandLink never gets a chance to be triggered.

To not set the form to the submitted state is okay, because it is not true. But as of now i can think of no special reason why my HtmlCommandLink should not be triggered.

public void processDecodes(javax.faces.context.FacesContext context)
   {
       if (context == null) throw new NullPointerException("context");
       decode(context);
       if (!isSubmitted()) return;
       for (Iterator it = getFacetsAndChildren(); it.hasNext(); )
       {
           UIComponent childOrFacet = (UIComponent)it.next();
           childOrFacet.processDecodes(context);
       }
   }

Took me a a couple of hours to figure this out! Any suggestion or idea? Is this problem known to the community?

Cheers Jörg

Reply via email to