Everyone.
I am having some issues with using contrib:TableView components with
beta 2 and was wondering if anyone has noticed these?
These issues are only visible if you are using the 4.0 DTD. I have
defined a contrib:TableView component in a page as:
<component id="tableView" type="contrib:TableView">
<binding name="source" value="ognl:autoApprovalRules"/>
<binding name="columns">
name
</binding>
<binding name="pageSize" value="ognl:10"/>
<binding name="initialSortColumn" value="name"/>
<binding name="initialSortOrder" value="false"/>
</component>
1. I get an ognl.NoSuchPropertyException for the "column" binding
unless I prefix my columns with a display name and a colon. The above
"column" binding fails, to get it to work I had to do something like this:
<binding name="columns">
My Name:name
</binding>
2. If I setup the "column" binding as I did in #1 and I have a page
message space, the value from the properties file is never rendered, it
always uses the display name that is hard coded into the "column" binding.
3. I get an ognl.NoSuchPropertyException for the "initialSortColumn"
binding unless I prefix my column with a display name and a colon. The
above "column" binding fails, to get it to work I had to do something
like this:
<binding name="initialSortColumn" value="mickey mouse:name"/>
You will notice the value before the colon, doesn't even match what I
have for item #1.
4. Inital sorting does not work, even if I have the same value before
the colon for "columns" and "initialSortColumn" bindings. Its probably
related to #3.
Before I report these as bugs, I just wanted to get your input.
thank, scott.
--
Scott F. Walter Scott F. Walter
Principal Consultant
Vivare, Inc.
E: [EMAIL PROTECTED]
E: [EMAIL PROTECTED]
Visit scottwalter.com <http://scottwalter.com> --Point. Click. Explore!
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]