Author |
Message |
11/03/2022 22:05:49
|
mreich
Power User
Joined: 30/01/2009 08:34:23
Messages: 744
Offline
|
Hi,
I think I've a special constellation (once again ;-))
I have a grids rendered within a repeat component, then I try to set the render property by .{render} the property is defined within the class which is the type of the list set in the repeat component. But it seems to get mixed up with the reference of the grid items properties which also have the form .{xxx} so the result is that the column isn't rendered even when render == true
regards
Markus
|
Filename |
2022-03-11 23_03_11-CaptainCasa Enterprise Client - RISC-HTML_ Development Tools.png |
Download
|
Description |
|
Filesize |
81 Kbytes
|
Downloaded: |
138 time(s) |
|
Filename |
2022-03-11 23_04_36-workspace - woodproc_src_main_java_at_ithausverstand_woodproc_ui_OfferWPB.java -.png |
Download
|
Description |
|
Filesize |
32 Kbytes
|
Downloaded: |
163 time(s) |
|
|
|
12/03/2022 05:51:29
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5526
Offline
|
Hi Markus,
we can reproduce in an own example... Just working on it...
Thanks a lot!!! - Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
12/03/2022 08:41:18
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5526
Offline
|
Hi Markus,
the interim build 20220312_INT1 contains the fix.
It is available in the CaptainCasa-Maven-Repoisitory (www.CaptainCasa.com).
Thanks again! Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
13/03/2022 17:34:49
|
mreich
Power User
Joined: 30/01/2009 08:34:23
Messages: 744
Offline
|
thx, for that quick fix
I had another problem with fixgrid within a repeat, maybe it's solved too, I haven't tried the interim version.
When using a t:gridfooter where e.g. a total is calculated. The total is calcualted on item scope as the general property i mentioned before in the gridfooter I reference by .{totalAmount}
BR
Markus
|
|
|
13/03/2022 18:14:49
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5526
Offline
|
Yes, same problem. Should now be fixed... - Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
09/11/2023 17:58:23
|
mreich
Power User
Joined: 30/01/2009 08:34:23
Messages: 744
Offline
|
Hi,
now I found another problem
I want to create the fixgrid dynamically (with t:dynamiccontent)
there is a problem with the expression
when I do
LABELNode label = new LABELNode();
label.setText(".{type.descriptionT}");
it generates
#{d.EventsPB.events[0].type.descriptionT}
but it should be
#{d.EventsPB.events[0].gridEvent.rows[0].type.descriptionT}
BTW events is the Collection for t:repeat it contains the fixgrid gridEvent
regards
Markus
|
|
|
10/11/2023 05:37:07
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5526
Offline
|
Hi Markus,
we need a bit more details about the structure: where is REPEAT, where is ROWDYAMICCONTENT? A mini demo program/XML page would be highly appreciated. ;-)
Kind regards! Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
10/11/2023 07:03:59
|
mreich
Power User
Joined: 30/01/2009 08:34:23
Messages: 744
Offline
|
sorry, I add JSP and class
In the row should be name = "Test Row" but it takes the name from the repeatItem
Filename |
TestPB.java |
Download
|
Description |
|
Filesize |
3 Kbytes
|
Downloaded: |
57 time(s) |
Filename |
test.jsp |
Download
|
Description |
|
Filesize |
684 bytes
|
Downloaded: |
57 time(s) |
|
|
|
10/11/2023 07:50:38
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5526
Offline
|
...thanks! Can reproduce it... - Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
10/11/2023 14:47:05
|
mreich
Power User
Joined: 30/01/2009 08:34:23
Messages: 744
Offline
|
FYI
could solve the problem using a pagebean which includes the dynamic content in the repeat component
|
|
|
10/11/2023 14:50:45
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5526
Offline
|
Hi,
very tricky way to bypass the inner problem! We are currently testing our bug fix for potencial collateral damage... The fix is contained in next Monday's version. If you want to have an interim update - just tell us!
Kind regards! Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
10/11/2023 14:52:12
|
mreich
Power User
Joined: 30/01/2009 08:34:23
Messages: 744
Offline
|
no hurry, monday is ok thx
|
|
|
|