Repeating grids section validation question

5 views
Skip to first unread message

karthikeyan

unread,
Apr 8, 2021, 7:12:01 PM4/8/21
to orb...@googlegroups.com
We have an article with grid and it has 3 sections. Each section is named as
cell-1, cell-2, cell-3 which will have an urn id and that in turn sends a
request and loads the data in the cell. we want to run a validation on
cell-2 and cell-3 based on the xml value in cell-1 but validation only
happens before the cell is loaded with the data. Any help appreciated,
please. Many thanks in advance.

The following grid is filled up with data when the article is published.
<grid>
<row>
<cell-1>urn:some-id:some-pid</cell-1>
<cell-2/>
<cell-3/>
</row>
<row>
<cell-1>urn:some-id:some-pid</cell-1>
<cell-2/>
<cell-3/>
</row>
<row>
<cell-1>urn:some-id:some-pid</cell-1>
<cell-2/>
<cell-3/>
</row>
</grid>

--
Sent from: http://discuss.orbeon.com/

Alessandro Vernet

unread,
Apr 10, 2021, 7:59:42 PM4/10/21
to orb...@googlegroups.com
Hi,

Validation should be triggered again every time a value the validation
depends on changes. So whenever a new value is loaded in `cell-1`, your
validation for `cell-2` and cell-3` should be triggered again if it depends
on `cell-1`. Are you saying that you are not seeing this? If so, could you
create a minimal example that reproduces this behavior?

-Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet

Alessandro Vernet

unread,
Apr 19, 2021, 4:23:42 PM4/19/21
to orb...@googlegroups.com
Hi,

Did you get a chance to look at this one, and maybe figure out what was
happening with validation? If not, and if this is still something you have
on your plate, it would really help if you could share with us a minimal
example that we can use to reproduce the behavior you have on your side.
Reply all
Reply to author
Forward
0 new messages