Great and thanks for the info! Now it works without writing any
conduit classes ...
2011/1/10 Yohan Yudanara :
> Oops.. sorry, Gunnar. Thiago is right. You don't need PropertyConduit.
> We need PropertyConduit if we add non-property column on Grid.
>
> So, you just need this on setupRender:
> void
Oops.. sorry, Gunnar. Thiago is right. You don't need PropertyConduit.
We need PropertyConduit if we add non-property column on Grid.
So, you just need this on setupRender:
void setupRender() {
beanModel = beanModelSource.createEditModel(,
messages);
beanModel.add("");
}
Best Regar
On Mon, 10 Jan 2011 06:13:33 -0200, Gunnar Eketrapp
wrote:
Thanks Yohan !
I now got it to work with my Money type in the grid + sorting.
I created a TransactionAmountPropertyConduit as you advised ...
But it's less then ideal to have to write a
PropertyConduit class every time you use an own
Thanks Yohan !
I now got it to work with my Money type in the grid + sorting.
I created a TransactionAmountPropertyConduit as you advised ...
But it's less then ideal to have to write a
PropertyConduit class every time you use an own defined
type in a grid.
Have I missed something ...
Thanks a
If you want simpler solution, just add property with java type that
can represent your user type in your bean class.
On 1/9/11, Yohan Yudanara wrote:
> You can take a look at
> http://tapestry.1045711.n5.nabble.com/Grid-sortable-additionnal-column-td2433091.html.
>
> On .tml file, you need to use
You can take a look at
http://tapestry.1045711.n5.nabble.com/Grid-sortable-additionnal-column-td2433091.html.
On .tml file, you need to use beanModel attribute on the Grid component:
On .java file, you need to add your "amount" property to the beanModel:
@Inject
private BeanModelSource b
Hi Thiago and others ...
I still haven't managed to display and sort user types in the grid. If
I do the cell rendering on my own as in ...
${transaction.amount.format()}
.. the sorting goes away
I have added a MoneyTranslator but that one is only
On Fri, 17 Dec 2010 12:42:14 -0200, Stephan Windmüller
wrote:
You have to define the layout of the cell by yourself. Have a look at
http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/Grid.html
You can also provide a view block for your own types:
On 17.12.2010 15:22, Gunnar Eketrapp wrote:
> I just started to use the grid component and noticed that all fields that
> have a type other then standrad java types gets silently ignored.
>
> Can I add something to get them displayed or do I have create display
> classes with simpler value types
Hi!
I just started to use the grid component and noticed that all fields that
have a type other then standrad java types gets silently ignored.
Can I add something to get them displayed or do I have create display
classes with simpler value types for each grid !?
Yea yea I am reading the gr
10 matches
Mail list logo