tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Rosenberger (JIRA)" <j...@apache.org>
Subject [jira] [Created] (TAP5-1928) zone with formsupport renders hidden input field after first child element and breaks css-styling
Date Thu, 10 May 2012 05:46:14 GMT
Benjamin Rosenberger created TAP5-1928:
------------------------------------------

             Summary: zone with formsupport renders hidden input field after first child element
and breaks css-styling
                 Key: TAP5-1928
                 URL: https://issues.apache.org/jira/browse/TAP5-1928
             Project: Tapestry 5
          Issue Type: Bug
          Components: tapestry-core
    Affects Versions: 5.3.3
            Reporter: Benjamin Rosenberger
            Priority: Trivial


when adding a zone (HiddenFieldLocationRules == RelativeElementPosition.INSIDE) around checkboxes
in a form 

{code}
...
<t:zone t:id="zone">
   <div t:id="checkBox1"/><t:label for="checkBox1"/>
</t:zone>
...
{code}

the hidden-input tag will be rendered after the first child element 

{code}
<div id="zone" class="t-zone">
   <input type="checkbox" name="checkBox1_137352f1806" id="checkBox1_6" disabled="disabled"><label
class="inline" for="noteWorkshop_6">Service:</label>
   <input type="hidden" name="t:formdata" value="...">
   <label>label</label>
</div>
{code}

which breaks the css selekor

{code}
input[type="checkbox"][disabled] + label {
   ...
}
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message