Valid attribute names are "onclick" & "oncomplete". Also there is no 'oncomplete' attribute at h:commandLink, only a4j:commandLink.
Thanks will try these options.
Another issue: I have a home.xhtml which is using template layout.
I have following link and the function in the home.xhtml
<h:commandButton value="Save" onclick="Richfaces.showModalPanel('waitPanel');showSearch();" />
and I have added <ui:include src="/search.xhtml" /> in the home.xhtml.
search.xhtml has a <rich:modalPanel id="SearchModalPanel"....
waitpanel shows up successfully. but the SearchModalPanel is not showing up when I click the save, what am I missing here ?
Thanks in Advance.
Nick neermind. Figured it out my self.
I don't know how to use <a4j commands. Where can I get the tutorial for a4j uage. ?
I have following code and its nor working, when I dbclick on the row the js function is not getting called.
<rich:dataTable width="483" rows="10" value="" var="category"
what am I missing here ?
Check docs and demos: see overview & documentation menu items atop this page.
I am using the Rich Tree and I want to restrict it inside a panel, meaning even if you expand the tree horizontally or vertically I want it to appear inside a fixed width and height panel with a Scroll. Is it possoble to acheive it ?
I tried sorrounding the tree with a rich:panel with bodyClass="body3" as explained in the below link but it didn't help.
Thanks In Advance for your help.
Just add below style tag to the <rich:tree...> and it will work.