I'm trying to create a link to a service I made with parameters.  I did
this in 3.0 using the following, but not sure which way to go in 4.0?

 org.apache.tapestry.engine.IEngineService service =
iRequestCycle.getEngine().getService(FileDownloadService.SERVICE_NAME);
 org.apache.tapestry.engine.ILink iLink = service.getLink(iRequestCycle,
this, new java.lang.Object[] {this.getFileId()});
 iMarkupWriter.printRaw(iLink.getURL());

As you can see all I'm trying to do is get a string of a URL to the
service, in order to render it to the page so users can copy the link.

-- 
Justin Stanczak
Stanczak Group
812-735-3600

"All that is necessary for the triumph of evil is that good men do nothing."
Edmund Burke

..________...............__.................
./  _____/..____..._____/..|_..____...____....
/...\..____/.__.\./....\...__\/.._.\./._..\....
\....\_\..\..___/|...|..\..|.(..<_>.|.<_>..)....
.\______../\___.._\__|../__|..\____/.\____/......
........\/.....\/.....\/..........................


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


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

Reply via email to