that can't be done.
Because if i do this:

<script language="
text/_javascript_">
var pagemapcookie = getWicketCookie('pagemap-null');
if(!pagemapcookie && pagemapcookie != '1'){setWicketCookie('pagemap-null',1);}
else { document.location.href = '';}
</script>
then the script is not executed.  That can only be used for including a script file.

johan


On 4/17/06, nato <[EMAIL PROTECTED]> wrote:
I just want to add, please specify the type="text/_javascript_" on the generated <script> element so that it will be a valid (x)html. My boss wants our html pages to be w3c compliant. Thanks, I hope this would also be a quick-fix. :D


On 4/17/06, Ingram Chen < [EMAIL PROTECTED]> wrote:
Wow, so fast!

I will try it after rc1 out. Thanks a lot.


On 4/17/06, Eelco Hillenius <[EMAIL PROTECTED] > wrote:
Done. It's setting automaticMultiWindowSupport.

Eelco




On 4/16/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> That code is for automatically opening new page maps when new windows
> are opened (e.g. when doing ctrl+click or ctrl+n in IE). That code had
> some problems though, and we rewrote it using cookies when they are
> available, using the history trick as a last fall back. There was a
> thread about this earlier this week btw.
>
> I agree, any checking like this should be a configuration option. I'll
> build that in now.
>
> Eelco
>
>
> On 4/16/06, Ingram Chen <[EMAIL PROTECTED] > wrote:
> > The WebPage from latest beta generate some _javascript_:
> >
> > if((history.length == 0 && document.all) || (history.length == 1 &&
> > !document.all))
> > ....
> >
> > I am not sure what this for.... but while in testing we may dump whole page
> > source and preview it in browser. This script always do redirect because
> > there is
> > no history for such standalone page.
> >
> > Is it possible to turn it off via PageSetting ? or at least it can be turned
> > off
> > in MockWebApplication.
> >
> > --
> > Ingram Chen
> > Java [EMAIL PROTECTED]
> > Institue of BioMedical Sciences Academia Sinica Taiwan
> > blog: http://www.javaworld.com.tw/roller/page/ingramchen
>


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&dat1642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user



--

Ingram Chen
Java [EMAIL PROTECTED]
Institue of BioMedical Sciences Academia Sinica Taiwan
blog: http://www.javaworld.com.tw/roller/page/ingramchen


Reply via email to