On Jul 1, 2011, at 12:32 PM, Howard Lewis Ship wrote:
> On Fri, Jul 1, 2011 at 4:37 AM, Thiago H. de Paula Figueiredo
> wrote:
>> On Fri, 01 Jul 2011 07:31:18 -0300, wrote:
>>
>>> Hello everyone!
>>
>> Hi!
>>
>>> Is it possible to nest the output of variables, i.e.: something like:
>>>
>
>
On Fri, Jul 1, 2011 at 4:37 AM, Thiago H. de Paula Figueiredo
wrote:
> On Fri, 01 Jul 2011 07:31:18 -0300, wrote:
>
>> Hello everyone!
>
> Hi!
>
>> Is it possible to nest the output of variables, i.e.: something like:
>>
No this is not supported, but you could inject the AssetSource service
int
On Fri, 01 Jul 2011 07:31:18 -0300, wrote:
Hello everyone!
Hi!
Is it possible to nest the output of variables, i.e.: something like:
I don't think so. As far as I can remember, you can use symbol expansions,
but not property ones in asset bindings.
--
Thiago H. de Paula Figueiredo
In
Hello everyone!
Is it possible to nest the output of variables, i.e.: something like:
I know there are other solutions, but just asking if there is some syntax to do
this type of thing?
Thanks!
Peter
-
To unsubscribe, e-mai
Ok, I used the zone0 and it worked.
On 07-01-2011 10:51, Sergio Esteves wrote:
No, it is not an ajax request (tested with the isXHR). The form can't
find the specified zone on its parameter, and I don't know why. I have
something like zone0(block0( zone1(block1(...) block2(form-zone1(...)
bloc
No, it is not an ajax request (tested with the isXHR). The form can't
find the specified zone on its parameter, and I don't know why. I have
something like zone0(block0( zone1(block1(...) block2(form-zone1(...)
block3(....
On 06-01-2011 23:38, Thiago H. de Paula Figueiredo wrote:
On Thu, 0
On Thu, 06 Jan 2011 21:29:08 -0200, Josh Canfield
wrote:
Are you sure that your request was coming via ajax? There is an event
result processor for BlockImpl when the request is ajax, but not if
it's a traditional request.
Good point. Inject Request and use its isXHR() method to check if th
Are you sure that your request was coming via ajax? There is an event
result processor for BlockImpl when the request is ajax, but not if
it's a traditional request.
On Thu, Jan 6, 2011 at 9:02 AM, Sergio Esteves
wrote:
> Hi all,
>
> I have the following code:
>
>
>
>
>
> ...
>
>
>
>
OK, I have one more zone with a block that contains the code I posted
bellow.
On 06-01-2011 17:02, Sergio Esteves wrote:
Hi all,
I have the following code:
...
...
...
The problem is I can't return thirdBlock when I submit the form in the
secondBloc
Hi all,
I have the following code:
...
...
...
The problem is I can't return thirdBlock when I submit the form in the
secondBlock (" Return type
org.apache.tapestry5.internal.structure.BlockImpl can not be handled.").
Am I doing something wrong?
Th
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') {
Do you have error messages ?
TNO a écrit :
Hi,
I want to create a very simple select list from an enum.
But in a select component, the model (org.apache.tapestry.SelectModel)
is required, I try to use EnumSelectModel but it did not work...
I can't have my enum list...
please help, thanks
T
o unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
View this message in context:
http://www.nabble.com/-T5--Simple-question-about-select-and-enum-tf4815229.html#a13776401
Sent from the Tapestry - User mailing list archive at Nabble.com
It works ! thanks
but the Component Reference says that parameter "model" is required...
lasitha a écrit :
> Tom, try it without specifing a select model.
>
> The following is working for me:
>
>
> Where the page class has just the report property and accessors.
>
> Also note that you don't need
Tom, try it without specifing a select model.
The following is working for me:
Where the page class has just the report property and accessors.
Also note that you don't need to use expansions (the ${..}s) on these.
Cheers,
lasitha.
On Nov 15, 2007 10:00 PM, Michael Courcy <[EMAIL PROTECTED]>
No error message, but in the HTML page :
instead of my enum value...
My java code :
public EnumSelectModel getReportModel() {
return new EnumSelectModel(Report.class, _resources.getMessages());
}
Michael Courcy a écrit :
> Do you have error messages ?
>
> TNO a écrit :
>> H
Hi,
I want to create a very simple select list from an enum.
But in a select component, the model (org.apache.tapestry.SelectModel)
is required, I try to use EnumSelectModel but it did not work...
I can't have my enum list...
please help, thanks
Tom
---
Antivirus avast! : message Sortant s
On 9/17/07, Davor Hrg <[EMAIL PROTECTED]> wrote:
> The problem is that you must give action link something
> to identify your object.
>
> in the page you mentioned you have only one instance of
> the MatchInfo component that get's rendered multiple times with different
> data.
> So when your action
The problem is that you must give action link something
to identify your object.
in the page you mentioned you have only one instance of
the MatchInfo component that get's rendered multiple times with different
data.
So when your action is called, you have the last element passed as
parameter.
yo
On 9/17/07, Francois Armand <[EMAIL PROTECTED]> wrote:
> Well, I'm not sure that I understand what you do correctly, may you
> provide the actual code ?
> As far as I can tell, you persists a field that is used as value for the
> loop, and so it's always the last MacthInfo that is persists.
>
> You
Charles Mason wrote:
Hi All
[..]
Hi,
[..] The
method called by the action link uses the persistent field which
stores the actual Match object which the component gets data from.
However when ever I use the page and click the action link, its as
though the action link is clicked on the last
Hi All
I am currently experiencing a problem which seems to contradict the
model of how action link works.
I have a page called start.html. It has a for loop which for every
iteration contains a custom component, called MatchInfo. This renders
a box containing the info about the match. MatchInfo
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();
Hello all!
Is there a way to specify parameters for a listener method annotated
with the EventListener annotaton, as i might with directlink? My use
case is:
I have a search which in turn has a Next | Back row. I want next to be
given the page range and the same for back. Using a standard
direct
39 matches
Mail list logo