tag:blogger.com,1999:blog-1068732058356552569.post8855234692422588453..comments2024-03-27T10:44:06.730-04:00Comments on Sasank's PeopleSoft Log: Fluid UI - Responsive and Mobile-Friendly TooltipSasank Vemanahttp://www.blogger.com/profile/02333709266758184602noreply@blogger.comBlogger24125tag:blogger.com,1999:blog-1068732058356552569.post-87941974190841361342021-07-19T16:36:03.010-04:002021-07-19T16:36:03.010-04:00Quick Question with DoModalPopup(&sPopupOption...Quick Question with DoModalPopup(&sPopupOptions, "", False, False, @("Page." | &sModalPage), &sModalTitle, - 2, 100);<br /><br />In fluid Approvals it Pops up a Confirmation Box. Fine...<br />But users are complaining that it is in the middle of the screen. They want it close to the Initial Approval Button . So I adjusted Xpos and Ypos ... And it dos not move...<br /><br />&sPopupOptions = "width@500;height@150;bAutoClose@0;bAutoCloseWarn@0;bTail@0;bVertical@0;bCenter@0"; This does nothing<br /><br />travelingwillyhttps://www.blogger.com/profile/15325900195104882231noreply@blogger.comtag:blogger.com,1999:blog-1068732058356552569.post-6156146038233562842020-08-25T19:21:40.979-04:002020-08-25T19:21:40.979-04:00Hi Sasank,
finally heard back from Oracle
Here is...Hi Sasank,<br /><br />finally heard back from Oracle<br />Here is their reply<br /><br />"This works as designed. So the Master/Detail (as well as Activity Guide) infrastructures as designed as WRAPPER components.<br />The exist ONLY TO CREATE A SHELL (FRAMEWORK) to display content from different components. So what you are describing is exactly correct.<br />If you put onloadscript in the master/detail component, it will fire ONLY ONCE and that is while the master/detail component is BUILDING THE WRAPPER COMPONENT.<br />Once the wrapper is built, the master/detail component is gone -- it's purpose is over.<br />At that point, the grouplets (javascript based) are responsible for DRIVING THE WRAPPER CONTENTS.<br /><br />So if you want something to run every time a COMPONENT loads, then you must perform this within the COMPONENT not within the MASTER/DETAIL component."<br /><br />Thanks<br />NitinNitinhttps://www.blogger.com/profile/15595250968621336929noreply@blogger.comtag:blogger.com,1999:blog-1068732058356552569.post-92223204812162411222020-07-06T12:41:10.974-04:002020-07-06T12:41:10.974-04:00That is right. I have experienced similar issues w...That is right. I have experienced similar issues with the Framework to be honest. It does not work for AJAX requests.<br /><br />Do share any tips if you find ways to workaround this! I know this can be achieved but I have not spent a lot of time investigating this scenario. I will keep you posted if I have additional ideas!Sasank Vemanahttps://www.blogger.com/profile/02333709266758184602noreply@blogger.comtag:blogger.com,1999:blog-1068732058356552569.post-82462495727592663692020-07-06T12:04:15.328-04:002020-07-06T12:04:15.328-04:00Hi Sasank
I noticed and interesting thing here, w...Hi Sasank<br /><br />I noticed and interesting thing here, when using the Master/Detail framework my url is like as following<br />/psc/ps/EMPLOYEE/ERP/c/PSW_SMARTWIZARD_MENU_FL.PSW_MD_STARTPG_NUI.GBL?GMenu=PSW_SMARTWIZARD_MENU_FL&GComp=PSW_SMRTWZ_L_FL&GPage=PSW_SMRTWZ_FL_L_PG#<br /><br />So when i load the JS in PSW_MD_STARTPG_NUI it gets loaded when i first go to the component. The thing is that i need it to load on another page called PSw_SMRTWZ_R_FL. Maybe that is the reason why it is not triggering because the system still thinks it is on the PSW_MD_STARTPG_NUI?<br /><br />Thanks<br />NitinNitinhttps://www.blogger.com/profile/15595250968621336929noreply@blogger.comtag:blogger.com,1999:blog-1068732058356552569.post-3459838411642304902020-07-06T11:47:27.903-04:002020-07-06T11:47:27.903-04:00Hi Sasank
So i used the injection framework and f...Hi Sasank<br /><br />So i used the injection framework and followed what you had on the blog post you have mentioned. The funny this is that the JS gets loaded as soon as i enter the page the first time. I would think it would load every time we transfer to the page, but that does not look like to be the case. I will keep trying<br /><br />Thanks for the reply and appreciate your help<br />Thanks<br />NitinNitinhttps://www.blogger.com/profile/15595250968621336929noreply@blogger.comtag:blogger.com,1999:blog-1068732058356552569.post-22459177812575723792020-07-06T08:35:16.354-04:002020-07-06T08:35:16.354-04:00I am assuming you are already triggering the AddJa...I am assuming you are already triggering the AddJavaScript on the target page?<br /><br />If there is a timing issue with the script, you could look at this JavaScript Injection Framework to get some ideas:<br />https://pe0ples0ft.blogspot.com/2019/03/javascript-injection-framework-updates.htmlSasank Vemanahttps://www.blogger.com/profile/02333709266758184602noreply@blogger.comtag:blogger.com,1999:blog-1068732058356552569.post-24849508081734747772020-07-06T08:14:43.779-04:002020-07-06T08:14:43.779-04:00Hi Sasank
Unfortunately the console message is no...Hi Sasank<br /><br />Unfortunately the console message is not getting triggered on the transfer. The only time i see it is when i first go into the page. I would think it would think the AddJavaScript would load each time it went to that page.<br /><br />NitinNitinhttps://www.blogger.com/profile/15595250968621336929noreply@blogger.comtag:blogger.com,1999:blog-1068732058356552569.post-66270879152367719892020-07-06T00:56:06.350-04:002020-07-06T00:56:06.350-04:00Hi Nitin - If the javascript is loaded, I don'...Hi Nitin - If the javascript is loaded, I don't see why it would not work in a master/detail application.<br /><br />Just to be sure, are the console messages appearing after the transfer?Sasank Vemanahttps://www.blogger.com/profile/02333709266758184602noreply@blogger.comtag:blogger.com,1999:blog-1068732058356552569.post-24727008141625869572020-07-05T16:57:19.407-04:002020-07-05T16:57:19.407-04:00Hi Sasank
Does this work with transferpages? That...Hi Sasank<br /><br />Does this work with transferpages? That is i have a Master/Detail application and when transferring to the page where i need this to work, it is not working. I can see the Javascript is being loaded correctly because i have added console messages and those are showing up in the console window of chrome when the page is initially loaded. Any advice is appreciated<br /><br />Thanks<br />NitinNitinhttps://www.blogger.com/profile/15595250968621336929noreply@blogger.comtag:blogger.com,1999:blog-1068732058356552569.post-19433523122462793322019-07-05T16:31:22.936-04:002019-07-05T16:31:22.936-04:00If I did that would it not effect All Tool Tips Gl...If I did that would it not effect All Tool Tips Globally. Thus Someone would start screaming,,, <br />I have had issue in past PT update just get loaded and wipe my Code away....<br /><br />And If I added just to see what it looks like Which version would I add<br />travelingwillyhttps://www.blogger.com/profile/15325900195104882231noreply@blogger.comtag:blogger.com,1999:blog-1068732058356552569.post-56231323510743369212019-07-05T13:01:24.590-04:002019-07-05T13:01:24.590-04:00Adding the javascript using AddJavaScript function...Adding the javascript using AddJavaScript function in Page Activate PeopleCode might potentially cause some timing issues with respect to when the javascript is executed.<br /><br />To rule that out, you could simply append the following line in PT_UTIL (HTML).<br />%include(YOUR_JAVASCRIPT_OBJECT_NAME);<br /><br />This will make sure your javascript executes correctly. If this works, then you can add appropriate conditional logic to only include your javascript for your component by inspecting the request URL.Sasank Vemanahttps://www.blogger.com/profile/02333709266758184602noreply@blogger.comtag:blogger.com,1999:blog-1068732058356552569.post-193431244684957262019-07-05T09:33:53.045-04:002019-07-05T09:33:53.045-04:00Please Note , the JavaScript I just added to page ...Please Note , the JavaScript I just added to page activate and used the simple version instead of your injection. Thus I am just adjusting one component.travelingwillyhttps://www.blogger.com/profile/15325900195104882231noreply@blogger.comtag:blogger.com,1999:blog-1068732058356552569.post-86085034456424898522019-07-05T09:32:14.097-04:002019-07-05T09:32:14.097-04:00It seems to work on regular Field and on a Checkbo...It seems to work on regular Field and on a Checkbox (Classic in Fluid Box vs Slider) BUT the CSS looks like the PS HOVER (White Shadowed box small font). Which is strange.. I wanted to use it for Putting error info on lines , So user can mouse over field or row to see errors instead of going deeper for all the errors. But it is sooo generic.. I want it to pop... Is Tooltip travelingwillyhttps://www.blogger.com/profile/15325900195104882231noreply@blogger.comtag:blogger.com,1999:blog-1068732058356552569.post-50424051284532574862018-06-26T09:36:13.221-04:002018-06-26T09:36:13.221-04:00its not working for checkbox. Have you tried it ye...its not working for checkbox. Have you tried it yet on checkbox field?Anonymoushttps://www.blogger.com/profile/17107429300347776612noreply@blogger.comtag:blogger.com,1999:blog-1068732058356552569.post-85749356373469099982017-11-02T07:40:24.820-04:002017-11-02T07:40:24.820-04:00I have not tried it on a Checkbox in Fluid but I w...I have not tried it on a Checkbox in Fluid but I would imagine it would work as long as the rel attribute is added.Sasank Vemanahttps://www.blogger.com/profile/02333709266758184602noreply@blogger.comtag:blogger.com,1999:blog-1068732058356552569.post-84657169618636367042017-11-02T07:37:21.172-04:002017-11-02T07:37:21.172-04:00Yes. That is the problem.
The details on how I us...Yes. That is the problem.<br /><br />The details on how I use requireJS is in this link(which I also mentioned in this blog post):<br />https://pe0ples0ft.blogspot.com/p/javascript-injection-framework.htmlSasank Vemanahttps://www.blogger.com/profile/02333709266758184602noreply@blogger.comtag:blogger.com,1999:blog-1068732058356552569.post-88038829265412534752017-10-31T04:04:36.113-04:002017-10-31T04:04:36.113-04:00Does this Tooltip not support Checkboxes in Fluid ...Does this Tooltip not support Checkboxes in Fluid UI ?Manthan Shahhttps://www.blogger.com/profile/01701025873734506584noreply@blogger.comtag:blogger.com,1999:blog-1068732058356552569.post-78583117156095123142017-10-31T04:03:52.205-04:002017-10-31T04:03:52.205-04:00Hi Sasank,
I was able to solve this error. The co...Hi Sasank,<br /><br />I was able to solve this error. The code above is not referring to jQuery Source.<br />I modified the code like this<br /><br />window.onload = function () {<br /><br /> require(['http://code.jquery.com/jquery-latest.min.js'], function (JetCSKJQ) {<br /> <br /> var $ = JetCSKJQ; <br /> cskLoadCSS(getCSSUrl('TY_TOOLTIP'));<br /> <br /> $( function()......Manthan Shahhttps://www.blogger.com/profile/01701025873734506584noreply@blogger.comtag:blogger.com,1999:blog-1068732058356552569.post-82467741351857930092017-10-31T03:47:28.989-04:002017-10-31T03:47:28.989-04:00Many Thanks Sasank,
I am getting Javascript erro...Many Thanks Sasank,<br /> <br />I am getting Javascript error: 'require' is undefined.Manthan Shahhttps://www.blogger.com/profile/01701025873734506584noreply@blogger.comtag:blogger.com,1999:blog-1068732058356552569.post-32240123641175870882017-10-30T11:44:07.534-04:002017-10-30T11:44:07.534-04:00It is hard to say what steps you are missing.
- F...It is hard to say what steps you are missing.<br /><br />- First, check if you are seeing the html attributes on the browser using the developer tools option.<br />- Then check if you custom javascript is firing by adding some console.log('Enter Debug Message Here'); messages.<br />- Also, check your browser console for any javscript errors.<br /><br />Thanks!Sasank Vemanahttps://www.blogger.com/profile/02333709266758184602noreply@blogger.comtag:blogger.com,1999:blog-1068732058356552569.post-15807079019570127962017-10-30T11:10:30.339-04:002017-10-30T11:10:30.339-04:00Needless to Mention its a one off achievement.Needless to Mention its a one off achievement.Manthan Shahhttps://www.blogger.com/profile/01701025873734506584noreply@blogger.comtag:blogger.com,1999:blog-1068732058356552569.post-39621962371102100622017-10-30T11:09:45.050-04:002017-10-30T11:09:45.050-04:00HI, I followed all steps meticuously. yet my Custo...HI, I followed all steps meticuously. yet my Custom tooltip is not visible.<br />Did I missed anything ?Manthan Shahhttps://www.blogger.com/profile/01701025873734506584noreply@blogger.comtag:blogger.com,1999:blog-1068732058356552569.post-90353962545854072022017-08-25T06:58:15.342-04:002017-08-25T06:58:15.342-04:00@Stefan - Thanks!
That sounds like a great idea. ...@Stefan - Thanks!<br /><br />That sounds like a great idea. Further, we could eliminate the custom code by using Event Mapping Framework for the page activate peoplecode!Sasank Vemanahttps://www.blogger.com/profile/02333709266758184602noreply@blogger.comtag:blogger.com,1999:blog-1068732058356552569.post-58409632686999453312017-08-25T01:06:38.954-04:002017-08-25T01:06:38.954-04:00Hi Sasank!
This is great! Javascript to the max a...Hi Sasank!<br /><br />This is great! Javascript to the max again. especially how relatively easy the implementation is on the people code side. Well done. Thanks for sharing.<br /><br />Your idea gives me more inspiration of creating a setup page were you tie RECORD.FIELD together with a DESCR. In your code you can than loop over your page fields and attach the title dynamically which is obtained from your DESCR. You might even use MESSAGECAT for this. <br /><br />Stefan<br />Anonymousnoreply@blogger.com