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

Jochen Kemnade updated TAP5-2538:
---------------------------------
    Issue Type: Documentation  (was: Bug)

That behavior is expected in 5.4. Mixin parameters have to be qualified with 
the Mixin's class name, so you're supposed to write 
{{TriggerFragment.fragment="residentFragment"}} instead of 
{{fragment="residentFragment"}}. That should probably me mentioned in the 
release notes.

> 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: Documentation
>          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)

Reply via email to