some weeks ago i think.. you should update more often ;)
johan
On 2/23/07, Andrew Klochkov <[EMAIL PROTECTED]> wrote:
I updated wicket and now it generates ""e;" instead of \" - it
works. Looks like it was fixed recently?
Igor Vaynberg wrote:
> how do you escape quotes in javascript then if not " \" " ?
>
> -igor
>
>
> On 2/22/07, *Andrew Klochkov* < [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
>
> BTW it's my second post about incorrect quotes escaping and the
first
> one was more than two months ago :-(
>
> Andrew Klochkov wrote:
> > I'm trying to open a modal window right after opening my
> WebPage. So in
> > the page constructor I have this code:
> >
> > modalWindow.add(new
> > AbstractAjaxTimerBehavior(Duration.milliseconds(100)) {
> >
> > @Override
> > protected void onTimer(AjaxRequestTarget target) {
> > stop();
> > modalWindow.show(target);
> > }
> >
> > });
> >
> > I add this behaviour to modalWindow because if I just add it to
the
> > WebPage instance wicket doesn't add script to body's onload
> handler.
> >
> > So then I see the following html source in the brower:
> >
> > <body onload="setTimeout(\"var
> >
>
wcall=wicketAjaxGet('?wicket:interface=:9:agreement-popup-window:-1:IUnversionedBehaviorListener:7&wicket:ignoreIfNotActive=true',
>
> > function() { }, function() { });\", 100);">
> >
> > And it doesn't work because of invalid qoutes escaping (\"). How
> can I
> > avoid/fix it?
> >
> >
>
>
> --
> Andrew Klochkov
>
>
>
-------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to
> share your
> opinions on IT & business topics through brief surveys-and earn cash
>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> <
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV>
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> <mailto:[email protected]>
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>
> ------------------------------------------------------------------------
>
>
-------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
your
> opinions on IT & business topics through brief surveys-and earn cash
>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ------------------------------------------------------------------------
>
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
--
Andrew Klochkov
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user