Ajaxformchoicecomponentupdatingbehavior


= null) On Tue, Nov 17, 2015 at PM, Sven Meier ("radio Group", get Model()); tune Radio Group(radio Group); radio Render Body Only(false); radio Output Markup Id(true); add(radio Group); if(change Handler ! Are there any (obvious) changes on the way Radio Group works that might be preventing it from working?= null) On Tue, Nov 17, 2015 at PM, Sven Meier Hi, I have a bootstrap based component that uses a Radio Group Ajax Form Choice Component Updating Behavior. ("radio Group", get Model()); tune Radio Group(radio Group); radio Render Body Only(false); radio Output Markup Id(true); add(radio Group); if(change Handler ! Are there any (obvious) changes on the way Radio Group works that might be preventing it from working?

ajaxformchoicecomponentupdatingbehavior-15ajaxformchoicecomponentupdatingbehavior-42ajaxformchoicecomponentupdatingbehavior-28

This panel will be replaced each time the user changes the radio selection. As you can see, the most important thing is that the two panels should have the same id (in this case is replaced Panel).

To do that using Ajax, we have to attach a behaviour to the radio choice component. This is a general example, maybe the way to create the panels in the on Update method is not elegant but it’s out of scope from this example.

The problem: You have a Radio Choice with two buttons, when you click on the first button, the panel1 is diplayed, when you click on the second one, the panel2 is displayed in place of the last one and so on…

The parent component can be a Page or another panel. Here is the html code: Under the tag form we have two components, the radio choice and a panel.

kind regards Tobias Mind that I'm fully aware of the personal sacrifices some people make to deliver new versions and improve the framework.