You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Madhav Bhargava <Ma...@infosys.com> on 2006/11/07 14:22:35 UTC
popup component
Hi All,
Is there a component for displaying a popup in Myfaces?
I have tried using the popup component - http://www.jenia.org
<http://www.jenia.org/>
However I have encountered the following problems:
1. The popup closes when clicked anywhere else on the screen. This
does not serve my purpose as the user should respond to the popup before
he/she does anything else.
2. There are some problems when the popup needs to be populated
with values fetched from a database.
3. Not able to get back values to the parent form which are entered
on the pop-up.
Is there any other popup component which is available?
Thanks
~madhav
**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***
Re: popup component
Posted by Michael Meierhoff <Mi...@elitepartner.de>.
Hi, have adapt the popup from myfaces wit dojo floatingPanel. It works fine.
Maybe you are interting in this.
It is easy to use:
<wtp:popup title="Neu priorisieren" value="#{project.orderNumber}"
displayAtDistanceX="200" displayAtDistanceY="100"
popupWidth="300" popupHigh="160" styleClass="popup"
rendered="#{!ProjectManagerBean.editProjectsInTable &&
ProjectManagerAcceptBean.view eq 'projects'}">
<f:facet name="body">
<t:panelGroup >
<t:outputText value="Name: #{project.name}"
style="color:#000000;" />
<t:outputText value="<br><br>" escape="false"/>
<t:outputText value="Neue Position:" />
<t:outputText value=" " escape="false"/>
<t:selectOneMenu id="currentOrderNumber"
value="#{project.orderNumber}"
valueChangeListener="#{ProjectManagerAcceptBean.changeOrder}"
onchange="submit()">
<f:selectItems value="#{ProjectManagerAcceptBean.orderItems}" />
</t:selectOneMenu>
</t:panelGroup>
</f:facet>
</wtp:popup>
Am Dienstag, 7. November 2006 14:22 schrieb Madhav Bhargava:
> Hi All,
>
>
>
> Is there a component for displaying a popup in Myfaces?
>
> I have tried using the popup component - http://www.jenia.org
> <http://www.jenia.org/>
>
>
>
> However I have encountered the following problems:
>
> 1. The popup closes when clicked anywhere else on the screen. This
> does not serve my purpose as the user should respond to the popup before
> he/she does anything else.
> 2. There are some problems when the popup needs to be populated
> with values fetched from a database.
> 3. Not able to get back values to the parent form which are entered
> on the pop-up.
>
>
>
> Is there any other popup component which is available?
>
>
>
> Thanks
>
> ~madhav
>
>
>
> **************** CAUTION - Disclaimer *****************
> This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended
> solely for the use of the addressee(s). If you are not the intended
> recipient, please notify the sender by e-mail and delete the original
> message. Further, you are not to copy, disclose, or distribute this e-mail
> or its contents to any other person and any such actions are unlawful. This
> e-mail may contain viruses. Infosys has taken every reasonable precaution
> to minimize this risk, but is not liable for any damage you may sustain as
> a result of any virus in this e-mail. You should carry out your own virus
> checks before opening the e-mail or attachment. Infosys reserves the right
> to monitor and review the content of all messages sent to or from this
> e-mail address. Messages sent to or from this e-mail address may be stored
> on the Infosys e-mail system. ***INFOSYS******** End of Disclaimer
> ********INFOSYS***
--
Michael Meierhoff
----------------------------------------------------------------------------
Software Architect
ElitePartner
Mittelweg 22
20148 Hamburg
Tel: +49 (0)40 - 60 00 95 - 15
Fax: +49 (0)40 - 60 00 95 - 99
E-Mail: Michael.Meierhoff@ElitePartner.de
ElitePartner.de - ElitePartner.at - ElitePartner.ch
Die Adresse für Singles mit Niveau
------------- Eine Beteiligung der Hubert Burda Media -------------