HTML:
<webobject name="Hidden">
Do not render this <webobject name="..."></webobject>
</webobject>
WOD:
Hidden: WOConditional {
condition = false;
}
Alex Johnson
⠁⠇⠑⠭ ⠚⠕⠓⠝⠎⠕⠝
[EMAIL PROTECTED]; (503) 248-4440 ext. 0x7F
0x00 0x01 0xFF
On Jun 22, 2007, at 9:48 AM, Guido Neitzer wrote:
On 22.06.2007, at 10:18, Edgar Ra. Klein wrote:I would like to comment a line of code (using <!-- CODE -->) containing a webobject tag. WO seems not to ignore this line and therefore it becomes a problem since the component contains some comments by itself, therefore the program doesn't work properly. Is there a way how to comment lines so that WO really ignores the commented lines?Do a call to:setIncludeCommentsInResponses(true) in your Application initialization and see whether that helps. There was a problem in the past with that, that WO didn't create a correct response in that case. I solved that by getting the HTML content string from the component I want to render in the comment and add a WOString that had a value binding to a method like that:public WOComponent htmlStringForComment () { return "<!-- " + whatEverGoesInHere + " -->"; } cug _______________________________________________ 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/alex%40site9.com This email sent to [EMAIL PROTECTED]
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ 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]
