FORUM PLAN UPDATE
Date revision: This forum will remain open to new posts and responses until December 1, 2018. (After that date, you will still be able to view and search the forum.) Also, we're taking a second look at the best place to host future conversation. For now, keep using this forum, and stay tuned for more news.



Apr 18, 2013, 8:51 AM
67 Posts

Re: Server side value in CSJS

  • Category: Dojo and Client Side JavaScript
  • Platform: All
  • Release: 8.5.3
  • Role: Developer
  • Tags:
  • Replies: 9
Thank you all.
It is solved. I've choosed Helmuts way: 


 <xp:scriptBlock>
  <xp:this.value>
<![CDATA[#{javascript:"XSP.addOnLoad(function({" + viewScope.get('EAN') + "}));"
                         }]]>
</xp:this.value>
</xp:scriptBlock>

This loads clientside and has the serverside value in it. 

FORUM PLAN UPDATE
Date revision: This forum will remain open to new posts and responses until December 1, 2018. (After that date, you will still be able to view and search the forum.) Also, we're taking a second look at the best place to host future conversation. For now, keep using this forum, and stay tuned for more news.