D2W Question about "short-version" of webobjects definition
D2W Question about "short-version" of webobjects definition
- Subject: D2W Question about "short-version" of webobjects definition
- From: Paul Dunkler XYRALITY GmbH <email@hidden>
- Date: Thu, 24 Mar 2011 23:17:31 +0100 (CET)
- Importance: Medium
Hy all,
i'm currently trying a bit D2W after the nice Screencast from the WOWODC 2009 http://www.wocommunity.org/webobjects_screencasts.html
Now i started with a Wonder D2W Project in eclipse and everything is working all fine.
Then i tried to replace the webobjects-definitons in the PageWrapper.html with the "short-version" as tags (example: <wo:WOString value="$test"/>).
So - Some Tags seem to don't work with their short-version. The autosuggest gives me the right types, but some tags don't produce any output.
My Page:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<wo:ERD2WHead> <wo:ERMD2WCSSReference localContext = "d2wContext" /> </wo:ERD2WHead>
<wo:WOBody class = "bodyClass">
<wo:WOConditional condition = "application.isDevelopmentMode">
<div id = "ERD2WDebugFlags"><webobject name = "ERD2WDebugFlags" /></div>
</wo:WOConditional>
<div id = "ContentWrapper">
<div id = "MenuHeader"> <webobject name = "EntitiesMenu" /> </div>
<div id = "MainContent"> <webobject name = "MainContent" /> </div>
</div>
<webobject name = "WOLToolBar" />
<webobject name = "ERMD2WStyleSheetInjector" />
</wo:WOBody>
</html>
WOD-Definiton:
MainContent : WOComponentContent {
_unroll = YES;
}
EntitiesMenu : MenuHeader {
}
ERD2WDebugFlags : ERD2WDebugFlags {
context = d2wContext;
}
ERMD2WStyleSheetInjector : ERMD2WStyleSheetInjector {
localContext = d2wContext;
}
WOLToolBar : WOLToolBar {
expanded = true;
}
All the Webobject-Definitions which are not directly included as tags in the html-file don't work (no output).
Are they not implemented or is there another reason?
It would be nice to hear from you out there. Thanks in advantage!
--
Best regards,
Paul Dunkler
_______________________________________________
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