T5.3 and chenillekit

2011-02-04 Thread Sergio Esteves
Using chenillekit 1.3.0 with tapestry 5.3 I get the following error: « [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.internal.services.InternalModule 2011-02-04 17:55:18.117:WARN::failed iptvrating: java.lang.RuntimeException: Error invoking service binder me

Re: t5: zone, blocks, and form - simple question

2011-01-07 Thread Sergio Esteves
Ok, I used the zone0 and it worked. On 07-01-2011 10:51, Sergio Esteves wrote: No, it is not an ajax request (tested with the isXHR). The form can't find the specified zone on its parameter, and I don't know why. I have something like zone0(block0( zone1(block1(...) block2(

Re: t5: zone, blocks, and form - simple question

2011-01-07 Thread Sergio Esteves
No, it is not an ajax request (tested with the isXHR). The form can't find the specified zone on its parameter, and I don't know why. I have something like zone0(block0( zone1(block1(...) block2(form-zone1(...) block3(.... On 06-01-2011 23:38, Thiago H. de Paula Figueiredo wrote: On Thu, 0

Re: t5: zone, blocks, and form - simple question

2011-01-06 Thread Sergio Esteves
OK, I have one more zone with a block that contains the code I posted bellow. On 06-01-2011 17:02, Sergio Esteves wrote: Hi all, I have the following code: ... ... ... The problem is I can't return thirdBlock when I submit the form i

t5: zone, blocks, and form - simple question

2011-01-06 Thread Sergio Esteves
Hi all, I have the following code: ... ... ... The problem is I can't return thirdBlock when I submit the form in the secondBlock (" Return type org.apache.tapestry5.internal.structure.BlockImpl can not be handled."). Am I doing something wrong? Th

Re: t5: building injected objects

2010-12-29 Thread Sergio Esteves
ocs/org/apache/tapestry5/ioc/annotations/Marker.html Robert On Dec 29, 2010, at 12/299:33 AM , Sergio Esteves wrote: Hi all, If I have a class with this: �...@inject @OfflineJob engine;» and my project class: «OfflineJob buildFoo(@InjectService("EjbContext") Context ejbContext) t

t5: building injected objects

2010-12-29 Thread Sergio Esteves
Hi all, If I have a class with this: �...@inject @OfflineJob engine;» and my project class: «OfflineJob buildFoo(@InjectService("EjbContext") Context ejbContext) throws NamingException { ... } OfflineJob buildBar(@InjectService("EjbContext") Context ejbContext) throws NamingException { ... }»

Re: T5: very basic question - how do I call a code-side function in a tml

2010-12-25 Thread Sergio Esteves
ote: Sorry! I didn't see 'AJAXFORM' :). Can you share the code ? regards Taha On Sat, Dec 25, 2010 at 10:39 PM, Sergio Esteves< sergio.este...@xpand-it.com> wrote: But for what I want to do is easier to use the component ajaxformloop, as I will need to add and remove rows.

Re: T5: very basic question - how do I call a code-side function in a tml

2010-12-25 Thread Sergio Esteves
an't in T5. May I ask what are you trying to do ? regards Taha On Sat, Dec 25, 2010 at 10:24 PM, Sergio Esteves< sergio.este...@xpand-it.com> wrote: Hi, I have tried to do this: tml: «... ${foo} ...» java: «... public void foo() { count++; } ...» (I tried with "void getFoo()&

T5: very basic question - how do I call a code-side function in a tml

2010-12-25 Thread Sergio Esteves
Hi, I have tried to do this: tml: «... ${foo} ...» java: «... public void foo() { count++; } ...» (I tried with "void getFoo()" too) But without success. The thing is the returning type of void. Thanks. - To unsubscribe, e-m

Re: Select with zone

2010-12-21 Thread Sergio Esteves
Do I need to use JS, like in the following example: http://jumpstart.doublenegative.com.au/jumpstart/examples/javascript/ajaxselect1 ? On 20-12-2010 22:05, Mark wrote: How are you setting up the Select to trigger an event? On Mon, Dec 20, 2010 at 12:01 PM, Sergio Esteves< sergio.e

Re: Select with zone

2010-12-21 Thread Sergio Esteves
e I change the value on the select. However the date doesn't change (from the first time the page is rendered), neither the currentValueBlock is called. On 20-12-2010 22:05, Mark wrote: How are you setting up the Select to trigger an event? On Mon, Dec 20, 2010 at 12:01 PM, Sergio Esteves<

Select with zone

2010-12-20 Thread Sergio Esteves
Hi all, I have a select which updates a zone; that zone has a delegate that calls a function to return an active block. The problem is, when I change the value of the select that function is not called, what could be wrong? Thank you.

Re: T5 portuguese message for "minimum-string-length"

2010-12-07 Thread Sergio Esteves
Sorry for the previous email, the correct message is: 'Tem de inserir pelo menos %d characteres para %s.' On 07-12-2010 12:14, Sergio Esteves wrote: Hi, The portuguese message for 'minimum-string-length' was defined here http://www.mail-archive.com/comm...@tapestry.apac

T5 portuguese message for "minimum-string-length"

2010-12-07 Thread Sergio Esteves
Hi, The portuguese message for 'minimum-string-length' was defined here http://www.mail-archive.com/comm...@tapestry.apache.org/msg02541.html as 'Tem de inserir pelo meno %d characteres para %s.'. But there is an orthohraphic/**/error in that message, and it should be like 'Tem de inserir pelo