بتاريخ: 10 سبتمبر 201312 سنة comment_239963 بسم الله الرحمن الرحيم عندي cascading list في الاخر بتعمل تحديث لـ table بيعرض بيانات عاوز يحصل check على ال user privlige (انا معي بياناته من صفحة الlogin) قبل ما يعرض البيانات في الجدول علشان حسب priv يعرض او لأ تقديم بلاغ
بتاريخ: 10 سبتمبر 201312 سنة comment_239966 Dear, you have to have your priv data in session scope . and handle back bean method to catch and distribute. your back bean handelation may be in Value Change Listener or better before page load regards. تقديم بلاغ
بتاريخ: 10 سبتمبر 201312 سنة كاتب الموضوع comment_239968 تمام يعني في ال Value Change Listener بتاعت الlist اكتب ايه علشلن الtable قبل ما يحمل بيانات يشوف id بتاع الuser ويطبقة بالمتاح تقديم بلاغ
بتاريخ: 10 سبتمبر 201312 سنة comment_239975 no, in your case in page load , or better in VO itself, just make bind variable in you table VO (Where clause) using EL Expression to read session scope variable already contains accessed user as default value. and for any user try to access the page, VO executed and Data displayed based on accessed user , even you use normal or navigation list to query, same action happens. i don't have code now to write , anyway u can use google if you don't have correct syntax ------ to avoid use session scope parameter and make the value passed using Executewithparameters defined in page def regards. تقديم بلاغ
بتاريخ: 11 سبتمبر 201312 سنة كاتب الموضوع comment_239995 انا دورت على التحكم في ppr برمجيا ولاقت الكود ده حاول اجرب وشكرا على اهتمامك وسرعة ردك Partial Trigger programmatically In actionlister or your bean write below codeAdfFacesContext adfFacesContext = AdfFacesContext.getCurrentInstance();adfFacesContext.addPartialTargets();e.g. say we have two text fields it1 and it2. Set it1 autoSubmit to true and in valuechangelister give below codeAdfFacesContext adfFacesContext = AdfFacesContext.getCurrentInstance();System.out.println("entered");it2.setValue(it1.getValue());adfFacesContext.addPartialTarget(it2); تقديم بلاغ
بتاريخ: 11 سبتمبر 201312 سنة كاتب الموضوع comment_239997 وده فيديو يوضح ازاي أظبط الخاصية برمجيا تقديم بلاغ
انضم إلى المناقشة
يمكنك المشاركة الآن والتسجيل لاحقاً. إذا كان لديك حساب, سجل دخولك الآن لتقوم بالمشاركة من خلال حسابك.