[ 
https://issues.apache.org/jira/browse/WICKET-1877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13889435#comment-13889435
 ] 

S. Pieper commented on WICKET-1877:
-----------------------------------

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)

Reply via email to