ZK +Java Script Integration Issue ?

asked 2013-07-30 05:39:30 +0800

sjoshi gravatar image sjoshi flag of India
3493 1 8

From last couple of days i was trying to integrate Rapid Spell Checker with ZK Web application and i am able to run the demo code Here you can get the demo code. Now when i am going to use same code in my web application if my page is individual page everything worked fine but when my page is created dynamically inside a tab from below code

Executions.createComponents("/my_detail.zul", comp, arguments);

While i added the above line in the zul file

<?script type="text/javascript" content=" zk.afterMount(function()

    <script src="a.rapidspellweb?t=r&amp;n=RapidSpell-AYT.js" />
     <script type="text/javascript">
        rapidSpell.setParameterValue('default', 'UserDictionaryFile',

Which is needed to run Rapid Spell checker.

Here you can see the demo zul which is working fine.

<window title="Hello World!!" border="normal" width="100%" >
    <?script type="text/javascript" content=" zk.afterMount(function()
    <style src="./sans-style.css" />
    <script src="a.rapidspellweb?t=r&n=RapidSpell-AYT.js" />
    <script type="text/javascript">
        rapidSpell.setParameterValue('default', 'UserDictionaryFile',
    </script >
    <label value="You are using: ${desktop.webApp.version}" />
    <textbox rows="10" ></textbox>

delete flag offensive retag edit
Be the first one to answer this question!
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools




Asked: 2013-07-30 05:39:30 +0800

Seen: 26 times

Last updated: Jul 30 '13

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More