On Fri, 23 Oct 2015 14:33:32 -0200, Casey Link
wrote:
Do you mean the "container" variable in the loop?
Yes!
That might explain it, as every iteration through the loop the value
changes. Is there a way to suspend the dual-binding nature, or pass a
copy of the value?
No. Don't reuse para
Do you mean the "container" variable in the loop?
That might explain it, as every iteration through the loop the value
changes. Is there a way to suspend the dual-binding nature, or pass a
copy of the value?
Casey
On 10/23/2015 03:25 PM, Thiago H de Paula Figueiredo wrote:
> On Fri, 23 Oct 2015
On Fri, 23 Oct 2015 07:01:51 -0200, Casey Link
wrote:
Ah yea, I screwed up the example in my email, but yes, it's declared
like so:
@Parameter(required = true)
List fooList;
Mind you it works for the "normal" static cases, and the case where it's
passed as a property (#1 and #2), but not in
Ah yea, I screwed up the example in my email, but yes, it's declared
like so:
@Parameter(required = true)
List fooList;
Mind you it works for the "normal" static cases, and the case where it's
passed as a property (#1 and #2), but not inside a .
Casey Link
Outskirts Labs { https://outskirtslabs
Just checking to be sure, but are you sure you didn't forget the
@Parameter on the fooList property in your component?
Nathan
On 23/10/15 10:14, Casey Link wrote:
This is a strange one.
I have a Foo component that wraps a progressive display (not sure if
that part is relevant). One of the par
You can contribute a type coercion, as described at
http://tapestry.apache.org/typecoercer-service.html
On Aug 2, 2012 3:49 AM, "Angelo C." wrote:
> hi,
>
> trying to pass a literal to a component hoping it can do a coercion, here
> is
> the code:
>
> public class IfGroup {
> @Parameter(r
On Thu, 02 Aug 2012 04:49:00 -0300, Angelo C.
wrote:
hi,
Hi!
this works as 'tesGroup' is a property in the page:
hello
but this one will not:
hello
I really have no idea what you're trying to do here. Your parameter is a
Group. You're trying to pass a String to it. Is thi
On Wed, Mar 4, 2009 at 5:15 AM, dhning wrote:
> 1. Do in java
> public Object [] getContextValue() {
> return new Object[2]{user.id, user.name};
> }
You can also return a List.
--
Thiago
-
To unsubscribe, e-mail: users-uns
Got it! thanks!
- Original Message -
From: "dhning"
To: "Tapestry users"
Sent: Wednesday, March 04, 2009 5:28 PM
Subject: Re: component parameter binding question
welcome:)
Like context="contextValue">Delete
Since context is prop binding, it wil
welcome:)
Like Delete
Since context is prop binding, it will map getContextValue() method in java.
Thanks,
DH
- Original Message -
From: "丁振波"
To: "Tapestry users"
Sent: Wednesday, March 04, 2009 5:23 PM
Subject: Re: component parameter binding question
>
Thanks for your reply :)
I used 5.0.18 release version. What param should set in tml's context field
when I use the way do in java?
Delete
- Original Message -
From: "dhning"
To: "Tapestry users"
Sent: Wednesday, March 04, 2009 4:15 PM
Subject
Are you using latest t5 snapshot or 5.0.X.X release?
If latest snapshot, just use like context="[user.id,user.name]"
If not, there are 2 ways:
1. Do in java
public Object [] getContextValue() {
return new Object[2]{user.id, user.name};
}
2. Use list binding in t5commons library
http://code.go
You don't even need to use ognl for that, just do :
"item1,item2,item3"
..
On 3/13/07, Urban Sombrero <[EMAIL PROTECTED]> wrote:
How about: "ognl:{'item1','item2','item3'}"
You can use single quotes for strings in ognl.
On 3/12/07, Tomić Mirko <[EMAIL PROTECTED]> wrote:
>
> What I wanted i
not sure what you mean.something like "ognl:list" ? If that list
is gettable via a method like
public abstract List getList()
on your page class and your component is contained by the page.
On 3/13/07, Tomic Mirko <[EMAIL PROTECTED]> wrote:
How to pass a list directly to a component as a p
How about: "ognl:{'item1','item2','item3'}"
You can use single quotes for strings in ognl.
On 3/12/07, Tomić Mirko <[EMAIL PROTECTED]> wrote:
What I wanted is to pass a list of strings
-
To unsubscribe, e-mail: [EMAIL PROT
What I wanted is to pass a list of strings
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Sorry for posting twice :(
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
How about this:
See http://www.ognl.org/basicExpressions.html, under "List Construction".
Travis
On 3/12/07, Tomić Mirko <[EMAIL PROTECTED]> wrote:
How I can pass a list, as a parameter to component, directly from page file,
with ognl expression, without using java co
18 matches
Mail list logo