Hi,

I have written a little paging macro which prints the links to the
direct pages. And I have to add information to the link... To add the
page this link belongs to... 

Kind regards
 
J�rgen Hoffmann
ByteACTION GmbH
 
cert. Perl Programmer
cert. Linux System Administrator
cert. Java Programmer

Besuchen Sie uns doch auf der CeBIT 2003
in Halle 4/Stand 70


-----Urspr�ngliche Nachricht-----
Von: Bill [mailto:[EMAIL PROTECTED]] 
Gesendet: Freitag, 14. Februar 2003 17:55
An: Turbine Users List
Betreff: Re: $link mystery


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%2Cdo
> e.
> 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]



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

Reply via email to