<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://as5202t-5748.myasustor.com/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://as5202t-5748.myasustor.com/feed.php">
        <title>ria-web</title>
        <description></description>
        <link>https://as5202t-5748.myasustor.com/</link>
        <image rdf:resource="https://as5202t-5748.myasustor.com/lib/exe/fetch.php?media=wiki:dokuwiki.svg" />
       <dc:date>2026-07-05T11:26:12+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://as5202t-5748.myasustor.com/doku.php?id=study&amp;rev=1738657415&amp;do=diff"/>
                <rdf:li rdf:resource="https://as5202t-5748.myasustor.com/doku.php?id=study:javascript:dojo:select&amp;rev=1280143964&amp;do=diff"/>
                <rdf:li rdf:resource="https://as5202t-5748.myasustor.com/doku.php?id=study:javascript:dojo:monitor&amp;rev=1267532329&amp;do=diff"/>
                <rdf:li rdf:resource="https://as5202t-5748.myasustor.com/doku.php?id=study:javascript:dojo:select_2&amp;rev=1245808412&amp;do=diff"/>
                <rdf:li rdf:resource="https://as5202t-5748.myasustor.com/doku.php?id=study:javascript:dojo:prevent_paste&amp;rev=1269011717&amp;do=diff"/>
                <rdf:li rdf:resource="https://as5202t-5748.myasustor.com/doku.php?id=study:javascript:positioning&amp;rev=1312424002&amp;do=diff"/>
                <rdf:li rdf:resource="https://as5202t-5748.myasustor.com/doku.php?id=study:javascript:jquery:select&amp;rev=1614735009&amp;do=diff"/>
                <rdf:li rdf:resource="https://as5202t-5748.myasustor.com/doku.php?id=study:javascript:event:mouse&amp;rev=1208923988&amp;do=diff"/>
                <rdf:li rdf:resource="https://as5202t-5748.myasustor.com/doku.php?id=study:javascript:event&amp;rev=1205977880&amp;do=diff"/>
                <rdf:li rdf:resource="https://as5202t-5748.myasustor.com/doku.php?id=study:javascript:dojo:start&amp;rev=1247020844&amp;do=diff"/>
                <rdf:li rdf:resource="https://as5202t-5748.myasustor.com/doku.php?id=study:javascript:jquery:start&amp;rev=1301302114&amp;do=diff"/>
                <rdf:li rdf:resource="https://as5202t-5748.myasustor.com/doku.php?id=study:javascript:debug&amp;rev=1316664948&amp;do=diff"/>
                <rdf:li rdf:resource="https://as5202t-5748.myasustor.com/doku.php?id=study:javascript:jquery:clear-form&amp;rev=1511843201&amp;do=diff"/>
                <rdf:li rdf:resource="https://as5202t-5748.myasustor.com/doku.php?id=study:javascript:jquery:z-index&amp;rev=1287224513&amp;do=diff"/>
                <rdf:li rdf:resource="https://as5202t-5748.myasustor.com/doku.php?id=study:javascript:jquery:plugin:monitor&amp;rev=1463725298&amp;do=diff"/>
                <rdf:li rdf:resource="https://as5202t-5748.myasustor.com/doku.php?id=wiki:syntax&amp;rev=1748157791&amp;do=diff"/>
                <rdf:li rdf:resource="https://as5202t-5748.myasustor.com/doku.php?id=study:java:struts&amp;rev=1281061979&amp;do=diff"/>
                <rdf:li rdf:resource="https://as5202t-5748.myasustor.com/doku.php?id=study:javascript:array&amp;rev=1260852226&amp;do=diff"/>
                <rdf:li rdf:resource="https://as5202t-5748.myasustor.com/doku.php?id=study:jsf:struts_tag_replace&amp;rev=1209224652&amp;do=diff"/>
                <rdf:li rdf:resource="https://as5202t-5748.myasustor.com/doku.php?id=study:css&amp;rev=1206135566&amp;do=diff"/>
                <rdf:li rdf:resource="https://as5202t-5748.myasustor.com/doku.php?id=study:jsf:struts-faces_tag&amp;rev=1209221621&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://as5202t-5748.myasustor.com/lib/exe/fetch.php?media=wiki:dokuwiki.svg">
        <title>ria-web</title>
        <link>https://as5202t-5748.myasustor.com/</link>
        <url>https://as5202t-5748.myasustor.com/lib/exe/fetch.php?media=wiki:dokuwiki.svg</url>
    </image>
    <item rdf:about="https://as5202t-5748.myasustor.com/doku.php?id=study&amp;rev=1738657415&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-02-04T08:23:35+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>study</title>
        <link>https://as5202t-5748.myasustor.com/doku.php?id=study&amp;rev=1738657415&amp;do=diff</link>
        <description>Tips and Study

	*  Javascript

	*  Event
	*  Positioning
	*  Array Object
	*  Display error messages
	*  Popup image
	*  Detect a browser

	*  Java

	*  Struts Framework
	*  Struts2
	*  NetBeans
	*  xDoclet
	*  encoding
	*  CSV
	*  compressing a byte array
	*  JavaMail 文字化け
	*  Implementing an enumerated type in Java
	*  File.delete() problem in Java
	*  Thread Pool Example
	*  Servlet Filter
	*  Generate xml with Dom
	*  Java consuming SharePoint REST API
	*  Sharepoint online連携
	*  Spring rem…</description>
    </item>
    <item rdf:about="https://as5202t-5748.myasustor.com/doku.php?id=study:javascript:dojo:select&amp;rev=1280143964&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-07-26T11:32:44+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>select</title>
        <link>https://as5202t-5748.myasustor.com/doku.php?id=study:javascript:dojo:select&amp;rev=1280143964&amp;do=diff</link>
        <description>Dynamic Select box from JSON

