Hi there,
this question might be simple to you guys.

I have a screen where i provide a listbox to select a certain item where i
have to rebuild this screen after the item is selected.
My question is, what do i have to do in the onchage section of the select
tag.
Here is my velecity-macro:

#macro( Listbox $list $item $actiontemplate)
  #formLabel("Description")
  <td bgcolor="$ui.formLabelColor">
    <SELECT name="Name"
     onchange="javascript:location.replace($link.setPage($actiontemplate)">
    <option value="">$item</option>
    #foreach( $entry in $list )
       <option
value=$entry.getValue("lnd_id")>$entry.getValue("lnd_bezeichnung")</option>
    #end
    </select>
  </td>
#end

Thanks for your help!

Dieter


--
To unsubscribe, e-mail:   <mailto:turbine-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:turbine-user-help@;jakarta.apache.org>

Reply via email to