-
1. Re: Richfaces 4.0 rich:popupPanel Problem
ali1983 Aug 16, 2010 6:17 AM (in response to ali1983)Sorry! The previous post was incomplete...
Hello to All!
I am facing a problem using Richfaces 4.0. The Issue which I am having right now is rich:popupPanel. I am using Richfaces 4.0 and JSF 2.0 with Tomcat 6.0.18. When I click on action of link or button I get following error..
My Webpage code is following...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><h:form id="locals"><f:view><h:commandButton value="Call the popup"><rich:componentControl target="popup" operation="show" /></h:commandButton><rich:popupPanel show="true" id="popup" modal="true" resizeable="true"onmaskclick="#{rich:component('locals:popup')}.hide()"><f:facet name="header"><h:outputText value="Simple popup panel" /></f:facet><f:facet name="controls"><h:outputLink value="#"onclick="#{rich:component('locals:popup')}.hide(); return false;">X</h:outputLink></f:facet><p>Additionally there you could check how to handle the clicksoutside the panel.</p><p>In this sample the click outside - closes the panel as well asclicking hide control in the header</p></rich:popupPanel></f:view></h:form></html>When I click on button I gotError: 'RichFaces' is undefinedRegardsSyed Muhammad Ali Naqvi -
2. Re: Richfaces 4.0 rich:popupPanel Problem
ilya_shaikovsky Aug 16, 2010 6:40 AM (in response to ali1983)if the page included into some external one or opened directly? In second case you seems missing head and body sections.
P.S. moving thread our of RF development to just RichFaces space.
-
3. Re: Richfaces 4.0 rich:popupPanel Problem
nbelaevski Aug 16, 2010 6:36 PM (in response to ali1983)Hi,
You should add h:head/h:body tags
-
4. Richfaces 4.0 rich:popupPanel Problem
sumanjara Jan 21, 2011 6:02 AM (in response to nbelaevski)Hi,
Can i open multiple popups.
Example: In a page, two buttons are placed.
When i click on first button - PopupPanel 1 should open.
When i click on second button - PopupPanel 2 should open.
Is this possible in rich:popupPanel??
-
5. Richfaces 4.0 rich:popupPanel Problem
ilya_shaikovsky Jan 21, 2011 6:45 AM (in response to sumanjara)should be no problem open a few popups or open one popup from another. Please update us if there are any problems with that.
-
6. Re: Richfaces 4.0 rich:popupPanel Problem
sumanjara Jan 21, 2011 8:08 AM (in response to ilya_shaikovsky)am abIe to open multiple pop-ups.
Example: I have opened two popups. [popup-1, popup-2].
When i click on popup-1 header , the window should come infront and popup-2 should go backside.
And also is it possible to create a popuppanel in backingbean in java class.
Requirement: I have a tree [Tree is set of nodes].
When i click on node it should open a new popup panel.
-
7. Re: Richfaces 4.0 rich:popupPanel Problem
velastiqui Apr 11, 2011 8:13 PM (in response to sumanjara)can you show me an example, please? the rich:popupPanel need 2 click on "h:commandButton" and this no work fine.