• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

RichFaces 4.0 M6 <a4j:commandLink> NOT Working

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Did you put rich:panelMenu into form?
 
Hemant Gupta Hg
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
reply
    Bookmark Topic Watch Topic
  • New Topic