Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

RichFaces 4.0 M6 <a4j:commandLink> NOT Working

 
Hemant Gupta Hg
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you put rich:panelMenu into form?
 
Hemant Gupta Hg
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes. every tag was inside h:form tag
 
Vladislav Simovic
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic