• 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
Re: Problem with webobject attributes in WOBuilder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with webobject attributes in WOBuilder


  • Subject: Re: Problem with webobject attributes in WOBuilder
  • From: David LeBer <email@hidden>
  • Date: Fri, 2 Jun 2006 11:00:37 -0400

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




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

References: 
 >Problem with webobject attributes in WOBuilder (From: "John Stewart" <email@hidden>)

  • Prev by Date: Problem with webobject attributes in WOBuilder
  • Next by Date: OPTIONS?
  • Previous by thread: Problem with webobject attributes in WOBuilder
  • Next by thread: Re: Problem with webobject attributes in WOBuilder
  • Index(es):
    • Date
    • Thread