I have found a way to do this on:
Genero Web Client - Genero Application Server
Version 2.11.10
This is how i do it.
STEP 1 : <OUTPUT>
<MAP Id="DUA_AJAX">
<THEME>
<SNIPPET Id="Label" Style="PrintPayslip">$(res.path.tpl.ajax)/PrintPayslip.xhtml</SNIPPET>
</THEME>
</MAP>
</OUTPUT>
Include an output to the application configuration file.
STEP 2 :Create a snippets to the located path that will include a link.
<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- Copyright 2006-2008 Four J's Development Tools. All Rights Reserved. -->
<!-- $Id: Dialog.xhtml 17161 2008-01-02 14:09:31Z flgu $ -->
<html xmlns:gwc="
https://4js.com/GWC">
<!-- the head element is ignored -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Dialog snippet</title>
</head>
<!-- the content of the body element is the snippet -->
<body>
<a href="
http://10.2.8.185:6394/pdf/payslip.pdf" target="_blank">Print Payslip[/url]
</body>
</html>
STEP 3:Attach a style to a label in the form file
LABEL f01 = formonly.f01, STYLE = "PrintPayslip" ;
There you go, You got a link on that form file.
Hope this will help others.
Regards,
Nadzree