ok thanks, good point about the xhtml

Melanie

-----Original Message-----
From: Jones Michael, Slough [mailto:[EMAIL PROTECTED]
Sent: 08 July 2004 12:01
To: Turbine Users List
Subject: RE: Displaying spaces in a string in the template


Sorry... 
        value="$elem.getTelno()"
That is the answer...
You need to surround your values of your html parameter with quotes :P

I would assume from this that you are not using xhtml, you really should
consider using it for you web based apps.



-----Original Message-----
From: Melanie Philpot [mailto:[EMAIL PROTECTED] 
Sent: 08 July 2004 11:56
To: Turbine Users List
Subject: RE: Displaying spaces in a string in the template

yes elem is an element in a vector.
The element is an object which has the method getTelno() to return the
Telno. 

-----Original Message-----
From: Jones Michael, Slough [mailto:[EMAIL PROTECTED]
Sent: 08 July 2004 11:44
To: Turbine Users List
Subject: RE: Displaying spaces in a string in the template



value="$elem.getTelno()" ??

-----Original Message-----
From: Melanie Philpot [mailto:[EMAIL PROTECTED] 
Sent: 08 July 2004 11:34
To: Turbine User (E-mail)
Subject: Displaying spaces in a string in the template

Hi

I want to display a string with spaces in, but the template trims it for me
when it come across a space.
e.g. string 01252 123456
is displayed as 01252

This is the code in the template:
<INPUT type="text" name="telno" SIZE="40" value=$elem.getTelno() >

Is there anyway around this?

Thanks

Melanie

===========================================================
Melanie Philpot 
Web Developer 
Central Government Division
Anite Public Sector     
110 Fleet Road
Fleet 
Hampshire 
GU51 4BL

tel:  01252 360650
ddi: 01252 360668
fax: 01252 819729

email:mailto:[EMAIL PROTECTED]
web: http://www.aniteps.com
===========================================================
Registered Office: Anite Public Sector: 100 Longwater Avenue, GreenPark,
Reading, Berkshire, RG2 6GP. VAT No. 732 9280 28 
Registered in England No. 4045673

This email and any files transmitted with it are confidential and are
intended solely for the use of the individual or entity to whom they are
addressed. If you have received this email in error please inform the sender
and do not print, copy or disclose its contents to any other person nor use
it for any purpose other than for what it was intended.
nor use it for any purpose other than for what it was intended.



Scanned for viruses by MessageLabs. The integrity and security of this
message cannot be guaranteed. This email is intended for the named recipient
only, and may contain confidential information and proprietary material. Any
unauthorised use or disclosure is prohibited.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Scanned for viruses by MessageLabs



Scanned for viruses by MessageLabs. The integrity and security of this
message cannot be guaranteed. This email is intended for the named recipient
only, and may contain confidential information and proprietary material. Any
unauthorised use or disclosure is prohibited.


Scanned for viruses by MessageLabs


Scanned for viruses by MessageLabs. The integrity and security of this
message cannot be guaranteed. This email is intended for the named recipient
only, and may contain confidential information and proprietary material. Any
unauthorised use or disclosure is prohibited.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Scanned for viruses by MessageLabs



Scanned for viruses by MessageLabs. The integrity and security of this message cannot 
be guaranteed. This email is intended for the named recipient only, and may contain 
confidential information and proprietary material. Any unauthorised use or disclosure 
is prohibited.


Scanned for viruses by MessageLabs


Scanned for viruses by MessageLabs. The integrity and security of this message cannot 
be guaranteed. This email is intended for the named recipient only, and may contain 
confidential information and proprietary material. Any unauthorised use or disclosure 
is prohibited.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to