-
1. Re: Problem Getting Data into a ModalPanel
msly Sep 7, 2007 12:03 PM (in response to msly)If I call this method with parameters:
Richfaces.showModalPanel('mp',{width:450, top:200},{myParm:'Hello'});
And try to get it to show in an alert like this:
onshow="alert(event.parameters.myParm)";
It says that it is undefined in the alert box.
Where would I define the parameter.
I would like to pass in the message text for the panel and display it with an output text statement. -
2. Re: Problem Getting Data into a ModalPanel
ilya_shaikovsky Sep 10, 2007 6:14 AM (in response to msly)What about Rich faces version?
-
3. Re: Problem Getting Data into a ModalPanel
msly Sep 24, 2007 11:16 AM (in response to msly)richfaces-impl-3.1.0-rc3.jar
richfaces-api-3.1.0-rc3.jar
richfaces-ui-3.1.0-rc3.jar
I am also using Myfaces in this project.
myfaces-impl-1.1.5.jar ...
I am successfully using a modal panel as a dialog with controls that reference the managed bean behind the page.
What I would like to do is pass a message into a panel and use it as an alert box. I want to include a file in all of my pages and show it with a custom message when needed. -
4. Re: Problem Getting Data into a ModalPanel
ilya_shaikovsky Sep 24, 2007 12:48 PM (in response to msly)did you explore the example in our guide where custom parameters passing described?
-
5. Re: Problem Getting Data into a ModalPanel
msly Sep 26, 2007 11:17 AM (in response to msly)I did and it says that the parameter is undefined. I think I am missing something. It could be something as simple as a parameter definition in javascript, but I am not sure how do define a parameter for it. If I could see a complete example I could probably figure this out. I will go through the document again and see if there is anything I missed.
I did have basic support when I licensed Exadel before Redhat took over. I guess that is gone now?