tapestry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ulrich Stärk (JIRA) <j...@apache.org>
Subject [jira] Commented: (TAP5-558) Create modal dialog component
Date Thu, 18 Feb 2010 10:31:28 GMT

    [ https://issues.apache.org/jira/browse/TAP5-558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12835158#action_12835158
] 

Ulrich Stärk commented on TAP5-558:
-----------------------------------

That progressive display part is a bit tricky. Right now you can simply place a ProgressiveDisplay
inside a dialog but the contents will be loaded right away, regardless of whether the dialog
is visible or not. That seems to me to somehow contradict the purpose of a dialog. The content
should only be loaded when the dialog is shown. Since there is no event we can observe to
trigger the loading only when the progressivedisplay is visible, we would have to trigger
the update from inside the dialogs javascript code and that will make changes to the Tapestry.ZoneManager
and ProgressiveDisplay necessary.

The other alternative would be to reimplement progressivedisplays functionality as part of
the dialog component (which isn't much, thankfully).

There will be similar problems with the dialog acting as a kind of formfragment, though.

What do you think?

Uli

> Create modal dialog component
> -----------------------------
>
>                 Key: TAP5-558
>                 URL: https://issues.apache.org/jira/browse/TAP5-558
>             Project: Tapestry 5
>          Issue Type: New Feature
>          Components: tapestry-core
>            Reporter: Ville Virtanen
>            Assignee: Ulrich Stärk
>
> Tapestry's AJAX support is missing one important component, modal (or non-modal) dialog.
Dialog could be created with http://www.wildbit.com/labs/modalbox/ or http://roland.devarea.nl/dialog/
or http://github.com/robhurring/prototype-dialog/ or http://livepipe.net/control/window
> After quick look first one looks like most professional.

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


Mime
View raw message