You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Jorge Saridis <js...@gmail.com> on 2009/03/21 22:55:22 UTC

dialog component

Hi, does anybody know if there is an Ajax Dialog component for tapestry
5 like the one for tapestry 4.1?
Thanks in advance
George

Re: dialog component

Posted by Jorge Saridis <js...@gmail.com>.
As Sven, feel free to post me the code. I will package it as a library.
Thanks


On Mon, 2009-03-23 at 21:42 +0100, Sven Homburg wrote:

> feel free to post me the code, so i can inject your components into the
> CK-Project
> 
> 2009/3/23 Fernando Padilla <fe...@alum.mit.edu>
> 
> > I'm just saying.. :)
> >
> > I was waiting for tapestry to support pluggable javascript base.. then I
> > would push/support a YUI/tapestry base, which zoneDialog would be part of
> > that. :)
> >
> > But actually it might not be too hard to package up the ZoneDialog/YUI as a
> > stand-alone library.  Though at the moment, I don't have much free time, but
> > if anyone else is intereested.
> >
> > I also have a version of the autocomplete with yui too.  It supports the
> > same event call back as tapestry's autocomplete mixing to execute the
> > serach, but it does support client-side rendering of that (not just
> > server-side).
> >
> >
> > Thiago H. de Paula Figueiredo wrote:
> >
> >> Em Mon, 23 Mar 2009 15:42:19 -0300, Fernando Padilla <fe...@alum.mit.edu>
> >> escreveu:
> >>
> >>  if someone is actually going to be doing a "dialog" component for
> >>> tapestry, please just think about doing a zoneDialog component :)
> >>>
> >>
> >> Nice idea!
> >>
> >>  In our company we created a zone.dialog backed by YUI ( since it's YUI, i
> >>> have not submitted it to tapestry.. ).
> >>>
> >>
> >> As long as YUI license is Apache 2-compatible, I don't think this would be
> >> an issue. By the way, you can contribute it to Chenille Kit or host a new
> >> project in Tapestry 360.
> >>
> >>
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> > For additional commands, e-mail: users-help@tapestry.apache.org
> >
> >
> 
> 

Re: dialog component

Posted by Sven Homburg <ho...@googlemail.com>.
feel free to post me the code, so i can inject your components into the
CK-Project

2009/3/23 Fernando Padilla <fe...@alum.mit.edu>

> I'm just saying.. :)
>
> I was waiting for tapestry to support pluggable javascript base.. then I
> would push/support a YUI/tapestry base, which zoneDialog would be part of
> that. :)
>
> But actually it might not be too hard to package up the ZoneDialog/YUI as a
> stand-alone library.  Though at the moment, I don't have much free time, but
> if anyone else is intereested.
>
> I also have a version of the autocomplete with yui too.  It supports the
> same event call back as tapestry's autocomplete mixing to execute the
> serach, but it does support client-side rendering of that (not just
> server-side).
>
>
> Thiago H. de Paula Figueiredo wrote:
>
>> Em Mon, 23 Mar 2009 15:42:19 -0300, Fernando Padilla <fe...@alum.mit.edu>
>> escreveu:
>>
>>  if someone is actually going to be doing a "dialog" component for
>>> tapestry, please just think about doing a zoneDialog component :)
>>>
>>
>> Nice idea!
>>
>>  In our company we created a zone.dialog backed by YUI ( since it's YUI, i
>>> have not submitted it to tapestry.. ).
>>>
>>
>> As long as YUI license is Apache 2-compatible, I don't think this would be
>> an issue. By the way, you can contribute it to Chenille Kit or host a new
>> project in Tapestry 360.
>>
>>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>


-- 
with regards
Sven Homburg
http://www.chenillekit.org
http://tapestry5-components.googlecode.com

Re: dialog component

Posted by Fernando Padilla <fe...@alum.mit.edu>.
I'm just saying.. :)

