SmartClient Version: SNAPSHOT_v13.1d_2024-09-06/AllModules Development Only (built 2024-09-06)
I see the error is fixed, thanks.
Announcement
Collapse
No announcement yet.
X
-
This has been fixed and will be available for download in the nightly build tomorrow (September 5).
Leave a comment:
-
And actually I've got the same error in my application:
Code:WARN RequestContext dsRequest.execute() failed: java.lang.NullPointerException: null at com.isomorphic.sql.SQLSelectClause.getSQLString(SQLSelectClause.java:107) ~[isomorphic-sql-13.1-d20240829.jar:?] at com.isomorphic.sql.SQLDataSource.getClausesContext(SQLDataSource.java:4231) ~[isomorphic-sql-13.1-d20240829.jar:?] at com.isomorphic.sql.SQLDataSource.SQLExecute(SQLDataSource.java:1839) ~[isomorphic-sql-13.1-d20240829.jar:?] at com.isomorphic.sql.SQLDataSource.SQLExecute(SQLDataSource.java:1739) ~[isomorphic-sql-13.1-d20240829.jar:?] at com.isomorphic.sql.SQLDataSource.processRequest(SQLDataSource.java:509) ~[isomorphic-sql-13.1-d20240829.jar:?] at com.isomorphic.sql.SQLDataSource.executeFetch(SQLDataSource.java:453) ~[isomorphic-sql-13.1-d20240829.jar:?] at com.isomorphic.datasource.DataSource.execute(DataSource.java:3234) ~[isomorphic-core-rpc-13.1-d20240829.jar:?] at com.isomorphic.application.AppBase.executeDefaultDSOperation(AppBase.java:658) ~[isomorphic-core-rpc-13.1-d20240829.jar:?] at com.isomorphic.application.AppBase.executeAppOperation(AppBase.java:555) ~[isomorphic-core-rpc-13.1-d20240829.jar:?] at com.isomorphic.application.AppBase.execute(AppBase.java:498) ~[isomorphic-core-rpc-13.1-d20240829.jar:?] at com.isomorphic.datasource.DSRequest.execute(DSRequest.java:4366) ~[isomorphic-core-rpc-13.1-d20240829.jar:?]
Leave a comment:
-
SmartClient Version: SNAPSHOT_v13.1d_2024-08-29/AllModules Development Only (built 2024-08-29)
Hello, I just noticed that with this test case in the fetchOperationFS sample:
Code:isc.ListGrid.create({ ID: "supplyList", width:500, height:300, alternateRecordStyles:true, dataSource: supplyItem, fields:[ {name:"SKU"}, {name:"itemName"}, {name:"description"}, {name:"category", filterEditorType: "SetFilterItem"} ], autoFetchData: true, showFilterEditor: true, filterOnKeypress: true, fetchDelay: 500 });
Code:*11:16:21.559:XRP5:WARN:RPCManager:Server returned FAILURE with no error message performing operation 'supplyItem_fetch'.
Leave a comment:
-
Apologies for the silence on this one - we'll be adding picker-placement for mobile / responsive design in the next few days and will update here when it's in.
Leave a comment:
-
hi Claudio - SetFilterItem / MultiPickerItem don't implement the normal "PickList" interface, and don't currently support pickListPlacement.
We'll take a look at what's involved and get back to you.
Leave a comment:
-
Hello, I just noticed that on handset the SetFilterItem doesn’t open full screen, is it intended to be like that?
Leave a comment:
-
Hi Isomorphic,
thanks for the hint on optionFilterContext, which is exactly the shortcut needed. One can sort there and change other fetch params or use sortField, if it is just about sorting.
"(5) Drag selection still possible, but on the opening caret only, not in the text anymore" which I mentioned in #17 seems to be fixed as well, either because of icon change to SVG or because you changed some code.
I think that now all design-points are either addressed or you decided to keep them as they are, so this thread should be finished for now. Only samples are missing now.
Thank you & Best regards
Blama
Leave a comment:
-
hi Blama,
Following up on a couple of points:
1) on sorting in particular, SetFilterItems already provide several ways to do it - directly with item.sortField/sortDirection or initialSort, or those same attributes on the "pickList" autoChild-grid via item.pickListProperties - or ...
2) via item.optionFilterContext, using sortBy - in items with pickers, including SetFilterItem, item.optionFilterContext is effectively a shorthand for item.pickListProperties.dataProperties.requestProperties, so is appropriate for your question in #29
Leave a comment:
-
Hi Isomorphic,
regarding the black selection from #23 I can see that this does no longer happen with SNAPSHOT_v13.1d_2024-06-20. So whatever you did in #24 seemed to have worked.
I can also see that the ListGrid filter-icon and the SetFilterItem expand-icon are SVGs now.
Best regards
Blama
Leave a comment:
-
On the default sort, the natural order of the data is often the best sort, so we don't want to override that as a default. But we will make it easy to affect the sort.
Leave a comment:
-
Hi Isomorphic,
another question regarding pickListProperties:
Is this below really the only way to set the requestProperties? This seems awfully deep nested and is almost impossible to find out. ListGrid has saveRequestProperties, but no "normal" (fetch-)RequestProperties.
Code:name: "government", filterEditorProperties: { type: "SelectItem", sortField: "government", multiple: true, pickListProperties: { dataProperties: { requestProperties: { groupBy: "government" } } } },
Blama
Leave a comment:
-
Hi Isomorphic,
re (3): That's great
re (10): If you are not using the search, which you won't for let's say less than 25 records, you will be faster finding the wanted entry if the dataset is sorted. The difference to a "normal" ListGrid is that you only have one row of data here and it is obvious which column is the right one to sort. In a ListGrid with multiple columns you can't possibly know that. Of course is is easy enough to do this oneself, but a sensible default always helps.
re (12)/(13): Ok, I'll wait for today's build. Also, the filter icon is still png, in case you want to change that.
Best regards
Blama
Leave a comment:
-
hi Blama - A quick followup on your numbers 3 and 10.
#3 - some uses of this component may not auto-filter, so we're not going to remove the filter icon for now - however, we've added support for setting showFilterIcon: false, via filterEditorProperties in this case, if you don't want to see it - will be in today's builds
#10 - if you wanted to apply a sort here yourself, you can do it via item.initialSort, or item.sortField/Direction, or with LG settings via pickListProperties on the item. We wouldn't typically apply a default sort here, as we don't in grids generally - can you clarify why you think it's better in this case?
We haven't yet added the new samples, but they'll be on their way soon.Last edited by Isomorphic; 18 Jun 2024, 22:09.
Leave a comment:
-
Yes, it was showing the old disk-based png file, which is a black funnel image, when state changed on rollover, due to a mis-mapping - we'll keep an eye on it.
Leave a comment:
Leave a comment: