tag:blogger.com,1999:blog-2387668883227766307.post914636532005128154..comments2023-06-05T06:27:39.164-07:00Comments on PeopleSoft Developer Notebook: Using JavaScript in PeopleSoft: Proxy PeopleSoft FunctionsDanhttp://www.blogger.com/profile/15502251805949478749noreply@blogger.comBlogger8125tag:blogger.com,1999:blog-2387668883227766307.post-76895775263711867612013-04-10T05:24:28.943-07:002013-04-10T05:24:28.943-07:00This comment has been removed by the author.lakshminarayanahttps://www.blogger.com/profile/18080722848317463260noreply@blogger.comtag:blogger.com,1999:blog-2387668883227766307.post-2630690321454783752013-04-10T05:24:12.749-07:002013-04-10T05:24:12.749-07:00Thanks daniel..
Why i am askin is...
Current Func...<b>Thanks daniel..<br />Why i am askin is...<br /><br />Current Functionality : Page has a grid and set the occurs level as 5. If they click on the "Next" Icon then next set of 5 rows will be disaplyed.<br /><br />New Functionality: Pagination need to impliment.For that I analysed the "Next" Icon functionality of the grid property. It is calling the below logic.<br />--------------------<br />class='PSHYPERLINK' name='MY_PAGE_FIELD_NAME$hdown$0' id=MY_PAGE_FIELD_NAME$hdown$0' tabindex='29' href="javascript:submitAction_win0(document.win0,'MY_PAGE_FIELD_NAME$hdown$0')<br />--------------------<br /><br />When page loads by default 1st 5 set of rows are disaplying. Then if user clicks on the 5 button(Pagination button) then i will check the difference between previous and currnet pagination buttons and that many times i will trigger the above code.<br /><br />For me i am not getting how to trigger the above code.<br /><br />So please help me to trigger the above code when we click on the pagiantion button.<br /><br />For pagination buttons i am taking peoplesoft push buttons.<br /><br />Thanks for your support.<br /><br />Lakshminarayana</b><br /><br /><br />lakshminarayanahttps://www.blogger.com/profile/18080722848317463260noreply@blogger.comtag:blogger.com,1999:blog-2387668883227766307.post-78492182845436230242013-04-09T12:55:53.446-07:002013-04-09T12:55:53.446-07:00Lakshmi
As I explain in the post, all PeopleSoft ...Lakshmi<br /><br />As I explain in the post, all PeopleSoft internal links and buttons call submitAction_win0. (see my later post for a discussion of the function numbering http://danielkibler.blogspot.com/2013/02/why-are-some-of-peopletools-javascript.html) Altho I don't know why you would, your custom button could do the same by adding the call to the onclick attribute:<br /><br />onclick="javascript:submitAction_win0(document.win0, '#ICSearch');"<br /><br />For a link, put the call in the href attribute:<br /><br />href="javascript:submitAction_win0(document.win0,'#ICSwitchMode');"<br /><br />Dan<br /><br />Danhttps://www.blogger.com/profile/15502251805949478749noreply@blogger.comtag:blogger.com,1999:blog-2387668883227766307.post-34830593617150680142013-04-09T02:51:13.140-07:002013-04-09T02:51:13.140-07:00I saw the javascript:submitAction_win0(document.wi...<b> I saw the javascript:submitAction_win0(document.win0.... in this page . I want to call this function when i click on the push button. Can you please tell me how to call the submitaction_win0 function?</b>lakshminarayanahttps://www.blogger.com/profile/18080722848317463260noreply@blogger.comtag:blogger.com,1999:blog-2387668883227766307.post-27652622072354819952012-01-03T17:04:07.726-08:002012-01-03T17:04:07.726-08:00Bill - I always put my JavaScript into HTML object...Bill - I always put my JavaScript into HTML objects - custom or delivered. JavaScript that applies to specific pages goes into custom HTML objects and gets inserted into the page(s) in an HTML area.<br /><br />I've added JavaScript that applies to all pages to a delivered HTML object that gets inserted into all pages by the component processor, such as PT_PAGESCRIPT.Danhttps://www.blogger.com/profile/15502251805949478749noreply@blogger.comtag:blogger.com,1999:blog-2387668883227766307.post-30769611079236814872011-12-29T07:26:23.238-08:002011-12-29T07:26:23.238-08:00This is a great post. I would suggest adding a b...This is a great post. I would suggest adding a bit about just where you place this sort code as it might vary on whether one is making a local or global modification.Bill Rhttps://www.blogger.com/profile/05650387642443368102noreply@blogger.comtag:blogger.com,1999:blog-2387668883227766307.post-16334894865348612592010-12-23T15:31:56.003-08:002010-12-23T15:31:56.003-08:00You're right Mike, we'll have to revisit a...You're right Mike, we'll have to revisit all this code if we ever get around to upgrading. I hope to be able to dig into 8.51 soon to see what that might entail.Danhttps://www.blogger.com/profile/15502251805949478749noreply@blogger.comtag:blogger.com,1999:blog-2387668883227766307.post-16303211241042966752010-11-19T08:15:03.270-08:002010-11-19T08:15:03.270-08:00Great post. jQuery is super handy, but I am somew...Great post. jQuery is super handy, but I am somewhat concerned about 8.50 or greater "upgrade day" when Oracle delivers functionality that may or may not conflict with our jQuery/JavaScript customizations.<br /><br />Keep blogging!<br /><br />Mike Putnam<br />http://theputnams.net/mike/peoplesoftAnonymousnoreply@blogger.com