tag:blogger.com,1999:blog-5874979429188093780.post7724199660515826496..comments2024-03-18T06:46:54.352+01:00Comments on Andrej Baranovskij Blog: CRUD Operations in JDeveloper/ADF 11g R1 PS1 Table ComponentAndrej Baranovskijhttp://www.blogger.com/profile/04468230464412457426noreply@blogger.comBlogger60125tag:blogger.com,1999:blog-5874979429188093780.post-63151149370039380042017-06-20T02:27:15.919+02:002017-06-20T02:27:15.919+02:00Hi Team,
I am unable to download the Zip file, pl...Hi Team,<br /><br />I am unable to download the Zip file, please check and provide me with the updated link.rakeshhttps://www.blogger.com/profile/10240982156025398313noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-5318312526722888312013-07-26T08:46:11.104+02:002013-07-26T08:46:11.104+02:00Hi Adrejus;
Thank you for the article. I have a v...Hi Adrejus;<br /><br />Thank you for the article. I have a very strange problem. <br /><br />I have a read only table. By clicking to the button on the row, a popoup dialog is opened. Here is a form for another table which takes initial values from the row clicked. I enter form values and commit, no problem. But when I do the same operation again for another row, it stucks in createInsert operationBinding.execute(). A heap space exception is given. I tried different solitions, but got the same problem. There is sometihing wrong withe the entity? Could you help m?<br /><br />Thank you!Asuman AKYILDIZhttps://www.blogger.com/profile/03247575658846395091noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-2154352656970332462013-06-19T12:38:36.762+02:002013-06-19T12:38:36.762+02:00Hi,
I encounter a problem related to returnListen...Hi, <br />I encounter a problem related to returnListener, but it may not related to the current item.<br /><br />I have a page with a popup button which will redirect to another page after the popup window is closed. The popup window is just a dummy window with OK and Cancel button only.<br />For example, <br /><br /> <br /><br />public void returnListener(ReturnEvent returnEvent) {<br />redirect();<br />}<br /><br />public void redirect() {<br />String redirectURL = "http://127.0.0.1:7101/TestApp-ViewController-context-root/faces/test2.jspx"; <br />FacesContext context = FacesContext.getCurrentInstance();<br />try {<br />context.getExternalContext().redirect(redirectURL);<br />} catch (IOException e) {<br />e.printStackTrace();<br />}<br />context.renderResponse();<br />}<br /><br />I can jump to test2.jspx page but encounter the following error.<br />javax.faces.FacesException: Software caused connection abort: socket write error<br /> at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:804)<br /> at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:294)<br /> at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:214)<br /> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)<br /><br /><br />If I use another button to call the "redirect" function directly without popup a window. Everything is OK.<br />It seems that the reason is the redirection is called from the returnListener.<br />Any suggestion?<br /><br />Regards,<br />Tony<br />Anonymoushttps://www.blogger.com/profile/17170763705337043113noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-78139535806255972012-09-25T11:07:12.306+02:002012-09-25T11:07:12.306+02:00Hi Sir, This is same anonyomouns who posted that t...Hi Sir, This is same anonyomouns who posted that the Listener is not working. Now It is working but I am getting "java.lang.NullPointerException<br /><br />ADF_FACES-60097:For more information, please see the server's error log for an entry beginning with: ADF_FACES-60096:Server Exception during PPR, #1" <br /><br />this exception at runtime. what could be the problem please help me.<br /><br />Thanks.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-80896697103651248202012-09-25T11:02:57.165+02:002012-09-25T11:02:57.165+02:00Hi sir,
I did this in Jdeveloper 11.1.1.4.0 I obs...Hi sir,<br /><br />I did this in Jdeveloper 11.1.1.4.0 I observed that the popup fetch listener class is not getting invoked at the runtime. I followed the blog post and did the exact replica of what have been posted. Kindly help me in finding where it is going wrong.<br /><br />thanks. Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-29979189454727538812012-09-25T10:54:56.016+02:002012-09-25T10:54:56.016+02:00Hi Sir,
I am using Jdev 11.1.1.4.0. I did this bu...Hi Sir,<br /><br />I am using Jdev 11.1.1.4.0. I did this but I observed that popup fetch listener is not working. It is not getting invoked at runtime. Please help me in solving out.<br /><br />Thanks in Advance.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-47384448639229836182012-09-18T07:11:11.473+02:002012-09-18T07:11:11.473+02:00Hi Dan,
What version of JDev you are using?
And...Hi Dan,<br /><br />What version of JDev you are using? <br /><br />AndrejusAndrej Baranovskijhttps://www.blogger.com/profile/04468230464412457426noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-68804665688172911342012-09-18T06:37:25.721+02:002012-09-18T06:37:25.721+02:00Hi Andrejus,
I have tried your method but i got e...Hi Andrejus,<br /><br />I have tried your method but i got errors : dialogListener="#{backing.editDialogListener}": java.lang.NullPointerException after editing a record. <br /><br />Would you have any idea with this problem?<br /><br />Thanks<br />DanAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-989284446336238962012-07-11T15:23:02.699+02:002012-07-11T15:23:02.699+02:00Hi Adrejus and others-
Did you guys get the popup ...Hi Adrejus and others-<br />Did you guys get the popup to work? The example works fine but when I follow the exact same approach, my insert page doesn't render in a popup. Instead, the main page leaves rendering the insert page. What am I missing? UseWindow is set to "true" and WindowEmbedStyle is set to "inlineDocument". Yes, I am new to this. And yes, I googled the heck out.sydbratnoreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-58737615253168698012012-02-08T10:25:03.472+01:002012-02-08T10:25:03.472+01:00Hi Adrejus,
I followed your steps to create Popup...Hi Adrejus,<br /><br />I followed your steps to create Popup form but I am not getting the desired result as shown by your tutorial.<br /><br />First editPopupCancelListener() is getting called even if I am clicking cancel button or Esc on keyboard. <br /><br />Also once the rollback is executed the empty row is not getting deleted from the main table. <br /><br />Did you set any thing to fresh the table once the rollback is done?<br /><br />Regards,<br />Abhijeetabhijeethttps://www.blogger.com/profile/01108243655445946877noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-43343255085863265442011-07-25T07:42:20.056+02:002011-07-25T07:42:20.056+02:00Hi Andrejus,
Need your help for CRUD functionalit...Hi Andrejus,<br /><br />Need your help for CRUD functionality between parent and child tables. I mean i need to generate CRUD for two tables in tree table or any other form.<br /><br />Best Regards<br />SadiaSadia Khanhttps://www.blogger.com/profile/16507078677714918715noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-7358049994431131612011-07-19T11:50:41.938+02:002011-07-19T11:50:41.938+02:00Hey Andrejus
Thanks alot
Groovy expression are r...Hey Andrejus<br /><br />Thanks alot<br /><br />Groovy expression are really powerful. I got my solution.<br /><br />Thanks again.Sadia Khanhttps://www.blogger.com/profile/16507078677714918715noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-69690959033960202752011-07-19T11:34:04.931+02:002011-07-19T11:34:04.931+02:00check this blog: http://hasamali.blogspot.com/2011...check this blog: http://hasamali.blogspot.com/2011/04/adf-bc-various-way-of-setting-sequence.html<br /><br />AndrejusAndrej Baranovskijhttps://www.blogger.com/profile/04468230464412457426noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-87072327206063809422011-07-19T11:24:42.833+02:002011-07-19T11:24:42.833+02:00Hey Andrejus
Got this error.
ADF: Adding the f...Hey Andrejus<br /><br />Got this error.<br /><br /> ADF: Adding the following JSF error message: No signature of method: oracle.jbo.server.EntityImpl.seqNextVal() is applicable for argument types: (java.lang.String) values: [EVENT_SQN]<br />groovy.lang.MissingMethodException: No signature of method: oracle.jbo.server.EntityImpl.seqNextVal() is applicable for argument types: (java.lang.String) values: [EVENT_SQN]<br /><br /><br />Kindly tell what to doSadia Khanhttps://www.blogger.com/profile/16507078677714918715noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-2137338583991684062011-07-19T10:48:12.270+02:002011-07-19T10:48:12.270+02:00May be this will help: http://one-size-doesnt-fit-...May be this will help: http://one-size-doesnt-fit-all.blogspot.com/2009/03/adf-bc-using-groovy-to-fetch-sequence_20.html<br /><br />AndrejusAndrej Baranovskijhttps://www.blogger.com/profile/04468230464412457426noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-9036176734117061772011-07-19T10:44:34.534+02:002011-07-19T10:44:34.534+02:00Yes I have created a sequence for that. Do i need ...Yes I have created a sequence for that. Do i need to add that sequence in adf model project ? Like we add adf BC from tables ??<br /><br />Also guid me how to override EO create method?? i have no trigger and have no idea about groovy script<br /><br />I have created my CRUD following your artical "CRUD Operations in Oracle ADF 11g Table Without Auto PPR"<br /><br />Need your help urgent. Thanks<br /><br />SadiaSadia Khanhttps://www.blogger.com/profile/16507078677714918715noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-12688541104983909812011-07-19T10:25:37.928+02:002011-07-19T10:25:37.928+02:00Yes, you should use DB sequence for that.
There a...Yes, you should use DB sequence for that.<br /><br />There are two possible implementations from ADF side:<br /><br />1. When you have DB trigger to increment sequence, use DBSequence type for DepartmentID<br /><br />2. When there is no DB trigger, use Groovy script for DepartmentID to fetch new value from DB sequence. Or override EO create method<br /><br />AndrejusAndrej Baranovskijhttps://www.blogger.com/profile/04468230464412457426noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-49126311322311714452011-07-19T10:19:06.446+02:002011-07-19T10:19:06.446+02:00kindly guide me.
I am waiting for your answer
Sad...kindly guide me.<br />I am waiting for your answer<br /><br />SadiaAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-24107602808199487392011-07-19T10:11:58.281+02:002011-07-19T10:11:58.281+02:00Hi andrejus
Have you tried to handle department I...Hi andrejus<br /><br />Have you tried to handle department Id automatically in spite of manually inserting one during new insert<br /><br />You have given its ans already in your cortical like :<br /><br />"It should work nicely, just drag and drop DepartmentId component on UI side again."<br /><br />But i cant understand this<br /><br />Best Regards<br />sadiaAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-2430379099614485542011-07-13T14:26:31.076+02:002011-07-13T14:26:31.076+02:00Its working well for me in WebCenter app as well.
...Its working well for me in WebCenter app as well.<br /><br />AndrejusAndrej Baranovskijhttps://www.blogger.com/profile/04468230464412457426noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-33440766446741458882011-07-13T11:46:11.096+02:002011-07-13T11:46:11.096+02:00Hi Andrejus,
I tried to implement same thing in a...Hi Andrejus,<br /><br />I tried to implement same thing in a webcenter portal application but its not working properly. <br />When i click on edit or insert button it does not open any popup.<br />It also give me following error when i refresh my page.<br /><br />java.lang.IllegalStateException: The expression "#{bindings.navigationrenderer1.regionModel}" (that was specified for the RegionModel "value" attribute of the region component with id "pt_r1") evaluated to null.<br />This is typically due to an error in the configuration of the objects referenced by this expression.<br />If it helps, the expression "#{bindings.navigationrenderer1}" evaluates to "null".<br />If it helps, the expression "#{bindings}" evaluates to "null". Now using an empty RegionModel instead.<br /><br />Kindly guide me to solve this problem.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-499854127640747842011-06-02T20:35:24.378+02:002011-06-02T20:35:24.378+02:00Please explain your question. I dont understand.
...Please explain your question. I dont understand.<br /><br />Thanks,<br />AndrejusAndrej Baranovskijhttps://www.blogger.com/profile/04468230464412457426noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-24774958370670914962011-06-02T20:29:25.121+02:002011-06-02T20:29:25.121+02:00hi
Andrejus
can we saved multiple record at o...hi<br /> Andrejus<br /> can we saved multiple record at one instance with code generation code.<br /> plz help me.<br /> thanks.abhijeet pratap singhhttps://www.blogger.com/profile/10267177995195791839noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-354370361316246572011-05-27T19:44:55.531+02:002011-05-27T19:44:55.531+02:00Hi,
I've done a inline popup like the examp...Hi,<br /><br /> I've done a inline popup like the example and works great, but I want to know if is possible to set the "Close" action in the task-flow to the closing button of the dialog (the cross button in the dialog generated by the adf) instead of creating a closing button.<br /><br />Regards,<br />AndréAndrénoreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-7236608662272802892011-05-23T23:54:42.132+02:002011-05-23T23:54:42.132+02:00Hi,
I checked your link - it worked in Chrome, di...Hi,<br /><br />I checked your link - it worked in Chrome, didnt tested on other browsers. I open Nuevo/Editar button - it loads popup. I can click on Grueba or Cancelar buttons - popup is closing.<br /><br />AndrejusAndrej Baranovskijhttps://www.blogger.com/profile/04468230464412457426noreply@blogger.com