>
I don't think it's ever a good idea to output partial HTML in your
page like this.
I'll throw one more implementation into the ring.
${var:galleryEntry}
http://tapestry.apache.org/schema/tapestry_5_1_0.xsd";>
Thanks Rob... code ran as-is... auto-paging layout looks sweet
I hope to finish this guy up and publish for public consumption by mid week or
sooner... I just need to QA the action auto-paging links.
Thanks... appreciate the help
TML
Rob,
Thanks for the constructive criticism.
I will give this a whirl... like what I see...
I am all for good form... and one of the nice things I am excited about T5 is
that it promotes a ton of loose options for achieving good form.
Appreciate the help and will let you know how I make out.
I've been developing with Tapestry since version 3. I finally reached the
conclusion that templates like below are evil. :) The main reason for them in
T4 was template reloading, so you had fast turnaround time when developing. In
T5, you get page & component class reloading, as well, so the pri
Wow, I wouldn't want to have to maintain an app full of tml files like that.
I think you're not realizing yet how much more maintainable a good clean
T5-style template really is. Java is so much more expressive for logic
anyway.
Bob Harner
On Sep 17, 2011 5:20 PM, "Ken in Nashua" wrote:
>
>
>
>
ad an arithmetic operator kinda like "prop:" "math:"
and maybe a function operator "func:" so i can keep all my component logic self
contained.
Any last ditch efforts to accommodate my dreams ?
Ken
> To: users@tapestry.apache.org; kcola...@live.com
> Subject: Re: ou
realistic operations that will be
understood better in the tml file...
anyway... getting closer... gallery widget pending
ciao
> To: users@tapestry.apache.org; kcola...@live.com
> Subject: Re: outputting expression logic
> Date: Fri, 16 Sep 2011 07:48:41 -0300
> From: thiag...@gmail.com
On Thu, 15 Sep 2011 23:53:18 -0300, Ken in Nashua
wrote:
I guess I am asking for an ognl engine... to do these calculations
within tml files
Are you really sure you want to have logic in your template and make it
look like JSP (which sucks), as Steve said? Mixing output generation and
Some call it clutter, I call it refactor safe!
A problem I often saw with T4 is people tended to push as much logic
as they could into the .tml - with the pain they encountered
afterwards, I wondered why they didn't just stick to JSPs?!
And
does nothing more than
${cursor} + 1
as all outputR
ions or canonical approach are appreciated...
kcola...@live.com
From: kcola...@live.com
To: users@tapestry.apache.org
Subject: RE: outputting expression logic
Date: Thu, 15 Sep 2011 22:47:03 -0400
this seems to produce "0 + 1" instead of the desired "1"
all i am tr
...@live.com
To: users@tapestry.apache.org
Subject: RE: outputting expression logic
Date: Thu, 15 Sep 2011 22:47:03 -0400
this seems to produce "0 + 1" instead of the desired "1"
all i am trying to do is have the arithmetic performed before the output
thanks
kcola...@live.
this seems to produce "0 + 1" instead of the desired "1"
all i am trying to do is have the arithmetic performed before the output
thanks
kcola...@live.com
From: kcola...@live.com
To: users@tapestry.apache.org
Subject: outputting expression logic
Date: Thu, 15 Sep 2011 22:00:46 -0400
Hi
Tapestry property expressions do not support arithmetic operations. See
http://tapestry.apache.org/property-expressions.html
for complete list of operations supported
On Fri, Sep 16, 2011 at 7:30 AM, Ken in Nashua wrote:
>
> Hi All,
>
> I have this expression in a component definition...
>
13 matches
Mail list logo