بتاريخ: 16 نوفمبر 201213 سنة comment_229150 اريد خطوات جعل صفحة adf اول ما تفتح بدل ما تنفذ الاستعلام ..تقوم بانشاء صف جديد تقديم بلاغ
بتاريخ: 16 نوفمبر 201213 سنة comment_229156 أخي الفاضل : ما تريده موجود ضمن المقال التالي :http://dstas.blogspot.com/2010/09/open-jspx-page-in-insert-mode-in-adf.htmlمع تمنياتي لك بالتوفيق تقديم بلاغ
بتاريخ: 16 نوفمبر 201213 سنة comment_229157 Dear very easy you can do by two ways First, you can do it when u navigate between one page to another, simple drop create insert method in your ADFC-Config or faces-config Task Flows and make ur navigation and finally just navigate normally and Method will fire putting your VO in Create insert Mode .. X Page navigate to CreateInsert Method then Nagiate to Y page Example <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2"> <view id="x"></view> <view id="y"></view> <method-call id="CreateInsert"> <method>#{bindings.CreateInsert.execute}</method> <outcome> <fixed-outcome>CreateInsert</fixed-outcome> </outcome> </method-call> <control-flow-rule id="__1"> <from-activity-id>x</from-activity-id> <control-flow-case id="__2"> <from-outcome>a</from-outcome> <to-activity-id>CreateInsert</to-activity-id> </control-flow-case> </control-flow-rule> <control-flow-rule id="__3"> <from-activity-id>CreateInsert</from-activity-id> <control-flow-case id="__4"> <from-outcome>b</from-outcome> <to-activity-id>y</to-activity-id> </control-flow-case> </control-flow-rule></adfc-config>. Second in your Bean Method before return final step, execute method declared in Page Defination to make create insert Example public String NavigationCreateInsert() { BindingContainer bindings = getBindings(); OperationBinding operationBinding = bindings.getOperationBinding("CreateInsert"); Object result = operationBinding.execute(); if (!operationBinding.getErrors().isEmpty()) { return null; } return "navigation"; } تقديم بلاغ
بتاريخ: 17 نوفمبر 201213 سنة كاتب الموضوع comment_229165 thanks alot the first Link Not working For me , but the replay Of Eng.Wael Abdeen is very Useful and working ..Thanks Again تقديم بلاغ
انضم إلى المناقشة
يمكنك المشاركة الآن والتسجيل لاحقاً. إذا كان لديك حساب, سجل دخولك الآن لتقوم بالمشاركة من خلال حسابك.