Re: WOTable does not work for me with WO 5.4.2
Re: WOTable does not work for me with WO 5.4.2
- Subject: Re: WOTable does not work for me with WO 5.4.2
- From: Theodore Petrosky <email@hidden>
- Date: Tue, 8 Sep 2009 06:31:04 -0700 (PDT)
> Message: 10
> Date: Tue, 8 Sep 2009 10:37:04 +0200
> From: Francisc Simon <email@hidden>
> Subject: WOTable does not work for me with WO 5.4.2
> To: Apple WO-Dev <email@hidden>
> ##################### WO ####################
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
> <html>
> <head>
>
> <title>Untitled</title>
> </head>
> <body>
> <webobject name="Table" />
> <webobject name="Name"></webobject>:<br />
> </body>
> </html>
>
> Table : WOTable {
> list = fetchResult;
> item = aDisplayBoard;
> maxColumns = 2;
> border = 1;
> }
>
> Name : WOString {
> value = aDisplayBoard.name;
> }
>
> THX for help ..
>
> Frank
> :-)
It's not a question of WOTable not working...
this line:
<webobject name="Table" />
the trailing slash is saying "here ends the object"
you are effectively beginning and ending the "Table" on the one line. you need to think of it as 'wrapping up' the object...
<webobject name="Table">
</webobject>
now you can 'do' something inside the wrapped up area
<webobject name="Table">
<webobject name="Name"></webobject>:<br />
</webobject>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden