tag:blogger.com,1999:blog-34020393.post1902520566106732359..comments2024-03-27T10:59:38.307-07:00Comments on Jim's PeopleSoft Journal: PeopleTools Mobile Book Now ShippingJim Marionhttp://www.blogger.com/profile/12995110203807924786noreply@blogger.comBlogger23125tag:blogger.com,1999:blog-34020393.post-86545895717433441902018-02-19T14:13:53.865-08:002018-02-19T14:13:53.865-08:00@leaf, the #win0 corresponds to %FormName... I thi...@leaf, the #win0 corresponds to %FormName... I think... something like that. Anyway, the way to write a selector is with a partial CSS selector like this: document.querySelector('div[id$="DERIVED_HR_MSEL_GROUPBOX5"]');. That will find the win0divDERIVED_HR_MSEL_GROUPBOX5 element on the My Team fluid page... and it will also find win22divDERIVED_HR_MSEL_GROUPBOX5 element if you happen to click the new window link.<br /><br />I'm not entirely sure, but I think the # in the middle between win and div ensures uniqueness in portal situations (pagelets and grouplets), which use a different form name for each pagelet and grouplet.Jim Marionhttps://www.blogger.com/profile/12995110203807924786noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-6549080358935189122018-02-19T12:54:24.099-08:002018-02-19T12:54:24.099-08:00@Jim question for you. Regarding the #win0div sele...@Jim question for you. Regarding the #win0div selector that gets auto generated, why does this happen to only div elements? & say I needed to target a specific div and I had to use the ID (which contains win0div), what should I do?<br /><br />- Thank you!leafhttps://www.blogger.com/profile/10040535320521311728noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-48167339296581266432016-06-12T13:59:34.764-07:002016-06-12T13:59:34.764-07:00@Ramky, what you are dealing with is selector spec...@Ramky, what you are dealing with is selector specificity. You need a selector that is more specific. Another alternative to creating a more specific selector is to add a custom class name to your page or surround your content with a group box and set a custom class name on the group box. You won't actually CSS to go with the custom class name. It just exists to create an ancestral relationship for selector specificity.Jim Marionhttps://www.blogger.com/profile/12995110203807924786noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-20027032986811632852016-06-11T19:55:49.949-07:002016-06-11T19:55:49.949-07:00@Ramky, a selector that is more specific than the ...@Ramky, a selector that is more specific than the delivered selector is important. You can try .ps_box-label.ct_ps_box_label. Stay away from #win0, #win1, etc. Those are dynamic and subject to change depending on how many forms exist on the page. Usually this is just one, but could be more.Jim Marionhttps://www.blogger.com/profile/12995110203807924786noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-47483936074375166302016-06-11T02:19:10.943-07:002016-06-11T02:19:10.943-07:00Hi Jim,
I researched a bit and understood w...Hi Jim,<br /> I researched a bit and understood what you meant by "selector". So, I created a custom class and used #win0div.... statements and reset the width to Zero. Now it works fine.<br />I have a question. The div id which is getting generated dynamically has a prefix of "Win". Is this due to the fact that this is running on Windows OS and if there is an Android or some other OS, the Div identifiers (Selectors) will change?<br />If yes, then I cannot be hardcoding #Win selectors in my custom class right?<br /><br />Thanks<br />RamkyAnonymoushttps://www.blogger.com/profile/18284728248134456102noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-29609416402045981112016-06-11T02:03:56.026-07:002016-06-11T02:03:56.026-07:00Hi Jim,
Thanks for your response.Yes, you are...Hi Jim,<br /> Thanks for your response.Yes, you are right. I was setting width to zero like you had mentioned .ps_box-label{Width:0%}.<br />I tried creating a custom class ct_ps_box_label{width:0%} and tagged this class under default fluid style sheet PSSTYLEDEF_FMODE. Even on selecting custom class from the style drop down from Page field properties, the style was not getting applied. When I tried to Inspect element, I couldn't find a reference to my custom class. Pl let me know where am I going wrong.<br /><br />Thanks<br />RamkyAnonymoushttps://www.blogger.com/profile/18284728248134456102noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-11203326287475321532016-06-10T11:30:37.476-07:002016-06-10T11:30:37.476-07:00@Ramky, when you say you set the width to zero for...@Ramky, when you say you set the width to zero for ps_box-label, did you do something like this, .ps_box-label {...}? If so, yes, that will impact all ps_box-label. In your custom stylesheet, I recommend that you create a custom class name as well and then add that custom class name to default style name attribute of each field that should be modified. Keep in mind that fields you add to a page become composite HTML elements, which means there is a wrapper HTML element with your class name around the ps_box-label and input field. This should allow you to create an adequate selector. I suggest you add a custom class name to the default class name field, and then inspect the element with your developer tools to identify the appropriate selector.Jim Marionhttps://www.blogger.com/profile/12995110203807924786noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-17461635598648456392016-06-10T00:24:12.766-07:002016-06-10T00:24:12.766-07:00Hi Jim,
I have converted a classic page in...Hi Jim,<br /> I have converted a classic page into Fluid mode. On testing this in IE or Chrome browser, there are some alignment issues for few page fields. So, I created a custom style sheet and set width to ZERO for ps_box-label class. Then I tagged my custom style to the few page fields by navigating to Fluid tab. What I observe, this custom style is being applied across page and not just for the couple of fields where I had tagged. How do I restrict this behavior?<br /><br />Thanks<br />RamkyAnonymoushttps://www.blogger.com/profile/18284728248134456102noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-62685686503095475042016-04-21T01:54:23.538-07:002016-04-21T01:54:23.538-07:00Thanks Jim - I've now received all the code sa...Thanks Jim - I've now received all the code samples via email.Anonymoushttps://www.blogger.com/profile/07875542263113538596noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-65723198482265769422016-04-18T22:23:22.414-07:002016-04-18T22:23:22.414-07:00@David, thank you. I have my editor looking into i...@David, thank you. I have my editor looking into it. It is my understanding that the site is temporarily broken, but the download is available to anyone that requests it. I forwarded your comment to my editor to see if we can get you the code.Jim Marionhttps://www.blogger.com/profile/12995110203807924786noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-14193766637027021562016-04-17T07:43:10.767-07:002016-04-17T07:43:10.767-07:00Hi Jim,
I'm currently working my way through ...Hi Jim,<br /><br />I'm currently working my way through your book but the code samples from the McGraw Hill no longer appear to be available. I've tried contacting McGraw Hill but had no response. Are they hosted anywhere else?<br /><br />Many thanksAnonymoushttps://www.blogger.com/profile/07875542263113538596noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-30831407474165947682016-02-05T09:47:01.642-08:002016-02-05T09:47:01.642-08:00@Simon, McGraw Hill has the code samples available...@Simon, McGraw Hill has the code samples available on the <a href="http://www.mhprofessional.com/product.php?isbn=0071836527" rel="nofollow">book's page</a>. Look for the code samples link on the left side of the page.Jim Marionhttps://www.blogger.com/profile/12995110203807924786noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-28523535429067708562016-02-05T01:28:06.981-08:002016-02-05T01:28:06.981-08:00Hi Jim
I'm enjoying working my way through my...Hi Jim<br /><br />I'm enjoying working my way through my old-fashioned paper copy of this book, but I wondered if there was anywhere I could download the code from to save my having to type it all in.<br /><br />ThanksSimonhttps://www.blogger.com/profile/01373805531502597381noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-372005187384028462016-01-08T10:53:01.728-08:002016-01-08T10:53:01.728-08:00@JPonce, I assume you already figured out how to c...@JPonce, I assume you already figured out how to create a REST service with the POST method. I think your question is more about how to read the JSON that was POST'd to the service operation from the OnRequest handler. Yes, I have done this, but can't find any examples. I suggest you post this same question on the <a href="https://community.oracle.com/community/oracle-applications/peoplesoft_enterprise/peoplesoft_general_discussion" rel="nofollow">OTN PeopleSoft general discussion forum</a>. I know a handful of people that monitor that forum that will have working examples.Jim Marionhttps://www.blogger.com/profile/12995110203807924786noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-62569662036185819062016-01-08T10:36:27.319-08:002016-01-08T10:36:27.319-08:00Hi Jim, I got the kindle version of the book I lik...Hi Jim, I got the kindle version of the book I like it.<br /><br />I do have one question. I am trying to find out how to post data using documents.<br />I went to sent the data in json format and parse in the application class handler.<br />So far I have not found to much information about it. When you get a chance can you see if you can provide some insight.<br /><br />ThanksJPoncehttps://www.blogger.com/profile/05561911981139280836noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-41353345912541980722015-11-12T06:54:18.246-08:002015-11-12T06:54:18.246-08:00@Michael, I recommend the PeopleSoft General Discu...@Michael, I recommend the <a href="https://community.oracle.com/community/oracle-applications/peoplesoft_enterprise/peoplesoft_general_discussion" rel="nofollow">PeopleSoft General Discussion</a> OTN forum.Jim Marionhttps://www.blogger.com/profile/12995110203807924786noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-75636763931279476792015-11-12T06:52:04.802-08:002015-11-12T06:52:04.802-08:00I had my boss order a copy for my team. So far, I ...I had my boss order a copy for my team. So far, I have only browsed the REST section and found a few tips. I don't know if this is the place to ask a RESTful service question, so I won't. Where is a good place to post one, Jim? It pertains to building GET query string URLs...Anonymoushttps://www.blogger.com/profile/16899155981774309921noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-10245842870521218962015-10-08T02:17:47.050-07:002015-10-08T02:17:47.050-07:00I just received my copy :)I just received my copy :)Asharhttps://www.blogger.com/profile/13888765749163153652noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-71092508592291670832015-10-01T08:26:29.276-07:002015-10-01T08:26:29.276-07:00Jim, congratulations on this latest publication - ...Jim, congratulations on this latest publication - it's great to see you continuing to fly the flag for the PeopleSoft and PeopleTools ecosystems. I do hope this one sells like hot cakes to reward you for all your hard work!Anonymoushttps://www.blogger.com/profile/03687949075844108785noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-84720571211089599962015-10-01T05:16:00.320-07:002015-10-01T05:16:00.320-07:00Just a quick update... I pre-ordered the book stra...Just a quick update... I pre-ordered the book straight away yesterday from amazon.ca, even though it said the release date was 16 October. Got a message with an updated delivery date... 7 October.<br /><br />Neil Yetmanhttps://www.blogger.com/profile/02963294804884377748noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-52915568440714032142015-09-30T16:20:50.016-07:002015-09-30T16:20:50.016-07:00Hi Jim - so excited to see Amz shipping notice! I ...Hi Jim - so excited to see Amz shipping notice! I get my hands on the book in time for some travel reading :)Chris Couturehttps://www.blogger.com/profile/09878051317203041479noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-17525202342613614492015-09-30T09:16:31.972-07:002015-09-30T09:16:31.972-07:00@Neil, good to hear from you. Just FYI, my MAP cha...@Neil, good to hear from you. Just FYI, my MAP chapter is quite basic. My purpose was to help customers get started with MAP.Jim Marionhttps://www.blogger.com/profile/12995110203807924786noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-91007677737177766402015-09-30T08:39:56.152-07:002015-09-30T08:39:56.152-07:00Congratulations Jim! I look forward to getting my ...Congratulations Jim! I look forward to getting my hands on it. I've worked with Mobile Application Platform on our upgrade to HR 9.2, modifying the UI (adding a help link n the header) and creating application classes for a custom Approval process. I'm sure your book will fill in the blanks in my understanding.<br /><br />FYI, Amazon.ca says the book won't be released in Canada until 16 October. And it's more expensive... everything always is in Canada!Neil Yetmanhttps://www.blogger.com/profile/02963294804884377748noreply@blogger.com