erenault
15 Jul 2008, 7:02 AM
Hi,
In the view, I use a javascript function allowing manage for multilingual labels.
In the form $$viewtemplate I have this :
<script language="javascript">
var mylabel1="mylabelEN1"
var mylabel2="mylabelEN2"
</script>
<script language="javascript">
function getLabel(myKey) {
document.write(myKey);
}
</script>
A function in the header load the text of myLabel1 and myLabel2 in user's language.
In the title of the column, I have [<script> getLabel(mylabel2)</script>]
If I display the view without Ext.nd, I see "mylabelEN1" in the title of the column:D
But if i display the view with Ext.nd, I see only []:(
I think the javascript is interpreted by the function using readdesign but i don't know where changing the code.:((
Could someone help me ?
Thanks for avance
In the view, I use a javascript function allowing manage for multilingual labels.
In the form $$viewtemplate I have this :
<script language="javascript">
var mylabel1="mylabelEN1"
var mylabel2="mylabelEN2"
</script>
<script language="javascript">
function getLabel(myKey) {
document.write(myKey);
}
</script>
A function in the header load the text of myLabel1 and myLabel2 in user's language.
In the title of the column, I have [<script> getLabel(mylabel2)</script>]
If I display the view without Ext.nd, I see "mylabelEN1" in the title of the column:D
But if i display the view with Ext.nd, I see only []:(
I think the javascript is interpreted by the function using readdesign but i don't know where changing the code.:((
Could someone help me ?
Thanks for avance