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!

Custom input element with same id and name attributes

3489882Aug 22 2017 — edited Nov 22 2017

Hi there,

I just upgraded to APEX 5.1 (5.1.2.00.09).

I had created a custom element like so (simplified):

HTP.P('<select id="x" name="x">');

Now, with APEX 5.1 I get an error when I submit that page.
ERR-1002 Unable to find item ID for item "x" in application ...

Which is not a big deal in my case, I just set the name attribute to "y" and it works fine again.
But I'm wondering if it's really a good idea to treat all items with the same id and name attributes as APEX items? I'd imagine this to be quite common.

Sorry if the issue is already addressed elsewhere, I didn't find anything.

I'm interested in valuations of others, especially the APEX dev team of course.
Wouldn't there be another way to identify APEX items?

Regards,
Jennifer

P.S: I need to say that I very much appreciate you changed the name attribute to something more meaningful for better autofill suggestions! I've been looking forward to this myself.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 20 2017
Added on Aug 22 2017
2 comments
635 views