<?xml version="1.0" encoding="UTF-8" ?><rdf:RDF 
  xmlns="http://purl.org/rss/1.0/"
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  xmlns:atom="http://www.w3.org/2005/Atom"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xml:lang="ja">
  <channel rdf:about="http://w.atwiki.jp/chakimar/">
    <title>メモと裏紙</title>
    <link>http://w.atwiki.jp/chakimar/</link>
    <atom:link href="https://w.atwiki.jp/chakimar/rss10.xml" rel="self" type="application/rss+xml" />
    <atom:link rel="hub" href="https://pubsubhubbub.appspot.com" />
    <description>メモと裏紙</description>

    <dc:language>ja</dc:language>
    <dc:date>2009-09-07T15:17:47+09:00</dc:date>
    <utime>1252304267</utime>

    <items>
      <rdf:Seq>
                <rdf:li rdf:resource="https://w.atwiki.jp/chakimar/pages/41.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/chakimar/pages/42.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/chakimar/pages/40.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/chakimar/pages/2.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/chakimar/pages/13.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/chakimar/pages/39.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/chakimar/pages/15.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/chakimar/pages/12.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/chakimar/pages/34.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/chakimar/pages/22.html" />
              </rdf:Seq>
    </items>
	
		
    
  </channel>
    <item rdf:about="https://w.atwiki.jp/chakimar/pages/41.html">
    <title>式</title>
    <link>https://w.atwiki.jp/chakimar/pages/41.html</link>
    <description>
      ・名前の取得
 (組織名有)
 @UserName
 (組織名無)
	@V3UserName

・別名の取得
 @UserName(1)

・UniqueIDの取得
 @DocumentUniqueID

・改行コード
 @NewLine

・ビューから値を取得
 @DbColumn(&quot;Notes&quot;:&quot;NoCache&quot;;&quot;サーバ名&quot;:&quot;データベース名&quot;;&quot;ビュー名&quot;;1[何列目かを指定])
 
 @DbLookUp(&quot;Notes&quot;:&quot;NoCache&quot;;&quot;サーバ名&quot;:&quot;データベース名&quot;;&quot;ビュー名&quot;;&quot;検索キー&quot;;1[何列目かを指定])
 ＊現在のデータベースを指定する場合はサーバ名とデータベース名を&quot;&quot;にする

・管理者権限を持つユーザーのみ閲覧可能な非表示式
 @If(@Subset(@V4UserAccess(@DbName);1) = &quot;6&quot;;0;1)

・フィールド値の変更
 @SetField(fieldName ; value)

・フィールド値の取得
 @Text(fieldName) *ただし、「&quot;」は不要？？使い方もあってるか微妙    </description>
    <dc:date>2009-09-07T15:17:47+09:00</dc:date>
    <utime>1252304267</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/chakimar/pages/42.html">
    <title>DominoDesigner</title>
    <link>https://w.atwiki.jp/chakimar/pages/42.html</link>
    <description>
      ・レイアウト領域を使用するとダイアログボックスで表示された際に空白の領域が表示されない

・レイアウト領域を使用するとフィールドに宛先ダイアログが表示されない

・アイコンの変更は[その他]-&gt;[データエースリソース]-&gt;[アイコン]で編集できる

・フレームセットでプレビュー先のフレームでボタンを非表示にしたい場合
 プレビュー先のフレーム名を「NotesPreview」にする    </description>
    <dc:date>2009-02-18T17:09:16+09:00</dc:date>
    <utime>1234944556</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/chakimar/pages/40.html">
    <title>LotusScript</title>
    <link>https://w.atwiki.jp/chakimar/pages/40.html</link>
    <description>
      ・名前の取得
	NotesSession#UserNameList(0)

・別名の取得
 NotesSession#UserNameList(1)

・フィールドの値を取得
 NotesDocument#GetItemValue
 ＊値が一つでもリスト形式で帰ってくるので後ろに(0)をつける

・改行コード
 Chr(10)


・関数・ステートメント
 Arrayuniquie : 配列から重複する要素を削除
 Arrayappend : 2つの配列をくっつけて第3の配列を作る
 Fulltrim : 配列の場合、空の配列を削除し、エントリ内の重複している先頭と末尾の空白を削除
 Ubound : 配列やリストの長さを返す
 Len : 文字列の長さを返す
 Redim : 動的配列のサイズを変更
 Preserve : 保存する？Redimと一緒に使われる
 Instr : 文字列内で特定の文字列を検索し、最初に検出された文字の位置を返す
 StrLeftBack : 第1引数に対象の文字列、第2引数にパターンを設定すると、パターンから左側の文字列を返す
 Cstr : 文字列に変換
 CInt : 数値に変換
 Split : 第1引数の文字列を第2引数の文字列で分割する
 Isempty ： 引数がEmptyか調べる
 FullTrim : 引数の配列の空要素を削除したものを返す

