5310: --
5312: l_attrib_val := g_attribute_map(p_attrib_val);
5313: ELSE
5314: SELECT cz_ui_page_elements_s.nextval INTO l_new_seq FROM dual;
5315: l_attrib_val := '_czc'||l_new_seq;
5316: g_attribute_map(p_attrib_val) := l_attrib_val;
5317: END IF;
5318:
5327: -- This case can happen when user:attribute3 is processed before the id attribute
5328: -- We have no control over the order in which these attributes are returned.
5329: -- So this case can occur. Since id is not yet processed we dont have the new id
5330: -- So let us just create a new id for the switcher right now and put it in the map
5331: SELECT cz_ui_page_elements_s.nextval INTO l_new_seq FROM dual;
5332: -- this is the new id attribute value for the switcher.
5333: -- We will put it in the map so that it gets used when processing the id attribute in the
5334: -- first If block in this function
5335: l_attrib_val := '_czc'||l_new_seq;