지난 2 일 동안 RapidSpell Checker과 ZK 웹 응용 프로그램으로 데모 코드 Here을 실행할 수 있습니다. 데모 코드를 얻을 수 있습니다. 난 내 웹 응용 프로그램에서 동일한 코드를 사용하기 위하여려고하는 경우 이제 내 페이지는 개별 페이지의 모든 것이 잘 작동하지만 난이에 위의 라인을 추가하는 동안 내 페이지가 코드ZK + RapidSpell Checker 통합?
Executions.createComponents("/my_detail.zul", comp, arguments);
아래 탭 내에서 동적으로 생성 될 때 경우 ZUL 빠른 맞춤법 검사기를 실행하는 데 필요한 파일
<?script type="text/javascript" content=" zk.afterMount(function()
{rsw_setupTextBoxes(true);});"?>
<script src="a.rapidspellweb?t=r&n=RapidSpell-AYT.js" />
<script type="text/javascript">
rapidSpell.setParameterValue('default', 'UserDictionaryFile',
'~/userdictionaries/1.txt');
</script>
.
여기에서 데모를 볼 수 있습니다. zul 잘 작동합니다.
<window title="Hello World!!" border="normal" width="100%" >
<?script type="text/javascript" content=" zk.afterMount(function()
{rsw_setupTextBoxes(true);});"?>
<style src="./sans-style.css" />
<script src="a.rapidspellweb?t=r&n=RapidSpell-AYT.js" />
<script type="text/javascript">
rapidSpell.setParameterValue('default', 'UserDictionaryFile',
'~/userdictionaries/1.txt');
</script >
<label value="You are using: ${desktop.webApp.version}" />
<textbox rows="10" ></textbox>
</window>
아무런 예외가 없지만 페이지가 내부 zul 일 때 맞춤법 검사가 작동하지 않습니다. 샘플 전쟁을 어떻게 보냅니 까? –
https://sourceforge.net/projects/에서 다운로드 할 수 있습니다. zkspellchecker/files/zkspellchecker.war/다운로드 –
index.zul spellchecker가 작동하지만 모달 창이 열렸을 때 작동하지 않는 것을 여기서 볼 수 있습니다. –