• 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: template parsing/generation inserts extra spaces
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: template parsing/generation inserts extra spaces


  • Subject: Re: template parsing/generation inserts extra spaces
  • From: Patrick Robinson <email@hidden>
  • Date: Mon, 2 Jul 2007 14:00:09 -0400

And HasMultipleDisplayedObjects is just a plain ol' WOConditional?

Out of curiosity, I just tried it, and I get 'SomeTypes'. In my test, the WOConditional's condition was specified as true (or false), but that shouldn't matter. And my ResultType is a WOString whose value is bound to a java String.

Is there any javascript going on?


On Jul 2, 2007, at 12:15 PM, Lachlan Deck wrote:

On 03/07/2007, at 1:05 AM, Patrick Robinson wrote:

I probably shouldn't even suggest this, but... you're sure the string bound to ResultType doesn't have a space at the end? :-)

No, because...
<webobject name="ResultType"/>_T<webobject name="HasMultipleDisplayedObjects">_S</webobject>


results in:
'SomeType_T _S'

So something else is up...

On Jul 2, 2007, at 12:14 AM, Lachlan Deck wrote:

If I have:
<webobject name="ResultType"/><webobject name="HasMultipleDisplayedObjects">s</webobject>


The component is generated as: 'SomeType s' instead of 'SomeTypes'.

Any ideas? WO5.3.x

with regards, --

Lachlan Deck


_______________________________________________ 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: template parsing/generation inserts extra spaces
      • From: Lachlan Deck <email@hidden>
References: 
 >template parsing/generation inserts extra spaces (From: Lachlan Deck <email@hidden>)
 >Re: template parsing/generation inserts extra spaces (From: Patrick Robinson <email@hidden>)
 >Re: template parsing/generation inserts extra spaces (From: Lachlan Deck <email@hidden>)

  • Prev by Date: Re: [Wonder-disc] WebObjects documentation site
  • Next by Date: Re: template parsing/generation inserts extra spaces
  • Previous by thread: Re: template parsing/generation inserts extra spaces
  • Next by thread: Re: template parsing/generation inserts extra spaces
  • Index(es):
    • Date
    • Thread