Re: (More) Dynamic Element Help

2013-02-19 Thread Johnny Miller
Hi, I've hit another snag on a new dynamic element. I'm trying to build a split view. I would like the components to look like this: wo:SplitView mode = horizontal wo:SplitViewSection // whatever /wo:SplitViewSection wo:SplitViewSection center = true

Re: (More) Dynamic Element Help

2013-02-19 Thread Chuck Hill
Do you also adjust the element ID in takeValues and invokeAction? Things need to match up in all three phases. Chuck On 2013-02-19, at 4:31 PM, Johnny Miller wrote: Hi, I've hit another snag on a new dynamic element. I'm trying to build a split view. I would like the components to

Re: (More) Dynamic Element Help

2013-02-19 Thread Johnny Miller
Oh. No I am not doing that. But isn't that done by WODynamicGroup? How would that look? Like this? public void takeValuesFromRequest(WORequest aRequest, WOContext aContext) { if(hasChildrenElements()) { int count = _children.count();

Re: (More) Dynamic Element Help

2013-02-19 Thread Johnny Miller
Success. I basically did what is below for both takeValuesFromRequest invokeAction (looked at original and just added the check to see if it was a splitviewsection) and it now works. Thanks yet again! I'll make a version of this for the MooTools framework. It's pretty cool if you like

Re: (More) Dynamic Element Help

2013-02-19 Thread Chuck Hill
On 2013-02-19, at 4:57 PM, Johnny Miller wrote: Oh. No I am not doing that. But isn't that done by WODynamicGroup? Not that magically matches custom code that you wrote. :-) WO is good, but not THAT good. How would that look? Like this? public void