On 06.Dec.2002 -- 03:01 PM, [EMAIL PROTECTED] wrote:
> Hello,
> I want a link on every ID, what is the synthax to get the value from the
> variable : "<esql:get-string column="wfID"/>" after this
> "view-workflow?myID=1"  (instead of "1")
> 
> <esql:row-results>
>       <tr>
>               <td><a href="view-workflow?myID=1"><esql:get-string
> column="wfID"/></a></td>
>               <td><esql:get-string column="WorkflowName"/></td>
>               <td><esql:get-string column="Dispatcher1"/></td>
> <td><esql:get-string column="Dispatcher2"/></td>
> 
>               <td><esql:get-string column="Dispatcher3"/></td>
> </tr>
> </esql:row-results>

use <xsp:attribute/> to do that.

<a>
  <xsp:attribute name="href">view-workflow?myID=<esql:get-string 
column="wfID"/></xsp:attribute>
  <esql:get-string column="wfID"/>
</a

        Chris.
-- 
C h r i s t i a n       H a u l
[EMAIL PROTECTED]
    fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

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

Reply via email to