Re: woswitchcomponents

2011-07-08 Thread Ramsey Gurley
/uid/TP30001015-DontLinkChapterID_2-TPXREF106Look at figure 2-1.  Notice how the yellow page component is the root element.  The PageWrapper is like a picture frame, and the WOComponentContent is the hole in it.  Its parent() is the yellow page.  In fact, all the grey boxes in that diagram are WOS

Re: woswitchcomponents

2011-07-08 Thread David Avendasora
On Jul 8, 2011, at 10:17 AM, Michael Gargano wrote: > The null's just keep appending themselves as it keeps looping, doing... i > don't know what So, what you're saying is that it's nulls, all the way down. Fascinating! Dave A(v) ___ Do not post

Re: woswitchcomponents

2011-07-08 Thread Michael Gargano
Hey Ramsey, So, this really helped me out. I knew I was being stupid. I didn't know you had to pass the WOComponentContent into the WOSwitchComponent. so, MyComponent was and i was doing instead of I blame the example I was looking at. :) yeah, that's the ticket. Using ERX

Re: woswitchcomponents

2011-07-07 Thread Ramsey Gurley
So, given a MyComponent like: Then fails, but Works? Ramsey On Jul 7, 2011, at 3:04 PM, Michael Gargano wrote: > hi, > > i'm using d2w and my wrapper page has a woswitchcomponent inside a > ccajaxt

Re: woswitchcomponents

2011-07-07 Thread Michael Gargano
not exactly. I'm using ermod. this whole thing is my wrapper. if I abandon ermod and just try sticking a erxd2wlist in there 9 records come back, but the console spews out null's and the page never displays. I think it has something to do with the woswitchcomponent, because when I take it ou

Re: woswitchcomponents

2011-07-07 Thread David Holt
So you're embedding D2W content as Ramsey presented in Montreal? On 2011-07-07, at 3:22 PM, Michael Gargano wrote: > sort of, but cut way down. :) I'm mixing d2w in my app and trying to > display different pageconfigurations in each tab. the problem is that i have > components for each tab a

Re: woswitchcomponents

2011-07-07 Thread Michael Gargano
sort of, but cut way down. :) I'm mixing d2w in my app and trying to display different pageconfigurations in each tab. the problem is that i have components for each tab and those components have some elements and then wocomponentcontenet. i was expecting the d2w content to show up there but

Re: woswitchcomponents

2011-07-07 Thread David Holt
Is this a roll-your-own version of ERXNavigationMenu?? On 2011-07-07, at 3:09 PM, David Holt wrote: > Hi Michael, > > On 2011-07-07, at 3:04 PM, Michael Gargano wrote: > >> hi, >> >> i'm using d2w and my wrapper page has a woswitchcomponent inside a >> ccajaxtabpanel. > > is this som

Re: woswitchcomponents

2011-07-07 Thread David Holt
Hi Michael, On 2011-07-07, at 3:04 PM, Michael Gargano wrote: > hi, > > i'm using d2w and my wrapper page has a woswitchcomponent inside a > ccajaxtabpanel. is this something in the tabpanel by default? > the component for the tab has a wocomponentcontent inside of it. this > doesn'

woswitchcomponents

2011-07-07 Thread Michael Gargano
hi, i'm using d2w and my wrapper page has a woswitchcomponent inside a ccajaxtabpanel. the component for the tab has a wocomponentcontent inside of it. this doesn't work, however. if i remove the woswitchcomponent and put the wocompoentcontent inside the tabpanel, d2w works just fine

Re: Nested WOSwitchComponents

2009-09-01 Thread John Ours
On Aug 31, 2009, at 5:15 PM, David Holt wrote: Are you saying that I can actually use D2W to 1. allow the user to build a form, then 2. display the form 3. allow the form to be used to capture data If you're looking for inspiration as you work, I think this project is fascinating...thoug

Re: Nested WOSwitchComponents

2009-08-31 Thread Guido Neitzer
ine. Guido On Aug 31, 2009, at 1:32 PM, David Holt wrote: Does anyone know whether I will run into difficulties trying to nest WOSwitchComponents? I am building a form builder and I am thinking of structuring the page with a loop over elements (an element being text, horizontal rule, or

Re: Nested WOSwitchComponents

2009-08-31 Thread David Holt
tzer wrote: I did this years ago until I found out that I was re-inventing the wheel. Switched to D2W at that point. To answer your question: this works fine. Guido On Aug 31, 2009, at 1:32 PM, David Holt wrote: Does anyone know whether I will run into difficulties trying to nest WOSwitch

Re: Nested WOSwitchComponents

2009-08-31 Thread David Holt
On 31-Aug-09, at 1:36 PM, Mike Schrag wrote: Has anyone had success building such a thing? This is basically how DirectToWeb works ... Bad things would happen if this didn't work. That's good to know. I will press forward! D ms ___ Do not pos

Re: Nested WOSwitchComponents

2009-08-31 Thread Mike Schrag
Has anyone had success building such a thing? This is basically how DirectToWeb works ... Bad things would happen if this didn't work. ms ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-

Nested WOSwitchComponents

2009-08-31 Thread David Holt
Does anyone know whether I will run into difficulties trying to nest WOSwitchComponents? I am building a form builder and I am thinking of structuring the page with a loop over elements (an element being text, horizontal rule, or form item). The switch component would be based on the type