aspose file tools*
The moose likes JSF and the fly likes RichFaces 4.0 M6 <a4j:commandLink> NOT Working Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "RichFaces 4.0 M6 <a4j:commandLink> NOT Working" Watch "RichFaces 4.0 M6 <a4j:commandLink> NOT Working" New topic
Author

RichFaces 4.0 M6 <a4j:commandLink> NOT Working

Hemant Gupta Hg
Greenhorn

Joined: Jan 23, 2011
Posts: 11
HI

I am trying to use <a4j:commandLink> present in RichFaces 4 M6. However, I am facing several problems. The method specified in the action attribute is called but the specified component is not rendered. It seems that a4j:commandLink is not refreshing the component. I have tried searching on Google but couldn't get any help.

I am using RichFaces 4.0 M6 and JSF 2.0.9

This is the code:

<a4j:commandLink action="#{myBean.someMethod}" value="Pending" render="otherComponent" />

<rich:panelMenu id="otherComponent">
//Lots of other tags
</rich:panelMenu>

Irrespective of how many times I click, I don't see the updated content.

Please help me guys.
Thanks
Vladislav Simovic
Ranch Hand

Joined: Feb 03, 2011
Posts: 37
Did you put rich:panelMenu into form?
Hemant Gupta Hg
Greenhorn

Joined: Jan 23, 2011
Posts: 11
Yes. every tag was inside h:form tag
Vladislav Simovic
Ranch Hand

Joined: Feb 03, 2011
Posts: 37
Hemant Gupta Hg wrote:Yes. every tag was inside h:form tag


You ll have to provide some more code, backing bean, and faces-confing for this bean, it's really hard to tell like this.
 
Don't get me started about those stupid light bulbs.
 
subject: RichFaces 4.0 M6 <a4j:commandLink> NOT Working