tag:blogger.com,1999:blog-5874979429188093780.post5621798013482300474..comments2024-03-18T06:46:54.352+01:00Comments on Andrej Baranovskij Blog: Improving ADF UI Shell - Tab Closing Icon AdjustmentAndrej Baranovskijhttp://www.blogger.com/profile/04468230464412457426noreply@blogger.comBlogger14125tag:blogger.com,1999:blog-5874979429188093780.post-23183158263857929782017-08-31T11:00:42.808+02:002017-08-31T11:00:42.808+02:00I need to execute service method at the time of dy...I need to execute service method at the time of dynamic tab navigation(in this method execute only selecting the particular tab).I don't know how to do that.<br /><br />Kindly guide me any one.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-202166428643830652017-02-16T06:20:48.328+01:002017-02-16T06:20:48.328+01:00Hi Andrejus,
thanks foe awesome post , i want to ...Hi Andrejus, <br />thanks foe awesome post , i want to ask you , how to change the tabs to dark blue<br />in the UI tempalte?<br /><br />thanks in advaance<br /><br />BaraaBaraa Sarhanhttps://www.blogger.com/profile/05325463129825653607noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-25167097965328219342014-09-03T19:40:52.189+02:002014-09-03T19:40:52.189+02:00You could have square tabs with CSS. Also you shou...You could have square tabs with CSS. Also you should check 11.1.1.7 or 12c, tabs are more square in these versions.<br /><br />AndrejusAndrej Baranovskijhttps://www.blogger.com/profile/04468230464412457426noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-77770109479251910732014-09-03T18:24:09.614+02:002014-09-03T18:24:09.614+02:00Hi Andrejus,
Thanks for posting these tips. I hav...Hi Andrejus,<br /><br />Thanks for posting these tips. I have slightly different question on the look of the tabs, can the tabs be more square looking (rather than circular or rounded) and the tab title to be of fixed length and title overflow shown with "..". <br />This is a business case for us and trying to figure the best way..<br /><br />Thanks,Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-92035221924124145342014-06-12T19:17:04.976+02:002014-06-12T19:17:04.976+02:00This is different use case, I would need to test i...This is different use case, I would need to test it.<br /><br />AndrejusAndrej Baranovskijhttps://www.blogger.com/profile/04468230464412457426noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-2783640695003239202014-06-12T09:37:31.338+02:002014-06-12T09:37:31.338+02:00I cannot check right now with your sample app. How...I cannot check right now with your sample app. However, it happens to me only if the tab is marked to be dirty. Try changing the default value of the Tab class _dirty property to true. The error popup is triggered even before the removeTab method is called and the dirty popup is shown.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-62449884331748540752014-06-11T21:04:43.925+02:002014-06-11T21:04:43.925+02:00I have tested it just now - tab closing works fine...I have tested it just now - tab closing works fine in my sample app, even when there are empty mandatory fields (I have added Create in Departments).<br /><br />Regards,<br />AndrejusAndrej Baranovskijhttps://www.blogger.com/profile/04468230464412457426noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-14992521952294991832014-06-11T17:14:50.618+02:002014-06-11T17:14:50.618+02:00Hi Andrejus,
Great article but I cannot figure it...Hi Andrejus,<br /><br />Great article but I cannot figure it out how to skip validation when closing the tab. Do you have any suggestions? Is there a way to set Immediate property?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-7952774009554713382014-06-07T20:26:46.156+02:002014-06-07T20:26:46.156+02:00There is no need to set selected tab index, you co...There is no need to set selected tab index, you could simply close tab by index. This is implemented in the updated app (plus contextual menu is supported now): http://andrejusb.blogspot.com/2014/06/adf-ui-shell-usability-improvement-tab.html<br /><br />Regards,<br />AndrejusAndrej Baranovskijhttps://www.blogger.com/profile/04468230464412457426noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-36139254463322885092014-06-07T20:24:44.101+02:002014-06-07T20:24:44.101+02:00Hi,
Yes, correct. I know there was this issue in ...Hi,<br /><br />Yes, correct. I know there was this issue in the sample app. However, issue is fixed in the updated app from today blog - http://andrejusb.blogspot.com/2014/06/adf-ui-shell-usability-improvement-tab.html<br /><br />Thanks,<br />AndrejusAndrej Baranovskijhttps://www.blogger.com/profile/04468230464412457426noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-45509857039492284912014-06-07T19:40:16.098+02:002014-06-07T19:40:16.098+02:00Hi Andrejus,
I solved the tab closing problem i m...Hi Andrejus,<br /><br />I solved the tab closing problem i mentioned above by modifying the tabRemoveListener as below. I set the selected tabIndex just before closing tab. Its working fine.<br /><br />public void tabRemoveListener(ItemEvent itemEvent) {<br /> RichCommandNavigationItem tab = (RichCommandNavigationItem)itemEvent.getComponent();<br /><br />// get tab index from id<br />Object tabIndex = tab.getAttributes().get("tabIndex"); // NOTRANS<br /> setSelectedTabIndex((Integer)tabIndex);<br />this.removeCurrentTab();<br /> }<br /><br />i hope you will let me know if any pitfalls in the above code.<br />Regards,<br />Gijith.Anonymoushttps://www.blogger.com/profile/05591515244193029176noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-14970750561819294602014-06-07T19:18:50.581+02:002014-06-07T19:18:50.581+02:00Yeah.. Issue was with css. close icon is visible n...Yeah.. Issue was with css. close icon is visible now.<br /><br />I noticed another problem. I opened three tabs departments,employees,location. So now location tab is disclosed. Then i tried to close department tab using close icon but location tab get closed.<br />This is happening because we are calling this.removeCurrentTab(); in tabRemoveListener.<br />How can i correct this ?<br />Regards,<br />Gijith.Anonymoushttps://www.blogger.com/profile/05591515244193029176noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-15568796075013389532014-06-06T12:20:56.388+02:002014-06-06T12:20:56.388+02:00Sample app must work, there is nothing extra. In y...Sample app must work, there is nothing extra. In your case, probably CSS is not picked up.<br /><br />Regards,<br />Andrejus<br />Andrej Baranovskijhttps://www.blogger.com/profile/04468230464412457426noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-89906588210322983092014-06-06T12:15:45.056+02:002014-06-06T12:15:45.056+02:00Hi Andrejus,
Thanks for posting this nice tip.
I ...Hi Andrejus,<br /><br />Thanks for posting this nice tip.<br />I used the same thing as you specified in the blog but the close icon become visible only when mouse hover the tab.<br />I tried with the sample application you given. It also behave similarly.<br />After creating CSS do i needed to do anything else other than configure trinidad-config.xm and trinidad-skins.xml.<br /><br />Gijith.Anonymoushttps://www.blogger.com/profile/05591515244193029176noreply@blogger.com