・Variant型で何もない状態はEmpty

・ビュー名の一覧を取得
 NotesDatabase#Views

・無限ループでbreakに当たるもの
 Exit ループ名　(ex:Exit Forall)    </description>
    <dc:date>2009-02-18T17:02:05+09:00</dc:date>
    <utime>1234944125</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/chakimar/pages/2.html">
    <title>メニュー</title>
    <link>https://w.atwiki.jp/chakimar/pages/2.html</link>
    <description>
      **メニュー
-[[トップページ&gt;メニュー]]
-[[プラグイン紹介&gt;プラグイン]]
-[[まとめサイト作成支援ツール]]
-[[メニュー]]
-[[メニュー2]]

----
**Java
-[[Javaとは？]]
-[[文字列操作]]
-[[日付・時間操作]]
-[[アプレット]]
-[[サーブレット]]
-[[例外]]
-[[用語]]
-[[英単語]]
-[[よいプログラムを作るために]]
-[[Eclipse　小技]]

**James(メールサーバ)
-[[Jamesとは？]]
-[[導入・設定]]
-[[Mailet作成]]

**JBoss
-[[JBossとは？]]
-[[導入・設定&gt;導入・設定：JBoss]]
-[[用語&gt;用語：JBoss]]

**Struts
-[[Strutsとは？]]
-[[導入・設定&gt;導入・設定：Struts]]
-[[用語&gt;用語：Struts]]
-[[未整理&gt;未整理：Struts]]

**Notes/Domino
-[[Notes/Dominoとは？]]
-[[DIIOP]]
-[[ｴｰｼﾞｪﾝﾄ：JBossMQ]]
-[[リモートアクセス]]
-[[用語&gt;用語：Notes/Domino]]
-[[LotusScript]]
-[[式]]
-[[DominoDesigner]]

**DB
-[[用語&gt;用語：DB]]
-[[SQL]]

**XML
-[[XMLとは？]]
-[[用語&gt;用語：XML]]
-[[XMLSchema]]
-[[XMLStyleSheet]]


**未整理
-[[James in JBoss]]
----

