This forum is closed to new posts and responses. New discussions are now taking place in the IBM Developer Answers forum.



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. 

This forum is closed to new posts and responses. New discussions are now taking place in the IBM Developer Answers forum.