Hello Andreas and thank for your answer. I've posted this question to at-users<br>
list too but still no answer. In fact this problem is not related only to AT. Let me <br>
give you an example:<br>
<br>
var alternative = 'bar' or 'baz'<br>
var foo_baz = 'content based on baz'<br>
var foo_bar = 'content based on bar'<br><br>
These can be defined either in ZPT, DTML or Python Script. The problem is the same.<br>
The question is how can I obtain the value of foo_$alternative.<br>
<br>
An example written in PHP:<br>
<br>
$alternative = "bar";<br>
$foo_bar = "content based on bar";<br>
echo ${"foo_".$alternative} <br>
<br>
This will produce "content based on bar".<br>
<br>
Thanks for your time,<br>
Cristi<br>
<br><div><span class="gmail_quote">On 7/28/05, <b class="gmail_sendername">Andreas Jung</b> <<a href="mailto:lists@andreas-jung.com">lists@andreas-jung.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br><br>--On 28. Juli 2005 11:59:09 +0300 Cristi Barladeanu <<a href="mailto:kristache@gmail.com">kristache@gmail.com</a>><br>wrote:<br><br>> Good day everyone<br>><br>> I've defined some archetypes that contain fields like Title_en, Title_de,
<br>> Content_en, Content_de, etc.<br>> Assuming that I've set a language var related to URL like (lang = 'en'),<br>> how can i access them?<br>><br><br>Please ask AT related questions on the at-users list. In general you should
<br>not access attributes in AT directly but only through the accessor methods.<br>There is something like getField(fieldname) in the AT which might help you<br>(look also at the AT docs).<br><br>-aj<br><br></blockquote></div>
<br>