بتاريخ: 16 فبراير 201313 سنة comment_232484 من عنوان الموضوع أرجو معرفه ما المقابل لل new form instance في الصفحة بدون الرجوع لل application module تقديم بلاغ
بتاريخ: 17 فبراير 201313 سنة comment_232530 you have 2 waysmakes a method fire before navigating to your pageand the other solution is the page phase listeneryou have to read more about themgood luck تقديم بلاغ
بتاريخ: 17 فبراير 201313 سنة كاتب الموضوع comment_232538 Thanks alot for your suggestion i want to do some logic when the user open the page EX.show message for logintime and some data from Named Query .. thanks alot Dr.Wael تقديم بلاغ
بتاريخ: 4 مارس 201313 سنة comment_233273 اقولك حل انا فكرت فيه و تقولى رأيكانت هتضيف output text فى الصفحة بتاعتكو تروح على ال property visible و تخليها تقرا من Boolean attribute موجود فى managed beanاللى اسمه مثلا showmeExample private boolean showme=true; public boolean isShowme(){ showPopup(); return true; } public void setShowme(boolean showme){ this.showme=showme; } و فى الميثود اللى اسمها showPopup()اكتب اللى الكود اللى بيظهرلك الرسالهفى الحاله دى الصفحة بتاعتك اول ما تفتح هتعمل render لل output text و تخليه visible و تنفز الكود اللى فى الميثود isShowme()دة تخيلي هل فى حد عندة حل احسن من كدة . يا ريت نتشارك الافكار تم تعديل 4 مارس 201313 سنة بواسطة tarek_fathi تقديم بلاغ
بتاريخ: 6 مارس 201313 سنة comment_233329 ممكن تستخدم clientListener & serverListener على af:doucumentهفترض انك عايز تعمل شاشة لما تدخل تعرض PopUp فيها رسالة معينة <f:view> <af:document id="d1" title="myTestPage"> <af:form id="f1"> <af:popup id="p1" contentDelivery="lazyUncached" binding="#{test.myPopup}"> <af:dialog id="d2" type="cancel" title="messages"> <af:outputText value="#{test.msg}" id="ot1"/> </af:dialog> </af:popup> </af:form> <af:resource type="javascript"> function callClientScript(event) { component = event.getSource(); AdfCustomEvent.queue(component,"customServerListener",{},true); } </af:resource> <af:clientListener method="callClientScript" type="load"/> <af:serverListener type="customServerListener" method="#{test.customServerListener}"/> </af:document> </f:view> and Java Bean import oracle.adf.view.rich.component.rich.RichPopup; import oracle.adf.view.rich.render.ClientEvent; public class TestBean { private RichPopup myPopup; String msg; public void customServerListener(ClientEvent clientEvent) { msg = "your Message"; myPopup.show(new RichPopup.PopupHints()); } public void setMyPopup(RichPopup myPopup) { this.myPopup = myPopup; } public RichPopup getMyPopup() { return myPopup; } public void setMsg(String msg) { this.msg = msg; } public String getMsg() { return msg; } تقديم بلاغ
انضم إلى المناقشة
يمكنك المشاركة الآن والتسجيل لاحقاً. إذا كان لديك حساب, سجل دخولك الآن لتقوم بالمشاركة من خلال حسابك.