> Message: 10
> Date: Tue, 8 Sep 2009 10:37:04 +0200
> From: Francisc Simon <[email protected]>
> Subject: WOTable does not work for me with WO 5.4.2
> To: Apple WO-Dev <[email protected]>
> ##################### 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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]