You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Taha Hafeez <ta...@gmail.com> on 2011/06/27 19:55:39 UTC

TAP5-746: Zone Refresher

Hi

It is written a mixin which can resolve

https://issues.apache.org/jira/browse/TAP5-746

It refreshes a zone after a given period. The link is
https://github.com/tawus/javamagic/tree/master/zone-refresh.

If somebody finds it useful/good enough, then I can submit a patch for
TAP5-746

regards
Taha

Re: TAP5-746: Zone Refresher

Posted by bogdan_cm <bo...@rbccm.com>.
Ha, one of the issues that come with not using Maven to refresh your
repository :). 

Thanks very much for the reply's. 

--
View this message in context: http://tapestry.1045711.n5.nabble.com/TAP5-746-Zone-Refresher-tp4529253p5017815.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: TAP5-746: Zone Refresher

Posted by Lenny Primak <lp...@hope.nyc.ny.us>.
That's a very old version of Tapestry.  You need to be using rc_3 or later.

On Nov 23, 2011, at 2:47 PM, bogdan_cm wrote:

> Yes, I'm using 5.3: tapestry-core-5.3.0.jar
> 
> http://tapestry.1045711.n5.nabble.com/file/n5017803/1.jpg 
> 
> --
> View this message in context: http://tapestry.1045711.n5.nabble.com/TAP5-746-Zone-Refresher-tp4529253p5017803.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
> 


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


Re: TAP5-746: Zone Refresher

Posted by Dragan Sahpaski <dr...@gmail.com>.
Actually,
tapestry-core-5.3.0.jar is a pretty old library. This is confusing because
this library was created before tapestry had the alpha/beta/rc releases
when the numbering then was done sequentially so it got to 5.3.x something
before it chaged to alpha-x beta-x rc-x.
I think now 5.3 is already in maven central so

Just put tapestry-core-5.3 in your pom (or whatever).

Cheers,
Dragan Sahpaski



On Wed, Nov 23, 2011 at 8:47 PM, bogdan_cm <bo...@rbccm.com> wrote:

> Yes, I'm using 5.3: tapestry-core-5.3.0.jar
>
> http://tapestry.1045711.n5.nabble.com/file/n5017803/1.jpg
>
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com/TAP5-746-Zone-Refresher-tp4529253p5017803.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: TAP5-746: Zone Refresher

Posted by bogdan_cm <bo...@rbccm.com>.
Yes, I'm using 5.3: tapestry-core-5.3.0.jar

http://tapestry.1045711.n5.nabble.com/file/n5017803/1.jpg 

--
View this message in context: http://tapestry.1045711.n5.nabble.com/TAP5-746-Zone-Refresher-tp4529253p5017803.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: TAP5-746: Zone Refresher

Posted by Dragan Sahpaski <dr...@gmail.com>.
Which version of tapestry are you using.

Should be  5.3

Cheers,
Dragan Sahpaski



On Wed, Nov 23, 2011 at 8:39 PM, bogdan_cm <bo...@rbccm.com> wrote:

> Sadly no,
>
> <div t:type='zone' t:mixins='zonerefresh' t:period='10'>
> My test: ${text}
> </div>
>
> Failure creating embedded component 'zone' of
> com.example.tutorial.pages.Page: Unable to resolve 'zonerefresh' to a mixin
> class name.
>
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com/TAP5-746-Zone-Refresher-tp4529253p5017774.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: TAP5-746: Zone Refresher

Posted by bogdan_cm <bo...@rbccm.com>.
Sadly no, 

<div t:type='zone' t:mixins='zonerefresh' t:period='10'>
My test: ${text}
</div>

Failure creating embedded component 'zone' of
com.example.tutorial.pages.Page: Unable to resolve 'zonerefresh' to a mixin
class name.

--
View this message in context: http://tapestry.1045711.n5.nabble.com/TAP5-746-Zone-Refresher-tp4529253p5017774.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: TAP5-746: Zone Refresher

Posted by Lenny Primak <lp...@hope.nyc.ny.us>.
If you remove the tawus/ prefix from the mixin it should work. 



On Nov 23, 2011, at 1:06 PM, bogdan_cm <bo...@rbccm.com> wrote:

