On Sat, 25 Dec 2010 14:54:17 -0200, Sergio Esteves
wrote:
Hi,
Hi!
I have tried to do this:
tml:
«... ${foo} ...»
java:
«... public void foo() { count++; } ...» (I tried with "void getFoo()"
too)
With all due respect, this is a very bad idea. Please post what you're
trying to impleme
Actually, that probably wouldn't work either since it's not returning
anything. Re-reading your email, why can't you use the index parameter of
the loop?
On Dec 25, 2010 10:35 AM, "Taha Hafeez" wrote:
> Apologies Sergio.
>
> Hi Josh,
>
> But isn't calling a function in a template awkward ? Shouldn
Apologies Sergio.
Hi Josh,
But isn't calling a function in a template awkward ? Shouldn't there be a
better way of doing it ?
regards
Taha
On Sat, Dec 25, 2010 at 11:56 PM, Josh Canfield wrote:
> Try foo()
> On Dec 25, 2010 9:26 AM, "Sergio Esteves"
> wrote:
> > I'm just doing this inside th
Try foo()
On Dec 25, 2010 9:26 AM, "Sergio Esteves"
wrote:
> I'm just doing this inside the loop body: "${foo}" and the method foo
> isn't called if the returning type is void. It's just that. I wonder if
> there is another way, but, if not, a workaround is to return a null
object.
>
> Regards.
>
I'm just doing this inside the loop body: "${foo}" and the method foo
isn't called if the returning type is void. It's just that. I wonder if
there is another way, but, if not, a workaround is to return a null object.
Regards.
On 25-12-2010 17:16, Taha Hafeez wrote:
Sorry! I didn't see 'AJAXF
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.
>
>
> On 25-12-2010 1
I'm using an ajaxformloop and I'm trying to simulate the index of the
component loop, without making a new component.
So, in each iteration of the loop I increment a variable that I use
after in the components within the loop.
Regards.
On 25-12-2010 16:59, Taha Hafeez wrote:
You can't in T5.
You can'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()
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