Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

AJAX checkbox

180271Jun 11 2009 — edited Jun 11 2009
I have a multi (7) column checkbox with form element attributes on my page:

onClick="refresh_reports_lov(this.value,this,$x('P507_SCHOOL'),$x('P507_YEAR'),'REFRESH_SIS_REPORTS_FILTER_LOV');toggle_items2(this.value,this)"

I am using Application process below to refresh the values, but when it fires it lists everything in 1 column and does not put in the 'On-Click'. How can you specify these things in the Application Process?

BEGIN
OWA_UTIL.mime_header ('text/xml', FALSE);
HTP.p ('Cache-Control: no-cache');
HTP.p ('Pragma: no-cache');
OWA_UTIL.http_header_close;
HTP.prn ('<checkbox>');

FOR i IN (SELECT empno, ename
FROM emp
WHERE deptno = :selectlist_item_1
ORDER BY ename)
LOOP
HTP.prn ('<message>' || i.ename || '</message>');
HTP.prn ('<value>' || i.empno || '</value>');
END LOOP;

HTP.prn ('</checkbox>');
END;
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 9 2009
Added on Jun 11 2009
2 comments
497 views