> Hi Taha, 
>  Now that the ZoneRefresh component is included in Tap-core, is there a
> working example anywhere?
> 
> I have this in my .tml:
> 
> <div t:type='zone' t:mixins='tawus/zonerefresh' t:period='10'>
> My test: ${text}
> </div>
> 
> and when I run it i get: 
> Failure creating embedded component 'zone' of
> com.example.tutorial.pages.Page: Unable to resolve 'tawus/zonerefresh' to a
> mixin class name
> 
> Thanks, 
> Bogdan. 
> 
> --
> View this message in context: http://tapestry.1045711.n5.nabble.com/TAP5-746-Zone-Refresher-tp4529253p5017521.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
> 

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


Re: TAP5-746: Zone Refresher

Posted by bogdan_cm <bo...@rbccm.com>.
Hi Taha, 
  Now that the ZoneRefresh component is included in Tap-core, is there a
working example anywhere?

I have this in my .tml:

<div t:type='zone' t:mixins='tawus/zonerefresh' t:period='10'>
My test: ${text}
</div>

and when I run it i get: 
Failure creating embedded component 'zone' of
com.example.tutorial.pages.Page: Unable to resolve 'tawus/zonerefresh' to a
mixin class name

Thanks, 
Bogdan. 

--
View this message in context: http://tapestry.1045711.n5.nabble.com/TAP5-746-Zone-Refresher-tp4529253p5017521.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: TAP5-746: Zone Refresher

Posted by Taha Hafeez <ta...@gmail.com>.
Also moved the zone-refresher to
https://github.com/tawus/tawus/tree/master/tawus-addons

Till new project for Tapestry Contributions is launched, I have decided to
put all the components in a single library

https://github.com/tawus/tawus/tree/master/tawus-addons

Currently there are two

1. ZoneRefresh
2. ModalDialog

I will add AjaxUpload to it too.

Also will add wiki(showing the usage) and blog-post(showing the
implementation) for each component

regards
Taha



On Thu, Jun 30, 2011 at 9:10 AM, Taha Hafeez <ta...@gmail.com>wrote:

> Hi Bob,
>
> Done
>
> regards
> Taha
>
>
> On Tue, Jun 28, 2011 at 5:39 PM, Bob Harner <bo...@gmail.com> wrote:
>
>> I haven't had a chance to try it out, but in general I would always say
>> patches are very welcome.
>>
>> Bob Harner
>> On Jun 27, 2011 1:56 PM, "Taha Hafeez" <ta...@gmail.com> wrote:
>> > Hi
>> >
>> > It is written a mixin which can resolve
>> >
>> > https://issues.apache.org/jira/browse/TAP5-746
>> >
>> > It refreshes a zone after a given period. The link is
>> > https://github.com/tawus/javamagic/tree/master/zone-refresh.
>> >
>> > If somebody finds it useful/good enough, then I can submit a patch for
>> > TAP5-746
>> >
>> > regards
>> > Taha
>>
>
>

Re: TAP5-746: Zone Refresher

Posted by Taha Hafeez <ta...@gmail.com>.
Hi Bob,

Done

regards
Taha

On Tue, Jun 28, 2011 at 5:39 PM, Bob Harner <bo...@gmail.com> wrote:

> I haven't had a chance to try it out, but in general I would always say
> patches are very welcome.
>
> Bob Harner
> On Jun 27, 2011 1:56 PM, "Taha Hafeez" <ta...@gmail.com> wrote:
> > Hi
> >
> > It is written a mixin which can resolve
> >
> > https://issues.apache.org/jira/browse/TAP5-746
> >
> > It refreshes a zone after a given period. The link is
> > https://github.com/tawus/javamagic/tree/master/zone-refresh.
> >
> > If somebody finds it useful/good enough, then I can submit a patch for
> > TAP5-746
> >
> > regards
> > Taha
>

Re: TAP5-746: Zone Refresher

Posted by Bob Harner <bo...@gmail.com>.
I haven't had a chance to try it out, but in general I would always say
patches are very welcome.

Bob Harner
On Jun 27, 2011 1:56 PM, "Taha Hafeez" <ta...@gmail.com> wrote:
> Hi
>
> It is written a mixin which can resolve
>
> https://issues.apache.org/jira/browse/TAP5-746
>
> It refreshes a zone after a given period. The link is
> https://github.com/tawus/javamagic/tree/master/zone-refresh.
>
> If somebody finds it useful/good enough, then I can submit a patch for
> TAP5-746
>
> regards
> Taha