5339: --
5341: l_attrib_val := g_attribute_map(p_attrib_val);
5342: ELSE
5343: SELECT cz_ui_page_elements_s.nextval INTO l_new_seq FROM dual;
5344: l_attrib_val := '_czc'||l_new_seq;
5345: g_attribute_map(p_attrib_val) := l_attrib_val;
5346: END IF;
5347:
5356: -- This case can happen when user:attribute3 is processed before the id attribute
5357: -- We have no control over the order in which these attributes are returned.
5358: -- So this case can occur. Since id is not yet processed we dont have the new id
5359: -- So let us just create a new id for the switcher right now and put it in the map
5360: SELECT cz_ui_page_elements_s.nextval INTO l_new_seq FROM dual;
5361: -- this is the new id attribute value for the switcher.
5362: -- We will put it in the map so that it gets used when processing the id attribute in the
5363: -- first If block in this function
5364: l_attrib_val := '_czc'||l_new_seq;