• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
D2W Question about "short-version" of webobjects definition
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: D2W Question about "short-version" of webobjects definition
      • From: Pascal Robert <email@hidden>
    • Re: D2W Question about "short-version" of webobjects definition
      • From: David Holt <email@hidden>
  • Prev by Date: Re: Optimal number of WorkerThreads
  • Next by Date: FTP Excel file seems corrupted as read-only
  • Previous by thread: Re: EGWrapper problem
  • Next by thread: Re: D2W Question about "short-version" of webobjects definition
  • Index(es):
    • Date
    • Thread