Re: Tr: Re: Re: Fetching on 2 EOMODELS using different schema in DATABASE with but have relationship
Re: Tr: Re: Re: Fetching on 2 EOMODELS using different schema in DATABASE with but have relationship
- Subject: Re: Tr: Re: Re: Fetching on 2 EOMODELS using different schema in DATABASE with but have relationship
- From: Chuck Hill <email@hidden>
- Date: Tue, 17 May 2011 08:14:41 -0700
So if I use Wonder, I can write this code in my WOD to display each person picture where person pic like http://webserver/person/mini/personPk.jpg?
i.e : <wo:loop item="$persons" list="$person"> ....Member picture <wo name ="picture"/> ...
</wo>
in WOD picture : ERXImage {
src = ""http://webserver/person/mini/id.jpg" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "> http://webserver/person/mini/"+ person.pk+".jpg";
Almost:
That is WOOgnl syntax. ===>Don't work : [com.webobjects.appserver.parser.declaration.TokenMgrError] Lexical error at line 158, column 15. Encountered: "~" (126), after : "":<com.webobjects.appserver._private.WOComponentDefinition: Error parsing template for Component : 'file:/Volumes/SNOW-DATA/workspace/Dossier-Etudiants/Components/Recherche.wo': com.webobjects.appserver.parser.declaration.WODeclarationFormatException: Lexical error at line 158, column 15. Encountered: "~" (126), after : "
Your app needs to be a Wonder app or it needs to initialize WOOgnl:
And it needs to include the WOOgnl.framework in the Libraries.
Chuck
-- Chuck Hill Senior Consultant / VP Development Come to WOWODC this July for unparalleled WO learning opportunities and real peer to peer problem solving! Network, socialize, and enjoy a great cosmopolitan city. See you there! http://www.wocommunity.org/wowodc11/
|
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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