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 2010/12/29 15:19:47 UTC

[jira] Resolved: (WICKET-2832) Output wicket attributes even in ajax response

     [ https://issues.apache.org/jira/browse/WICKET-2832?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov resolved WICKET-2832.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5-M4

Improved with r1053639 in Wicket 1.5.

> Output wicket attributes even in ajax response
> ----------------------------------------------
>
>                 Key: WICKET-2832
>                 URL: https://issues.apache.org/jira/browse/WICKET-2832
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 1.4.7
>            Reporter: Kent Tong
>            Assignee: Martin Grigorov
>             Fix For: 1.5-M4
>
>         Attachments: patch.txt
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> I am working on a special locator in selenium for Wicket generated pages. For example, one can like wicket:id in a xpath-like locator: //myform//username, which means locating the first element whose wicket:id is "myform" and then locating the first element whose wicket:id is "username".
> The code is working. However, due to WICKET-1174, stripWicketTags in renderComponentTag() is now set to true as long as it is an ajax request. So, if an element is refreshed in an ajax request, it will lose the wicket:id and the locator won't find it.
> To solve the problem, I'd suggest the splitting the concept of "strip wicket attributes" from "strip wicket tags". This way, you can still trip the wicket tags without affecting the wicket:id.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.