Michael Mikhulya created TAP5-2538:
--------------------------------------
Summary: Updating schema version to tapestry_5_4.xsd breaks
formfragments
Key: TAP5-2538
URL: https://issues.apache.org/jira/browse/TAP5-2538
Project: Tapestry 5
Issue Type: Bug
Components: tapestry-core
Affects Versions: 5.4
Reporter: Michael Mikhulya
If I change {{tapestry_5_3.xsd}} to {{tapestry_5_4.xsd}} in following code
excerpt:
{code:xml}
<div xmlns:t="http://tapestry.apache.org/schema/tapestry_5_3.xsd">
<t:radiogroup value="islegal">
<div class="radio inline-radio">
<input t:type="radio" type="radio" t:id="individual"
name="investor-type" value="0"
t:mixins="TriggerFragment"
fragment="residentFragment" />
<t:label for="individual">Физическое лицо/ИП</t:label>
</div>
<div class="radio inline-radio">
<input t:type="radio" type="radio" t:id="legal_entity"
name="investor-type" value="1"/>
<t:label for="legal_entity">Юридическое лицо</t:label>
</div>
</t:radiogroup>
<div t:type="formfragment" t:id="residentFragment"
visible="showResidentSelector">
...
{code}
then following exception occurs:
{noformat}
Parameter(s) 'TriggerFragment.fragment' are required for
org.apache.tapestry5.corelib.components.Radio, but have not been bound.
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)