.
Best regards
Ken in nashua
From: [EMAIL PROTECTED]
To: users@tapestry.apache.org
Subject: does T-4.1.* have a COUNT component?
Date: Mon, 8 Oct 2007 14:27:29 -0400
Ok I tried a custom Loop hybrid but that failed to do uncoordinated indices
between collection and loop.
All I want to do
for that? Thanks in advance.
Best regards
Ken in nashua
From: [EMAIL PROTECTED]
To: users@tapestry.apache.org
Subject: RE: does T-4.1.* have a COUNT component?
Date: Tue, 9 Oct 2007 10:02:09 -0400
I guess I am trying to determine what the two conditions are for rendering.
There is a startOfRow
Ken in nashua
From: [EMAIL PROTECTED]
To: users@tapestry.apache.org
Subject: RE: does T-4.1.* have a COUNT component?
Date: Tue, 9 Oct 2007 10:16:23 -0400
Richard... that worked... (or at least the condition is functioning). Thanks.
BUT...
Only half the rows contain 2 elements. So
is bogus to render 3 rows.
Thanks in advance.
Best regards
Ken in nashua
From: [EMAIL PROTECTED]
To: users@tapestry.apache.org
Subject: does T-4.1.* have a COUNT component?
Date: Mon, 8 Oct 2007 14:27:29 -0400
Ok I tried a custom Loop hybrid but that failed to do uncoordinated indices
or the
condition is bogus to render 3 rows.
Thanks in advance.
Best regards
Ken in nashua
From: [EMAIL PROTECTED]
To: users@tapestry.apache.org
Subject: does T-4.1.* have a COUNT component?
Date: Mon, 8 Oct 2007 14:27:29 -0400
Ok I tried a custom Loop hybrid but that failed to do
/td
/span
Best regards
Ken in nashua
From: [EMAIL PROTECTED]
To: users@tapestry.apache.org
Subject: RE: does T-4.1.* have a COUNT component?
Date: Tue, 9 Oct 2007 10:20:40 -0400
OK given 9 elements...
0 1 2 3 4 5 6 7 8 9
Here is the case logic
jwcid=@If condition=ognl:(index % 3) == 0
/trtr
/span
tdrender image stuff/td
/span
/tr
Best regards
Ken in nashua
From: [EMAIL PROTECTED]
To: users@tapestry.apache.org
Subject: RE: does T-4.1.* have a COUNT component?
Date: Tue, 9 Oct 2007 10:26:55 -0400
I am
td/td
/span
/span
/tr
Best regards
Ken in nashua
From: [EMAIL PROTECTED]
To: users@tapestry.apache.org
Subject: RE: does T-4.1.* have a COUNT component?
Date: Tue, 9 Oct 2007 10:33:33 -0400
Ok, now I have the template PARSE problem... on the /trtr line... this is
what ROB
/span
/tr
Best regards
Ken in nashua
From: [EMAIL PROTECTED]
To: users@tapestry.apache.org
Subject: RE: does T-4.1.* have a COUNT component?
Date: Tue, 9 Oct 2007 10:33:33 -0400
Ok, now I have the template PARSE problem... on the /trtr
line... this is what ROB was referring
I will try that Rob... so your saying I do not need the ELSE component?
Best regards
Ken in nashua
From: [EMAIL PROTECTED]
To: users@tapestry.apache.org
Subject: RE: does T-4.1.* have a COUNT component?
Date: Tue, 9 Oct 2007 10:36:01 -0400
Ok, I am trying this now... hopefully
/td
/span
span jwcid=@Else
td/td
/span
/span
/tr
Best regards
Ken in nashua
From: [EMAIL PROTECTED]
To: users@tapestry.apache.org
Subject: RE: does T-4.1.* have a COUNT component?
Date: Tue, 9 Oct 2007 10:59:17 -0400
I will try that Rob
raw=true/
/span
td /td
/span
/tr
/table
/span
Best regards
Ken in nashua
From: [EMAIL PROTECTED]
To: users@tapestry.apache.org
Subject: RE: does T-4.1.* have a COUNT component?
Date: Tue, 9 Oct 2007 11:08:14 -0400
Thanks
in the condition need to be coerced somehow?
Any ideas?
Best regards
Ken in nashua
From: [EMAIL PROTECTED]
To: users@tapestry.apache.org
Subject: RE: does T-4.1.* have a COUNT component?
Date: Tue, 9 Oct 2007 14:08:57 -0400
Just one final help ques...
I switched to PropertySelection
my
oops... bad init call
This I think will fix it...
setTableSize(tableSizeModel.getOption(0).toString());
Best regards
Ken in nashua
From: [EMAIL PROTECTED]
To: users@tapestry.apache.org
Subject: RE: does T-4.1.* have a COUNT component?
Date: Tue, 9 Oct 2007 14:12:23 -0400
From: [EMAIL PROTECTED]
To: users@tapestry.apache.org
Subject: RE: does T-4.1.* have a COUNT component?
Date: Tue, 9 Oct 2007 14:08:57 -0400
Just one final help ques...
I switched to PropertySelection
my condition now always yeilds a divide by zero exception.
Since my propertlselection
)
ognl.SimpleNode.getValue(
SimpleNode.java:246)
ognl.Ognl.getValue(Ognl.java:494)
Best regards
Ken in nashua
From: [EMAIL PROTECTED]
To: users@tapestry.apache.org
Subject: RE: does T-4.1.* have a COUNT component?
Date: Tue, 9 Oct 2007 14:08:57
-
From: Ken nashua [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 09, 2007 2:52 PM
To: users@tapestry.apache.org
Subject: RE: does T-4.1.* have a COUNT component?
Folks, I still cannot get any coercian on this propertyselection
Can anyone elaborater on whats going on? Aren't we suppose
Ok I tried a custom Loop hybrid but that failed to do uncoordinated indices
between collection and loop.
All I want to do is increment a count within the template and act on it when it
reaches a certain value and then reset it.
IE. render TR tag every 3 iterations of my outer For loop.
Does
On 10/8/07, Ken nashua [EMAIL PROTECTED] wrote:
Ok I tried a custom Loop hybrid but that failed to do uncoordinated
indices between collection and loop.
All I want to do is increment a count within the template and act on it
when it reaches a certain value and then reset it.
IE. render TR
Seems like there are a variety of different ways to do this...
One way would be to have your list be a temporary list of lists...
you divide your list into sublists of length 3 each, and each sublist
is an element in a super list. Ugly in code. Clean in the template.
Another way to do it
Although I appreciate the attempts to solve, I disagree with all solutions and
am disheartened.
This capability should be available gracefully without having to touch any java.
Best regards
Ken in nashua
From: [EMAIL PROTECTED]
To: users@tapestry.apache.org
Subject: does T-4.1.* have a COUNT
solutions and am disheartened.
This capability should be available gracefully without having to
touch any java.
Best regards
Ken in nashua
From: [EMAIL PROTECTED]
To: users@tapestry.apache.org
Subject: does T-4.1.* have a COUNT component?
Date: Mon, 8 Oct 2007 14:27:29 -0400
Ok I tried
22 matches
Mail list logo