このページではツリー構造のリストをselectボックスで表示させて、さらにツリーの親子関係にあるselectボックスを連動
させる方法を説明する。

今回の例では、表示するデータを</description>
    </item>
    <item rdf:about="https://as5202t-5748.myasustor.com/doku.php?id=study:javascript:dojo:monitor&amp;rev=1267532329&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-03-02T12:18:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>monitor</title>
        <link>https://as5202t-5748.myasustor.com/doku.php?id=study:javascript:dojo:monitor&amp;rev=1267532329&amp;do=diff</link>
        <description>Monitor idle state with custom events

최근 ajax 관련 project를 하면서, 유저가 동작을 멈췄는지 계속 조작하고 있는지 모니터링할 필요성이
제기되었다. 이런저런 궁리를 해도 생각되로 되지 않던 차에 Google 검색에서 그럴 듯한 것을 발견하였다.</description>
    </item>
    <item rdf:about="https://as5202t-5748.myasustor.com/doku.php?id=study:javascript:dojo:select_2&amp;rev=1245808412&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-06-24T01:53:32+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>select_2</title>
        <link>https://as5202t-5748.myasustor.com/doku.php?id=study:javascript:dojo:select_2&amp;rev=1245808412&amp;do=diff</link>
        <description>set selectedIndex value for dynamic drop-down list

動的に作成されたselect objectのoptionを設定する方法を紹介する。

大まかに、動的にリストを作成する部分とoptionの値を設定する部分の二に分けて説明する。</description>
    </item>
    <item rdf:about="https://as5202t-5748.myasustor.com/doku.php?id=study:javascript:dojo:prevent_paste&amp;rev=1269011717&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-03-19T15:15:17+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>prevent_paste</title>
        <link>https://as5202t-5748.myasustor.com/doku.php?id=study:javascript:dojo:prevent_paste&amp;rev=1269011717&amp;do=diff</link>
        <description>Prevent paste operation in textfield

ユーザー登録画面とかでパスワードとかメールの確認の貼り付け(Ctrl+V)を防止したい時があると思う。

