incubator-clerezza-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reto Bachmann-Gmür (JIRA) <>
Subject [jira] Reopened: (CLEREZZA-47) Scripts: Overlay (virtual windows)
Date Mon, 04 Jan 2010 22:32:54 GMT


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>

<a href="#" onclick="new YAHOO.widget.Panel(document.getElementById('myOverlayBody')).render(document.body)">works</a><br/>

<a href="#" onclick="'myOverlayBody'), 'header', '20em',
'10em');">body is ignored</a> <br/>


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:
>             Project: Clerezza
>          Issue Type: Bug
>            Reporter: Reto Bachmann-Gmür
>            Assignee: Tsuyoshi Ito
> 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.

View raw message