Can i make portlet by JSF or ADF
Hi All
can I make portlet by JSF or ADF ?
if I can , what do I need to deply it
which version of infrastructure and middle-tier to deply it?
do I need web-cetener OR SOA Suite ?
thanks
Good question !
I would also like to know what is required to build and run an AJAX-enabled JSF page inside an Oracle portlet. There seem to be a few options for each component:
JDeveloper ? 10.1.3.2 with WebCenter /or 11g preview
JSF ? Oracle ADF Faces 11g tech preview /or Apache Trinidad 1.2.1
OC4J portlet container ? 10.1.3.2 /or 11g preview
Portal Faces Bridge ? which version ...
Portal Server ? which version ...
WSRP protocol ? v1 /or v2 ...
This is a great start:
http://www.oracle.com/technology/products/adf/adffaces/11/doc/demo/adf_faces_rc_demo.html
which says you can run the ADF Faces 11g preview on the OC4J 11g preview, either standalone or embedded in the JDev 11g preview, but it doesn't mention portlets.
These are also good links for older JSF-in-a-portlet:
http://blogs.oracle.com/shay/2007/02/02#a315
http://www.oracle.com/technology/products/jdev/viewlets/1013/portletize_jsf_pages_viewlet_swf.html
but are based on JDev 10.1.3.2 WebCenter, and don't mention the new Rich Client AJAX-enabled technology previews.
This is good for Trinidad integration:
http://www.oracle.com/technology/products/jdev/howtos/1013/trinidad/trinidad.html
but is also based on 10.1.3.2 and does not mention portlets.
I suppose it comes down to the availability of a Portal Faces Bridge library for the new preview, and whether there are any dependencies on the WSRP protocol and the Portal Server ????
Mik
Similar Messages
-
Can i make master dietail tabel with ADF faces ea15?????
Can i make master dietail tabel with ADF faces ea15,
we supose withe the HR simple between employees tabel master and department tabel deitail with PK department_id from employees tabel.yes, but we don't have demos yet. In the jdeveloper 10.1.3 production release this will be automatically supported with drag and drop.
-
My Portlets have recently decided that they are no longer floatable (they
were previously floatable). I'm fairly sure that I've done nothing to cause
this, but I can't be sure and they certainly won't float.
According to the administration tool the portlets are "Available",
"Visible", "Minimizable" and "Floatable". When I test in the header using
"PortletRenderHelper.isFloatable(request)" I always get false returned
(when I try "PortletRenderHelper.isMinimizable(request)" I get true
returned).
I'm using the standard setup on NT with the cloudscape database.
Any ideas?
Thanks,
MattYou can try a hard reset by holding down the home button and the lock button at the same time until the apple appears. If that doesn't work I think you should definitely go into an apple store.
-
Why can't I debug my JSF Portlet application after inserting an IFrame
Hi,
1) I created a jsf portlet application
2) I add a button in my jsf portlet application
3) I can debug my button's action method
4) Now I open my jsp editor and add an iframe
<iframe height="500" id="ifWindow" name="ifWindow"/>
5) I try to debug my button's action method but the debug cursor never reaches it like in step 3
6) I added a messageGroup but nothing appears there
7) I monitored "C:\Program Files\Sun\Creator2_1\SunAppServer8\domains\creator\logs\server.log" and nothing appears there
Is this a bug in Java Studio Creator or is there a problem with iframe in jsf portlet applications?
Why can't I debug a jsf portlet application if I put an iframe?
Has anyone got this to work in their jsf portlet application? What can I do to debug this simple application?
Thanks,
MarcHi,
I figured it out. I can debug my jsf application if I placed the iframe outside the <ui:form> element. If it's inside, I cannot debug the application. Are there any books or tutorials that I can read to get rules like this in JSF development? -
How can I make the current row in a different color in ADF Table 10.1.3
Hi all
in JDeveloper 10.1.3 ADF Table ,
How can I make the current row in a different color ?
thanksAnd what exactly would "the component" be?
I tried the af:outputText, but it just creates a <span> around the value of the cell, and if I try the af:column it just won't use it at all!
Any suggestions? -
How can I make this join in ADF and make CRUD operation in this
How to make this relation in ADF
I have table employees and this is my master table
Table Name: Employees
Columns:
Employee_id(PK)
Employee_name
Employee_Salary
I have a child table that is called related employee that contains employees related to this employee
Table_name: Related_Employee
Columns:
Related_Employee_Table_Id(PK)
Employee_id(FK)
Related_Employee_Id
When I open employee id = 100 for example and add related employee id = 10
this is added with no problem but the requirement is that when I open employee 10 I find employee id 100 as related employee
How can I make this scenario.The best way to understand this is to look at an example. If you are using an oracle database such as XE for you have a schema called hr. This shema has a number of tables two of which are departments and employees. a department has multiple employees correct. So in your example a employee may be related to x # of other employees perhaps. A very similar scenario as that in the hr Schema. If you don't have an Oracle XE database, download one from here -> http://www.oracle.com/technetwork/database/express-edition/downloads/index.html
Create Business Components off of the Departments and Employees schema and you'll see that due to the db design, you get what you're talking about for free (i.e. the join). Thus, you have the master-detail relationship you're looking for. For a quick tip, here is the relationship between departments and employees in the hr schema via a create script that you can exam with data inserts included:
SET SQLBLANKLINES ON
CREATE TABLE DEPARTMENTS
DEPARTMENT_ID NUMBER(4, 0) NOT NULL
, DEPARTMENT_NAME VARCHAR2(30 BYTE) NOT NULL
, MANAGER_ID NUMBER(6, 0)
, LOCATION_ID NUMBER(4, 0)
, CONSTRAINT DEPT_ID_PK PRIMARY KEY
DEPARTMENT_ID
USING INDEX
CREATE UNIQUE INDEX DEPT_ID_PK ON DEPARTMENTS (DEPARTMENT_ID ASC)
LOGGING
TABLESPACE "USERS"
PCTFREE 10
INITRANS 2
STORAGE
INITIAL 65536
MINEXTENTS 1
MAXEXTENTS UNLIMITED
BUFFER_POOL DEFAULT
ENABLE
LOGGING
TABLESPACE "USERS"
PCTFREE 10
INITRANS 1
STORAGE
INITIAL 65536
MINEXTENTS 1
MAXEXTENTS UNLIMITED
BUFFER_POOL DEFAULT
CREATE TABLE EMPLOYEES
EMPLOYEE_ID NUMBER(6, 0) NOT NULL
, FIRST_NAME VARCHAR2(20 BYTE)
, LAST_NAME VARCHAR2(25 BYTE) NOT NULL
, EMAIL VARCHAR2(25 BYTE) NOT NULL
, PHONE_NUMBER VARCHAR2(20 BYTE)
, HIRE_DATE DATE NOT NULL
, JOB_ID VARCHAR2(10 BYTE) NOT NULL
, SALARY NUMBER(8, 2)
, COMMISSION_PCT NUMBER(2, 2)
, MANAGER_ID NUMBER(6, 0)
, DEPARTMENT_ID NUMBER(4, 0)
, CONSTRAINT EMP_EMP_ID_PK PRIMARY KEY
EMPLOYEE_ID
USING INDEX
CREATE UNIQUE INDEX EMP_EMP_ID_PK ON EMPLOYEES (EMPLOYEE_ID ASC)
LOGGING
TABLESPACE "USERS"
PCTFREE 10
INITRANS 2
STORAGE
INITIAL 65536
MINEXTENTS 1
MAXEXTENTS UNLIMITED
BUFFER_POOL DEFAULT
ENABLE
LOGGING
TABLESPACE "USERS"
PCTFREE 10
INITRANS 1
STORAGE
INITIAL 65536
MINEXTENTS 1
MAXEXTENTS UNLIMITED
BUFFER_POOL DEFAULT
CREATE INDEX DEPT_LOCATION_IX ON DEPARTMENTS (LOCATION_ID ASC)
LOGGING
TABLESPACE "USERS"
PCTFREE 10
INITRANS 2
STORAGE
INITIAL 65536
MINEXTENTS 1
MAXEXTENTS UNLIMITED
BUFFER_POOL DEFAULT
CREATE INDEX EMP_DEPARTMENT_IX ON EMPLOYEES (DEPARTMENT_ID ASC)
LOGGING
TABLESPACE "USERS"
PCTFREE 10
INITRANS 2
STORAGE
INITIAL 65536
MINEXTENTS 1
MAXEXTENTS UNLIMITED
BUFFER_POOL DEFAULT
CREATE INDEX EMP_JOB_IX ON EMPLOYEES (JOB_ID ASC)
LOGGING
TABLESPACE "USERS"
PCTFREE 10
INITRANS 2
STORAGE
INITIAL 65536
MINEXTENTS 1
MAXEXTENTS UNLIMITED
BUFFER_POOL DEFAULT
CREATE INDEX EMP_MANAGER_IX ON EMPLOYEES (MANAGER_ID ASC)
LOGGING
TABLESPACE "USERS"
PCTFREE 10
INITRANS 2
STORAGE
INITIAL 65536
MINEXTENTS 1
MAXEXTENTS UNLIMITED
BUFFER_POOL DEFAULT
CREATE INDEX EMP_NAME_IX ON EMPLOYEES (LAST_NAME ASC, FIRST_NAME ASC)
LOGGING
TABLESPACE "USERS"
PCTFREE 10
INITRANS 2
STORAGE
INITIAL 65536
MINEXTENTS 1
MAXEXTENTS UNLIMITED
BUFFER_POOL DEFAULT
ALTER TABLE EMPLOYEES
ADD CONSTRAINT EMP_EMAIL_UK UNIQUE
EMAIL
USING INDEX
CREATE UNIQUE INDEX EMP_EMAIL_UK ON EMPLOYEES (EMAIL ASC)
LOGGING
TABLESPACE "USERS"
PCTFREE 10
INITRANS 2
STORAGE
INITIAL 65536
MINEXTENTS 1
MAXEXTENTS UNLIMITED
BUFFER_POOL DEFAULT
ENABLE;
ALTER TABLE DEPARTMENTS
ADD CONSTRAINT DEPT_LOC_FK FOREIGN KEY
LOCATION_ID
REFERENCES LOCATIONS
LOCATION_ID
ENABLE;
ALTER TABLE DEPARTMENTS
ADD CONSTRAINT DEPT_MGR_FK FOREIGN KEY
MANAGER_ID
REFERENCES EMPLOYEES
EMPLOYEE_ID
ENABLE;
ALTER TABLE EMPLOYEES
ADD CONSTRAINT EMP_DEPT_FK FOREIGN KEY
DEPARTMENT_ID
REFERENCES DEPARTMENTS
DEPARTMENT_ID
ENABLE;
ALTER TABLE EMPLOYEES
ADD CONSTRAINT EMP_JOB_FK FOREIGN KEY
JOB_ID
REFERENCES JOBS
JOB_ID
ENABLE;
ALTER TABLE EMPLOYEES
ADD CONSTRAINT EMP_MANAGER_FK FOREIGN KEY
MANAGER_ID
REFERENCES EMPLOYEES
EMPLOYEE_ID
ENABLE;
ALTER TABLE DEPARTMENTS
ADD CONSTRAINT DEPT_NAME_NN CHECK
(DEPARTMENT_NAME IS NOT NULL)
ENABLE;
ALTER TABLE EMPLOYEES
ADD CONSTRAINT EMP_EMAIL_NN CHECK
(EMAIL IS NOT NULL)
ENABLE;
ALTER TABLE EMPLOYEES
ADD CONSTRAINT EMP_HIRE_DATE_NN CHECK
(HIRE_DATE IS NOT NULL)
ENABLE;
ALTER TABLE EMPLOYEES
ADD CONSTRAINT EMP_JOB_NN CHECK
(JOB_ID IS NOT NULL)
ENABLE;
ALTER TABLE EMPLOYEES
ADD CONSTRAINT EMP_LAST_NAME_NN CHECK
(LAST_NAME IS NOT NULL)
ENABLE;
ALTER TABLE EMPLOYEES
ADD CONSTRAINT EMP_SALARY_MIN CHECK
(SALARY > 0)
ENABLE;
COMMENT ON TABLE DEPARTMENTS IS 'Departments table that shows details of departments where employees
work. Contains 27 rows; references with locations, employees, and job_history tables.';
COMMENT ON TABLE EMPLOYEES IS 'employees table. Contains 107 rows. References with departments,
jobs, job_history tables. Contains a self reference.';
COMMENT ON COLUMN DEPARTMENTS.DEPARTMENT_ID IS 'Primary key column of departments table.';
COMMENT ON COLUMN DEPARTMENTS.DEPARTMENT_NAME IS 'A not null column that shows name of a department. Administration,
Marketing, Purchasing, Human Resources, Shipping, IT, Executive, Public
Relations, Sales, Finance, and Accounting. ';
COMMENT ON COLUMN DEPARTMENTS.MANAGER_ID IS 'Manager_id of a department. Foreign key to employee_id column of employees table. The manager_id column of the employee table references this column.';
COMMENT ON COLUMN DEPARTMENTS.LOCATION_ID IS 'Location id where a department is located. Foreign key to location_id column of locations table.';
COMMENT ON COLUMN EMPLOYEES.EMPLOYEE_ID IS 'Primary key of employees table.';
COMMENT ON COLUMN EMPLOYEES.FIRST_NAME IS 'First name of the employee. A not null column.';
COMMENT ON COLUMN EMPLOYEES.LAST_NAME IS 'Last name of the employee. A not null column.';
COMMENT ON COLUMN EMPLOYEES.EMAIL IS 'Email id of the employee';
COMMENT ON COLUMN EMPLOYEES.PHONE_NUMBER IS 'Phone number of the employee; includes country code and area code';
COMMENT ON COLUMN EMPLOYEES.HIRE_DATE IS 'Date when the employee started on this job. A not null column.';
COMMENT ON COLUMN EMPLOYEES.JOB_ID IS 'Current job of the employee; foreign key to job_id column of the
jobs table. A not null column.';
COMMENT ON COLUMN EMPLOYEES.SALARY IS 'Monthly salary of the employee. Must be greater
than zero (enforced by constraint emp_salary_min)';
COMMENT ON COLUMN EMPLOYEES.COMMISSION_PCT IS 'Commission percentage of the employee; Only employees in sales
department elgible for commission percentage';
COMMENT ON COLUMN EMPLOYEES.MANAGER_ID IS 'Manager id of the employee; has same domain as manager_id in
departments table. Foreign key to employee_id column of employees table.
(useful for reflexive joins and CONNECT BY query)';
COMMENT ON COLUMN EMPLOYEES.DEPARTMENT_ID IS 'Department id where employee works; foreign key to department_id
column of the departments table'; -
How to customize events, execute stored procedures using JSF and ADF BC
As a java beginner, I started with developing simple web application using JSF and ADF business component through visual and declarative approach. I need to know how to customize events, execute stored procedures, invoke functions on triggering events associated with rich controls. for eg. how to write customized functions on button click or checkbox click events to achieve business requirement and can be modified whenever required.
Edited by: 792068 on Aug 31, 2010 9:40 PMWhich business layer is prefered to create interactive data model: 1. ADF business components or 2. Enterprise JavaBeans using Java persistance API (JPA) or 3. Toplink 4. Portlets
which minimizes writing low level codes and how much OOPS knowledge is required for creating above business layer binding data to viewcontroller layer? -
How to make changes in an existing adf Library
Hi,
I am having an adf library, I am looking to make some changes in that adf library and put it back into the project.
Please let me know how to make a jdeveloper project from the existing adf library,as I not having the original project from which this library was created.
Please help..
ThanksHi Timo,
I have created an adf project and have created an adf library using the same.
Now when i am creating the adf library using the same project its giving me some errors, so looks like I have done some changes in the original project which might be causing the issue.
So this is the reason I was looking for an option to rebuild the project using adf library files.
I need to do some changes in jsf file of the deployed adf library.
Thanks again for your help -
Is there a way to use jsf in pdk portlets? Or a least does someone have experience writing some kind of wrapper provider for jsr168 portlet.
thanks for advanceHave you tried one of the following (just toughts):
a) Just bundle the portlet-bridge-jsf.jar from Jdev (JDEV_HOME\adfp\lib\)
b) Use the JSF/Portlet Bridge from dev.java.net (https://jsfportletbridge.dev.java.net/public/Download.html)
c) Use portlets-bridges-jsf (http://portals.apache.org/bridges/multiproject/portals-bridges-jsf/index.html)
d) MyFaces comes with a portlet-bridge (http://wiki.apache.org/myfaces/UsingPortletUtil)
e) Use Spring-Portlet-MVC (Springframework 2.0.3), and use JSF as the View technology
So, there are a lot of possible solutions out there, just have to find out, what helps you most. (I'M myself on the Spring-Portlet-MVC path, and hope that I get ADF-Faces working, somehow. All on Java 1.4 and on Oracle iAS10gR2). -
How to make portlet expandable?
Dear all,
how can i make the portlet expands depending on its content without making vertical/horizontal scrolls?Thats a CSS question. Identify the div and class which applies tp it (use firebug and firefox or develper tools and ie). You have a scroll or overflow , probably auto and an explicit hieght. customise the css to remove this or modify it as you want.
-
[ANN] JSF and ADF Faces Q&A online session today
Join us for an online discussion and ask your questions about JSF and ADF Faces. Today (Thu) at 10:00am PST (California time).
http://www.oracle.com/technology/tech/java/newsletter/seminars.htmlGreat here are a few IF there is time:
1. How round trips will JSF and ADF Faces take upon initial page load? In other words, does the initial page load come with data already populated? This makes a difference for those of us who have data heavy pages with lots of lag. Currently with ADF - UIX it seems as though the page is loaded and then round trips are taken to populate the data in the page.
2. Is a JSF and ADF faces project in future versions of JDeveloper more easily/efficiently source controlled than current ADF/UIX projects?
3. What is the extent of the involvement of the struts framework in JSF and ADF Faces?
Thanks very much Shay.
-brian -
Can workshop consume portlet from preconfigured OC4J
hi,
i want to use remote portlet from workshop and consume portlet that i have deployed at preconfigurd oc4j. i developed portlet from jdev, and when i use portlet via jdev (using wsrp producer registration), i successfully display the portlet.
the problem is when i try to use remote portlet from workshop, for wsdl i use wsrp v1 wsdl at preconfigured oc4j, i can connect with oc4j but at information number of available portlet is zero. i don't know where is wrong.
is there any tips, advice or tutorial how to consume portlet at preconfigured oc4j in workshop? or it's impossible to do it...
i'm still new with adf and weblogic workshop... hope anyone can help me ^^Yes via WSRP. By default (if you did not turn off) portal created in workshop 8.1 is a wsrp producer. you can access a portlet in the portal in a different web app as a remote portlet.
Hope this helps -
How can I make tree view for hierarchical data from select with connect by?
If we have selected hierachy with connect by clause, how can we make it to see in tree view?
You can't do this using the ADF, Tree Binding used by JHeadstart.
However, If you have a recursive relationship (for example managerid) you can get a tree what you want as follows:
- create one root ViewObject that returns the top-level employees without a manager by setting the where clause to managerid=null
- create a second ViewObject that simply queries all employees
- Create a ViewLink between the two view objects, and create a nested VO usage in the app module for the second view object
- Create corresponding nested group in the application definition file and set the layout style to "tree-form" on both groups.
See Developers Guide, chapter 3, section recursive trees for more info.
Steven Davelaar,
JHeadstart Team. -
Hi,
Previously I worked on developing web applications using [JDK 1.4 + JSF 1.1 + EJB2.0 + OC4j10g AS]. Now I want to migrate my existing applications from JSF to ADF.
Can any one provide me the steps/architecture/flow for doing the migration from JSF to ADF?
Thanks,
Liyakath
Edited by: Liyakath on Mar 6, 2013 8:40 AMLiyakath, this is hard to answer.
I guess you first have to tell use your milage using ADF. Then you have to decide which jdev version you want to migrate too. You have two choices here:
1) 11gR1 with its current version 11.1.1.6.0 (11.1.11.7.0 should be out there soon?)
2) 11gR2 with its current version 11.1.2.3.0
The two releases will merge in 12c in the future. However, now they differ in there functionallty. 11gR2 has the full stack (SOA, BPMN...) and JSF1.2 whereas 11gR2 only comes with ADF but allows JSF 2.0. For a more detailed summary read https://blogs.oracle.com/onesizedoesntfitall/entry/which_jdeveloper_is_right_for and http://www.vesterli.com/2012/05/03/is-jdeveloper-1112-a-dead-end/ here you should read the comments too.
Then you have to define if you only want to migrate or if you want to to a redesign which is more like a rewrite of your older applications. As we don't know where you want to go I advice you to look at http://www.oracle.com/technetwork/developer-tools/adf/learnmore/adfinsider-093342.html side and check out some of the videos.
Timo -
How do you remove credit card from account so child can't make purchases?
How do I remove credit card from apple ID so child can't make purchases?
Account section of iTunes or App Store.
Barry
Maybe you are looking for
-
Adobe Photoshop CC 'Window-Application Frame' setting
So I've never been an adopter of the whole adobe application frame; I like the openness and abiltiy to click my desktop behind the image I'm working on. I know how to turn it off, but how do I KEEP it off? Every time I close and reopen photoshop it's
-
I just bought a new iMac after i lost my last one in the divorce. I have the Adobe Creative Suite 2, but of course I can't install it in my new iMac. Do they offer a newer version upgrade or do i have to purchase the newer version? Any help would be
-
Getting audio to work on Compaq SR1520NX
I'm trying to get audio working on a Compaq SR1520NX. The audio device is AC97, and should be SIS7012 chipset. Linux had no problems with this, and appeared to use the snd-intel8x0 driver. With Solaris 10 1106, prtconf identifies the audio device as
-
Trying to distinguish photo from video clip ?
Hi, I have just started using A3. I have noticed that it is difficult to distinguish between photos and video clips in A3. Only from the metadata badges you can see a very small icon in the bottom right hand corner. Is there a better way to easily se
-
My ibook battery slowly drains even when plugged in to power adapter
i just got my ibook G4 14 " screen and each day i have had it the battery has read lower and lower. it usually goes down one percent a day. is it normal for batteries to slowly drain like this even when the computer is plugged in?