771: IF (pageCustDocID > 0) THEN
772: -- The page customization document exists, so we need to check if it
773: -- contains any references to the region
774: BEGIN
775: SELECT 'x' INTO tempStr FROM DUAL WHERE EXISTS (
776: SELECT *
777: FROM jdr_components, jdr_attributes
778: WHERE comp_docid = pageCustDocID AND
779: att_comp_docid = pageCustDocID AND