Gary, thanks
a lot for your reply, I’ve debugged the searchDocuments
method within the tomcat 5 container and it’s never called.
Thanks again
Matias
-----Original Message-----
From: Gary VanMatre
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 27, 2005
4:20 PM
To: MyFaces Discussion
Subject: Re: h:commandButton ,
h:commandLink , f:subView question
>From: "Matias
Gomez Carabias" <[EMAIL PROTECTED]>
> Hi guys , first of all merry christmas.
>
> I'm having the following problem, I have an h:commandLink with an action
> defined and when clicked, nothing happens, this commandLink is inserted
> to the main jsp via de f:subview jsp:include tags.
>
I don't see
anything wrong in the example you provided. I would place some debug
logic in the searchDocuments method of you backing bean to verify that it is
not getting invoked. If the method is being invoked, you might also check
your navigation rules to make sure that the String you are returning has a
matching navigation case.
Something that
I've used to help with this kind of problem is turning on debug
logging within the java logging.properties file. Myfaces
has great debug logging.
org.apache.myfaces.application.NavigationHandlerImpl.level=ALL
org.apache.myfaces.application.ActionListenerImpl.level=ALL
>
> Thanks a lot in advance.
>
> Matias
Gary
>