You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@clerezza.apache.org by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org> on 2009/12/21 10:36:18 UTC
[jira] Created: (CLEREZZA-47) Scripts: Overlay (virtual windows)
Scripts: Overlay (virtual windows)
----------------------------------
Key: CLEREZZA-47
URL: https://issues.apache.org/jira/browse/CLEREZZA-47
Project: Clerezza
Issue Type: Bug
Reporter: Reto Bachmann-Gmür
http://svn.apache.org/viewvc/incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.webapp.parent/org.apache.clerezza.web.resources.scripts/src/main/resources/org/apache/clerezza/web/resources/scripts/staticweb/overlay.js
implements such an overly with significant limitations:
- the size has to be expressed in pixel (even though the comment implies the unit is part of the argument, expected is just a number of pixel)
- the body can only be text and not an arbitrary element
- the default size is absolute rather than in proportion of the window size
- documentation in webguiexample is mssing
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Reopened: (CLEREZZA-47) Scripts: Overlay (virtual windows)
Posted by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CLEREZZA-47?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Reto Bachmann-Gmür reopened CLEREZZA-47:
----------------------------------------
> Scripts: Overlay (virtual windows)
> ----------------------------------
>
> Key: CLEREZZA-47
> URL: https://issues.apache.org/jira/browse/CLEREZZA-47
> Project: Clerezza
> Issue Type: Bug
> Reporter: Reto Bachmann-Gmür
> Assignee: Tsuyoshi Ito
>
> http://svn.apache.org/viewvc/incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.webapp.parent/org.apache.clerezza.web.resources.scripts/src/main/resources/org/apache/clerezza/web/resources/scripts/staticweb/overlay.js
>
> implements such an overly with significant limitations:
> - the size has to be expressed in pixel (even though the comment implies the unit is part of the argument, expected is just a number of pixel)
> - the body can only be text and not an arbitrary element
> - the default size is absolute rather than in proportion of the window size
> - documentation in webguiexample is mssing
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (CLEREZZA-47) Scripts: Overlay (virtual windows)
Posted by "Tsuyoshi Ito (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CLEREZZA-47?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsuyoshi Ito reassigned CLEREZZA-47:
------------------------------------
Assignee: Tsuyoshi Ito
> Scripts: Overlay (virtual windows)
> ----------------------------------
>
> Key: CLEREZZA-47
> URL: https://issues.apache.org/jira/browse/CLEREZZA-47
> Project: Clerezza
> Issue Type: Bug
> Reporter: Reto Bachmann-Gmür
> Assignee: Tsuyoshi Ito
>
> http://svn.apache.org/viewvc/incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.webapp.parent/org.apache.clerezza.web.resources.scripts/src/main/resources/org/apache/clerezza/web/resources/scripts/staticweb/overlay.js
>
> implements such an overly with significant limitations:
> - the size has to be expressed in pixel (even though the comment implies the unit is part of the argument, expected is just a number of pixel)
> - the body can only be text and not an arbitrary element
> - the default size is absolute rather than in proportion of the window size
> - documentation in webguiexample is mssing
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (CLEREZZA-47) Scripts: Overlay (virtual windows)
Posted by "Tsuyoshi Ito (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CLEREZZA-47?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsuyoshi Ito resolved CLEREZZA-47.
----------------------------------
Resolution: Fixed
> Scripts: Overlay (virtual windows)
> ----------------------------------
>
> Key: CLEREZZA-47
> URL: https://issues.apache.org/jira/browse/CLEREZZA-47
> Project: Clerezza
> Issue Type: Bug
> Reporter: Reto Bachmann-Gmür
> Assignee: Tsuyoshi Ito
>
> http://svn.apache.org/viewvc/incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.webapp.parent/org.apache.clerezza.web.resources.scripts/src/main/resources/org/apache/clerezza/web/resources/scripts/staticweb/overlay.js
>
> implements such an overly with significant limitations:
> - the size has to be expressed in pixel (even though the comment implies the unit is part of the argument, expected is just a number of pixel)
> - the body can only be text and not an arbitrary element
> - the default size is absolute rather than in proportion of the window size
> - documentation in webguiexample is mssing
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (CLEREZZA-47) Scripts: Overlay (virtual windows)
Posted by "Tsuyoshi Ito (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CLEREZZA-47?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsuyoshi Ito resolved CLEREZZA-47.
----------------------------------
Resolution: Fixed
> Scripts: Overlay (virtual windows)
> ----------------------------------
>
> Key: CLEREZZA-47
> URL: https://issues.apache.org/jira/browse/CLEREZZA-47
> Project: Clerezza
> Issue Type: Bug
> Reporter: Reto Bachmann-Gmür
> Assignee: Tsuyoshi Ito
>
> http://svn.apache.org/viewvc/incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.webapp.parent/org.apache.clerezza.web.resources.scripts/src/main/resources/org/apache/clerezza/web/resources/scripts/staticweb/overlay.js
>
> implements such an overly with significant limitations:
> - the size has to be expressed in pixel (even though the comment implies the unit is part of the argument, expected is just a number of pixel)
> - the body can only be text and not an arbitrary element
> - the default size is absolute rather than in proportion of the window size
> - documentation in webguiexample is mssing
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CLEREZZA-47) Scripts: Overlay (virtual windows)
Posted by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CLEREZZA-47?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12832007#action_12832007 ]
Reto Bachmann-Gmür commented on CLEREZZA-47:
--------------------------------------------
reviewing
> Scripts: Overlay (virtual windows)
> ----------------------------------
>
> Key: CLEREZZA-47
> URL: https://issues.apache.org/jira/browse/CLEREZZA-47
> Project: Clerezza
> Issue Type: Bug
> Reporter: Reto Bachmann-Gmür
> Assignee: Tsuyoshi Ito
>
> http://svn.apache.org/viewvc/incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.webapp.parent/org.apache.clerezza.web.resources.scripts/src/main/resources/org/apache/clerezza/web/resources/scripts/staticweb/overlay.js
>
> implements such an overly with significant limitations:
> - the size has to be expressed in pixel (even though the comment implies the unit is part of the argument, expected is just a number of pixel)
> - the body can only be text and not an arbitrary element
> - the default size is absolute rather than in proportion of the window size
> - documentation in webguiexample is mssing
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (CLEREZZA-47) Scripts: Overlay (virtual windows)
Posted by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CLEREZZA-47?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Reto Bachmann-Gmür closed CLEREZZA-47.
--------------------------------------
Resolution: Fixed
closed after fixing what seemed mots obvious
> Scripts: Overlay (virtual windows)
> ----------------------------------
>
> Key: CLEREZZA-47
> URL: https://issues.apache.org/jira/browse/CLEREZZA-47
> Project: Clerezza
> Issue Type: Bug
> Reporter: Reto Bachmann-Gmür
> Assignee: Tsuyoshi Ito
>
> http://svn.apache.org/viewvc/incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.webapp.parent/org.apache.clerezza.web.resources.scripts/src/main/resources/org/apache/clerezza/web/resources/scripts/staticweb/overlay.js
>
> implements such an overly with significant limitations:
> - the size has to be expressed in pixel (even though the comment implies the unit is part of the argument, expected is just a number of pixel)
> - the body can only be text and not an arbitrary element
> - the default size is absolute rather than in proportion of the window size
> - documentation in webguiexample is mssing
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Reopened: (CLEREZZA-47) Scripts: Overlay (virtual windows)
Posted by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CLEREZZA-47?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Reto Bachmann-Gmür reopened CLEREZZA-47:
----------------------------------------
as constructor in the example its still serialized html thats passed as argument. It doesn't work when I pass an HTMLElement.
According to the yui documentation HTMLElement are supported (if they weren't that would in my opinion exclude yui in implementing this feature.
A quick tests confirms that the yui widget supprt an HTMNLElement as constructor argument
...
<div style="display: none">
<div id="myOverlayBody">body!</div>
</div>
<div>
<a href="#" onclick="new YAHOO.widget.Panel(document.getElementById('myOverlayBody')).render(document.body)">works</a><br/>
<a href="#" onclick="Overlay.show(document.getElementById('myOverlayBody'), 'header', '20em', '10em');">body is ignored</a> <br/>
</div>
</body>
</html>
In the script the constructir is called with: new YAHOO.widget.Panel("tx-assetsdetail", ....
not sure hwat the string "tx-assetdetail" is here for, and why the correct body isn't set right away.
> Scripts: Overlay (virtual windows)
> ----------------------------------
>
> Key: CLEREZZA-47
> URL: https://issues.apache.org/jira/browse/CLEREZZA-47
> Project: Clerezza
> Issue Type: Bug
> Reporter: Reto Bachmann-Gmür
> Assignee: Tsuyoshi Ito
>
> http://svn.apache.org/viewvc/incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.webapp.parent/org.apache.clerezza.web.resources.scripts/src/main/resources/org/apache/clerezza/web/resources/scripts/staticweb/overlay.js
>
> implements such an overly with significant limitations:
> - the size has to be expressed in pixel (even though the comment implies the unit is part of the argument, expected is just a number of pixel)
> - the body can only be text and not an arbitrary element
> - the default size is absolute rather than in proportion of the window size
> - documentation in webguiexample is mssing
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CLEREZZA-47) Scripts: Overlay (virtual windows)
Posted by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CLEREZZA-47?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12793605#action_12793605 ]
Reto Bachmann-Gmür commented on CLEREZZA-47:
--------------------------------------------
reviewing
> Scripts: Overlay (virtual windows)
> ----------------------------------
>
> Key: CLEREZZA-47
> URL: https://issues.apache.org/jira/browse/CLEREZZA-47
> Project: Clerezza
> Issue Type: Bug
> Reporter: Reto Bachmann-Gmür
> Assignee: Tsuyoshi Ito
>
> http://svn.apache.org/viewvc/incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.webapp.parent/org.apache.clerezza.web.resources.scripts/src/main/resources/org/apache/clerezza/web/resources/scripts/staticweb/overlay.js
>
> implements such an overly with significant limitations:
> - the size has to be expressed in pixel (even though the comment implies the unit is part of the argument, expected is just a number of pixel)
> - the body can only be text and not an arbitrary element
> - the default size is absolute rather than in proportion of the window size
> - documentation in webguiexample is mssing
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CLEREZZA-47) Scripts: Overlay (virtual windows)
Posted by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CLEREZZA-47?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12832014#action_12832014 ]
Reto Bachmann-Gmür commented on CLEREZZA-47:
--------------------------------------------
ok, mistakenly thought this would ne resolved again.
> Scripts: Overlay (virtual windows)
> ----------------------------------
>
> Key: CLEREZZA-47
> URL: https://issues.apache.org/jira/browse/CLEREZZA-47
> Project: Clerezza
> Issue Type: Bug
> Reporter: Reto Bachmann-Gmür
> Assignee: Tsuyoshi Ito
>
> http://svn.apache.org/viewvc/incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.webapp.parent/org.apache.clerezza.web.resources.scripts/src/main/resources/org/apache/clerezza/web/resources/scripts/staticweb/overlay.js
>
> implements such an overly with significant limitations:
> - the size has to be expressed in pixel (even though the comment implies the unit is part of the argument, expected is just a number of pixel)
> - the body can only be text and not an arbitrary element
> - the default size is absolute rather than in proportion of the window size
> - documentation in webguiexample is mssing
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CLEREZZA-47) Scripts: Overlay (virtual windows)
Posted by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CLEREZZA-47?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12793609#action_12793609 ]
Reto Bachmann-Gmür commented on CLEREZZA-47:
--------------------------------------------
adding the html as string representation doesn't convince me, it make its hard to edit (also, afaik it is only legal in xml mode since html 5).
so I'd suggest:
<body>
<div>
<div style="display: none">
<div id="myOverlayBody">body<div/>
</div>
<a href="#" onclick="Overlay.show(document.getElementById('myOverlyBody', 'header', '20em', '10em');">click here to add the overlay </a> <br/>
</div>
</body>
> Scripts: Overlay (virtual windows)
> ----------------------------------
>
> Key: CLEREZZA-47
> URL: https://issues.apache.org/jira/browse/CLEREZZA-47
> Project: Clerezza
> Issue Type: Bug
> Reporter: Reto Bachmann-Gmür
> Assignee: Tsuyoshi Ito
>
> http://svn.apache.org/viewvc/incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.webapp.parent/org.apache.clerezza.web.resources.scripts/src/main/resources/org/apache/clerezza/web/resources/scripts/staticweb/overlay.js
>
> implements such an overly with significant limitations:
> - the size has to be expressed in pixel (even though the comment implies the unit is part of the argument, expected is just a number of pixel)
> - the body can only be text and not an arbitrary element
> - the default size is absolute rather than in proportion of the window size
> - documentation in webguiexample is mssing
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CLEREZZA-47) Scripts: Overlay (virtual windows)
Posted by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CLEREZZA-47?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12793974#action_12793974 ]
Reto Bachmann-Gmür commented on CLEREZZA-47:
--------------------------------------------
the default size should be in proportion to the window rather than to the font size
> Scripts: Overlay (virtual windows)
> ----------------------------------
>
> Key: CLEREZZA-47
> URL: https://issues.apache.org/jira/browse/CLEREZZA-47
> Project: Clerezza
> Issue Type: Bug
> Reporter: Reto Bachmann-Gmür
> Assignee: Tsuyoshi Ito
>
> http://svn.apache.org/viewvc/incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.webapp.parent/org.apache.clerezza.web.resources.scripts/src/main/resources/org/apache/clerezza/web/resources/scripts/staticweb/overlay.js
>
> implements such an overly with significant limitations:
> - the size has to be expressed in pixel (even though the comment implies the unit is part of the argument, expected is just a number of pixel)
> - the body can only be text and not an arbitrary element
> - the default size is absolute rather than in proportion of the window size
> - documentation in webguiexample is mssing
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.