Alex,

At the beginning and end of select.vm, there should be something like:

#parse("/template/xhtml/controlheader.vm")
...
#parse("/template/xhtml/controlfooter.vm")

Those header and footer files contain the tags to setup the control in the table row/cell. Your best bet is to create your own select.vm file without those controlheader/footer calls.

You can even create your own "theme" for this kind of thing and pass the theme name in the select tag, e.g.:

<ww:select label="'Current Competitive Set'" ... theme="standard"/>

Your theme's files would then be located in /template/standard.

Hope that helps,

Tim

On Feb 18, 2004, at 3:29 PM, Alex Radka wrote:

What is the easiest way to change the output of the tags? For instance the
select tag creates a select surrounded by <tr> and <td> tags. I can create
my own <tr> and <td> tags, but I would like to be able to use the API to
JUST give me the select. I looked at select.vm and it isn't obvious where
the extra tags are coming from. Is there an easy way to turn them off?


 <ww:select label="'Current Competitive Set'"
               name="'subscribed_prop'"
               list="subscribedProps"
               listKey="customerPropertyId"
               listValue="propertyName"/>

gives me

<tr>
   <td align="right" valign="top">
     <span class="label">Current Competitive Set:</span>
   </td>
   <td>
     <select name="subscribed_prop">
        <option value="1">Marriott NW</option>
        <option value="2">Atlanta Hilton</option>
        <option value="3">New York Hilton</option>
     </select>
  </td>
</tr>

I'd like to not have the extra <td> and <tr> tags.

Thanks,
Alex



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork




------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to