You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rave.apache.org by "Scott Wilson (Created) (JIRA)" <ji...@apache.org> on 2011/11/03 12:17:32 UTC
[jira] [Created] (RAVE-335) Render W3C Widgets using their Height
and Width attributes
Render W3C Widgets using their Height and Width attributes
----------------------------------------------------------
Key: RAVE-335
URL: https://issues.apache.org/jira/browse/RAVE-335
Project: Rave
Issue Type: Story
Components: rave-w3c-provider
Affects Versions: 0.5-INCUBATING
Reporter: Scott Wilson
W3C Widgets define a "height" and "width" attribute in their metadata rather than calling an RPC method to reset the iFrame size.
When Rave renders a W3C Widget, it should use this metadata to set the iFrame size when rendered.
The metadata is available within the Widget start file itself by calling widget.height and widget.width. However this would only be directly accessible where Wookie is deployed at the same origin as Rave; an alternative would be to send a HTML5 PostMessage to the parent, or to add the RPC resize methods to W3C Widgets somehow.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (RAVE-335) Render W3C Widgets using their Height
and Width attributes
Posted by "Scott Wilson (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/RAVE-335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13143121#comment-13143121 ]
Scott Wilson commented on RAVE-335:
-----------------------------------
An alternative solution would be to add optional height and width parameters to the Widget base model.
> Render W3C Widgets using their Height and Width attributes
> ----------------------------------------------------------
>
> Key: RAVE-335
> URL: https://issues.apache.org/jira/browse/RAVE-335
> Project: Rave
> Issue Type: Story
> Components: rave-w3c-provider
> Affects Versions: 0.5-INCUBATING
> Reporter: Scott Wilson
> Labels: w3c
>
> W3C Widgets define a "height" and "width" attribute in their metadata rather than calling an RPC method to reset the iFrame size.
> When Rave renders a W3C Widget, it should use this metadata to set the iFrame size when rendered.
> The metadata is available within the Widget start file itself by calling widget.height and widget.width. However this would only be directly accessible where Wookie is deployed at the same origin as Rave; an alternative would be to send a HTML5 PostMessage to the parent, or to add the RPC resize methods to W3C Widgets somehow.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (RAVE-335) Render W3C Widgets using their Height
and Width attributes
Posted by "Scott Wilson (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/RAVE-335?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Scott Wilson resolved RAVE-335.
-------------------------------
Resolution: Fixed
Fix Version/s: 0.5-INCUBATING
This was fixed a while back by using a W3CWidget wrapper class rather than changing the base model, and using width and height parameters as supplied by Wookie to create min-width and min-height CSS values.
> Render W3C Widgets using their Height and Width attributes
> ----------------------------------------------------------
>
> Key: RAVE-335
> URL: https://issues.apache.org/jira/browse/RAVE-335
> Project: Rave
> Issue Type: Story
> Components: rave-w3c-provider
> Affects Versions: 0.5-INCUBATING
> Reporter: Scott Wilson
> Labels: w3c
> Fix For: 0.5-INCUBATING
>
>
> W3C Widgets define a "height" and "width" attribute in their metadata rather than calling an RPC method to reset the iFrame size.
> When Rave renders a W3C Widget, it should use this metadata to set the iFrame size when rendered.
> The metadata is available within the Widget start file itself by calling widget.height and widget.width. However this would only be directly accessible where Wookie is deployed at the same origin as Rave; an alternative would be to send a HTML5 PostMessage to the parent, or to add the RPC resize methods to W3C Widgets somehow.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira