On 2-Jun-06, at 10:49 AM, John Stewart wrote:
Hi!I'm trying to use dynamic webobject tags in WOBuilder to set up HTML tag attributes. e.g. <ul class='style1 <webobject name="String1"></webobject>'> <li>...</li> </ul> where String1: WOString { value = "style2"; } I can happily add levels of tag nesting here, such as WOConditionals. It seems to want outermost single quotes, and double quotes at all levels inside. So far, so good - works OK. I do have problems if I split up the lines with CRs, though this should be whitespace-friendly. However if I try to reformat the page using CTRL-A, CTRL-R (or Apple-A, Apple-R on Mac), it tends to chuck out part or all of these attributes. Furthermore, if I add further WOStrings, WOConditionals, etc elsewhere in the component, the new ones often overwrite the existing ones used in the attributes. In short, it looks like WOBuilder isn't geared up for coping with WO tags used in attributes.
No it's not really.
Anyone else having a problem here? Any workarounds or fixes in sight?
You might be able to achieve what you are looking for by using a combination of WOGenericContainers and WOGenericElements.
Alternately, I mentally mark those components as being fragile, and only edit them in source view or using an alternate (text) editor.
This is using WOBuilder Version 5.3.1 (680) on OS/X.
This is nothing new. -- ;david -- David LeBer Codeferous Software 'co-defer-ous' adj. producing or containing code site: http://www.codeferous.com blog: http://david.codeferous.com
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]