今回はその場面で役立つようなjavascriptコードを紹介する。</description>
    </item>
    <item rdf:about="https://as5202t-5748.myasustor.com/doku.php?id=study:javascript:positioning&amp;rev=1312424002&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2011-08-04T02:13:22+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>positioning</title>
        <link>https://as5202t-5748.myasustor.com/doku.php?id=study:javascript:positioning&amp;rev=1312424002&amp;do=diff</link>
        <description>Fixed Layer

Frame을 사용하지 않고 navigation이 고정된 채로 내용만 scroll되도록 만들어보자.
FireFox라면 position:fixed를 사용할 수 있겠지만, IE가 지원하지 않기 때문에 
cross-browing을 생각하여 javascript와 css를 이용하여 구현해 보겠다.
간단하게 left navigation과 content두 column으로 구성된 page를 생각해보자.
css code snippet은 대략 다음과 같은 모습이다.</description>
    </item>
    <item rdf:about="https://as5202t-5748.myasustor.com/doku.php?id=study:javascript:jquery:select&amp;rev=1614735009&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-03-03T01:30:09+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>select</title>
        <link>https://as5202t-5748.myasustor.com/doku.php?id=study:javascript:jquery:select&amp;rev=1614735009&amp;do=diff</link>
        <description>Append select option using jquery

jqueryを利用し、動的にoptionを作成する方法を紹介する。
まずはデモから見てみよう。

Test Page

&lt;html&gt;
&lt;head&gt;
&lt;script type=“text/javascript” src=“./test/js/jquery-1.4.2.js”&gt;&lt;/script&gt;
&lt;script type=</description>
    </item>
    <item rdf:about="https://as5202t-5748.myasustor.com/doku.php?id=study:javascript:event:mouse&amp;rev=1208923988&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2008-04-23T04:13:08+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>mouse</title>
        <link>https://as5202t-5748.myasustor.com/doku.php?id=study:javascript:event:mouse&amp;rev=1208923988&amp;do=diff</link>
        <description>Popup the image on which a mouse is rolled over

mouseの位置を取るjavascriptを利用して、あるイメージをpopupさせる方法を紹介する。
簡単だから、コードを見ながら説明する。


