[ 
https://issues.apache.org/jira/browse/APA-39?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12860328#action_12860328
 ] 

Woonsan Ko edited comment on APA-39 at 4/28/10 7:00 AM:
--------------------------------------------------------

This task doesn't seem to be big than I expected.
Wookie Widget Portlet could be regarded as just a special instance of the 
existing IFramePortlet with special edit mode page.

If you want to add a Wookie Widget in a web page, you need to visit the Wookie 
Instantation page to instantiate a widget.
And, the page just returns a widget xml like the following:

<widgetdata>
    
<url>http://localhost:8080/wookie/wservices/www.opera.com/widgets/bubbles/index.html?idkey=na.pl.UPRhI1INGVByA5NWr5787LhA.eq.&proxy=http://localhost:8080/wookie/proxy&st=testuser%3Atestuser%3Ahttp%253A%252F%252Fwww.opera.com%252Fwidgets%252Fbubbles%3Awookie%3A%252Fwookie%252Fwservices%252Fwww.opera.com%252Fwidgets%252Fbubbles%252Findex.html%3A0%3Ana.pl.UPRhI1INGVByA5NWr5787LhA.eq.
 </url>
    <identifier>na.pl.UPRhI1INGVByA5NWr5787LhA.eq.</identifier>
    <title>Bubbles</title>
    <height>320</height>
    <width>240</width>
</widgetdata>

So, the portlet could just use the url in the xml data to render the url in an 
iframe.

      was (Author: woon_san):
    This task doesn't seem to be big than I expected.
Wookie Widget Portlet could be regarded as just a special instance of the 
existing WebWidgetIFramePortlet with special edit mode page.

If you want to add a Wookie Widget in a web page, you need to visit the Wookie 
Instantation page to instantiate a widget.
And, the page just returns a widget xml like the following:

<widgetdata>
    
<url>http://localhost:8080/wookie/wservices/www.opera.com/widgets/bubbles/index.html?idkey=na.pl.UPRhI1INGVByA5NWr5787LhA.eq.&proxy=http://localhost:8080/wookie/proxy&st=testuser%3Atestuser%3Ahttp%253A%252F%252Fwww.opera.com%252Fwidgets%252Fbubbles%3Awookie%3A%252Fwookie%252Fwservices%252Fwww.opera.com%252Fwidgets%252Fbubbles%252Findex.html%3A0%3Ana.pl.UPRhI1INGVByA5NWr5787LhA.eq.</url>
    <identifier>na.pl.UPRhI1INGVByA5NWr5787LhA.eq.</identifier>
    <title>Bubbles</title>
    <height>320</height>
    <width>240</width>
</widgetdata>

So, the portlet could just use the url in the xml data to render the url in an 
iframe.
  
> Wookie Widget Portlet support
> -----------------------------
>
>                 Key: APA-39
>                 URL: https://issues.apache.org/jira/browse/APA-39
>             Project: Portals Apps
>          Issue Type: New Feature
>          Components: apa-gems
>    Affects Versions: apa-gems-1.1
>            Reporter: Woonsan Ko
>            Assignee: Woonsan Ko
>             Fix For: apa-gems-1.2
>
>
> Add Wookie Widget Portlet based on REST API and YUI3.
> Because Wookie server should be manually installed by users, please add a 
> brief documentation on how-to.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to