You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xap-dev@incubator.apache.org by "Rob Gagne (JIRA)" <xa...@incubator.apache.org> on 2006/12/06 05:36:21 UTC

[jira] Commented: (XAP-199) Submitting transitionPanel

    [ http://issues.apache.org/jira/browse/XAP-199?page=comments#action_12455870 ] 
            
Rob Gagne commented on XAP-199:
-------------------------------

toggle: blind, fade - this will cause the component to toggle between visible and not visible using the specified effect
effect: blindup, blinddown, appear, fade, highlight
duration: provides the duration for the above effects

Requires scriptaculous to be preloaded.

Example
    <ext:transition xmlns:ext="http://openxal.org/ext" id="extra" visible="false" width="800px">
    <verticalBoxPane width="100%" height="100%">
      <horizontalBoxPane padding="0px 0px 5px 0px">
        <label height="20px" text="Adding an extra" width="150px"/>
        <textField height="20px" text="TextField" width="80px"/>
        <label height="20px" margin="0px 0px 0px 5px" text="every month to your payment"
          width="200px"/>
      </horizontalBoxPane>
    </verticalBoxPane>
    </ext:transition>

Calling the following macro will cause this panel to slide in and out of existance

  <macro:macro xmlns:macro="http://openxal.org/core/macro" id="toggle" name="toggle">
    <xu:modifications xmlns:xu="http://openxal.org/core/xmodify">
      <xu:set-attribute select="id('extra')">
        <xu:attribute name="toggle" value="blind"/>
      </xu:set-attribute>
    </xu:modifications>
  </macro:macro>  


> Submitting transitionPanel
> --------------------------
>
>                 Key: XAP-199
>                 URL: http://issues.apache.org/jira/browse/XAP-199
>             Project: XAP
>          Issue Type: New Feature
>          Components: Widgets
>            Reporter: Rob Gagne
>         Attachments: transitionPanel.patch
>
>
> Provides a XAP compliant container that supports scriptaculous events.
> Provides the following attributes:

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira