-
1. Re: Modal Panal Component
ilya_shaikovsky Sep 20, 2007 1:30 PM (in response to ruther_21)As you can see from code snippet on demosite - our modal panel opens only from JS. So its your case from the beginning. Please explore our docs carefully.
-
2. Re: Modal Panal Component
ruther_21 Sep 20, 2007 8:51 PM (in response to ruther_21)Hi ilya_shaikovsky,
Thanks for your reply.
You are right, the demo modal panal opens from JavaScript,
but I want that component to be opened from a hyperlink.
Could you please suggest me how to start this.I am using facelets.
any help is highly appreciated. -
3. Re: Modal Panal Component
ishabalov Sep 20, 2007 9:05 PM (in response to ruther_21)What do you mean by "opens from the hyperlik"
From my point of vew the demo modal panel opens from click on the hyperlink.
Is this a hyperlink:
< a href="javascript:Richfaces.showModalPanel('mp',{width:450, top:200})">show this panel< / a >
? -
4. Re: Modal Panal Component
ruther_21 Sep 20, 2007 10:14 PM (in response to ruther_21)Hi,
Thanks for reply,
I am planning to create a new custom component which is similar to Richfaces Modal Panal.
So when one clicks a link to update something it should open a modal panal window for updation.
I am wondering how to start.Please kindly help me to solve this.
thanks in advance. -
5. Re: Modal Panal Component
ishabalov Sep 20, 2007 10:31 PM (in response to ruther_21)It's very difficult to understand your needs from that brief introduction. Please explain your usecase.
-
6. Re: Modal Panal Component
ruther_21 Sep 20, 2007 10:54 PM (in response to ruther_21)Thanks for reply,
The usecase is something like this
I have to create a Custom Component Popup Window which is used to represent a modal dialog in a cross-browser method to allow a user to
input futher data, provide confirmations, and issue warnings/errors to
the user.The popup window is a mixture JavaScript and a container with specific content.Which is very much similar to Richfaces Modal Panal.
Here is the link for reference.
http://livedemo.exadel.com/richfaces-demo/richfaces/modalPanel.jsf?c=modalPanel
any help is highly appreciated. -
7. Re: Modal Panal Component
ilya_shaikovsky Sep 21, 2007 6:39 AM (in response to ruther_21)Still not understand :/
In all my tests and cases - I just take MP component, put any content there (input futher data, provide confirmations, and issue warnings/errors) and call/hide it from JS with or without submit.
What you can't achive with the panel??