You need to get the count being used for 'art' replicant. Based on the count, it needs to be a nested loop, having a child loop for 4 items. Use the property setValue and setReadOnly on each item.The only trick is not to make the item readonly, before hand.
Your looping should be something like this: /document/arts/art[color=red]/ext_items/ext_item[/color] In the above [color=red]'i' should loop from 1 till the length of art item and 'j' should loop for 4 times nested inside the art item loop.[/color] Use setValue for each iteration of ext_item.
can anyone point, show on how to loop through nested replicants? I didn't see any examples on forum
I dont think someone will get time out for you to write a code. My suggestion is to give it a try and if you face any issue, attach the same to get corrected.