It's impossible to override default model in subclass of Grid
-------------------------------------------------------------
Key: TAPESTRY-2608
URL: https://issues.apache.org/jira/browse/TAPESTRY-2608
Project: Tapestry
Issue Type: Improvement
Components: tapestry-core
Affects Versions: 5.0.14
Environment: All
Reporter: Yunhua Sang
For a sub-class of Grid, it's impossible to provide its own BeanModel to
override the default model in Grid because the method
Binding defaultModel() {..}
is package visible.
it would be nice to have that method to be protected to let sub-class of Grid
be able to override the default model.
I know a workaround is to make a component to composite the Grid, bind model
parameter to a property and copy all the parameters over; but there are so
many parameters in Grid component, I don't think it's a good way.
Thanks,
Yunhua
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]