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
<div>
<wocomponentcontent/>
<div>

and

i was doing

<cctab>
<woswitch/>
</cctab>

instead of

<cctab>
<woswitch>
<wocomponentcontent/>
</woswitch>
</cctab>

I blame the example I was looking at.  :)  yeah, that's the ticket.


Using ERXD2WList, however, I still get this output in the log

Jul 08 10:11:26 eGM[60000] DEBUG NSLog (SelectUser) - Using JDBCPlugIn 
'PostgresqlPlugIn' for JDBCAdaptor@1983923753
Jul 08 10:11:26 eGM[60000] DEBUG NSLog (SelectUser) -  === Begin Internal 
Transaction
Jul 08 10:11:26 eGM[60000] DEBUG NSLog (SelectUser) -  evaluateExpression: <the 
correct sql>
Jul 08 10:11:26 eGM[60000] DEBUG NSLog (SelectUser) - 9 row(s) processed
Jul 08 10:11:26 eGM[60000] DEBUG NSLog (SelectUser) -  === Commit Internal 
Transaction
Jul 08 10:11:26 eGM[60000] DEBUG NSLog (SelectUser) (null) - Using JDBCPlugIn 
'PostgresqlPlugIn' for JDBCAdaptor@724020419
Jul 08 10:11:26 eGM[60000] DEBUG NSLog (SelectUser) (null) -  === Begin 
Internal Transaction
Jul 08 10:11:26 eGM[60000] DEBUG NSLog (SelectUser) (null) -  
evaluateExpression: <the correct sql>
Jul 08 10:11:26 eGM[60000] DEBUG NSLog (SelectUser) (null) - 9 row(s) processed
Jul 08 10:11:26 eGM[60000] DEBUG NSLog (SelectUser) (null) -  === Commit 
Internal Transaction
Jul 08 10:11:26 eGM[60000] DEBUG NSLog (SelectUser) (null) (null) - Using 
JDBCPlugIn 'PostgresqlPlugIn' for JDBCAdaptor@1072235163
Jul 08 10:11:26 eGM[60000] DEBUG NSLog (SelectUser) (null) (null) -  === Begin 
Internal Transaction
Jul 08 10:11:26 eGM[60000] DEBUG NSLog (SelectUser) (null) (null) -  
evaluateExpression: <the correct sql>
Jul 08 10:11:26 eGM[60000] DEBUG NSLog (SelectUser) (null) (null) - 9 row(s) 
processed
Jul 08 10:11:26 eGM[60000] DEBUG NSLog (SelectUser) (null) (null) -  === Commit 
Internal Transaction
Jul 08 10:11:26 eGM[60000] DEBUG NSLog (SelectUser) (null) (null) (null) - 
Using JDBCPlugIn 'PostgresqlPlugIn' for JDBCAdaptor@133947223
Jul 08 10:11:26 eGM[60000] DEBUG NSLog (SelectUser) (null) (null) (null) -  === 
Begin Internal Transaction
Jul 08 10:11:26 eGM[60000] DEBUG NSLog (SelectUser) (null) (null) (null) -  
evaluateExpression: <the correct sql>
Jul 08 10:11:26 eGM[60000] DEBUG NSLog (SelectUser) (null) (null) (null) - 9 
row(s) processed
Jul 08 10:11:26 eGM[60000] DEBUG NSLog (SelectUser) (null) (null) (null) -  === 
Commit Internal Transaction

The null's just keep appending themselves as it keeps looping, doing... i don't 
know what

thanks.
-mike


On Jul 7, 2011, at 6:56 PM, Ramsey Gurley wrote:

So, given a MyComponent like:

<div>
<wocomponentcontent/>
</div>

Then

<cctab>
<woswitch componentName="MyComponent">
<erxd2wlist/>
</woswitch>
</cctab>

fails, but

<cctab>
<MyComponent>
<erxd2wlist/>
</MyComponent>
</cctab>

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 
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, when i put it back 
i get no errors or anything, but the actual d2w content doesn't render.  the 
other elements in the tab do, but the d2w content is no where to be found.  any 
ideas about what i'm doing wrong?

thanks.
-mike

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      
([email protected]<mailto:[email protected]>)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.com

This email sent to [email protected]<mailto:[email protected]>



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to