I tried <@DQ> unsuccessfully, then re-jiggered the code, so I'll try it 
again.  It looks like it needs to be escaped somehow, maybe double double 
quotes, or wrapped in single quotes.

I'll let you know.

>Ooh,
>Have you tried either?
>
><@LITERAL VALUE='"SELECTED"'>
>or
><@DQ>SELECTED<@DQ>
>
>Ben Johansen - http://www.pcforge.com
>Authorized Witango Reseller http://www.pcforge.com/WitangoGoodies.htm 
>Authorized MDaemon Mail Server Reseller
>http://www.pcforge.com/AltN.htm
>
>
>-----Original Message-----
>From: Bill Conlon [mailto:[EMAIL PROTECTED] 
>Sent: Tuesday, September 09, 2003 3:02 PM
>To: [EMAIL PROTECTED]
>Subject: RE: Witango-Talk: problem with double quotes (RH9/witango
>062/apache2.047)
>
>You do for XHTML
>
>>You don't need quotes around the word selected or checked
>>In the option tag it is switch not a name="value" pair
>>
>>Ben Johansen - http://www.pcforge.com
>>Authorized Witango Reseller http://www.pcforge.com/WitangoGoodies.htm 
>>Authorized MDaemon Mail Server Reseller
>>http://www.pcforge.com/AltN.htm
>>
>>
>>-----Original Message-----
>>From: Bill Conlon [mailto:[EMAIL PROTECTED] 
>>Sent: Tuesday, September 09, 2003 1:19 PM
>>To: [EMAIL PROTECTED]
>>Subject: Witango-Talk: problem with double quotes (RH9/witango
>>062/apache2.047)
>>
>>I'm perplexed.  I can't get quoted "checked" or "selected" attributes
>to
>>
>>appear in dynamically generated form elements.
>>
>>Here's a snippet:
>>
>><select name="template_id">
>>                                                      <@ROWS
>>ARRAY=templates>
>>                                                              <option
>>value="@@request$templates[<@CURROW>,1]" <@IFEQUAL 
>>VALUE1='@@request$template_id'
>>VALUE2='@@request$templates[<@CURROW>,1]'> 
>>"selected" <@ELSE></@IF>>
>>      
>>@@request$templates[<@CURROW>,2]
>>      
>></option>
>>                                                              </@ROWS>
>></select>
>>
>>
>>Here's the output:
>>
>><select name="template_id">
>>      
>><option value="4"  selected >
>>
>>      
>>template1.html
>>      
>></option>
>>      
>><option value="5" >
>>      
>>template2.html
>>      
>></option>
>>                                                              
>></select>
>>
>>
>>Note that "selected" is NOT quoted.  Anyone have better eyes than me?
>>
>>Bill Conlon
>>
>>To the Point
>>345 California Avenue Suite 2
>>Palo Alto, CA 94306
>>
>>office: 650.327.2175
>>fax:    650.329.8335
>>mobile: 650.906.9929
>>e-mail: mailto:[EMAIL PROTECTED]
>>web:    http://www.tothept.com
>>
>>
>>_______________________________________________________________________
>_
>>TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf
>>
>>_______________________________________________________________________
>_
>>TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf
>>
>
>
>Bill Conlon
>
>To the Point
>345 California Avenue Suite 2
>Palo Alto, CA 94306
>
>office: 650.327.2175
>fax:    650.329.8335
>mobile: 650.906.9929
>e-mail: mailto:[EMAIL PROTECTED]
>web:    http://www.tothept.com
>
>
>________________________________________________________________________
>TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf
>
>________________________________________________________________________
>TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf
>


Bill Conlon

To the Point
345 California Avenue Suite 2
Palo Alto, CA 94306

office: 650.327.2175
fax:    650.329.8335
mobile: 650.906.9929
e-mail: mailto:[EMAIL PROTECTED]
web:    http://www.tothept.com


________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf

Reply via email to