Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Upcoming SlideShare
もっとデータ可視化をカジュアルに! OSSプロジェクト「E2D3」
Next
Download to read offline and view in fullscreen.

1

Share

Download to read offline

Communication between Wicket and Flex

Download to read offline

Wicket勉強会 2011-01 で発表した、WicketのAjax*系のコンポーネントとFlexプログラムをどう連携させるかについてのスライドです。

Related Books

Free with a 30 day trial from Scribd

See all

Related Audiobooks

Free with a 30 day trial from Scribd

See all

Communication between Wicket and Flex

  1. 1. Wicket Flex  (chiemrast)
  2. 2. •  WEB   •  P2P   •  Wicket  •  SPEEDA   •  •  Wicket   •  Ajax  •  S2Wicket   •  S2Container Wicket   •  S2Dao S2Flex 2  •  NEET   •  Twi@er:  @chimerast              blog:  h@p://chimera.st/  
  3. 3. Wicket Flex •  Wicket Ajax* Flash/Flex   •  Flex BlazeDS  •  Flex Javascript Wicket   Flex:   //  Flex Javascript   ExtenralInterface.addCallback(…);   //  Javascript   ExternalInterface.call(…);
  4. 4. Wicket  →  Flex •  AjaxRequestTarget appendJavascript() Javascript Flex  1.  Flex createComplete   Flex:   ExternalInterface.addCallback(      "< >",  < >);   Javascript    2.  Wicket Javascript   Java:   target.appendJavascript(   "Wicket.$(<embed>  or  <object> id’)      .< >(< >...)");
  5. 5. Flex  →  Wicket •  AbstractDefaultAjaxBehavior WebPage Javascript Wicket Flex  1.  AbstractDefaultAjaxBehavior.renderHead() Javascript   Java:   response.renderJavascript(String.format(      "function  < >(value)  {  "  +          "wicketAjaxGet(%s&params=’  "  +              "+  encodeURIComponent(value));"  +      "}",  getCallbackUrl()),  " id");
  6. 6. Flex  →  Wicket   2.  Flex     Flex:     ExternalInterface.call("< >",  < >); 3.  AbstractDefaultAjaxBehavior.respond() getRequest().getParameter() Ajax Java:   @Override   protected  void  respond(AjaxRequestTarget  target)  {   String  params  =   getRequest().getParameter("params");   //   }  
  7. 7. •  Flex  ó  Javascript   •   •  Javascript  ó  Wicket   •  Javascript wicketAjaxGet() Wicket URI encodeURIComponent()   •  AjaxTarget.appendJavascript() Javascript Javascript •  Tomcat   •  Tomcat HTTP server.xml <Connector> URIEncoding=“UTF-­‐8” (Tomcat  5.0 )   •  setResponseRequestEncoding()  
  8. 8. • 
  • yukung

    Jan. 22, 2011

Wicket勉強会 2011-01 で発表した、WicketのAjax*系のコンポーネントとFlexプログラムをどう連携させるかについてのスライドです。

Views

Total views

2,724

On Slideshare

0

From embeds

0

Number of embeds

1,042

Actions

Downloads

5

Shares

0

Comments

0

Likes

1

×