[
https://issues.apache.org/jira/browse/WICKET-809?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gerolf Seitz updated WICKET-809:
--------------------------------
Attachment: invalid_js.patch
exchanges the existing method "getMarkupId" with a new method
"getEscapedMarkupId", which is now used for the substitute variable "widgetId".
a new substitute variable "componentId" is assigned the return value of
"getMarkupId".
> DatePicker: invalid Javascript when component's wicket:id contains non-word
> character
> -------------------------------------------------------------------------------------
>
> Key: WICKET-809
> URL: https://issues.apache.org/jira/browse/WICKET-809
> Project: Wicket
> Issue Type: Bug
> Components: wicket-datetime
> Affects Versions: 1.3.0-beta2
> Reporter: Gerolf Seitz
> Priority: Critical
> Attachments: invalid_js.patch
>
>
> as reported by Doug Leeper on the mailing list
> (http://www.nabble.com/DateTimeField-issue-tf4194618.html#a11929171) the
> generated javascript is invalid if the component's wicket:id contains a
> non-word character.
> this occurs eg. if the component is a DateTextField and the containing form
> uses a CompoundPropertyModel and the wicket:id is used to point to a nested
> property.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.