The answer is quite easy if you are up for a bit hacking. Just define a
block around the part you want to write raw. Then provide a special render
method for the block you want to write differently. And when tapestry wants
to render the block, just open the template file yourself and read
everythin
OutputRaw does not do the same thing because it does not support parameter
expansion, but you are correct there are potential issues with this
approach.
I can't use the outputRaw component here because the data is the template.
It does let you do things like this
Which allows th
On Fri, 27 Sep 2013 12:31:01 -0300, Barry Books wrote:
The long story is I have a CKEditor component that allows site admins to
select content on a page and edit it. I do this with the Dynamic
component.
I'm not sure Dynamic, which is basically Tapestry templates loaded from
any place, is
The long story is I have a CKEditor component that allows site admins to
select content on a page and edit it. I do this with the Dynamic component.
Occasionally I need to put a style tag in the template to override the
default styling for the page. In this case I have a template like:
*html
I know this isn't solution, just a thought.
But if that is inline styles, probably you can use external *.css files and
embed them using
Unfortunately this is plain text coming from a database that's used as the
template for the Dynamic component. It's in a style tag so it really needs
to be > and since it is user input I can't just move it into another file.
On Fri, Sep 27, 2013 at 9:38 AM, Dmitry Gusev wrote:
> I'm always havi
Michael, that won't work, because in this case CDATA is just a handy tool
to allow XML parser to encode special characters as entities himself
without you to manually converting > to >
You can test it yourself:
//= 1'); }
//
//
But you won't be able to use ${vars} in this sections.
27.09.2013 18:38, Dmitry Gusev пишет:
I'm always having issues with these characters when I try to put JavaScript
logic, like for (var i = 0; i<
I'm always having issues with these characters when I try to put JavaScript
logic, like for (var i = 0; i < 10; i++) or if (a>b) {}.
I haven't found better approach than moving this code out of template to
external *.js files.
On Fri, Sep 27, 2013 at 6:08 PM, Barry Books wrote:
> Is there any w
If u want to explore the template alternative proposed by Thiago
Chenillkit has a module that provides freemarker and velocity
services.
http://www.chenillekit.org/chenillekit-template/index.html
On Tue, Jul 21, 2009 at 7:01 PM, Thiago H. de Paula
Figueiredo wrote:
> Em Tue, 21 Jul 2009 13:32:05
Em Tue, 21 Jul 2009 13:32:05 -0300, Kai Weber
escreveu:
Hello Tapestriers:
Hi!
${content} should be filled from properties/file/database whatever. My
problem: it can contain links to other pages in my application.
I would use a template engine like Velocity or Freemarker (better choice
11 matches
Mail list logo