tag:blogger.com,1999:blog-5874979429188093780.post5200815101283952867..comments2024-03-18T06:46:54.352+01:00Comments on Andrej Baranovskij Blog: Invoking Create method programmaticallyAndrej Baranovskijhttp://www.blogger.com/profile/04468230464412457426noreply@blogger.comBlogger22125tag:blogger.com,1999:blog-5874979429188093780.post-61081303755414827182017-03-29T08:40:24.162+02:002017-03-29T08:40:24.162+02:00Great, many thanks for the good examples for learn...Great, many thanks for the good examples for learning!Tomnoreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-51444449978631679762017-03-27T15:34:35.764+02:002017-03-27T15:34:35.764+02:00Links to the sources are broken :-(Links to the sources are broken :-(Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-66945742085645456072014-12-03T12:05:08.048+01:002014-12-03T12:05:08.048+01:00Hi Andrejus, Thanks for your wonderful posts. I fi...Hi Andrejus, Thanks for your wonderful posts. I find them quite usefull.<br /><br />I'm trying to implement this example but soon after dropping input texts I cant find the page definition file where I can create the variables and generate bindings.<br /><br />Even on the page that I've created, when you click on the bindings all options are disabled.<br /><br />Is there anything that I've done wrong or could it be that Jdeveloper 11.1.2.4 doesn't support the feature?majaribiohttps://www.blogger.com/profile/13764108945957604358noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-84288097354764657472014-01-07T09:18:54.947+01:002014-01-07T09:18:54.947+01:00You should check adf developer guide...You should check adf developer guide...Andrej Baranovskijhttps://www.blogger.com/profile/04468230464412457426noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-15995980953294744842014-01-07T08:11:43.017+01:002014-01-07T08:11:43.017+01:00can you give a referent for this? maybe a link whi...can you give a referent for this? maybe a link which one explan about this trouble. Thank you!Anonymoushttps://www.blogger.com/profile/09532186174424401605noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-73078716752776390152014-01-07T07:43:05.897+01:002014-01-07T07:43:05.897+01:00This is out of the box Master-Detail functionality...This is out of the box Master-Detail functionality in ADF.<br /><br />AndrejusAndrej Baranovskijhttps://www.blogger.com/profile/04468230464412457426noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-22460290948973410372014-01-07T05:44:13.536+01:002014-01-07T05:44:13.536+01:00What happend if i want create a method with one mo...What happend if i want create a method with one more table. I mean: Regions and Countries and Locations. On the form, if i want know this this Location from where Region( i mean: from Locations table i could know it's come from which Region? through CoutryID).<br />Exactly form Locations like this i want:<br /> LocationID<br /> City<br /> State_Province<br /> RegionName (list of values from Regions table)<br /> CountryName (list of values from Countries table)<br /><br />When you selected RegionName --> CountryName will show but only CountryName in that Region show.<br />It's like US only have Washington state, Texas state.....<br /><br /><br />I'm trouble on this...If you can give me some solution..i'm realy thank you.<br /><br /><br /><br /><br /><br />Anonymoushttps://www.blogger.com/profile/09532186174424401605noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-54458179149578343092011-02-16T12:44:53.053+01:002011-02-16T12:44:53.053+01:00Hi,
How can I implement a delete function based o...Hi,<br /><br />How can I implement a delete function based on the example above?<br /><br />Thanks<br />Regards CorneliuCorneliunoreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-768670183755709072010-04-24T17:14:57.387+02:002010-04-24T17:14:57.387+02:00Hi,
Thanks for your quick responce.
Actually the...Hi,<br /><br />Thanks for your quick responce.<br /><br />Actually the thing is, on popup I want to add rows on the table so that I can enter multiple records.<br /><br />Also the method getBindings() giving error for me.<br /><br /><br />Thanks & Regards,<br />Viraj SaveAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-22639780731826980412010-04-24T16:31:25.918+02:002010-04-24T16:31:25.918+02:00Hi,
You can check my post with Insert PopUp: http...Hi,<br /><br />You can check my post with Insert PopUp: http://andrejusb.blogspot.com/2009/11/crud-operations-in-oracle-adf-11g-table.html<br /><br />Regards,<br />AndrejusAndrej Baranovskijhttps://www.blogger.com/profile/04468230464412457426noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-10824536355720565642010-04-24T16:24:45.605+02:002010-04-24T16:24:45.605+02:00Hi,
I am working on the table where my requiremen...Hi,<br /><br />I am working on the table where my requirement is to create row to add Item numbers for my order. I have used simple table bounded by VO on Popup and when i clicked "create insert" button it should add new empty row to the table. but since its on popup its closing down the popup. Any suggestion???<br /><br />Thanks & Regards,<br />Viraj SaveAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-9246431268759566962008-10-22T12:26:00.000+02:002008-10-22T12:26:00.000+02:00Hi,i'm new in ADF and i want to create 3 object_vi...Hi,<BR/>i'm new in ADF and i want to create 3 object_views in one page (page1) and in another page (page2)i want creation of list of values to filter or search data of object_views in page1<BR/>what's the code of search button<BR/>best regards,<BR/>Abeerabeerhttps://www.blogger.com/profile/17108811792274026048noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-58239750617746884442008-02-12T10:26:00.000+01:002008-02-12T10:26:00.000+01:00Hi,In Oracle documentation they explain it with ex...Hi,<BR/><BR/>In Oracle documentation they explain it with examples - <A HREF="http://download.oracle.com/docs/html/B25947_01/bcvoeo008.htm#BABHCAAA" REL="nofollow">7.8 Working Programmatically with Entity-Based View Objects</A>. In section 7.8.3 DBSequence is used as well.<BR/><BR/>Tell me if there will be problems.<BR/><BR/>Regards,<BR/>AndrejusAndrej Baranovskijhttps://www.blogger.com/profile/04468230464412457426noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-64028397654855541952008-02-12T10:12:00.000+01:002008-02-12T10:12:00.000+01:00Hi Addrejus,Thank u for ur replay.Will u please ex...Hi Addrejus,<BR/>Thank u for ur replay.<BR/>Will u please explain ho to do it.<BR/>Im new to Jdev and ADF.<BR/>I'm using a DBSequence to assign a primary key during insert into entity1.<BR/>will u please tel me how to access this DBSequence assigned value and, How to use it to insert and update other entities<BR/>thanks<BR/>AnsAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-34635783842977284342008-02-12T09:45:00.000+01:002008-02-12T09:45:00.000+01:00Hi Ans,It is possible.You can insert new row in En...Hi Ans,<BR/><BR/>It is possible.<BR/><BR/>You can insert new row in Entity1 as it described in my post. When new row will be inserted in Entity1 you can access DBSequence assigned value for primary key (if you are using it) and use this value during insert in Entity2. Finally Entity3 - you can use primary key to find needed row and update it.<BR/><BR/>Regards,<BR/>AndrejusAndrej Baranovskijhttps://www.blogger.com/profile/04468230464412457426noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-10695135462989565632008-02-12T06:32:00.000+01:002008-02-12T06:32:00.000+01:00Hi Andrejus,Is it possible Update 3 entities at on...Hi Andrejus,<BR/>Is it possible Update 3 entities at once. <BR/>I'm using jdev 10.1.3 and ADF BC.<BR/>I have 3 entity object and i have created a ADF form using<BR/>entity1's view object.<BR/>When I submit the form using the commit button I have to Insert one<BR/>new row in entity1 & entity2 and update some field in entity3 <BR/>using the form values.<BR/>what should i do to achieve this.Please help me....Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-4294110550720041072008-01-26T04:19:00.000+01:002008-01-26T04:19:00.000+01:00Hi Prasad,You can check this section from ADF docu...Hi Prasad,<BR/><BR/>You can check this section from ADF documentation - <A HREF="http://download.oracle.com/docs/html/B25947_01/bcvoeo008.htm#sthref611" REL="nofollow">7.8.2 Example of Finding a Row and Updating a Foreign Key Value</A>.<BR/><BR/>I believe, it will be useful.<BR/><BR/>Regards,<BR/>AndrejusAndrej Baranovskijhttps://www.blogger.com/profile/04468230464412457426noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-21848744232861469392008-01-25T13:40:00.000+01:002008-01-25T13:40:00.000+01:00Hi AndrejusThe code snippet for creating a record ...Hi Andrejus<BR/><BR/>The code snippet for creating a record was userful. Could you tell how to update a record in similar manner<BR/><BR/>Regards<BR/>Prasad JayakumarAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-66295459988763818002007-09-20T23:48:00.000+02:002007-09-20T23:48:00.000+02:00Hi,No, method should look like: public String c...Hi,<BR/><BR/>No, method should look like:<BR/><BR/> public String createButton_action() {<BR/> BindingContainer bindings = getBindings();<BR/> OperationBinding operationBinding = <BR/> bindings.getOperationBinding("Create");<BR/> Object result = operationBinding.execute();<BR/> if (!operationBinding.getErrors().isEmpty()) {<BR/> return null;<BR/> }<BR/> <BR/> operationBinding = bindings.getOperationBinding("Create1");<BR/> result = operationBinding.execute();<BR/> if (!operationBinding.getErrors().isEmpty()) {<BR/> return null;<BR/> }<BR/> <BR/> return null;<BR/> }<BR/><BR/>Regards,<BR/>AndrejusAndrej Baranovskijhttps://www.blogger.com/profile/04468230464412457426noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-74292960128186595542007-09-19T08:03:00.000+02:002007-09-19T08:03:00.000+02:00Hi Andrejus,Thanks for your response. To get the t...Hi Andrejus,<BR/><BR/>Thanks for your response. To get the toolbar set I am using af:toolbox,af:toolbar and af:commandToolBarButton. Is this proper way?<BR/><BR/>Regarding the functionality, I dragged and droped view obj as ADF creation form on the page and put one button for create at the top. In the backing bean method of the button I did like following<BR/>...<BR/>...<BR/>...<BR/>//table1<BR/>AddressViewImpl addressV = (AddressViewImpl)appM.findViewObject("AddressView1");<BR/>AddressViewRowImpl addrow = (AddressViewRowImpl)addressV.getCurrentRow();<BR/>addrow.setManId(manId);<BR/><BR/>//table2 <BR/>ContactsViewImpl contV = (ContactsViewImpl)appM.findViewObject("ContactsView1");<BR/>ContactsViewRowImpl contRow = (ContactsViewRowImpl)contV.getCurrentRow();<BR/> contRow.setManId(manId);<BR/> <BR/> .....<BR/>....... appM.getDBTransaction().commit();<BR/><BR/><BR/>Is this the feasible way of doing this?Ghoshhttps://www.blogger.com/profile/09353506106261141086noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-32753246692608449082007-09-18T14:29:00.000+02:002007-09-18T14:29:00.000+02:00Hi,Yes, it's possible in ADF, but I'm not sure it ...Hi,<BR/><BR/>Yes, it's possible in ADF, but I'm not sure it is easier or harder comparing to Oracle Forms.<BR/><BR/>As a hint you can use my post - <A HREF="http://andrejusb.blogspot.com/2007/06/create-edit-and-delete-operations-in.html" REL="nofollow">Create, Edit and Delete operations in Master-Detail af:table components</A>. There are separate Create buttons, but you can use only one for all your tables.<BR/><BR/>General idea how to do this, just double click on any Create button and implement Action Method Binding in Backing bean. Into generated action method, will be automatically included code, associated with Create button. You can add into this method, Create functionality code, related to other tables as well. So, you will have one button, which creates new rows for several tables.<BR/><BR/>Regards,<BR/>AndrejusAndrej Baranovskijhttps://www.blogger.com/profile/04468230464412457426noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-88087927976792876092007-09-18T09:08:00.000+02:002007-09-18T09:08:00.000+02:00Hi Addrejus,How to replicate oracle forms toolbars...Hi Addrejus,<BR/><BR/>How to replicate oracle forms toolbars in adf faces? <BR/><BR/>I have a insert page with 1 master and 5 child tables where master table is in main form and all childs are in tabbed pane.I have to perform create operation in all 6 tables by clicking one single command button which is part of a toolbar. <BR/>Oracle forms provides such facilities and what about adf faces?Ghoshhttps://www.blogger.com/profile/09353506106261141086noreply@blogger.com