tag:blogger.com,1999:blog-4373363168282429441.post5548313384505296054..comments2023-05-18T12:25:36.740+02:00Comments on Blog on Software and Beyond it: Set Initial Focus component for Oracle ADF FacesDonatashttp://www.blogger.com/profile/03732231716592758461noreply@blogger.comBlogger7125tag:blogger.com,1999:blog-4373363168282429441.post-60755030996170557902018-04-02T21:15:13.286+02:002018-04-02T21:15:13.286+02:00Hi Bogdan,
it is already packaged as a "libr...Hi Bogdan,<br /><br />it is already packaged as a "library". There is no separate javascript needed as javascript gets rendered dynamically by SetInitialFocusBehavior.java class.<br /><br />Regards, DonatasDonatashttps://www.blogger.com/profile/03732231716592758461noreply@blogger.comtag:blogger.com,1999:blog-4373363168282429441.post-612567008748693932018-03-13T13:17:19.188+01:002018-03-13T13:17:19.188+01:00Hi,
I want to move the behavior in a separate libr...Hi,<br />I want to move the behavior in a separate library and put all the JS in a separate file inside the library. What do I need to do in order to make the browser to load the JS file at runtime?<br />Thank you. Bogdan Dancuhttps://www.blogger.com/profile/16520630211573177526noreply@blogger.comtag:blogger.com,1999:blog-4373363168282429441.post-28806763919338206182013-06-12T12:30:43.014+02:002013-06-12T12:30:43.014+02:00Hi, Diego Rafael Flores
check if you are using a ...Hi, Diego Rafael Flores<br /><br />check if you are using a correct JDeveloper R2 - the techique described in this blog post works starting from JDeveloper R2 ( 11.1.2.xxx ) due to a usage of JSF2 functionality.<br /><br />In case you are using JDeveloper R1 ( 11.1.1.xx) please refer to the blog post of Wilfred van der Deijl:<br /><br />http://www.redheap.com/2013/02/Donatashttps://www.blogger.com/profile/03732231716592758461noreply@blogger.comtag:blogger.com,1999:blog-4373363168282429441.post-26761266087383196342013-05-25T16:04:12.114+02:002013-05-25T16:04:12.114+02:001)I added this setInitialtag onto an already creat...1)I added this setInitialtag onto an already created xml where I have another customade tag, but is not recognizing, it says is not expected, I added one to your project also, but still same error, am I missing a step?<br /><br />2)My components are not shown in the pallete, I made sure to check the "Show tag library in pallete" checkboxAnonymoushttps://www.blogger.com/profile/06001237255326654245noreply@blogger.comtag:blogger.com,1999:blog-4373363168282429441.post-37852555613383735132012-09-26T17:46:49.481+02:002012-09-26T17:46:49.481+02:00Oups.. html is not rendered in comments - here is...Oups.. html is not rendered in comments - here is a patch for my previous comment - now with escaped html:)<br /><br />....<br /><br />In order to put initial focus on some component, for example af:inputInputText:<br /><br />1) add 2 properties to af:inputText tag like this:<br /><br /> <af:inputText ...<br> binding="#{SetInitialFocusBehaviorBean.focusComponent}"<br> Donatashttps://www.blogger.com/profile/03732231716592758461noreply@blogger.comtag:blogger.com,1999:blog-4373363168282429441.post-39354386971396611142012-09-26T17:37:17.063+02:002012-09-26T17:37:17.063+02:00Hi Sandy, the functionality which relies on facele...Hi Sandy, the functionality which relies on facelets and behavior is JSF2 specific. <br />The alternative JSF 1.2 based implementation to get initial focus working with JDeveloper R1 (also 11.1.1.6) might look like this:<br /><br />1) Create managed bean java class based on the code of <br />public class SetInitialFocusBehavior like this: rename the class to SetInitialFocusBehaviorBean, remove anDonatashttps://www.blogger.com/profile/03732231716592758461noreply@blogger.comtag:blogger.com,1999:blog-4373363168282429441.post-6776366004741587972012-09-24T11:25:44.719+02:002012-09-24T11:25:44.719+02:00This is a grate post Donatas.
As you mentioned in...This is a grate post Donatas.<br /><br />As you mentioned in this post "NOTE: The principles of implementation can be successfully applied in a previous versions (11g R1 with JSF 1.x) , feel free to take a code and adapt it to your needs."<br />I have such requirement so i also want to implement the same tag lib kind of concept but i am using Jdev 11.1.1.6...<br />it would be great if Sandyhttps://www.blogger.com/profile/11552065789787881604noreply@blogger.com