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

Ognen Ivanovski updated TAPESTRY-1776:
--------------------------------------

    Attachment: log.txt

exception stack trace.

> Component Class object exists in several instances  
> ----------------------------------------------------
>
>                 Key: TAPESTRY-1776
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1776
>             Project: Tapestry
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.0.5
>         Environment: Mac OS X, Eclipse 3.3, Jetty Launcher, Jetty 5
>            Reporter: Ognen Ivanovski
>         Attachments: log.txt
>
>
> I get the following exception:
> java.lang.IllegalArgumentException: Could not find a coercion from type 
> com.telekurs.pass.online.permissiongui.components.CheckboxGroup to type 
> com.telekurs.pass.online.permissiongui.components.CheckboxGroup.  Available 
> coercions:... (full trace attached)
> Note that it says "cannot find a coercion from A to A". I did some debugging 
> and indeed the class CheckboxGroup was represented by two different objects. 
> Tapestry should not allow for a component class to be loaded differently than 
> in the modified version. 
> More details: 
>  - CheckBoxGroup is a component very similar to RadioGroup (80% code similar) 
> it is used to group render a set of checkboxes with the same name. 
> - BulkSelect is a js component that i used for "select all" and "select none" 
> operations in connection to the CheckBoxGroup. It has a  
>   @Parameter(required = true, defaultPrefix="component")
>   private CheckboxGroup checkboxes;
> They are used in the following way:
>       <t:BulkSelect checkboxes="permissionSelections" select="true" />
>       <t:CheckboxGroup t:id="permissionSelections"
>         value="selected" encoder="permissionValueEncoder" disabled="disabled">
>            <!-- ...-->
>         </t:CheckboxGroup>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to