You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Gabriel Moreira <ga...@gmail.com> on 2011/04/04 16:32:13 UTC

WICKET 1.5 RC-3 BUG WITH CONDITIONAL COMMENTS

WICKET 1.5 RC-3 BUG WITH CONDITIONAL COMMENTS

SOURCE:

<!--[if lte IE 6]>
<script type="text/javascript">
 if (window.top.location.href.indexOf('atualize-seu-navegador') == -1) {
window.top.location = '/atualize-seu-navegador';
 }
</script>
<![endif]-->


GENERATED:

<!--[if lte IE 6]>
<script type="text/javascript"><!--/*--><![CDATA[/*><!--*/
 if (window.top.location.href.indexOf('atualize-seu-navegador') == -1) {
window.top.location = '/atualize-seu-navegador';
 }
/*-->]]>*/</script>
<![endif]-->


See screenshots...

Re: WICKET 1.5 RC-3 BUG WITH CONDITIONAL COMMENTS

Posted by Igor Vaynberg <ig...@gmail.com>.
i think its safe to take "<!--/*-->" out script tag escaping

-igor


On Mon, Apr 4, 2011 at 7:40 AM, Martin Grigorov <mg...@apache.org> wrote:
> Duh..
>
> This is caused by
> https://issues.apache.org/jira/browse/WICKET-3420
>
> <https://issues.apache.org/jira/browse/WICKET-3420>
> Please create a ticket, attach a quickstart and link to 3420 or at least
> mention it.
> Thanks!
>
> On Mon, Apr 4, 2011 at 4:32 PM, Gabriel Moreira <ga...@gmail.com>wrote:
>
>> WICKET 1.5 RC-3 BUG WITH CONDITIONAL COMMENTS
>>
>> SOURCE:
>>
>> <!--[if lte IE 6]>
>> <script type="text/javascript">
>>  if (window.top.location.href.indexOf('atualize-seu-navegador') == -1) {
>> window.top.location = '/atualize-seu-navegador';
>>  }
>> </script>
>> <![endif]-->
>>
>>
>>  GENERATED:
>>
>> <!--[if lte IE 6]>
>> <script type="text/javascript"><!--/*--><![CDATA[/*><!--*/
>>  if (window.top.location.href.indexOf('atualize-seu-navegador') == -1) {
>> window.top.location = '/atualize-seu-navegador';
>>  }
>> /*-->]]>*/</script>
>> <![endif]-->
>>
>>
>> See screenshots...
>>
>>
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>
>
>
> --
> Martin Grigorov
> jWeekend
> Training, Consulting, Development
> http://jWeekend.com <http://jweekend.com/>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: WICKET 1.5 RC-3 BUG WITH CONDITIONAL COMMENTS

Posted by Martin Grigorov <mg...@apache.org>.
Duh..

This is caused by
https://issues.apache.org/jira/browse/WICKET-3420

<https://issues.apache.org/jira/browse/WICKET-3420>
Please create a ticket, attach a quickstart and link to 3420 or at least
mention it.
Thanks!

On Mon, Apr 4, 2011 at 4:32 PM, Gabriel Moreira <ga...@gmail.com>wrote:

> WICKET 1.5 RC-3 BUG WITH CONDITIONAL COMMENTS
>
> SOURCE:
>
> <!--[if lte IE 6]>
> <script type="text/javascript">
>  if (window.top.location.href.indexOf('atualize-seu-navegador') == -1) {
> window.top.location = '/atualize-seu-navegador';
>  }
> </script>
> <![endif]-->
>
>
>  GENERATED:
>
> <!--[if lte IE 6]>
> <script type="text/javascript"><!--/*--><![CDATA[/*><!--*/
>  if (window.top.location.href.indexOf('atualize-seu-navegador') == -1) {
> window.top.location = '/atualize-seu-navegador';
>  }
> /*-->]]>*/</script>
> <![endif]-->
>
>
> See screenshots...
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com <http://jweekend.com/>