I was waiting for tapestry to support pluggable javascript base.. then I 
would push/support a YUI/tapestry base, which zoneDialog would be part 
of that. :)

But actually it might not be too hard to package up the ZoneDialog/YUI 
as a stand-alone library.  Though at the moment, I don't have much free 
time, but if anyone else is intereested.

I also have a version of the autocomplete with yui too.  It supports the 
same event call back as tapestry's autocomplete mixing to execute the 
serach, but it does support client-side rendering of that (not just 
server-side).


Thiago H. de Paula Figueiredo wrote:
> Em Mon, 23 Mar 2009 15:42:19 -0300, Fernando Padilla <fe...@alum.mit.edu> 
> escreveu:
> 
>> if someone is actually going to be doing a "dialog" component for 
>> tapestry, please just think about doing a zoneDialog component :)
> 
> Nice idea!
> 
>> In our company we created a zone.dialog backed by YUI ( since it's 
>> YUI, i have not submitted it to tapestry.. ).
> 
> As long as YUI license is Apache 2-compatible, I don't think this would 
> be an issue. By the way, you can contribute it to Chenille Kit or host a 
> new project in Tapestry 360.
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: dialog component

Posted by "Thiago H. de Paula Figueiredo" <th...@gmail.com>.
Em Mon, 23 Mar 2009 15:42:19 -0300, Fernando Padilla <fe...@alum.mit.edu>  
escreveu:

> if someone is actually going to be doing a "dialog" component for  
> tapestry, please just think about doing a zoneDialog component :)

Nice idea!

> In our company we created a zone.dialog backed by YUI ( since it's YUI,  
> i have not submitted it to tapestry.. ).

As long as YUI license is Apache 2-compatible, I don't think this would be  
an issue. By the way, you can contribute it to Chenille Kit or host a new  
project in Tapestry 360.

-- 
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: dialog component

Posted by Fernando Padilla <fe...@alum.mit.edu>.
if someone is actually going to be doing a "dialog" component for 
tapestry, please just think about doing a zoneDialog component :)

In our company we created a zone.dialog backed by YUI ( since it's YUI, 
i have not submitted it to tapestry.. ).  So it's really easy, and quite 
popular.  It works just like a normal Zone, except that it pops up a 
dialog, instead of putting it inside of the page. :)

zones are already encapsulated behind the ZoneManager interface, you 
just have to create a new ZoneManager that deals with the dialog, 
instead of simply squirting the html content within a div..


Ville Virtanen wrote:
> Here is an example of an confirm dialog that intercepts the users click and
> displays question "proceed?" to the user. If that was what you are after?
> 
> http://wiki.apache.org/tapestry/Tapestry5AndJavaScriptExplained
> 
>  - Ville
> 
> 
> Jorge Saridis wrote:
>> Ville, I did vote
>>
>> Can you tell me how to invoke a javascript function from a server side
>> event? For example before the "onActionFromXXX" actionlink event.
>> Thanks in advance
>> Jorge
>>
>> On Sun, 2009-03-22 at 02:41 -0700, Ville Virtanen wrote:
>>
>>> Hi,
>>>
>>> Please vote the JIRA issue https://issues.apache.org/jira/browse/TAP5-558 
>>>
>>> I created that because in my opinion T5 is missing real usable dialog
>>> component currently. (It should be part of the main distribution imho.)
>>>
>>>  - Ville
>>>
>>>
>>> Jorge Saridis wrote:
>>>> Hi, does anybody know if there is an Ajax Dialog component for tapestry
>>>> 5 like the one for tapestry 4.1?
>>>> Thanks in advance
>>>> George
>>>>
>>>>
>>
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: dialog component

Posted by Ville Virtanen <vi...@cerion.fi>.
Here is an example of an confirm dialog that intercepts the users click and
displays question "proceed?" to the user. If that was what you are after?

http://wiki.apache.org/tapestry/Tapestry5AndJavaScriptExplained

 - Ville