**リンク
-[[@wiki&gt;&gt;http://atwiki.jp]]
-[[@wikiご利用ガイド&gt;&gt;http://atwiki.jp/guide/]]

**他のサービス
-[[無料ホームページ作成&gt;&gt;http://atpages.jp]]
-[[無料ブログ作成&gt;&gt;http://atword.jp]]
-[[2ch型掲示板レンタル&gt;&gt;http://atchs.jp]]
-[[無料掲示板レンタル&gt;&gt;http://atbbs.jp]]
-[[お絵かきレンタル&gt;&gt;http://atpaint.jp/]]
-[[無料ソーシャルプロフ&gt;&gt;http://sns.atfb.jp/]]

// リンクを張るには &quot;[&quot; 2つで文字列を括ります。
// &quot;&gt;&quot; の左側に文字、右側にURLを記述するとリンクになります


//**更新履歴
//#recent(20)

&amp;link_editmenu(text=ここを編集)    </description>
    <dc:date>2009-02-09T10:29:53+09:00</dc:date>
    <utime>1234142993</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/chakimar/pages/13.html">
    <title>DIIOP</title>
    <link>https://w.atwiki.jp/chakimar/pages/13.html</link>
    <description>
      **設定

①DIIOP、HTTPタスクを立ち上げる
 notes.iniファイルの「Server=」の後に「DIIOP」と「HTTP」を追加（、区切り）
 または、サーバコンソールで「load diiop」と「load http」

　＊HTTPタスクは立ち上げなくてもDIIOPは使えるがIORというものが取ってこれないらしい

②サーバ文書の設定を変更
 ・セキュリティ-&gt;可能なプログラムの制限-&gt;制限なしで実行 &lt;= * 
 ・セキュリティ-&gt;可能なプログラムの制限-&gt;制限付き[[LotusScript]]/Javaエージェントの実行 &lt;= *
 ・インターネットプロトコル-&gt;DIIOP-&gt;ホスト名/アドレス &lt;= ホスト名またはIPアドレス
 (・インターネットプロトコル-&gt;HTTP-&gt;HTTPクライアントからのデータベース参照を許可 &lt;= はい)
 ・ポート-&gt;Notesネットワークポート-&gt;TCPIPポートのネットアドレス &lt;= IPアドレス    </description>
    <dc:date>2008-11-20T13:46:45+09:00</dc:date>
    <utime>1227156405</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/chakimar/pages/39.html">
    <title>未整理：Struts</title>
    <link>https://w.atwiki.jp/chakimar/pages/39.html</link>
    <description>
      **・JasperException:xxx.jsp(yy,zz) equal symbol expected
 Strutsタグの中にStrutsタグをネストさせると発生

**・Validatorを使わずにエラーメッセージを表示
 ActionMessages ams = new ActionMessages();
 ActionMessage message = new ActionMessage(&quot;propertiesファイルのメッセージ名を指定&quot;);
 ams.Error.add(ActionMessages.GLOBAL_MESSAGE, message);
 saveErrors(request, ams);

**・HTTPステータス 500 -パス/xxx に対するアクションのインスタンスがありません
 struts-config.xmlでActionクラスに指定したクラスが見つからないかインスタンス化できていない
 (Eclipseでコピーしたプロジェクトで発生する模様)    </description>
    <dc:date>2008-10-22T09:56:00+09:00</dc:date>
    <utime>1224636960</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/chakimar/pages/15.html">
    <title>導入・設定</title>
    <link>https://w.atwiki.jp/chakimar/pages/15.html</link>
    <description>
      ①まずは以下のURLからダウンロード
　　・[[http://james.apache.org/download.cgi]]
　　Binary、MailetSDK、Sourceのいずれかをダウンロード

②解凍

③$JAMES_HOME/bin/run.bat起動
　＊ポート番号が使用されているとエラーが出る

(③でエラーが出た場合)
  $JAMES_HOME/appsにjamesファイルができている(james.sarが解凍されている)
  ので$JAMES_HOME/apps/james/SAR-INF/config.xmlを開いて
  (メモ帳以外のテキストエディタで開こう)&lt;pop3server enabled=&quot;true&quot;&gt;
  と、&lt;smtpserver enabled=&quot;true&quot;&gt;の&lt;port&gt;を変更する


**解決事項
・James2.1.3は正常起動するがメールの送受信がうまくいかない
 受信のみできていなかった。
 config.xmlの&lt;processor name=&quot;root&quot;&gt;タグ以下に(&lt;processor name=&quot;transport&quot;&gt;ではダメ)
 &lt;mailet macth=&quot;All&quot; class=&quot;LocalDelivery&quot;/&gt;を追加したところ
 受信できた。


**不明事項
・James2.3.1は終了時にエラーが出るが送受信に問題なし
  org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleException
  :Component named &quot;thread-manager&quot; failed to pass through the Destruction Stage.
  (Reason : java.lang.IllegalThreadStateException)

**参考URL
|[[SVN&gt;https://svn.apache.org/repos/asf/james/server/tags/build_2_1_3_fcs/]]|前のバージョンが欲しい方用|
|[[Java Sticky Note&gt;http://www.visards.co.jp/java/james/james04.html]]|導入の流れが書いてある|
|[[Apache James&gt;http://james.terra-intl.com/configuration_v2_0.html]]|公式の日本語版。&amp;br()リンク先はデフォルトのMailet,Matcherの解説ページ|
|[[javadrive&gt;http://www.javadrive.jp/james/ini/index.html]]|JamesのDNS設定等が書かれている|
|[[Dream Software Laboratory&gt;http://iihito.dip.jp/docs/java/no16/james-4.html]]|Jamesの設定|    </description>
    <dc:date>2008-10-10T15:33:09+09:00</dc:date>
    <utime>1223620389</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/chakimar/pages/12.html">
    <title>James in JBoss</title>
    <link>https://w.atwiki.jp/chakimar/pages/12.html</link>
    <description>
      *導入の流れ

**「すべてのバージョンに共通」
・$JBOSS_HOMEにJamesを配置
・$JAMES_HOME/bin/libにJMXLauncher.jarを配置
・$JBOSS_HOME/server/defalut/deployに以下の3点を配置
   ①$JAMES_HOME/bin/phoenix-loader.jar
   ②phoenix-service.xml(バージョンの記述を変更)/下記のサイトからダウンロード
   ③JMXLauncher.jar/下記のサイトからダウンロード

・$JAMES_HOME/conf/kernel.xmlを編集 
 &lt;component role=&quot;org.apache.avalon.phoenix.interfaces.SystemManager&quot;&gt;タグの
 class属性の&quot;Noop&quot;を&quot;Hosted&quot;に変更 

**「James2.1.3 JBoss3.2.3」
　　このまま起動してＯＫ

**「James2.1.3 JBoss4.0.5」
・$JBOSS_HOME/server/defalut/libに以下の2点を配置
   ①$JAMES_HOME/libの全ファイル
   ②$JAMES_HOME/bin/lib/phoenix-engine.jar

**「James2.3.1 JBoss4.0.5」(使用不可？)
・$JBOSS_HOME/server/defalut/libに以下の3点を配置
   ①$JAMES_HOME/libの全ファイル
   ②$JAMES_HOME/bin/libの全ファイル（いらんかも）
   ③$JAMES_HOME/tools/libの全ファイル
　　　＊ただし、大量のエラーが発生
　　　　また、Eclipseのプラグイン上でJBossを起動しないと×
　　　　↑Eclipse上で起動してもダメだった。WEBアプリをデプロイできなくなる。

**[ダウンロードサイト]
・James2.3.1 [[James Project&gt;http://james.apache.org/download.cgi]]
・James2.1.3 [[SVN&gt;https://svn.apache.org/repos/asf/james/server/tags/build_2_1_3_fcs/]]
・JBoss4.0.5GA [[jboss.org&gt;http://www.jboss.org/jbossas/downloads]]
・JBoss3.2.3 [[jboss.org&gt;http://www.jboss.org/jbossas/downloads/old]]
・JMXLauncher.jar [[Embedded James Wiki&gt;http://wiki.apache.org/james/Embedded]]
・phoenix-service.xml 同上


**[備考]
・Jamesのconfig.xmlでポート番号を変えるとエラー    </description>
    <dc:date>2008-10-10T14:49:08+09:00</dc:date>
    <utime>1223617748</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/chakimar/pages/34.html">
    <title>XMLとは？</title>
    <link>https://w.atwiki.jp/chakimar/pages/34.html</link>
    <description>
      ・XMLとは？：文書やデータの意味の構造を記述するためのマークアップ言語

・マークアップ言語とは？：タグと呼ばれる特定の文字列で地の分に構造を埋め込んでいく言語

・XMLはタグの意味を自分で決めることができる(メタ言語)

・HTMLとXMLは兄弟(親はSGML)

・HTMLは構造化ドキュメントを表現しにくい。そこでXMLを基にしてXHTMLが作られた

&amp;amazon(4797330627,text,image)    </description>
    <dc:date>2008-10-08T13:03:49+09:00</dc:date>
    <utime>1223438629</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/chakimar/pages/22.html">
    <title>文字列操作</title>
    <link>https://w.atwiki.jp/chakimar/pages/22.html</link>
    <description>
      **String型をint型に変換
 int num = Integer.parseInt(str);
try catch(NumberFormatException)で囲むとStringの中身が数値以外の時はじく

**文字列の長さを返す関数　length();
 int len = str.length();

**文字列を比較する関数　equals();
 boolean torf = A1.equals(A2);

**文字列を追加する関数　append();
 StringBuffer sb = new StringBuffer(str1); //str1は追加される方
 sb.append(str2);			　 //str2は追加する方

**文字列を挿入する関数　insert();
 StringBuffer sb = new StringBuffer(str1);
 sb.insert(5,str2); //追加したい場所までの文字数
英語も日本語も1文字と数える

**StringBufferをStringに変換する関数　toString();
 String str = sb.toString();

**文字列の指定された位置の文字を入手
 String str = &quot;abcd&quot;;
 char c = str.charAt(0);
c = &#039;a&#039;となる

**文字列の指定した位置からのコピーを入手
 String str = &quot;abcd&quot;;
 String str2 = str.substring(1); //substringのsは小文字！！
str2 = &quot;bcd&quot;となる

**数値を文字列に変換
 String str = Integer.toString(3);
または
 String str = String.valueOf(3);

**&quot;abcdef&quot;のうち&quot;abc&quot;までをコピーしたい場合
 String str = str.substring(0,3);

**String型はnullで初期化する
 String str = null;

**switchの条件文にString型は使えない

**int型をString型に変換
 String str = String.valueof.(num);

**文字列の生成について
 文字列をループの中でString str = str + &quot; &quot;;をするとstrというオブジェクトとstr + &quot;&quot;というオブジェクトができる
 だからメモリが足りなくなる！！→StringBufferで付け足す。
 Stringは不変オブジェクト

**特殊な文字列について
 &quot;\\&quot;は1文字とカウントされる
 &quot;\\&quot;だとStringのsplit()が使えない
   →&quot;\\u005c&quot;にすると使える

&amp;amazon(4797331828,text,image)    </description>
    <dc:date>2008-10-08T13:01:43+09:00</dc:date>
    <utime>1223438503</utime>
  </item>
  </rdf:RDF>
