On Fri, 2003-02-14 at 11:43, J�rgen Hoffmann wrote:
> Hi,
>
> Can one explain me this? In my Template i have the following statements:
>
> #set ( $testlink = $link.setPage("john,doe.vm") )
> #set ( $testlink2 = $testlink.setAction("john,doe.vm") )
> Testlink: $testlink<br/>
> Testlink2: $testlink2
>
> This becomes:
> Testlink:
> http://localhost:8080/accounting/servlet/accounting/template/john%2Cdoe.
> vm/action/john%2Cdoe.vm
> Testlink2: http://localhost:8080/accounting/servlet/accounting
>
The links are correct. setAction is supposed to point to an action
class, not a template. Thats why the link looks different.
> What I am trying to do is Hand a Link over to a macro where I want to
> add additional Information to the link. Is this an expected Behaviour?
> Has someone done successfully what I am trying to do and can help me?
Any reason why you have to use a macro? Why not do the manipulation in
an action or screen class? And why would you add extra information to
the link? Maybe you could give me clearer idea of the purpose?
Maybe I'm just looking at this in the wrong light...
-b
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]