Re: Generating dynamic Hypertext from a component

2012-10-15 Thread Thiago H de Paula Figueiredo
On Sat, 13 Oct 2012 12:25:13 -0300, Peter Wendorff wrote: Thanks, this seems to work basically. But is it possible to mix that with - optimal even dynamic - templates? Tapestry tempaltes structure is static. But you can use the OutputRaw component to generate markup on a Java class and ou

Re: Generating dynamic Hypertext from a component

2012-10-13 Thread Peter Wendorff
Thanks, this seems to work basically. But is it possible to mix that with - optimal even dynamic - templates? I miss something like insertTemplate("<"+myComponentAsConfigured+" type=\"way\" id=\"5\"/>"); To describe it another way: At runtime I have all informations to assemble a tml template,

Re: Generating dynamic Hypertext from a component

2012-10-12 Thread Josh Canfield
If you need to create a link, take a look at PageRenderLinkSource. Then create your component so that it generates the html using the MarkupWriter. Josh On Fri, Oct 12, 2012 at 8:58 AM, Peter Wendorff wrote: > Hi. > I would like to have a component that is able to create arbitrary > hypertext,

Generating dynamic Hypertext from a component

2012-10-12 Thread Peter Wendorff
Hi. I would like to have a component that is able to create arbitrary hypertext, and I'm not sure, if there's a better way to do that than I have in mind currently. My database contains spatial geo data from the OpenStreetMap project, and I would like to generate texts as they probably could