You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Michael Wiedmann <mw...@miwie.in-berlin.de> on 2005/01/31 09:07:20 UTC

Popup

I don't understand how the necessary JScript code for the - excellent - popup
component is loaded in the JSP-pages.

If I try to setup a sample page without explicetely loading the JScript file
(JSPopup.js) the Popup does not work.

If I include JSPopup.js in the JSP page everything works fine.

In the myfaces-example for Popup I don't see this file loaded, and I find it in
"myfaces.jar".

So what am I doing wrong?

Michael
-- 

Re: Popup

Posted by Michael Wiedmann <mw...@miwie.in-berlin.de>.
Martin Marinschek <ma...@gmail.com> wrote:

> Hmmm... there is a filter you need to include which does the
> retrieving of the popup js-file for you. Look into the examples
> web.xml file, there is a filter named extensions-filter; include that
> into your web.xml.

Thanks for your clarifaction, this way it works perfectly!

Michael
-- 

Re: Popup

Posted by Martin Marinschek <ma...@gmail.com>.
Hmmm... there is a filter you need to include which does the
retrieving of the popup js-file for you. Look into the examples
web.xml file, there is a filter named extensions-filter; include that
into your web.xml.

regards,

Martin


On Mon, 31 Jan 2005 09:07:20 +0100, Michael Wiedmann
<mw...@miwie.in-berlin.de> wrote:
> I don't understand how the necessary JScript code for the - excellent - popup
> component is loaded in the JSP-pages.
> 
> If I try to setup a sample page without explicetely loading the JScript file
> (JSPopup.js) the Popup does not work.
> 
> If I include JSPopup.js in the JSP page everything works fine.
> 
> In the myfaces-example for Popup I don't see this file loaded, and I find it in
> "myfaces.jar".
> 
> So what am I doing wrong?
> 
> Michael
> --
>