Looks like you can register a "BeforeSelectionHandler" then just call cancel on the event. Looks like that's what it's intended for.
--Rob On Friday, July 27, 2012 9:13:43 AM UTC-7, Mark Wengranowski wrote: > > Hi Everyone, > > I want my stacklayoutpanel to only change stacks when i click on a button > i've created and not when someone clicks on the header. i.e. i only want > the stack to change once my validation has passed. > > The only way I can see to do this is to copy/paste the > StackLayoutPanel.java code into my own file and remove the handler that > gets added to the header. Then use my custom SLP for my ui. > > Does anyone have a better alternative? I'm unable to override the insert > method for stacklayoutpanel > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/vTuRSqwFDPcJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
