Opened 13 years ago
Closed 13 years ago
#248 closed enhancement (fixed)
ResultExtGrid - use of resource field options
Reported by: | adube | Owned by: | adube |
---|---|---|---|
Priority: | major | Milestone: | 1.4.0 |
Component: | widgets | Version: | trunk |
Keywords: | bis-1.4.0 | Cc: |
Description
For the resultextgrid widget, it would be nice to be able to use the resource field options to set some column settings such as the width, type, title, etc.
Currently, we need to specify this in the 'grids' options, but if we had that in the resource options or fields instead it would be great.
Attachments (2)
Change History (9)
comment:1 by , 13 years ago
Milestone: | → 1.2.0 |
---|
comment:3 by , 13 years ago
Keywords: | bis-1.4.0 added |
---|
comment:4 by , 13 years ago
Owner: | set to |
---|
This enhancement will require 2 things :
- (1) an update of the XSLT file of the widget for it to automatically build the same things required by the javascript.
- the old way must still be usable
- the "useResponseFields" option must still be usable too
- (2) once available, the PGSQLMapContextConfig driver will be able to simply use it. Currently, resources fields are already used in the resultextgrid.php file, inside the linkResource method, to build the nodes required by the old way. We'll simply scrap that and let the new XSLT portion handle that.
by , 13 years ago
Attachment: | patch-trunk-resultextgrid-use-resource-fields-248-r1365-A0.diff added |
---|
Patch - xslt and sample updated - missing PGSQLMapContextConfig driver changes
by , 13 years ago
Attachment: | patch-trunk-resultextgrid-use-resource-fields-248-r1365-A1.diff added |
---|
Patch - xslt and sample updated - PGSQLMapContextConfig driver changes included
comment:5 by , 13 years ago
Alright, all required changes are included in the A1 patch above. If anyone wants to review, that'd be nice.
I tested in XMLConfig, XMLWorkspaceConfig and PGSQLMapContextConfig : everything works as expected.
comment:6 by , 13 years ago
Version: | → trunk |
---|
Fixed in r1366 :
- Sample "queryonclick/simple" updated to show it it works.
- ResultExtGrid documentation updated
comment:7 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
No patch, bumped to 1.2.