123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>서식미리보기뷰어</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <a/>
- <b/>
- <c/>
- <d/>
- <e>
- <a/>
- <b/>
- <c/>
- </e>
- <e>
- <a/>
- <b/>
- <c/>
- </e>
- <f>
- <a/>
- <b/>
- <c/>
- </f>
- <f>
- <a/>
- <b/>
- <c/>
- </f>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- function AwtBrowser::DocumentComplete(pDISP, sURL) {
- AwtBrowser.document.parentWindow.AwtTFMain = window;
- alert("Init Awt Window");
- }
- ]]>
- </script>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- </xhtml:head>
- <xhtml:body>
- <textarea id="MTX_3" ref="/root/d" navindex="1" editable="true" degnitemno="3" ctrltype="ctrl" editmenu="false" style="left:35px; top:200px; width:560px; height:120px; background-color:#ffcc00; border-style:sunken; cursor:auto; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- AwtSearchKnuh();
- ]]>
- </script>
- </textarea>
- <caption id="LBL_3" visibility="visible" degnitemno="3" ctrltype="label" editable="true" style="left:25px; top:180px; width:134px; height:20px; font-weight:bold; color:#ff0000; vertical-align:middle; border-style:none; cursor:auto; ">TextArea</caption>
- <input id="STX_2" ref="/root/c" disabled="false" navindex="0" editable="true" style="left:35px; top:160px; width:560px; height:19px; background-color:#ffcc00; border-style:sunken; cursor:auto; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- AwtSearchKnuh();
- ]]>
- </script>
- </input>
- <caption id="LBL_39" visibility="visible" degnitemno="39" ctrltype="label" editable="true" style="left:10px; top:5px; width:345px; height:20px; font-weight:bold; vertical-align:middle; border-style:none; cursor:auto; "># AWT 변환 예제</caption>
- <caption id="caption1" visibility="visible" degnitemno="3" ctrltype="label" editable="true" style="left:25px; top:140px; width:134px; height:20px; font-weight:bold; color:#ff0000; vertical-align:middle; border-style:none; cursor:auto; ">Input</caption>
- <datagrid id="datagrid2" nodeset="/root/f" caption="caption1^caption2^caption3" colsep="^" colwidth="100, 289, 128" mergecellsfixedrows="bycolrec" rowsep="|" style="left:35px; top:345px; width:560px; height:85px; ">
- <col ref="a"/>
- <col ref="b" type="input" style="background-color:#ffcc00; "/>
- <col ref="c" type="input" style="background-color:#ffcc00; "/>
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- AwtSearchKnuh();
- ]]>
- </script>
- </datagrid>
- <caption id="caption5" visibility="visible" degnitemno="3" ctrltype="label" editable="true" style="left:25px; top:325px; width:134px; height:20px; font-weight:bold; color:#ff0000; vertical-align:middle; border-style:none; cursor:auto; ">DataGrid</caption>
- <caption id="caption2" visibility="visible" degnitemno="39" ctrltype="label" editable="true" style="left:30px; top:20px; width:425px; height:30px; vertical-align:middle; border-style:none; cursor:auto; ">단어 입력 후 Space, Enter, ,(콤마), .(마침표), '(홑따옴표), "(쌍따옴표) 입력 (Tab키는 포커스 이동해버리므로 처리 않됨)</caption>
- <caption id="caption21" visibility="visible" degnitemno="39" ctrltype="label" editable="true" style="left:30px; top:45px; width:580px; height:20px; vertical-align:middle; border-style:none; cursor:auto; ">
- <![CDATA[영->한(또는 한->영)으로 변환 후의 단어가 사전에 있는 경우에만 자동 변환됨]]>
- </caption>
- <caption id="caption22" visibility="visible" degnitemno="39" ctrltype="label" editable="true" style="left:30px; top:60px; width:370px; height:20px; vertical-align:middle; border-style:none; cursor:auto; ">
- <![CDATA[F2키를 누르면 현재 단어로 검색창이 열림]]>
- </caption>
- <!--AWT동작 관련 설정 시작 -->
- <script type="javascript" src="../../../com/awtweb/js/awtKnuh.js"/>
- <group id="AwtGroup" visibility="hidden" style="left:285px; top:335px; width:210px; height:190px; background-color:#c0c0c0; ">
- <browser id="AwtBrowser" style="left:0px; top:0px; width:210px; height:190px; "/>
- </group>
- <!--AWT동작 관련 설정 끝 -->
- <caption id="caption3" visibility="visible" degnitemno="39" ctrltype="label" editable="true" style="left:30px; top:80px; width:565px; height:30px; font-weight:bold; color:#3366ff; vertical-align:middle; border-style:none; cursor:auto; ">
- <![CDATA[그리드에 검색창 적용하면 검색창을 여는 순간 그리드의 edit상태에서 벗어나버리는데]]>
- </caption>
- <caption id="caption7" visibility="visible" degnitemno="39" ctrltype="label" editable="true" style="left:30px; top:120px; width:565px; height:30px; color:#3366ff; vertical-align:middle; border-style:none; cursor:auto; ">
- <![CDATA[검색창을 LostFocus 이벤트 처리가 있는 항목에 적용시에는 주의할 것]]>
- </caption>
- <caption id="caption4" visibility="visible" degnitemno="39" ctrltype="label" editable="true" style="left:30px; top:95px; width:565px; height:30px; font-weight:bold; color:#3366ff; vertical-align:middle; border-style:none; cursor:auto; ">
- <![CDATA[강제로 편집모드로 진입하게 설정함 (편집창의 깜빡임이 발생]]>
- </caption>
- </xhtml:body>
- </xhtml:html>
|