Hi Dario,
That would be greet to use the IMarkupWriter. Unfortunately, the content of
the database could be filled with a template like:
...(html tags)...
<span jwcid="@MyComponent" />
...(html tags)...
Now then, if I use the IMarkupWriter, it seems that the components holded in
the template (@MyComponent in the example above) will only be interpreted as
simple html tag. That's the problem.
Didier
> Well, I guess you could build a component that would extract its
contents from a database... I mean, retrieve the file from the
database, and then use the IMarkupWriter (in TP3) to output the HTML.
I still think it's easier to do a similar thing without the database,
using @RenderBlock or another of the solutions that have been
discussed on this list.
Regards,
On 10/27/05, Didier Frund <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm developing an application with tapestry that uses the @Border
component.
> The template of this @Border component must be saved in an html file in
the
> WEB-INF folder of the application.
>
> I'd like to put this html file outside the application (basically in a
> database system) in order to be edited at any time by a designer.
> (Furthermore, one could choose between a list of different templates for
the
> same @Border component.)
>
> My question is: Is it possible to save an html template outside the
tapestry
> application?
>
> I think this feature is not possible with tapestry if I'm not mistaken.
What
> do you think?
>
> Thank you,
>
> Didier Frund
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
An expert is a person who has made all the mistakes that can be made
in a very narrow field.
Niels Bohr
---------------------------------------------------------------------
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]