On Sun, 08 Jul 2012 06:59:17 -0300, Dusko Jovanovski
wrote:
I made an oversight, try this:
//html code
Good catch, Dusko. This remembers me of remembering everyone to never,
never, never ever use expansions (${xxx}) when passing parameters to
Tapestry components.
--
Thiago H.
On Sun, 08 Jul 2012 06:35:53 -0300, bhorvat
wrote:
That is the option, but tapestry has this cool option so I would like to
use it
The range operator doesn't support dynamic ranges, so the cool option you
describe doesn't exist. Just use what Dusko suggested.
--
Thiago H. de Paula Figu
yea this works. Great
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Problem-with-range-operator-tp5714339p5714345.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
To unsubscribe,
I made an oversight, try this:
//html code
On Sun, Jul 8, 2012 at 11:54 AM, bhorvat wrote:
> Hm...Well it says here that it should
> http://tapestry.apache.org/property-expressions.html
>
> "The rangeOp creates a range object that will iterate between the two
> values. The upper and lower
Hm...Well it says here that it should
http://tapestry.apache.org/property-expressions.html
"The rangeOp creates a range object that will iterate between the two
values. The upper and lower bounds may be literal integers, or property
expressions"
Also the expression is evaluated properly as it ret
I don't think you can use it like that, only with fixed values.
On Sun, Jul 8, 2012 at 11:35 AM, bhorvat wrote:
> That is the option, but tapestry has this cool option so I would like to
> use
> it
>
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com/Problem-with-range-
That is the option, but tapestry has this cool option so I would like to use
it
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Problem-with-range-operator-tp5714339p5714341.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
Why don't you just return an array from 1 to lastDayInMonth?
.tml
t:source="rangeOfDates"
.java
public List getRangeOfDates()
{
List list = new LinkedList();
for(Integer i=1; i <=lastDayInMonth; i++)
list.add(i);
return list;
}
On Sun, Jul 8, 2012 at 10:55 AM, bhorvat wrote:
> I have a s