wow! A wealth of information. Thank you all!
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/a-simple-t-if-question-tp3259452p3260417.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
--
On Thu, 11 Nov 2010 09:58:42 -0200, Christian Riedel
wrote:
public String getReportTitle()
:-)
Yep, programming my e-mail client (Opera's M@) hasn't Java type checking .
. . :D
--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
a
> public String getReportTitle()
:-)
Am 11.11.2010 um 12:52 schrieb Thiago H. de Paula Figueiredo:
> On Thu, 11 Nov 2010 08:15:33 -0200, Richard Hill
> wrote:
>
>> In T5, 5.1 you can do something like this. In .tml:
>>
>> ${reportTitle}
>> ...
>>
>>No report to display
>>
>>
>> I
Excellent tips Thiago, cheers.
-Original Message-
From: Thiago H. de Paula Figueiredo
Reply-to: "Tapestry users"
To: Tapestry users
Subject: Re: a simple question
Date: Thu, 11 Nov 2010 09:52:01 -0200
On Thu, 11 Nov 2010 08:15:33 -0200, Richard Hill
wrote:
> In T5
On Thu, 11 Nov 2010 08:15:33 -0200, Richard Hill
wrote:
In T5, 5.1 you can do something like this. In .tml:
${reportTitle}
...
No report to display
I believe the "else" syntax may have changed in T5.2.
There are now two syntaxes for passing values to parameters that are
bl
: hese <1024h...@gmail.com>
Reply-to: "Tapestry users"
To: users@tapestry.apache.org
Subject: a simple question
Date: Wed, 10 Nov 2010 13:24:23 -0800 (PST)
Hi,
I am using Tapestry 5. I see that in tapestry 4 it was possible to have
condition values in the if clause. Is somet
On Wed, 10 Nov 2010 20:56:55 -0200, Howard Lewis Ship
wrote:
Less expressive, but not less powerful. T5's property expressions are
type-safe and non-reflective, with no unwanted synchronization logic, so
I'd call that a better than even trade!
I stand corrected. :)
--
Thiago H. de Paula
YES...
tml
x needs boolean
java
boolean x;
if(mystring.equals("tapestry"))
x = true
else
x=false
Hope you understand the logic.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/a-simple-t-if-question-tp3259452p3259618.html
Sent from the Tapestry - User mailing lis
On Wed, Nov 10, 2010 at 2:21 PM, Thiago H. de Paula Figueiredo <
thiag...@gmail.com> wrote:
> On Wed, 10 Nov 2010 19:26:18 -0200, hese <1024h...@gmail.com> wrote:
>
> ...and is it possible to pass parameters into the if evaluating function
>> and receive a boolean/string back?
>>
>
> Hi!
>
> You
On Wed, 10 Nov 2010 19:26:18 -0200, hese <1024h...@gmail.com> wrote:
...and is it possible to pass parameters into the if evaluating function
and receive a boolean/string back?
Hi!
You pass a parameter to the If parameter (and any other parameter of any
other component) using a binding. Se
ok thanks!
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/a-simple-t-if-question-tp3259452p3259547.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-u
Short answer: No.
You have to create a public method in the page class and refer to it. All
logic should be in java, not tml.
On Wed, Nov 10, 2010 at 10:26 PM, hese <1024h...@gmail.com> wrote:
>
>
> ...and is it possible to pass parameters into the if evaluating function
> and
> receive a boolea
...and is it possible to pass parameters into the if evaluating function and
receive a boolean/string back?
something like
if( foo('somevalue) ) {
} else {
}
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/a-simple-t-if-question-tp3259452p3259456.html
Sent from the Tap
Hi,
I am using Tapestry 5. I see that in tapestry 4 it was possible to have
condition values in the if clause. Is something like this available in 5?
Is it possible to check for a particular string value in the t:if tag or is
it just boolean?
I want to do something like
if(str=='somevalue') {
Sam Gendler wrote:
Generally, you would make sure the page implements the IExternalPage
interface. That allows you to specify parameters in a link and
...
--sam
Thanks a lot
Wojtek
--
Wideofelietony Tadeusza Mosza.
O biz
Generally, you would make sure the page implements the IExternalPage
interface. That allows you to specify parameters in a link and
receive them when the page is activated. If you just need to generate
the URL, you can create an instance of an ILink via the
ExternalService and then get the URL f
Hi can I obtain full textual (ie. as a String) URL to a page with some
parameters? Let's say that I have a page PageBeingCalled with a string
property:
public class PageBeingCalled extends BasePage {
public abstract void setMyProperty(String prop);
public abstract String getMyProperty();
17 matches
Mail list logo