You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2011/06/06 13:13:59 UTC
[jira] [Resolved] (WICKET-3773) Onclick Script displayed as Link
Text
[ https://issues.apache.org/jira/browse/WICKET-3773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Grigorov resolved WICKET-3773.
-------------------------------------
Resolution: Not A Problem
The problem is the "broken attributes" is that you use '>' in the attribute value.
Replacing it with > solves the problem.
Please provide a quickstart that demonstrates such invalid attribute value produced by Wicket and I'll reopen the ticket for you.
> Onclick Script displayed as Link Text
> -------------------------------------
>
> Key: WICKET-3773
> URL: https://issues.apache.org/jira/browse/WICKET-3773
> Project: Wicket
> Issue Type: Bug
> Components: wicket-core
> Affects Versions: 1.4.17
> Reporter: bernard
> Attachments: Quickstart.zip
>
>
> Wicket changes an anchor that has an onclick attribute in a way that breaks it:
> <a href="google.com" onclick="if(history.length > 1){history.back();return false;}else{return true;}">Back to Google</a>
> becomes:
> <a href="google.com" onclick="" if="" history.length=""> 1){history.back();return false;}else{return true;}">Back to Google</a>
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira