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

LRein updated TAP5-2790:
------------------------
    Description: 
Option Groups are displayed correctly in the Palette. If you select options and 
then deselect them again, they are not placed in the correct option group.

I am currently correcting the behavior of the Palette when overwriting the 
palette.js. But it would be much better if you could adopt the corrected 
behavior.
{code:java}
@Contribute(ModuleManager.class)
public static void overrideTapestryCoreModules(
       MappedConfiguration<String, Object> configuration,
       @Path("META-INF/assets/js/override/palette.js") Resource palette)
{
    configuration.add("t5/core/palette", new 
JavaScriptModuleConfiguration(palette));
} {code}
 

In Attachments is the change that corrects the behavior of the palette.

  was:
Option Groups are displayed correctly in the palette. If you select options and 
then deselect them again, they are not placed in the correct option group.

 

In Attachments is the change that corrects the behavior of the palette.


> Palette with option groups within the SelectModel does not work properly.
> -------------------------------------------------------------------------
>
>                 Key: TAP5-2790
>                 URL: https://issues.apache.org/jira/browse/TAP5-2790
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>            Reporter: LRein
>            Priority: Trivial
>         Attachments: palette.js
>
>
> Option Groups are displayed correctly in the Palette. If you select options 
> and then deselect them again, they are not placed in the correct option group.
> I am currently correcting the behavior of the Palette when overwriting the 
> palette.js. But it would be much better if you could adopt the corrected 
> behavior.
> {code:java}
> @Contribute(ModuleManager.class)
> public static void overrideTapestryCoreModules(
>        MappedConfiguration<String, Object> configuration,
>        @Path("META-INF/assets/js/override/palette.js") Resource palette)
> {
>     configuration.add("t5/core/palette", new 
> JavaScriptModuleConfiguration(palette));
> } {code}
>  
> In Attachments is the change that corrects the behavior of the palette.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to