Re: contribTable and ognl expression

2006-03-11 Thread Peter Svensson
Hmm. OK, I'll try to finish an idea of maing an ant taks to generate java-files with hibernate tools (hbm2java) to make trails easier to use for people with existing db's. Sometimes I think I should find another hobby :) Cheers, PS On 3/11/06, Andreas Bulling <[EMAIL PROTECTED]> wrote: > > On 11.

Re: contribTable and ognl expression

2006-03-11 Thread Andreas Bulling
On 11. Mär 2006 - 16:21:04, Peter Svensson wrote: | It should be both, though you have to define at the getter. Thanks again and have a nice weekend! ;) I will stop working on my project for today, now... - To unsubscribe, e-mail

Re: contribTable and ognl expression

2006-03-11 Thread Peter Svensson
It should be both, though you have to define at the getter. Cheers, PS On 3/11/06, Andreas Bulling <[EMAIL PROTECTED]> wrote: > > On 11. Mär 2006 - 09:27:43, Chris Chiappone wrote: > | Make sure you have your recordlist property set to "persist". It > | looks as though when you click on the sorti

Re: contribTable and ognl expression

2006-03-11 Thread Andreas Bulling
On 11. Mär 2006 - 09:27:43, Chris Chiappone wrote: | Make sure you have your recordlist property set to "persist". It | looks as though when you click on the sorting and the page refreshes | your list will be null if not persisted in the page. Yeah, thanks for that - that was the reason for the e

Re: contribTable and ognl expression

2006-03-11 Thread Chris Chiappone
Make sure you have your recordlist property set to "persist". It looks as though when you click on the sorting and the page refreshes your list will be null if not persisted in the page. ~chris On 3/11/06, Andreas Bulling <[EMAIL PROTECTED]> wrote: > On 11. Mär 2006 - 15:04:05, Peter Svensson wr

Re: contribTable and ognl expression

2006-03-11 Thread Peter Svensson
Oh, I passed on Dune to my fiancée some months ago and now she's at about "God emperor of Dune" i think. It's a term used by the Arrakis freemen, meaning just that. I think it roughly translates to "Doh!" but kind of offensive :) Now that I think of it I have a feeling that the error you've mentio

Re: contribTable and ognl expression

2006-03-11 Thread Andreas Bulling
On 11. Mär 2006 - 15:04:05, Peter Svensson wrote: | Kul Wahad! I'm profoundly stirred. :) No, I'm sorry, I've yet to see that one. ^ What does that mean?! ;-) That's a pity... Anyone else? - To unsubscribe, e-mail: [EMAI

Re: contribTable and ognl expression

2006-03-11 Thread Peter Svensson
Kul Wahad! I'm profoundly stirred. :) No, I'm sorry, I've yet to see that one. Cheers, PS On 3/11/06, Andreas Bulling <[EMAIL PROTECTED]> wrote: > > I just encountered another problem - perhaps you also know how to fix this > by any chance? > If I click one column header link to sort that column

Re: contribTable and ognl expression

2006-03-11 Thread Andreas Bulling
I just encountered another problem - perhaps you also know how to fix this by any chance? If I click one column header link to sort that column I get the following error: --- Either the tableModel parameter or both source and columns parameters must be specified by component Start/recordList.table

Re: contribTable and ognl expression

2006-03-10 Thread Andreas Bulling
| Thanks! I remember how insanely steep my own learning curve were with | tapestry, so being able to help someone getting something working feels | really good. Yeah, that's right! The learning curve is really very steep and I hope that I will reach "the top" one day and I'm able to help other peo

Re: contribTable and ognl expression

2006-03-10 Thread Peter Svensson
Thanks! I remember how insanely steep my own learning curve were with tapestry, so being able to help someone getting something working feels really good. Of course, I've had a dry martini, but nonetheless :) what doesn't work atm? Cheers, PS On 3/10/06, Andreas Bulling <[EMAIL PROTECTED]> wrot

Re: contribTable and ognl expression

2006-03-10 Thread Andreas Bulling
| | | And then ad the following methods to you class (the one that has the same | name as the page); | | public abstract Object getRow(); | public abstract void setRow(); That was a very good tip as I'm a step further, now ;) I didn't know of the "row" binding but it seems as if this is the way

Re: contribTable and ognl expression

2006-03-10 Thread Andreas Bulling
| I'm trying to understand what you want to do. If I understand correctly, you | would like to take a value in a field in a row in a table and replace it | with a link. Is that correct? Actually, it's quite simple but perhaps I wasn't able to explain good enough what I need in my first post - I wi

Re: contribTable and ognl expression

2006-03-10 Thread Peter Svensson
I'm not so good at tables, but as far as I know I don't know of a way to pass an argument in the columns definition, so I think (again, this might be possible) that the line instead should be; Note that since ognl is default (though not explicit) inside the string, tapestry will actually look f

Re: contribTable and ognl expression

2006-03-10 Thread Andreas Bulling
Hi Peter, thanks for your reply! | Hmm. What kind of error are you getting, or what shows on the page? Well, actually the page shows nothing for this column. | Also, you are aware that the convertStatus method must be on the row object, | i.e. the class that the source list is made up of? No,

Re: contribTable and ognl expression

2006-03-10 Thread Peter Svensson
Hmm. What kind of error are you getting, or what shows on the page? Also, you are aware that the convertStatus method must be on the row object, i.e. the class that the source list is made up of? That's all I can come up with atm, but I'm new to this as well :) Anyone? Cheers, PS On 3/10/06, And