You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "S. Pieper (JIRA)" <ji...@apache.org> on 2014/02/03 13:20:10 UTC

[jira] [Issue Comment Deleted] (WICKET-1877) Provide Option to Specify XML Attribute Name in getDebugSettings().setOutputComponentPath(true);

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

S. Pieper updated WICKET-1877:
------------------------------

    Comment: was deleted

(was: This issue has cropped up in our project because the attribute name "wicket-path" or "wicketpath" is not compliant with html5.

Custom attributes need to start with "data" as in "data-wicket-path"
http://www.w3.org/TR/2010/WD-html5-20101019/elements.html#embedding-custom-non-visible-data-with-the-data-attributes

It would be appreciated if this could be made configurable. It is possible to write a custom implementation of the DebugSettings interface, however this problem might occur for others as well. )

> Provide Option to Specify XML Attribute Name in getDebugSettings().setOutputComponentPath(true);   
> ---------------------------------------------------------------------------------------------------
>
>                 Key: WICKET-1877
>                 URL: https://issues.apache.org/jira/browse/WICKET-1877
>             Project: Wicket
>          Issue Type: New Feature
>          Components: wicket
>         Environment: Any
>            Reporter: Carlo M. Camerino
>            Assignee: Igor Vaynberg
>            Priority: Minor
>             Fix For: 1.4-RC1
>
>
> Hi , 
> I'm having trouble using selenium because it doesn't recognize the colon (:) character properly.
> I can't use this in my tests. //input[@wicket:path='loginPanel_loginForm_cd'] because XPath Has  A hard time recognizing it.
> Can you provide an option say, getDebugSettings.setOutputComponentPath(true, "compname") 
> so that it will be easier to test
> Thanks
> Carlo



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)