You will need to register your resource with the application before you can use. Would look something like that: Application.get().getSharedResources().add("exportResource", new ExportResource());
After its registered you can build a url for it using the key "exportResource" by calling urlFor on the page String url=""
and then you can use the ExternalLink to link to that url.
Hope this helps,
-Igor
On 12/6/05, Ingram Chen <
[EMAIL PROTECTED]> wrote:
Dear all,
We have a requirement which needs to load plain html data from database (CLOB)
and then a user can directly view loaded html page via click a hyperlink on the page.
I think the concept is similar to DynamicImageResource, but have no idea how to do
it with plain text.
Any help is appreciated and many thanks in advance!
--
Ingram Chen
Java [EMAIL PROTECTED]
Institue of BioMedical Sciences Academia Sinica Taiwan
blog: http://www.javaworld.com.tw/roller/page/ingramchen