I actually got the same idea, just after pushing the send button. It's
quite a task, though, to carve this out. But it's certainly my job.
I'll make a try.
In the meanwhile: an observation. Looking at the breakpoint in
BugPage.getListsource () I can see the call stack. At the top is
Layout.
Hey Alec,
I was hoping for something a little more minimal, but still
complete/compilable. :)
I still can't reproduce the problem, but maybe @Persist on your report
property is the culprit? Try it with out that. That's a shot in the
dark though, so if that doesn't help I think I'll need something
Hm... looking more on your example... Seems that yoyr example and my
ReportSize component are similar and both do indeed work. So it's
something with the Layout component...
--alec
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Hm... looking more into your example As I understand it, your
example and my ReportSize component are really similar and both do
indeed work demonstrating that *is* possible to pass the arguments. So
it is something with the Layout component...
Feeling dumb, need a better brain.
--alec
Josh Canfield wrote:
Hey Alec,
Looking at small excerpts from a large file leaves too much to the
imagination. Can you create a minimal but complete page and component
that reproduces the problem?
Yes, I should have done it long time ago, I know. Below is the complete
example, removing all o
Hey Alec,
Looking at small excerpts from a large file leaves too much to the
imagination. Can you create a minimal but complete page and component
that reproduces the problem?
It feels like there is a bad return type or something on one of the
methods in the chain, so having a complete non-workin
age class.
You've shared the component code. Can you share the relevant page code?
(Declaration, initialization, getters and setters...)
Jonathan
-Original Message-
From: Alec Leamas [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 01, 2008 5:27 PM
To: Tapestry users
Subject: Re:
the page class.
You've shared the component code. Can you share the relevant page code?
(Declaration, initialization, getters and setters...)
Jonathan
-Original Message-
From: Alec Leamas [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 01, 2008 5:27 PM
To: Tapestry users
Subjec
tters and setters...)
Jonathan
> -Original Message-
> From: Alec Leamas [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 01, 2008 5:27 PM
> To: Tapestry users
> Subject: Re: T5, newbie: Component parameter passing problems (#2)
>
> My problem is not just with lists:
hat your MyMap
> > works?
> >
> > If you can present a non-Tapestry test that works, and corresponding
> > Tapestry test that doesn't, then I think you'll find an answer quickly.
> >
> > Jonathan
> >
> >
> >
> >
> >>
e proof that your code works outside of Tapestry? Why, and how,
did you EXTEND TreeMap? Do you have a unit test to prove that your MyMap
works?
If you can present a non-Tapestry test that works, and corresponding
Tapestry test that doesn't, then I think you'll find an answer quickly.
t that works, and corresponding
Tapestry test that doesn't, then I think you'll find an answer quickly.
Jonathan
-Original Message-
From: Alec Leamas [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 01, 2008 8:37 AM
To: Tapestry users
Subject: Re: T5, newbie: Compone
a non-Tapestry test that works, and corresponding
Tapestry test that doesn't, then I think you'll find an answer quickly.
Jonathan
> -Original Message-
> From: Alec Leamas [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 01, 2008 8:37 AM
> To: Tapestry users
> Subj
public List getRows() {...}
Davor Hrg wrote:
how is getRows declared in your page class ?
On Tue, Apr 1, 2008 at 2:09 PM, Michael Kolmodin <[EMAIL PROTECTED]>
wrote:
OK, thanks...
In my page, I have
The columns argument, a List is just fine.
The rows argument, a List is the problem.
how is getRows declared in your page class ?
On Tue, Apr 1, 2008 at 2:09 PM, Michael Kolmodin <[EMAIL PROTECTED]>
wrote:
> OK, thanks...
>
> In my page, I have rows="prop:rows"/>
>
> The columns argument, a List is just fine.
> The rows argument, a List is the problem.
>
> The page has a List
OK, thanks...
In my page, I have
The columns argument, a List is just fine.
The rows argument, a List is the problem.
The page has a List getRows() which is verified.
Looking in MyComponent.java, I have
@Parameter
private List rows;
@Parameter
private List columns;
public S
Tapestry support for Java generics is very limited,
you need a value encoder to make this work,
also, add more details on who calls what... so more is known
of the problem you are trying to solve.
Davor Hrg
On Tue, Apr 1, 2008 at 1:43 PM, Alec Leamas <[EMAIL PROTECTED]> wrote:
> I have problem
I have problems passing my own datatype(s) to my own component. The
component takes two parameters, one List and one List.
MyMap is declared as MyMap extends TreeMap {...}.
The first parameter, a list of strings arrives safely to my component.
However, the other one, seems to be mixed up: whe
18 matches
Mail list logo