Hello!
I am new in Polymer and wanted just a simple screens for users.
I’ve tried query result list template with this query
<?xml version="1.0"?>
<queries xmlns="http://schemas.haulmont.com/cuba/rest-queries.xsd">
<query name="ordersAfterDate" entity="clickplatform$Training" view="trainingViewFull">
<jpql><![CDATA[select o from clickplatform$Training o
<!--where-->
<!--o.startDateTime> :startDate and-->
<!--o.trainer in :trainer-->
]]></jpql>
<params>
<!--<param name="startDate" type="java.sql.Date"/>-->
<!--<param name="trainer" type="com.company.clickplatform.entity.Trainer"/>-->
</params>
</query>
</queries>
Screen is working without errors, but dont display any data.
If it has parameters, it shows only filter and nothing changes if you fill them.
With no parameters it is just blank.
I thought query should work after parameter fill or after button click, but there is no button on autogenerated screen.
How should it work to display data?
I also have several questions questions about polymer.
-
filter label is going up to top menu. Guess it should be so. -
Also this parameter this Date parameter has type from example “java.util.Date”. But it displays as String, allows to fill it with everything.
-
Is there any tutorials or workshops about polymer?
I found
GitHub - cuba-labs/polymer-data-samples
GitHub - cuba-labs/webinar-polymer-overview
But is contains a very little information.
Thanks