Need to create tree-view page.
I'm trying to create a tree-view display using Oracle JDeveloper 10g Release 3, ADF and JSF.
I need to show a tree (folder names) and on a click of the last level folder to show table with File names that are related to the selected folder.
Data is stored in two tables:
1. contains Folder names and hierarchy relations;
2. contains File names.
These tables related by folder ID.
Using ADF Faces Component, I created a 3 level Tree that expends and collapses each level of Folder names but I don't know how to populate the View part (table with File names). Basically, I need to take an ID of the selected row in the Tree and pass it as a parameter to the View table query where clause.
Since this is not a hibernate forum i suggest you ask your question about hibernate somewhere else.
Similar Messages
-
Basic Requirement to create Tree View
Hi gurus.
While creating Custom Tree View, I am getting following error when i click the Search button in search page..
**An error occurred during event processing in view ASSEG.htm of UI Component ZHIER_VIEW**
**An exception has occurred Exception Class CX_SY_REF_IS_INITIAL - Dereferencing of the NULL reference**
**Method: ZL_ZHIER_VI_ASSEG_IMPL=>EH_ONSEARCH**
**Source Text Row: 109**
please help me if any one done tree view..
helpful if provide correct procedure to create tree view..
Regards.
Ashok.Hi Lakshmi and Raj
The answer was correct, i was able to resolve that exception...
But the thing is when i click on the search button it is not displaying the result.. i mean it is not triggering the event...
what will be the answer for this please help me .. urgent requirement..
let me explain the scenario here i am taking one advance search page and if u click on search button result should display in tree format...
I done all correctly but i am now unable to point the error... my requirement similar to the standard component SEGAS_SEG.
Thanks
Ashok.. -
Facing problems while creating tree view
Hi gurus,
I am facing problems while crating the tree view can please explain me what are the basic requirements for creating tree view and explain me which are the methods i need to redefine.
any answer is appreciated.
Regards,
Chetan AgaliHi Chetan,
Maybe Poonam Assudani weblog may help you a little more. Check it's location here:
/people/poonam.assudani/blog/2009/06/24/create-a-tree-view-display-in-crm-web-ui
Kind regards,
Garcia -
Do I need to create a view for this?
Hi Ihave got 2 tables emp and project
In emp tabe:
emp_no
family name
given name
In porgect table:
emp_no
status(assigned,unassigned)
start_date
end_date
emp_no Family_name given_name
1 Smith John
In project table same employee can have many assigement eg
emp_no status start_date end_date
1 assigned 01-may-08 01-july-08
1 assigned 01-sep-08 01-july-09
1 unassigned 01-july-09 01-oct-09
In the form:
there are 2 querable fields "project ends between field1(date) and field2(date)" which is used to
retrive records which have end date between field1 and field2.
The following fields are needed to get from database:
emp.family_name emp.given_name project.start_date project.end_date No.of time assigned
Requirements:
1. project.start_date and project.end_date must be the latest project_end_date for the same emp
so in the above sample date
2. No. of time assigned is a count of total of number records which have status='assign'
So for the given sample data the record expected after query would be(field1=01-jun-08 field2=02-july-09)
emp.family_name emp.given_name project.start_date project.end_date No.of time assigned
Smith John 01-sep-08 01-july-09 2
What is the best approach to get:
1 The lastest project(latest end_date) for the emp
2. get No.of time assigned.
Do I need to create a view for this? If yes, any sample sql code this this?
Thanks for your helpHi W1zard,
Thanks for your reply. Could you clarify the following points for me:
1.) you could create a master block basing on your emp table and a detail block basing on your project table with the relation over emp_no. set the default_where clause of your detail block programmatically using
set_block_property('project', default_where, 'status = ''assigned'' and <your_date_criteria>');
Q1: where I pit this code? in pre-query trigger in detail block?
2.) Of course you could create a view to join both of your tables if you don't want to use master detail blocks; Also do the join over emp_no
create or replace force view v_emp as
select emp.family_name, emp.given_name, project.start_date, project.end_date
from emp, project
where emp.emp_no = project.emp_no
Q2 As I mentioned before, there are multipal entries for the same emp in project table and we only need the maching record from project table which has latest end_date. So I think I need something like
max(project.end_date) somewhere in create view to make sure only one record for one employee.
Also is there possible to include the no. of assigned field(select count(*) from project where status='assigned' and emp=emp_no) into the view as well?
Q3 All the fields mentioned above are diaplay-only. So Can I create a control block which has all the fields from emp and project. Then populate them with my sql. The question is
where I put this customerised sql so when user click excute query. My sql will run and display one the form?
REally appreciated your help!
Michael -
Need to create a login page to my Adobe Muse site - how do I do that?
Hi all,
I need to create a login page on my Adobe Muse site, as I need to post information that only authorized personnel have acces to. Is that possible. I use Business Catalyst to host my site.
Thanks,Hi Michael,
The Business Catalyst site should be on web Marketing plan.
You can create the secure zone in Business Catalyst and then place the secure zone login form code from Business Catalyst to the page in Muse.
Business Catalyst Help | Add a secure area to your site
Regards,
Gaurav Aggarwal -
Ho to create tree view for SitePages ?
Hi ,
I want to create a tree view navigation menu for Site pages. Lets consider following scenario
+Folder1
- SitePage1
- SitePage2
- SitePage3
+Folder2
- SitePage1
- SitePage2
- SitePage3
Please let me know how can i achieve this functionality by With or without using Visual web part.
Thanks,
C MahoneHi,
According to my understanding you want to achive this navigation in sitecontent pannel on left side of the page,
If this is where you want to achive you can simply click on edit links in the bottom and provide your navigation. -
Need to create an edit Page from a Multiselect List
I make one or more selections of values from a Multiselect List; I need to branch to another page in which I display all of the selected List items and two other columns (per item) that can be edited; i.e., this second page will look like one or more rows consisting of (1) List item, (2) value1 from a Table, (3) value2 from a Table. I need to be able to change value1 and/or value2 for any or all of the rows and have those changes reflected in the Database. (The List item is display only).
My question is: which construction wizard can I use for this second page? I can collect my List items in a PL/SQL Table, but how can I display them and their related columns so the column values are editable?Thanks for the reply. I understand how to create Collections with the values I need to display and modify; however, I'm unsure which construction Wizard to employ to launch the Page ("Form based upon a Procedure", etc.)
I looked in the Tutorials for a "collection demo" and found these potential candidates: "Build an Issue Tracking System", "Create a Simple Survey Application", and "Serving Application Express Reports". Is it one of these? If not, please tell me where I can find the "collection demo". Thanks. -
Need to create a TASKS page with a filter default in PWA Project Server 2013 (Online)
Never done this so, I am wondering How to go about or what I would need to create a simple PWA page like "Tasks" in Project Server 2013 online where it default to a filter that is set to not equal to the user that is logged on?
\Spiro Theopoulos PMP, MCITP. Montreal, QC (Canada)Hi Spiro,
The "my tasks" page or "my timesheet" are automatically filtered on the user currently connected. Unless you are using workarounds such as status manager or delegation, I see no way to bypass this.
Hope this helps,
Guillaume Rouyre, MBA, MVP, P-Seller | -
Minimum privileges needed to create a new page at runtime
Some body know the minimum privileges needed by a user to create a new page at runtime (using PORTAL.WWSBR_API.add_folder). Actualy the user have MANAGE_CONTENT on the parent page where the page need to be create by we got an exception (If we had the MANAGE_CONTENT on the page group, we dont receive this exception)
thanks
J.
Message was edited by:
user510720You'll need to set the "series" property of the chart. This will be an array of BarSeries objects.
You may also need to set the horizontalAxis and verticalAxis properties for the chart. (I forget if there are defaults for these.) -
Need to create custom home page for iProcurment.
Hi,
I have an issue in iProcurment.
i have modified the Menu name from "Requisitions" to "My Requisitions" in custom responsibility "XX iProcurment" its a replica of standard iProcurment responsibility.
then i clear the Cache and bounce the middle tire even though the changes are not reflecting. But when i do the same changes in the standard iProcurment responsibility then i am able to see the changes.
Create a main menu XX_ICX_POR_SSP_HOME its a replica of ICX_POR_SSP_HOME then attached to XX iProcurment
Menu: XX_ICX_POR_SSP_HOME
User Menu Name: XX Internet Procurement Home
Menu Type: Standard
Description: Internet Procurement Home
seq Prompt Submenu Function Description
1 iProcurement Home Page POR SSP HOME Internet Procurement Home Page
3 XX iProcurement: Homepage menu
4 EAM Function To Launch IP
5 iProcurement: Function Security
6 iProcurement Preferences Menu Container iProcurement Preferences Menu Container
Sub menu:
XX_ICX_POR_HOMEPAGE_MENU its a replica of ICX_POR_HOMEPAGE_MENU
Menu: XX_ICX_POR_HOMEPAGE_MENU
User Menu Name: XX iProcurement: Homepage menu
Menu Type: Home Page
Description: iProcurement Homepage menu
seq Prompt Submenu Function Description
5 Shop XX iProcurement: Shop Shop tab
10 My Requisitions iProcurement: Requisition Status Requisition Status tab
15 Receiving iProcurement: Receiving Home Page Menu Receiving tab
20 Contractors iProcurement: Contractor Contractor tab
25 iProcurement: Common Functions Common iProcurement Functions
30 iProcurement: Global Menu iProcurement Global Menu
35 ICX_STANDARD_GLOBAL_MENU ICX Standard Global Menu
40 iProcurement iP Product Branding
Hear i am changing the prompt of "Requisitions" to "My Requisitions"
i have modified the function XX_POR_SSP_HOME its a replica of POR_SSP_HOME
x_object=AppsServlet&x_source=menu&x_menuFunction=displayHomePage
OA.jsp?OAFunc=ICX_POR_LAUNCH_IP&OAHP=XX_ICX_POR_HOMEPAGE_MENU&OASF=ICX_POR_LAUNCH_IP&porMode=accessHomePage&OAPB=ICX_POR_IP_BRANDDo you have much experience working with HTML & CSS code?
Does this project need to work well in all devices; not just tablets?
If the answer to both question sis Yes, I recommend Dreamweaver.
If the answer to both question is No, use Muse.
Nancy O. -
I need to create private members pages for a site I am building
Is it possible to make PRVATE PAGES that on only site members can see?
Hello David,
do you think about something like that: http://hansgd.de/DWTest/AccBlocked/AccBlocked.php
If you have to to take account to "normal" security requirements, so the easiest way in my opinion is to ask your provider for this possibility. (Passwortschutz = Password protection)
So you don't need to struggle by writing the ".htaccess" file of yourself. The advantage is, that the two files (.htaccess and .htpasswd) are created simultaneously and systemconform.
Hans-G. -
Help!! Need to create Left Master Page in FM 8
Howdy--
I'm using Frame 8 after a bit of a break from FM. The last version I used was 7.2 and I don't seem to remember it being so hard to create a left master page. When I go to do it in FM8, it tells me that Left is reserved. OK, but where does it live--can't find that neither.
Would appreciate some help and many thanks,
MarieHi Marie
I'm not Van, but can answer those questions. :-)
To change the size of the text flow box (text frame, by the way), Ctrl-click on the frame border in the master page, then select Format > Customise Layout > Customise Text Frame. Or you can Ctrl-click and drag the borders, if you don't care about precise measurements. I'm using FM7, so FM8 may be different - but I hope not.
Cross-references aren't the friendliest. See the online help topic "Creating cross-reference formats". You need a definition that's something like:
See Figure <$paranumonly> for more info.
If you get stuck on cross-refs, it's prob a good idea to start a new forum topic about that.
Cheers, Rebecca -
Need to create maintenance view for a custom infotype
A custom infotype 90XX is created. The data cannot be modified or created through PA30 in this infotype. Through PA 40 actions only we can create/change the record/data. We have created some 1000 records in it. Now can we create a maintenance view for the infotype so that we can create, delete or change the data in the infotype as and when we want.
Hi,
pls chk dat u have maintained the 'Infotype Charecteristics' and 'Technical Attributes' correctly.
thanks,
teja. -
Do I need adobe reader to view pages in Preview?
If I want to print a PDF page, when browsing web, do I also need Adobe Reader or is Preview sufficient to print PDF documents?? Don;t want to have duplicate apps if i don't need them.
Preview should be sufficient.
-
Need to create a JSP page that informs user how many SMSes are sent.
Hello again ,
My project , which is based on a web-based group SMS module is working , but unfortunately when I send out the group SMS to the selected group , the notification of the sending of SMS is only made visible in the Apache Tomcat status screen . For every SMS sent , the Apache Tomcat screen will display that the SMS is sent to this phone number and recipient number out of the maximium number of recipients.
How can I make a JSP page that would allow me to display these messages instead ? Any help and advice would be welcomed .
Cheers
SeiferiaThe simple way would be to just write a simple jsp that takes the output of the class and displays it. A JSP is nothing more than a servlet class, so you can use your existing classes inside it. If you want to do it the correct way, you should use taglibs to build the JSP. It's up to you.
I suggest buying a good book about JSP's and read that first, else you may be a little overwhelmed.
Maybe you are looking for
-
Iwork does not work (after install)
Installed iwork from purchased dvd. Clicked on Pages (same thing happens with Keynote or Numbers) Box comes up: This application pages quit unexpectedly. Click to relaunch(does not work) Ignore (does not work) or report. I click on report and get thi
-
When i try to open iTunes I get error message "MSVCR80.dll was not found"
When I try to open iTunes I get error message "MSVCR80.dll was not found"
-
Oracle Identity Manager Configuration Error
Versions I have used for the Installation: Software Version Oracle Database 11.2.0 Repository Creation Utility 11.1.1.5.0 Web logic 10.3.6 SOA Suite 11.1.1.6.0 Fusion Middle ware Installer 11.1.1.5.0 JDK Oracle Web-logic JRockit JDK or Sun JDK 1.6.0_
-
Lens Corrections: Enable Profile Corrections missing from tab
The "Enable Profile Corrections" check box is missing from the Lens Corrections tab in Camera Raw (CS5). How do I get it back? I'm comfortable hacking my registry or any settings files. I'd like to report this and see if there's a better solution tha
-
Mac book turned on all the time.
Hey there. I was wondering if that is a problem if I keep my mbp turned on for 2-3 days on. Is it harmless for the battery? Thank you.