Jorge Saridis wrote:
> 
> Ville, I did vote
> 
> Can you tell me how to invoke a javascript function from a server side
> event? For example before the "onActionFromXXX" actionlink event.
> Thanks in advance
> Jorge
> 
> On Sun, 2009-03-22 at 02:41 -0700, Ville Virtanen wrote:
> 
>> Hi,
>> 
>> Please vote the JIRA issue https://issues.apache.org/jira/browse/TAP5-558 
>> 
>> I created that because in my opinion T5 is missing real usable dialog
>> component currently. (It should be part of the main distribution imho.)
>> 
>>  - Ville
>> 
>> 
>> Jorge Saridis wrote:
>> > 
>> > Hi, does anybody know if there is an Ajax Dialog component for tapestry
>> > 5 like the one for tapestry 4.1?
>> > Thanks in advance
>> > George
>> > 
>> > 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/dialog-component-tp22640798p22654922.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: dialog component

Posted by Jorge Saridis <js...@gmail.com>.
Ville, I did vote

Can you tell me how to invoke a javascript function from a server side
event? For example before the "onActionFromXXX" actionlink event.
Thanks in advance
Jorge

On Sun, 2009-03-22 at 02:41 -0700, Ville Virtanen wrote:

> Hi,
> 
> Please vote the JIRA issue https://issues.apache.org/jira/browse/TAP5-558 
> 
> I created that because in my opinion T5 is missing real usable dialog
> component currently. (It should be part of the main distribution imho.)
> 
>  - Ville
> 
> 
> Jorge Saridis wrote:
> > 
> > Hi, does anybody know if there is an Ajax Dialog component for tapestry
> > 5 like the one for tapestry 4.1?
> > Thanks in advance
> > George
> > 
> > 
> 

Re: dialog component

Posted by Ville Virtanen <vi...@cerion.fi>.
Hi,

Please vote the JIRA issue https://issues.apache.org/jira/browse/TAP5-558 

I created that because in my opinion T5 is missing real usable dialog
component currently. (It should be part of the main distribution imho.)

 - Ville


Jorge Saridis wrote:
> 
> Hi, does anybody know if there is an Ajax Dialog component for tapestry
> 5 like the one for tapestry 4.1?
> Thanks in advance
> George
> 
> 

-- 
View this message in context: http://www.nabble.com/dialog-component-tp22640798p22644487.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


RE: dialog component

Posted by Jorge Saridis <js...@gmail.com>.
Robert, thank you very much for your answer.
I've been using this component. It's working better with the javascript
upgrade.
I don't know how to call a server side function while showing the
dialog. And if the dialog contains a form, how can I close it from the
submission server side event?
Thanks again

PS: how can I invoke a javascript function from a tapestry 5 page?


On Sat, 2009-03-21 at 19:00 -0400, Robert, Brice wrote:

