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

Per Östlund updated WICKET-5874:
--------------------------------
    Description: 
WicketTester TagTester does not work as expected when using non self closing 
tags.

*WicketTester code*
{code}
TagTester tagTester = wicketTesterInstance.getTagByWicketId("someInputId");
{code}

*This does not work, _tagTester_ is null:*
{code}
<input wicket:id="someInputId">
{code}

*This works as expected:*
{code}
<input wicket:id="someInputId"/>
{code}

Found using Wicket version 6.17.

  was:
WicketTester TagTester does not work as expected when using non self closing 
tags.

*WicketTester code*
{code}
TagTester tagTester = wicketTesterInstance.getTagByWicketId("someInputId");
{code}

*This does not work, _tagTester_ is null:*
{code}
<input wicket:id="someInputId">
{code}

*This works as expected:*
{code}
<input wicket:id="someInputId"/>
{code}


> WicketTester TagTester does not work as expected when using non self closing 
> tags
> ---------------------------------------------------------------------------------
>
>                 Key: WICKET-5874
>                 URL: https://issues.apache.org/jira/browse/WICKET-5874
>             Project: Wicket
>          Issue Type: Bug
>            Reporter: Per Östlund
>            Priority: Minor
>
> WicketTester TagTester does not work as expected when using non self closing 
> tags.
> *WicketTester code*
> {code}
> TagTester tagTester = wicketTesterInstance.getTagByWicketId("someInputId");
> {code}
> *This does not work, _tagTester_ is null:*
> {code}
> <input wicket:id="someInputId">
> {code}
> *This works as expected:*
> {code}
> <input wicket:id="someInputId"/>
> {code}
> Found using Wicket version 6.17.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to