[Maskat-develop 00034] iFrame部品の提案

Back to archive index

takan****@nttda***** takan****@nttda*****
2006年 12月 28日 (木) 17:28:36 JST


高野です。

マスカットに新しい部品を追加するアイデアです。
googleMapと同じようにiFrameを生成する部品です。
タブブラウザのように振舞うことができます。
こうすれば、複数のサーバから情報を取得して表示できます。

<レイアウト要素>
iFrame
<属性>
name=名前
top=左上のy座標
left=左上のx座標
width=横幅
height=縦幅
url=情報を取得するURL
method=GET or POST
body=POSTを指定した場合のBodyデータ

例:
タブアイテムの中にYahoo!とGoogleのトップページが表示される。

<tabFolder name="myTabs" top="10" left="10" width="1024" height="768"
widthTabName="80" noActiveTab="1" autoRedimTab="false">
  <tabItem name="myTabItem1" title="yahoo!">
    <iFrame name="yahoo" top="0" left="0" width="800" height="640"
url="http://www.yahoo.co.jp/" method="GET"/>
  </tabItem>
  <tabItem name="myTabItem2" title="google">
    <iFrame name="google" top="0" left="0" width="800" height="640"
url="http://www.google.co.jp/" method="GET"/>
  </tabItem>
  <tabItem name="myTabItem3" title="blank">
    <iFrame name="myiFrame" top="0" left="0" width="800" height="640"/>
  </tabItem>
</tabFolder>

イベント定義で動的にページを表示することも出来る。
<component id="myButton">
  <event id="onclick" type="local">
    <result>
      <target in="myText" out="myiFrame" teleType="iFrame.url"/>
    </result>
  </event>
</component>

とか

<component id="myButton">
  <event id="onclick" type="local">
    <result>
      <target in="myText" out="myiFrame" teleType="iFrame.url"/>
      <target in="myCombo" out="myiFrame" teleType="iFrame.method"/>      
      <target in="myText2" out="myiFrame" teleType="iFrame.body"/>
    </result>
  </event>
</component>

とか

<component id="myButton">
  <event id="onclick" type="local">
    <target>
      <source>
       ......
    </target>
    <result>
      <target out="myiFrame" in="url" teleType="iFrame.url"/>
    </result>
  </event>
</component>

いかがでしょう?
---
Kazutoshi TAKANO
NTT DATA CORPORATION
Phone:050-5546-2303 Fax:03-3532-0492
mailto:takan****@nttda*****
---

CONFIDENTIALITY NOTICE
The contents of this message, including any attachemts, are for the 
designated recipient only and may contain privileged, proprietary, or 
otherwise private information. If you have received it in error, please 
notify the sender immediately and delete the original.  Any other use 
of the email by you is prohibited. Thank you.



Maskat-develop メーリングリストの案内
Back to archive index