function showPopUp(id, e) {
    e = e || window.event;
    var cursor = {x:0, y:0};
    if (e.pageX || e.pageY) {
        cursor.x = e.pageX;
        cursor.y = e.pageY;
    }else {			//IE
        var de = document.documentElement;	//Strict Mode(offset=2,2)
        var b = document.body;			//Quirks Mode(offset=0,0)
        cursor.x = e.clientX + 
            (de.scrollLeft ||…</description>
    </item>
    <item rdf:about="https://as5202t-5748.myasustor.com/doku.php?id=study:javascript:event&amp;rev=1205977880&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2008-03-20T01:51:20+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>event</title>
        <link>https://as5202t-5748.myasustor.com/doku.php?id=study:javascript:event&amp;rev=1205977880&amp;do=diff</link>
        <description>Mouse Cursor Position

document.compatMode

	*  Quirks mode[BACKCompat] : Standard-compliant mode is not switched on.
	*  Strict mode[CSS1Compat] : Standard-compliant mode is switched on.


function getPosition(e) {
    e = e || window.event;
    var cursor = {x:0, y:0};
    if (e.pageX || e.pageY) {
        cursor.x = e.pageX;
        cursor.y = e.pageY;
    } 
    else {
        var de = document.documentElement;
        var b = document.body;
        cursor.x = e.clientX + 
            (de.sc…</description>
    </item>
    <item rdf:about="https://as5202t-5748.myasustor.com/doku.php?id=study:javascript:dojo:start&amp;rev=1247020844&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-07-08T02:40:44+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>start</title>
        <link>https://as5202t-5748.myasustor.com/doku.php?id=study:javascript:dojo:start&amp;rev=1247020844&amp;do=diff</link>
        <description>*  Dojo Example

	*  Monitor idle state with custom events
	*  Dynamic select box from JSON
	*  set selectedIndex value for dynamic drop-down list
	*  Prevent paste operation in textfield</description>
    </item>
    <item rdf:about="https://as5202t-5748.myasustor.com/doku.php?id=study:javascript:jquery:start&amp;rev=1301302114&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2011-03-28T08:48:34+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>start</title>
        <link>https://as5202t-5748.myasustor.com/doku.php?id=study:javascript:jquery:start&amp;rev=1301302114&amp;do=diff</link>
        <description>*  jquery

	*  Append select option using jquery
	*  Overlapping select field bug in IE6
	*  jQuery plugin for monitoring idle state
	*  Clear form using jquery</description>
    </item>
    <item rdf:about="https://as5202t-5748.myasustor.com/doku.php?id=study:javascript:debug&amp;rev=1316664948&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2011-09-22T04:15:48+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>debug</title>
        <link>https://as5202t-5748.myasustor.com/doku.php?id=study:javascript:debug&amp;rev=1316664948&amp;do=diff</link>
        <description>Display error messages of javascript

以下のコードでjavascriptソースの何行目でエラーが発生しているか分かります。



onerror=handleErr;
var txt=&quot;&quot;;

//debug function
function handleErr(msg,url,l)
{
	txt=&quot;There was an error on this page.\n\n&quot;;
	txt+=&quot;Error: &quot; + msg + &quot;\n&quot;;
	txt+=&quot;URL: &quot; + url + &quot;\n&quot;;
	txt+=&quot;Line: &quot; + l + &quot;\n\n&quot;;
	txt+=&quot;Click OK to continue.\n\n&quot;;
	alert(txt);
	return true;
}</description>
    </item>
    <item rdf:about="https://as5202t-5748.myasustor.com/doku.php?id=study:javascript:jquery:clear-form&amp;rev=1511843201&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-11-28T04:26:41+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>clear-form</title>
        <link>https://as5202t-5748.myasustor.com/doku.php?id=study:javascript:jquery:clear-form&amp;rev=1511843201&amp;do=diff</link>
        <description>Clear form using jquery

jqueryを利用しFormのフィールドを初期化する方法を紹介する。
前提として、初期化するフィールドは以下に示す。

	*  input text
	*  select
	*  check box
	*  radio button
	*  textarea</description>
    </item>
    <item rdf:about="https://as5202t-5748.myasustor.com/doku.php?id=study:javascript:jquery:z-index&amp;rev=1287224513&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-16T10:21:53+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>z-index</title>
        <link>https://as5202t-5748.myasustor.com/doku.php?id=study:javascript:jquery:z-index&amp;rev=1287224513&amp;do=diff</link>
        <description>Overlapping select field bug in IE 6

IE6ではselectタグ(Drop-down list)がDivレイヤーの上に、表示されるバグがある。

SelectタグをWindowsコントロールを使用して表示しているが、z-indexを無視するため、
selectタグが一番上に表示されることなのだ。</description>
    </item>
    <item rdf:about="https://as5202t-5748.myasustor.com/doku.php?id=study:javascript:jquery:plugin:monitor&amp;rev=1463725298&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-05-20T06:21:38+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>monitor</title>
        <link>https://as5202t-5748.myasustor.com/doku.php?id=study:javascript:jquery:plugin:monitor&amp;rev=1463725298&amp;do=diff</link>
        <description>jQuery plugin for monitoring idle state

前に、dojoでidle stateを監視するクラスを作成してみたが、今回は同じソースをjQuery pluginで作成してみた。

plugin化するにあたって、optionの設定ができることと、activeステートとidleステートの際のcallbackメソッドを</description>
    </item>
    <item rdf:about="https://as5202t-5748.myasustor.com/doku.php?id=wiki:syntax&amp;rev=1748157791&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-05-25T07:23:11+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>syntax</title>
        <link>https://as5202t-5748.myasustor.com/doku.php?id=wiki:syntax&amp;rev=1748157791&amp;do=diff</link>
        <description>Formatting Syntax

DokuWiki supports some simple markup language, which tries to make the datafiles to be as readable as possible. This page contains all possible syntax you may use when editing the pages. Simply have a look at the source of this page by pressing</description>
    </item>
    <item rdf:about="https://as5202t-5748.myasustor.com/doku.php?id=study:java:struts&amp;rev=1281061979&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-08-06T02:32:59+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>struts</title>
        <link>https://as5202t-5748.myasustor.com/doku.php?id=study:java:struts&amp;rev=1281061979&amp;do=diff</link>
        <description>Cache Control

you can control the cache of JSP pages with extending RequestProcessor.class


protected void processContent(HttpServletRequest request, HttpServletResponse response) {
 	if (request.getServletPath().equals(&quot;/order/orderGear.do&quot;)){
	       logger.info( request.getServletPath() + &quot; is CACHE ON!&quot;);
                if (logger.isDebugEnabled()) {
		        logger.debug(&quot;CACHE ON&quot;);
		}
		response.setHeader(&quot;Cache-control&quot;, &quot;Public, max-age:1800&quot;);
		response.setHeader(&quot;Expires&quot;, &quot;1&quot;);…</description>
    </item>
    <item rdf:about="https://as5202t-5748.myasustor.com/doku.php?id=study:javascript:array&amp;rev=1260852226&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-12-15T04:43:46+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>array</title>
        <link>https://as5202t-5748.myasustor.com/doku.php?id=study:javascript:array&amp;rev=1260852226&amp;do=diff</link>
        <description>Initialize an Array

1) Initialize the array when the load event is fired.


var initArray = [];
function init() {
  var fE = document.forms[&#039;testForm&#039;].elements;

  for(var i = 0; i &lt; 4; i++) {
    initArray[i] = fE[&#039;field&#039; + (i + 1)];
  }
}//



2) Store the field names and look them up in your functions</description>
    </item>
    <item rdf:about="https://as5202t-5748.myasustor.com/doku.php?id=study:jsf:struts_tag_replace&amp;rev=1209224652&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2008-04-26T15:44:12+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>struts_tag_replace</title>
        <link>https://as5202t-5748.myasustor.com/doku.php?id=study:jsf:struts_tag_replace&amp;rev=1209224652&amp;do=diff</link>
        <description>replace struts taglib with Struts-Faces tag or JSF tag
 Struts Tag  Struts-Faces Tag  JSF Standard Tag  description &lt;html:base&gt;&lt;s:base&gt;  &lt;html:button&gt; &lt;h:commandButton&gt;  &lt;html:cancel&gt; &lt;h:commandButton
id=“cancel”&gt;스트럿츠 태그와 같이 취급되려면 id속성이</description>
    </item>
    <item rdf:about="https://as5202t-5748.myasustor.com/doku.php?id=study:css&amp;rev=1206135566&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2008-03-21T21:39:26+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>css</title>
        <link>https://as5202t-5748.myasustor.com/doku.php?id=study:css&amp;rev=1206135566&amp;do=diff</link>
        <description>Frame without frame

layer를 사용하여 Frame같은 효과를 내보자.

Identifying Your Sections

 간단히 화면구성이 다음과 같다고 하자.

	*  left navigation
	*  righ tnavigation
	*  content

서두에서 얘기했듯이 table 포맷대신에 레이어를 사용하도록 한다.</description>
    </item>
    <item rdf:about="https://as5202t-5748.myasustor.com/doku.php?id=study:jsf:struts-faces_tag&amp;rev=1209221621&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2008-04-26T14:53:41+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>struts-faces_tag</title>
        <link>https://as5202t-5748.myasustor.com/doku.php?id=study:jsf:struts-faces_tag&amp;rev=1209221621&amp;do=diff</link>
        <description>Struts-Faces JSP tag
  Struts-Faces JSP tag    required    optional    description  &lt;s:base&gt; id, rendered, targetHTML &lt;base&gt;요소를 보여준다.&lt;s:errors&gt; id, rendered, bundle모든 Struts와 JSF메세지를 보여준다.&lt;s:form&gt;actionid, rendered, enctype,</description>
    </item>
</rdf:RDF>
