You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Angelo Chen <an...@yahoo.com.hk> on 2007/09/02 19:00:38 UTC

T5: using DOJO?

Hi,

I'm new to T5, and don't have any experience with DOJO neither, I got a
question: since T5's templates are plain htmls, can we use Dojo with T5?
example: an app might have a 'register' page which might require the page to
verify zip code before accepting the submission, with Ajax approach we can
avoid directing user to another page just to read the 'invalid zip code'
message(of course T5's validation method can take care of that too), a
servlet can coexist with T5's app to verify the zip code and send back some
info to the page, possible? Thanks.

A.C.
-- 
View this message in context: http://www.nabble.com/T5%3A-using-DOJO--tf4368411.html#a12451071
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: T5: using DOJO?

Posted by Martin Reurings <ma...@windgazer.nl>.
Is it likely that Tapestry 5 will move towards such a solution?
Could it even be suggested that one should be able to disable all 
default Tapestry JS-code?
And even more out on a limb, would it be possible to put 
Ajax/dhtml-support in a seperate module so as not to polute the codebase 
with it? (Or alternatively supply an unpoluted core-package)

The reason I ask is because my Java-coding skill aren't near as solid as 
my javascripting skills and in general my opinion of how ajax is handled 
in frameworks is far from flattering. However with so many (hijax, dojo, 
prototype, jquery, xml vs json, etc...) ways to skin a cat, I 'd rather 
be able to obtain the plain and simple cat and do the skinning myself.

Anyway, the jira-comment at least makes me hopefull that more control of 
the client-side behaviour may be in the making.

Kristian Marinkovic wrote:
> hi borut,
>
> have you read the comments on 
> https://issues.apache.org/jira/browse/TAPESTRY-1650
>
> g,
> kris
>
>
>
>
> "Borut Bolčina" <bo...@gmail.com> 
> 24.09.2007 14:34
> Bitte antworten an
> "Tapestry users" <us...@tapestry.apache.org>
>
>
> An
> "Tapestry users" <us...@tapestry.apache.org>
> Kopie
>
> Thema
> Re: T5: using DOJO?
>
>
>
>
>
>
> 2007/9/4, com.liigo@gmail.com <co...@gmail.com>:
>   
>> 在 Mon, 03 Sep 2007 16:08:34 +0800,Angelo Chen
>> <an...@yahoo.com.hk> 写道:
>>
>>     
>>> Hi Erik,
>>>
>>> That's good news, I read somewhere that It might be Proptotype not 
>>>       
> Dojo.
>   
>> jQuery will be great, IMO.
>>
>>
>>     
> +1 for jQuery and http://interface.eyecon.ro
>
>
>   

-- 
(   /'  _/_ __  _ _
|/|///)(/(/(//_(-/
        _/
E-mail: martin@windgazer.nl
Website: http://www.windgazer.nl

"The trouble with doing something right the first time, is nobody
 appreciates how difficult it was."
                                               -- Unknown Artist


Re: T5: using DOJO?

Posted by Kristian Marinkovic <kr...@porsche.co.at>.
hi borut,

have you read the comments on 
https://issues.apache.org/jira/browse/TAPESTRY-1650

g,
kris




"Borut Bolčina" <bo...@gmail.com> 
24.09.2007 14:34
Bitte antworten an
"Tapestry users" <us...@tapestry.apache.org>


An
"Tapestry users" <us...@tapestry.apache.org>
Kopie

Thema
Re: T5: using DOJO?






2007/9/4, com.liigo@gmail.com <co...@gmail.com>:
>
> 在 Mon, 03 Sep 2007 16:08:34 +0800,Angelo Chen
> <an...@yahoo.com.hk> 写道:
>
> >
> > Hi Erik,
> >
> > That's good news, I read somewhere that It might be Proptotype not 
Dojo.
>
> jQuery will be great, IMO.
>
>
+1 for jQuery and http://interface.eyecon.ro



Re: T5: using DOJO?

Posted by Borut Bolčina <bo...@gmail.com>.
2007/9/4, com.liigo@gmail.com <co...@gmail.com>:
>
> 在 Mon, 03 Sep 2007 16:08:34 +0800,Angelo Chen
> <an...@yahoo.com.hk> 写道:
>
> >
> > Hi Erik,
> >
> > That's good news, I read somewhere that It might be Proptotype not Dojo.
>
> jQuery will be great, IMO.
>
>
+1 for jQuery and http://interface.eyecon.ro

Re: T5: using DOJO?

Posted by Christian Koeberl <ch...@porsche.co.at>.
Hello T5 developers!

As everybody likes to have a different JavaScript Framework for Ajax use, 
it's probably
the best to make that flexible as Kristian suggested in:
https://issues.apache.org/jira/browse/TAPESTRY-1650

I think of something like tapestry-upload - you can use it or you can 
build you own upload
component based on another framework (there are some: 
http://www.jguru.com/faq/view.jsp?EID=160).

In Tapestry4 the Dojo integration was too tight - you couldn't actually 
use another JS framework
for partial page rendering. If your project was using another framework 
you ended up having
both in the script-section.

It would feel really Tapestry5ish if the default just works but you could 
change most of the
behaviour by implementing some lines of code. 

Cheers,
Chris

Re: T5: using DOJO?

Posted by "com.liigo@gmail.com" <co...@gmail.com>.
在 Mon, 03 Sep 2007 16:08:34 +0800,Angelo Chen  
<an...@yahoo.com.hk> 写道:

>
> Hi Erik,
>
> That's good news, I read somewhere that It might be Proptotype not Dojo.

jQuery will be great, IMO.


>
> A.C.
>
>
> Erik Vullings-2 wrote:
>>
>> Hi Angelo,
>>
>> I'm not a T5 expert, but I also have a need for AJAX functionality -
>> however, instead of using my own approach, I prefer to wait a bit longer
>>
>>
>



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


Re: T5: using DOJO?

Posted by Joshua Jackson <jo...@gmail.com>.
Hi Angelo

If you read here
http://tapestry.apache.org/tapestry5/tapestry-core/index.html, on
'Changes from Tapestry 4 to Tapestry 5' it is written there that
Super-duper Ajax integration built on  Dojo.

So I think Dojo will be supported also with scriptaculous just like
Tapestry 4, because scriptaculous doesn't provide a vast Ajax widget
like Dojo does.

So I guess it would be worthed to wait :-d

Cheers,


On 9/3/07, Angelo Chen <an...@yahoo.com.hk> wrote:
>
> Hi Erik,
>
> That's good news, I read somewhere that It might be Proptotype not Dojo.
>


-- 
It's not just about coding, it's a matter of fulfilling your core being

YM!: thejavafreak
Blog: http://joshuajava.wordpress.com/

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


Re: T5: using DOJO?

Posted by Angelo Chen <an...@yahoo.com.hk>.
Hi Erik,

That's good news, I read somewhere that It might be Proptotype not Dojo.

A.C.


Erik Vullings-2 wrote:
> 
> Hi Angelo,
> 
> I'm not a T5 expert, but I also have a need for AJAX functionality -
> however, instead of using my own approach, I prefer to wait a bit longer
> 
> 

-- 
View this message in context: http://www.nabble.com/T5%3A-using-DOJO--tf4368411.html#a12457977
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: T5: using DOJO?

Posted by Angelo Chen <an...@yahoo.com.hk>.
Hi Nick,

Might be good to know what Ajax framework will be included so that we can
prepare ahead, example: we can use that Ajax package for some immediate ajax
needs for now. 

A.C.


Nick Westgate wrote:
> 
> I did notice, but it was Massimo who commented on the dev list. ;-)
> 
> Nobody knows what's going to happen with AJAX except the devs.
> And perhaps not even them if Howard hasn't made the decision yet.
> He did mention jMaki at one stage.
> 
> Who knows. I'm anxiously waiting for it too ...
> 
> Cheers,
> Nick.
> 
> 
> Erik Vullings wrote:
>> Hi Angelo,
>> 
>> I'm not a T5 expert, but I also have a need for AJAX functionality -
>> however, instead of using my own approach, I prefer to wait a bit longer
>> till Howard Lewis Ship (principal developer) will cook something up. I
>> assume it will be with Dojo (since T4 uses it, and Jess is also part of
>> the
>> Dojo development team). In the mailing list, Nick Westgate recently
>> noticed
>> that Howard has made some AJAX commits in the latest release in the SVN
>> repository, so I hope it won't be too long before he really has something
>> worth sharing. In the mean time, I am focusing on learning the ins and
>> outs
>> of T5.
>> 
>> Cheers
>> Erik
>> 
>> On 9/2/07, Angelo Chen <an...@yahoo.com.hk> wrote:
>>>
>>> Hi,
>>>
>>> I'm new to T5, and don't have any experience with DOJO neither, I got a
>>> question: since T5's templates are plain htmls, can we use Dojo with T5?
>>> example: an app might have a 'register' page which might require the
>>> page
>>> to
>>> verify zip code before accepting the submission, with Ajax approach we
>>> can
>>> avoid directing user to another page just to read the 'invalid zip code'
>>> message(of course T5's validation method can take care of that too), a
>>> servlet can coexist with T5's app to verify the zip code and send back
>>> some
>>> info to the page, possible? Thanks.
>>>
>>> A.C.
>>> --
>>> View this message in context:
>>> http://www.nabble.com/T5%3A-using-DOJO--tf4368411.html#a12451071
>>> 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
>>>
>>>
>> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/T5%3A-using-DOJO--tf4368411.html#a12458432
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: T5: using DOJO?

Posted by Nick Westgate <ni...@key-planning.co.jp>.
I did notice, but it was Massimo who commented on the dev list. ;-)

Nobody knows what's going to happen with AJAX except the devs.
And perhaps not even them if Howard hasn't made the decision yet.
He did mention jMaki at one stage.

Who knows. I'm anxiously waiting for it too ...

Cheers,
Nick.


Erik Vullings wrote:
> Hi Angelo,
> 
> I'm not a T5 expert, but I also have a need for AJAX functionality -
> however, instead of using my own approach, I prefer to wait a bit longer
> till Howard Lewis Ship (principal developer) will cook something up. I
> assume it will be with Dojo (since T4 uses it, and Jess is also part of the
> Dojo development team). In the mailing list, Nick Westgate recently noticed
> that Howard has made some AJAX commits in the latest release in the SVN
> repository, so I hope it won't be too long before he really has something
> worth sharing. In the mean time, I am focusing on learning the ins and outs
> of T5.
> 
> Cheers
> Erik
> 
> On 9/2/07, Angelo Chen <an...@yahoo.com.hk> wrote:
>>
>> Hi,
>>
>> I'm new to T5, and don't have any experience with DOJO neither, I got a
>> question: since T5's templates are plain htmls, can we use Dojo with T5?
>> example: an app might have a 'register' page which might require the page
>> to
>> verify zip code before accepting the submission, with Ajax approach we can
>> avoid directing user to another page just to read the 'invalid zip code'
>> message(of course T5's validation method can take care of that too), a
>> servlet can coexist with T5's app to verify the zip code and send back
>> some
>> info to the page, possible? Thanks.
>>
>> A.C.
>> --
>> View this message in context:
>> http://www.nabble.com/T5%3A-using-DOJO--tf4368411.html#a12451071
>> 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
>>
>>
> 

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


Re: T5: using DOJO?

Posted by Erik Vullings <er...@gmail.com>.
Hi Angelo,

I'm not a T5 expert, but I also have a need for AJAX functionality -
however, instead of using my own approach, I prefer to wait a bit longer
till Howard Lewis Ship (principal developer) will cook something up. I
assume it will be with Dojo (since T4 uses it, and Jess is also part of the
Dojo development team). In the mailing list, Nick Westgate recently noticed
that Howard has made some AJAX commits in the latest release in the SVN
repository, so I hope it won't be too long before he really has something
worth sharing. In the mean time, I am focusing on learning the ins and outs
of T5.

Cheers
Erik

On 9/2/07, Angelo Chen <an...@yahoo.com.hk> wrote:
>
>
> Hi,
>
> I'm new to T5, and don't have any experience with DOJO neither, I got a
> question: since T5's templates are plain htmls, can we use Dojo with T5?
> example: an app might have a 'register' page which might require the page
> to
> verify zip code before accepting the submission, with Ajax approach we can
> avoid directing user to another page just to read the 'invalid zip code'
> message(of course T5's validation method can take care of that too), a
> servlet can coexist with T5's app to verify the zip code and send back
> some
> info to the page, possible? Thanks.
>
> A.C.
> --
> View this message in context:
> http://www.nabble.com/T5%3A-using-DOJO--tf4368411.html#a12451071
> 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
>
>