Execution order of dsp:input tags in ATG

447 views Asked by At

While a form submit, I know that submit handler method (<"dsp:input" type="submit ..") processed finally after processing of all other type of "dsp:input" tags.

But, if we consider this other types of input tags only (not submit type), is there any specific order that they will get processed?

Is it the order that we define inside the JSP code?

Thanks, Buddhika

1

There are 1 answers

1
Patrick On BEST ANSWER

According to the documentation itself,

"DAF sets all properties from form input tags in a predetermined order. The ATG platform uses its own algorithm to determine the default order for processing form tags."

So it's not always the order of the tags within the jsp. If you need a specific processing order, you can add the priority attribute to the input tag.

See docs on the order of tag processing, and dsp:input