Re: template parsing/generation inserts extra spaces
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