Hi Marcus,

\[!V  (the backslash)

means that the template tag is escaped and not processed. RIFE/Crud uses templates to create new templates on-the-fly.

In a regular application you can achieve this easily with the BV tag. The logic is simple:
* values provide place holders for content
* blocks provide content that can include values

So a value:

<!--V 'myvalue'/-->

can get a default value by adding the BV tag like this:

<!--BV 'myvalue'-->some <!--V 'other'/--> content<!--/BV-->

Hope this helps.

Best regards,

Geert

On 6-feb-06, at 18:24, Pazu wrote:

Is there an *easy* way to use a value tag to form the name of another
value tag? Something like what I've found in RIFE/Crud templates:

<col width="\[!V 'L10N:column_width-[!V 'property'/]']*\[!/V]" />

I've tried to do something similar in my project, to no avail. It
seems RIFE/Crud does some magic transforming these templates to make
them work.

-- Marcus
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users


--
Geert Bevin                       Uwyn bvba
"Use what you need"               Avenue de Scailmont 34
http://www.uwyn.com               7170 Manage, Belgium
gbevin[remove] at uwyn dot com    Tel +32 64 84 80 03

PGP Fingerprint : 4E21 6399 CD9E A384 6619  719A C8F4 D40D 309F D6A9
Public PGP key  : available at servers pgp.mit.edu, wwwkeys.pgp.net


_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users

Reply via email to