hi there,
   How do i generate a dynamic link like this in my xsp page:based on a
column value(=id) returned from a database .Here edit-item.html is the
sitemap match pattern which will be called when someone clicks on the
link and the corresponding itemid will get passed to it as a request
parameter.

 http://10.1.2.3/cocoon/testapp/admin/edit-item.html?itemid=1234

<esql:connection>
            <esql:pool>prodora</esql:pool>
            <esql:execute-query>
              <esql:query> 
                       SELECT id,name from item_list               
              </esql:query>
              <p>Items List</p>
        <esql:results>
          <table>
                        <th>Item Id</th>
                <th>Item Name</th>
                 <esql:row-results>
                 <tr>
                            <td><esql:get-string column="id"/></td>
<!-- this is where i want to use the <link><href="edit-tem.html?itemid=
-->
                            <td><esql:get-string column="name"/></td>
                </tr>
               </esql:row-results>

hope someone would have already got something like this working.The
samples that came with cocoon have submit buttons next to them..which is
not what i want..any suggestions or help would be appreciated.

thanks
gautam


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

Reply via email to