Re: Quartz for Tapestry5

2013-08-16 Thread Dmitry Gusev
FYI:
This module and others from anjlab-tapestry-commons are now available from
bintray maven repository.
See github readme for details.


On Tue, Aug 13, 2013 at 10:45 AM, Stephan Windmüller <
stephan.windmuel...@tu-dortmund.de> wrote:

> On 12.08.2013 23:16, Dmitry Gusev wrote:
>
> > Just applied Apache License v2 to the project.
>
> Thank you! I think that the Apache License is the best choice here.
>
> Regards
>  Stephan
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>


-- 
Dmitry Gusev

AnjLab Team
http://anjlab.com


Re: Quartz for Tapestry5

2013-08-12 Thread Stephan Windmüller
On 12.08.2013 23:16, Dmitry Gusev wrote:

> Just applied Apache License v2 to the project.

Thank you! I think that the Apache License is the best choice here.

Regards
 Stephan

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



Re: Quartz for Tapestry5

2013-08-12 Thread Dmitry Gusev
Just applied Apache License v2 to the project.

On Mon, Aug 12, 2013 at 6:04 PM, Dmitry Gusev wrote:

> I haven't chosen a particular license yet, but I'd like to make it as open
> as possible and developer friendly.
>
> I'm thinking about Apache License v2, just have to format the code
> according to that license.
>
>
> On Mon, Aug 12, 2013 at 5:55 PM, Stephan Windmüller <
> stephan.windmuel...@tu-dortmund.de> wrote:
>
>> On 08.08.2013 17:02, Dmitry Gusev wrote:
>>
>> > FYI:
>> >
>> https://github.com/anjlab/anjlab-tapestry-commons/tree/master/anjlab-tapestry-quartz
>>
>> Did you choose a license for this project? I cannot find it in the
>> README or the code.
>>
>> Regards
>>  Stephan
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>
>>
>
>
> --
> Dmitry Gusev
>
> AnjLab Team
> http://anjlab.com
>



-- 
Dmitry Gusev

AnjLab Team
http://anjlab.com


Re: Quartz for Tapestry5

2013-08-12 Thread Dmitry Gusev
I haven't chosen a particular license yet, but I'd like to make it as open
as possible and developer friendly.

I'm thinking about Apache License v2, just have to format the code
according to that license.


On Mon, Aug 12, 2013 at 5:55 PM, Stephan Windmüller <
stephan.windmuel...@tu-dortmund.de> wrote:

> On 08.08.2013 17:02, Dmitry Gusev wrote:
>
> > FYI:
> >
> https://github.com/anjlab/anjlab-tapestry-commons/tree/master/anjlab-tapestry-quartz
>
> Did you choose a license for this project? I cannot find it in the
> README or the code.
>
> Regards
>  Stephan
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>


-- 
Dmitry Gusev

AnjLab Team
http://anjlab.com


Re: Quartz for Tapestry5

2013-08-12 Thread Stephan Windmüller
On 08.08.2013 17:02, Dmitry Gusev wrote:

> FYI:
> https://github.com/anjlab/anjlab-tapestry-commons/tree/master/anjlab-tapestry-quartz

Did you choose a license for this project? I cannot find it in the
README or the code.

Regards
 Stephan

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



Re: Quartz for Tapestry5

2013-08-12 Thread Thiago H de Paula Figueiredo

On Mon, 12 Aug 2013 07:13:46 -0300, Steve  wrote:


Hi!


Hi!

This is a completely different question posted under the "Quartz for  
Tapetry 5" thread. Please post new questions by *not* replying to an  
unrelated thread. Many people will end up overlooking your post.




I'm fairly new to Tapestry and i'm working on a project at the moment.
From what I have found so far, it's fantastic and I am really enjoying
using it for my work. I've come a little stuck on something in
particular though which I'm sure will have come up many times before,
but I can't seem to find an answer for.

I have a component at the moment, aptly named "HelloComponent". The
component has a void renderMessage method in it. The method uses a
parameter which is passed to the component which it uses create an
object (All of the possible objects inherit from the same interface),
which is then uses to get a form. The form is then returned as a
string and is written out using the writer.write method. The intention
is that the form shows on the page where the component is - and this
work. Now actual problem is when the form is submitted. I created an
"Object onSuccess()" method in the component, and it seemed to not be
called. Ok, so I then created the same method in the page class rather
than the component class, again that was not called. I then put an id
on the form (t:id="foo"), and created a method in the component class
called onSubmitFromFoo() and then got the error "Method
com.syn.ama.components.tools.HelloComponent.onSubmitFromFoo()
references component id 'Foo' which does not exist."

So.. my next thing to try was to put this method in the page class
(Seems odd to me). Then I got this error which was fairly expected:
"Method com.syn.ama.pages.addassignment.Step2.onSubmitFromFoo()
references component id 'Foo' which does not exist.