> Use the ChenilleKit Window Component
> 
> http://www.chenillekit.org/chenillekit-tapestry/ref/org/chenillekit/tape
> stry/core/components/Window.html 
> 
> but you have to upgrade prototype since the one shipped with 5.0.18 has
> a bug.
> https://issues.apache.org/jira/browse/TAP5-416
> 
> -----Original Message-----
> From: Jorge Saridis [mailto:jsaridis@gmail.com] 
> Sent: Saturday, March 21, 2009 5:55 PM
> To: users@tapestry.apache.org
> Subject: dialog component
> 
> Hi, does anybody know if there is an Ajax Dialog component for tapestry
> 5 like the one for tapestry 4.1?
> Thanks in advance
> George
> -----------------------------------------------------------------------------------
> The information contained in the linked e-mail transmission and any
> attachments may be privileged and confidential and is intended only for
> the use of the person(s) named in the linked e-mail transmission. If you
> are not the intended recipient, or an employee or agent responsible for
> delivering this message to the intended recipient, you should not
> review, disseminate, distribute or duplicate this e-mail transmission or
> any attachments. If you are not the intended recipient, please contact
> the sender immediately by reply e-mail and destroy all copies of the 
> original message. We do not accept account orders and/or instructions
> related to AllianceBernstein products or services by e-mail, and
> therefore will not be responsible for carrying out such orders and/or
> instructions. The linked e-mail transmission and any attachments are
> provided for informational purposes only and should not be construed in
> any manner as any solicitation or offer to buy or sell any investment
> opportunities or any related financial instruments and should not be
> construed in any manner as a public offer of any investment
> opportunities or any related financial instruments.  If you, as the
> intended recipient of the linked e-mail transmission, the purpose of
> which is to inform and update our clients, prospects and consultants of
> developments relating to our services and products, would not like to
> receive further e-mail correspondence from the sender, please "reply"
> to the sender indicating your wishes.  Although we attempt to sweep 
> e-mail and attachments for viruses, we will not be liable for any
> damages arising from the alteration of the contents of this linked e-mail
> transmission and any attachments by a third party or as a result of any
> virus being passed on. Please note: Trading instructions sent
> electronically to Bernstein shall not be deemed accepted until a
> representative of Bernstein acknowledges receipt electronically or by
> telephone. Comments in the linked e-mail transmission and any
> attachments are part of a larger body of investment analysis. For our
> research reports, which contain information that may be used to
> support investment decisions, and disclosures, see our website at
> www.bernsteinresearch.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
> 

RE: dialog component

Posted by "Robert, Brice" <Br...@alliancebernstein.com>.
Use the ChenilleKit Window Component

http://www.chenillekit.org/chenillekit-tapestry/ref/org/chenillekit/tape
stry/core/components/Window.html 

but you have to upgrade prototype since the one shipped with 5.0.18 has
a bug.
https://issues.apache.org/jira/browse/TAP5-416

-----Original Message-----
From: Jorge Saridis [mailto:jsaridis@gmail.com] 
Sent: Saturday, March 21, 2009 5:55 PM
To: users@tapestry.apache.org
Subject: dialog component

Hi, does anybody know if there is an Ajax Dialog component for tapestry
5 like the one for tapestry 4.1?
Thanks in advance
George
-----------------------------------------------------------------------------------
The information contained in the linked e-mail transmission and any
attachments may be privileged and confidential and is intended only for
the use of the person(s) named in the linked e-mail transmission. If you
are not the intended recipient, or an employee or agent responsible for
delivering this message to the intended recipient, you should not
review, disseminate, distribute or duplicate this e-mail transmission or
any attachments. If you are not the intended recipient, please contact
the sender immediately by reply e-mail and destroy all copies of the 
original message. We do not accept account orders and/or instructions
related to AllianceBernstein products or services by e-mail, and
therefore will not be responsible for carrying out such orders and/or
instructions. The linked e-mail transmission and any attachments are
provided for informational purposes only and should not be construed in
any manner as any solicitation or offer to buy or sell any investment
opportunities or any related financial instruments and should not be
construed in any manner as a public offer of any investment
opportunities or any related financial instruments.  If you, as the
intended recipient of the linked e-mail transmission, the purpose of
which is to inform and update our clients, prospects and consultants of
developments relating to our services and products, would not like to
receive further e-mail correspondence from the sender, please "reply"
to the sender indicating your wishes.  Although we attempt to sweep 
e-mail and attachments for viruses, we will not be liable for any
damages arising from the alteration of the contents of this linked e-mail
transmission and any attachments by a third party or as a result of any
virus being passed on. Please note: Trading instructions sent
electronically to Bernstein shall not be deemed accepted until a
representative of Bernstein acknowledges receipt electronically or by
telephone. Comments in the linked e-mail transmission and any
attachments are part of a larger body of investment analysis. For our
research reports, which contain information that may be used to
support investment decisions, and disclosures, see our website at
www.bernsteinresearch.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org