Skip to Main Content

DevOps, CI/CD and Automation

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!

ojInputSearch Disabled/Enabled is not working

Charles.Gong-OracleSep 26 2016 — edited Dec 6 2016

I am working on the ojInputSearch with disabled and enabled setting but it can not work by oj Setting.

The following is the area of ojInputSearch Input area(Red Box) and HTML element renderred area(Blue Box).

Screen Shot 2016-09-26 at 3.25.49 PM.png

I am using the code like this as below:

Screen Shot 2016-09-27 at 5.54.29 AM.png

This code is triggered when clicking the "advance search" on last screen shot. Our aim is that when using the advance search, we don't want to use the simple search. So, clicking advance search, we hope that using the disabled setting to let the simple search element with disabled status. The strange thing is happened after invoke disabled setting code. But the scenario is happened as below.

Screen Shot 2016-09-27 at 5.59.36 AM.png

We found that the simple search input element has been replaced as this one. Checking the HTML structure as below.

Screen Shot 2016-09-27 at 6.14.52 AM.png

Actually, the div element inside of simple-search element(Blue Box) should be the simple search input element but it still has 'oj-enbaled' CSS. But after setting disabled on this search input by using ojInputSearch widget. There are some outside HTML element renderred out(Red Box). It's strange for my expectation. We hope that it can change the CSS property by applying inside elements(Blue Box).

My question is that is there any problems that we used the ojInputSearch disabled setting? If not, I am not sure that this is the issue of ojInputSearch widget part. Hope that someone can give me some comments. If yes, hope that someone can give me the right way to set the ojInputSearch as disbaled. Now, I have to use another workaround to set the search input element as disabled without using ojInputSearch widget method.

Comments
Post Details
Added on Sep 26 2016
2 comments
226 views