So, my question is, if I write a form using the renderMessage method
inside a component, which method does that trigger and in which class
(Page class or component)? The reason I am doing it this way is
because the intention is to have many different forms (Depending on
which object needs setting up). The form is meant to come from the
object itself (The interface has a method getConfigurationForm which
makes it) and passes it to the component. The component when the data
is submitted will put that into the object (or that is the idea).

There is a good chance i'm doing something very wrong here, but I
can't see why it's not working, or what a better way is.

Thanks, I really appreciate any help. If my message is confusing in
places, please do ask and I can hopefully explain some more.

Steve (Tapestry noob for now, but hopefully not for long).

On 12 August 2013 09:25, Andreas Pursian  wrote:

Nice ...thank you. But following your git readme, i think quartz it's
more a replacement for T5's PeriodicExecutor Service ;-)

best regards

Andreas

On 8/8/13 5:02 PM, Dmitry Gusev wrote:

FYI:

https://github.com/anjlab/anjlab-tapestry-commons/tree/master/anjlab-tapestry-quartz




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



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




--
Thiago H. de Paula Figueiredo

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



Re: Quartz for Tapestry5

2013-08-12 Thread Steve
Hi!

I'm fairly new to Tapestry and i'm working on a project at the moment.
>From what I have found so far, it's fantastic and I am really enjoying
using it for my work. I've come a little stuck on something in
particular though which I'm sure will have come up many times before,
but I can't seem to find an answer for.

I have a component at the moment, aptly named "HelloComponent". The
component has a void renderMessage method in it. The method uses a
parameter which is passed to the component which it uses create an
object (All of the possible objects inherit from the same interface),
which is then uses to get a form. The form is then returned as a
string and is written out using the writer.write method. The intention
is that the form shows on the page where the component is - and this
work. Now actual problem is when the form is submitted. I created an
"Object onSuccess()" method in the component, and it seemed to not be
called. Ok, so I then created the same method in the page class rather
than the component class, again that was not called. I then put an id
on the form (t:id="foo"), and created a method in the component class
called onSubmitFromFoo() and then got the error "Method
com.syn.ama.components.tools.HelloComponent.onSubmitFromFoo()
references component id 'Foo' which does not exist."

So.. my next thing to try was to put this method in the page class
(Seems odd to me). Then I got this error which was fairly expected:
"Method com.syn.ama.pages.addassignment.Step2.onSubmitFromFoo()
references component id 'Foo' which does not exist.

So, my question is, if I write a form using the renderMessage method
inside a component, which method does that trigger and in which class
(Page class or component)? The reason I am doing it this way is
because the intention is to have many different forms (Depending on
which object needs setting up). The form is meant to come from the
object itself (The interface has a method getConfigurationForm which
makes it) and passes it to the component. The component when the data
is submitted will put that into the object (or that is the idea).

There is a good chance i'm doing something very wrong here, but I
can't see why it's not working, or what a better way is.

Thanks, I really appreciate any help. If my message is confusing in
places, please do ask and I can hopefully explain some more.

Steve (Tapestry noob for now, but hopefully not for long).

On 12 August 2013 09:25, Andreas Pursian  wrote:
> Nice ...thank you. But following your git readme, i think quartz it's
> more a replacement for T5's PeriodicExecutor Service ;-)
>
> best regards
>
> Andreas
>
> On 8/8/13 5:02 PM, Dmitry Gusev wrote:
>> FYI:
>>
>> https://github.com/anjlab/anjlab-tapestry-commons/tree/master/anjlab-tapestry-quartz
>>
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>

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



Re: Quartz for Tapestry5

2013-08-12 Thread Andreas Pursian
Nice ...thank you. But following your git readme, i think quartz it's
more a replacement for T5's PeriodicExecutor Service ;-)

best regards

Andreas

On 8/8/13 5:02 PM, Dmitry Gusev wrote:
> FYI:
>
> https://github.com/anjlab/anjlab-tapestry-commons/tree/master/anjlab-tapestry-quartz
>


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



Re: Quartz for Tapestry5

2013-08-08 Thread Chris Cureau
Beautiful...and just what I needed too!  Thanks!


On Thu, Aug 8, 2013 at 10:02 AM, Dmitry Gusev wrote:

> FYI:
>
>
> https://github.com/anjlab/anjlab-tapestry-commons/tree/master/anjlab-tapestry-quartz
>
> --
> Dmitry Gusev
>
> AnjLab Team
> http://anjlab.com
>


Quartz for Tapestry5

2013-08-08 Thread Dmitry Gusev
FYI:

https://github.com/anjlab/anjlab-tapestry-commons/tree/master/anjlab-tapestry-quartz

-- 
Dmitry Gusev

AnjLab Team
http://anjlab.com