الانتقال إلى المحتوى
View in the app

A better way to browse. Learn more.

مجموعة مستخدمي أوراكل العربية

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

مشكلة فى عمل Fixed List

Featured Replies

بتاريخ:

السلام عليكم
أريد انا اعمل List تحتوي على قيم ثابته و لكى اعمل ذلك قمت بعمل التالي
1-- I created static view object
see this link to know how to create staticview object
http://one-size-doesnt-fit-all.blogspot.com/2008/09/jdev-11g-adf-bc-new-feature-static-list.html
The view is composed of two columns(code-description) both are String - code are the key
The attributes values are :(BCK means Back) and (MAN means send to Manager)

2- I added new attribute to the base view object(MissionVO) as a non database attribute
3- I added a LOV based on a view accessor of the static view object to this attribute

this is an image for my LOV
http://tfathy.blogspot.com/


When I run the application module to test, every thing is ok. the choice list is displayed and I can select a value


المشكلة فى ال jspx page
ان الليست بتظهر لكن القيم اللى فيها فاضية
الليست نفسها مش فاضيه - فيها عناصر
لكن ال description
مش ظاهر

this image explains the error
http://tfathy.blogspot.com/2011/10/how-to-create-checkbox-in-adf.html


and this is the page code


<af:selectOneChoice value=[color="red"]"#{bindings.missionStatus4MGR.inputValue}"[/color]
                                   label=[color="red"]"#{bindings.missionStatus4MGR.label}"[/color]
                                   required=[color="red"]"#{bindings.missionStatus4MGR.hints.mandatory}"[/color]
                                   shortDesc=[color="red"]"#{bindings.missionStatus4MGR.hints.tooltip}"[/color]
                                   id=[color="red"]"soc3"[/color]>
                 <f:selectItems value=[color="red"]"#{bindings.missionStatus4MGR.items}"[/color]
                                id=[color="red"]"si3"[/color]/>
               </af:selectOneChoice>
بتاريخ:

ما فهمته من سؤالك وصحح لى ان كنت مخطئه ان عندك فيو اوبجكت فيه attribute هو transiet attribute عاوز تعمله ك LOV وبالتالى عملت static View Object ك LOV وفيه Code و Description قيم ال Description كالاتى

BCK
MAN

وبالتالى حتعمل على ال attribute اللى عاوزه ك LOV فى الفيو اوبجكت الاساسى List of values وتقوله اسم ال List Data Source هو اسم Static view object وتختار ال List Attribute هو ال code وتقوله فى ال List Return value ان الtransiet attribute اللى عندك فى الفيو اوبجكت الاساسى بيساوى ال code فى ال List Attribute فقط لا غير وبعدين فى ال UI hints قوله اللى حيظهر هو ال description

بتاريخ:
  • كاتب الموضوع

تمام انا عملت كدة فعلا و لما بعمل test من على ال application module ال LOV بتظهر و شغالة تمام
لكن لما اجرب من على ال page بلاقى ال LOV فاضية

بتاريخ:
  • كاتب الموضوع

السلام عليكم
شكرا جذيلا بشمهنسة هاله على ردك
المشكلة الوقتى اتحلت بس بشكل غريب
لما انا غيرت ال View object اللى بيحتوى على القيم BCK - GM و خليته ReadOnly Query view object و ليس Static View Object

SELECT 'Reject' DESCRIPTION
,'BCK' CODE
FROM DUAL
UNION ALL
SELECT 'Accept' DESCRIPTION
,'GM' CODE
FROM DUAL



الغريبة مش عارف لية ال static view مش بتنفع و ان ال ReadOnly query view هى اللى اشتغلت

بتاريخ:

لا يوجد اى مشكلة فى استخدام ال static View object ك lov وبالتالى حتلاقى الايرور من عندك فى عمل ال static نفسه حاول تمسحه وتكريته من جديد وتتاكد من القيم بتاعته واللى بيتعملها mapping مع ال base View object

بتاريخ:

اتفق مع الأخت هالة أنه لا توجد أى مشكلة فى استخدام الـ static View object كـ lov ولكن تأكد أن هناك بيانات موجودة في الجدول الأصلي ، وأيضاً راجع الـ page definition فقد يكون فيه خطأ

انضم إلى المناقشة

يمكنك المشاركة الآن والتسجيل لاحقاً. إذا كان لديك حساب, سجل دخولك الآن لتقوم بالمشاركة من خلال حسابك.

زائر
أضف رد على هذا الموضوع...

برجاء الإنتباه

بإستخدامك للموقع فأنت تتعهد بالموافقة على هذه البنود: سياسة الخصوصية

Account

Navigation

البحث

إعداد إشعارات المتصفح الفورية

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.