Hi Jörg,
what is not working - I think I don't understand you.
The commandLink is not firing?
Are you using a dataTable-model which is stored over requests?
regards,
Martin
On 2/1/06, lij <[EMAIL PROTECTED]> wrote:
> 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
>
--
http://www.irian.at
Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German
Professional Support for Apache MyFaces