Oracle ADF Application
I thing is when i am drag and dropping Service component into a jsf page i can get graphs component in the jsf page
yes if your service returns a collection of data.
Similar Messages
-
Configuring Multiple Schemas in Oracle ADF application
Hi,
Thanks all for the replies for my previous posts :-)
We have a requirement in which we need to configure our application for multiple Database schema. At runtime based upon the logged in user we need to get data from the schema related to that user.
These schema may be on same Database instance/server or may be on different DB servers.
The requirement is like this
Logged in User DB schema configured
"A" ASchema @ 127.0.0.1
"B" BSchema @ 127.0.0.2
"C" ASchema @ 127.0.0.1
"D" Dschema @ 127.0.0.2
based on the User login (which is happening through one OID system), I need to fetch data from different schema (configured for different application).
These schema have different set of tables but set of table we require for our application are of same structure.
Same structure means same Table names with same relations.
Please let me know can we do the same in Oracle ADF application and How?_
One more requirement is that if i add a user at runtime and configure the DB schema for this user, All data related to this users will be loaded from this Schema which is configured for this user.
Thanks in Advance,
Amit
newbie to Oracle ADF
Edited by: ur.amit on May 10, 2010 3:17 PMYou can try the below example to change database at run time.
in the filter change the connection and not the credentials
http://www.oracle.com/technetwork/developer-tools/jdev/dynamicjdbchowto-101755.html#03.
Most of the other part is done to handle state management tables, which you might also have to do unless you use a file passivation store or if its ok to passivate to a single database always.
If its ok to passivate to a single db always. Hard code the jbo.server.internal_connection in the AM configurations to a DB jndi name.
Adf allows you to activate and passivate to a different database other than what you are connected to get and put data. -
Workshop Building Oracle ADF Applications
Hi all
i tried the Building Oracle ADF Applications: Workshop and still have a problem:
If i navigate from BrowserCustomers.do to eg. EditCustomers this works fine. In the EditCustomers i have my Cancel Button that implements the event_rollback. If i run the application in the IE navigate to EditCustomers an click on Cancel button a go back to the BroseCustomers view. But although i see the context of the BrowseCusomers view the url-adresslist gives me /CustomerMaintenace-ViewController-context-root/EditCustomers.do.
So if i click on Button NextSet in BrowseCustomers view i am again in the EditCustomers.
I checked several times the code with the one in the workshop but didnot find anything wrong.
Any ideas ??I got the same problem.
I think its related to the Edit link, wich is :
a href="index.jsp.do?event=setCurrentRowWithKey&Arg0=<c:out value='${Row.rowKeyStr}' />&event=Edit"
The probleme come from the fact that there's two parameter name event.
Anyone knows a right way to select a row and forward to the edit page in the same link ??
thx for your help
Jeff
Message was edited by:
user536516 -
Building Oracle ADF Applications Workshop
I have finished going through the "Building Oracle ADF Applications: Workshop"
from the following link:
http://www.oracle.com/technology/obe/obe9051jdev/ide1012/adfworkshop/buildingadfapplicationsworkshop.htm
Hopefully that is sufficient for the doc writer to locate the context of my
comments. If not, let me know and I'll provide additional information.
I grouped all of these together as one big comment. If you want it in a
different format, again, let me know.
Prior starting the workshop I printed out the entire document which resulted in
51 pages of output. In each comment, except for the first general comment, I
list the section name, step number and my page number which should be enough to
uniquely identify the area that the comment relates to. My suggestions start
out with "It would be nice...". I numbered the comments so I could have
comments refer to each other.
(1) One of the things I really liked was the "If you want to see a
demonstration of these steps, click here" links. Sometimes the discussion
was not precise so being able to see the actual usage worked well. It would
be nice if there were more of these in the workshop.
(2) "Building the Basic Page Flow", step 2, page 13.
I had some trouble with this because it wasn't clear how one changes the
DataPage's name. I used the property sheet and did it wrong, resulting in
an error. I had to consult the "If you what to see..." link to determine
how to do this correctly.
It would be nice if there were a paragraph before "When you are done"
saying something like:
To change the name of a DataPage just click on the icon's label and
enter the new value, starting with the leading slash.
(3) "Connecting the Pages", step 9, page 21.
This step has one switch to the Source editor view to make a change. This
change can also be made in the Design view.
It would be nice to stay in the Design view. The suggested wording for this
is:
In the Design view you can change the Edit button link by clicking on
the Edit button and pressing the left arrow (<--) key once on the
keyboard. The Property Inspector will be in an <A> element. Edit the
href property by appending the following:
&event=Edit
(4) "Connecting the Pages", step 10, page 22.
The first time I had trouble drawing the links. A bit more discussion on
how to draw the links with corners would be nice. One of the troubles was
that I would edit one link and another (or all of them) would suddenly
change to simple vertical links (no corners). The link lines were
separated, but the link names were displayed making it more difficult than
necessary to tell which link line went with which link name.
(5) "Adding a Create Function", step 4, page 24.
I have the same comment on this step as I did in comment (3).
(6) "Creating Session Variables with onEvent() methods", step 2, page 27.
The last paragraph describes how JDeveloper will prompt you to enter an
import statement. The comment I wrote on that page was:
Cool!
It's nice that JDeveloper handles this booking task.
(7) "Building a Message Stack with a findForward() method", step 1, page 28.
In the second paragraph it's not clear what the context is. It would be
nice if the second paragraph would start out with:
In struts-config.xml, right-click ...
(8) "Building a Message Stack with a findForward() method", step 6, page 30.
This code fragment at the end of this step has all lines starting in column
1. It would be nice if this was indented so it could be followed with less
effort. The same is true for the other code fragments in this section.
(9) "Building a Message Stack with a findForward() method", step 12, page 32.
I wrote a simple Java program that compared a String variable to a string
literal. In all cases using == to compare returned false, while .equals()
worked correctly. I was using Java 1.4.2_06_b03. Even if Java 1.5 supports
converting the == between strings to equals(), it would be nice if the
comparisons to the "type" variable used the .equals() method instead of ==,
so that those of us still using Java 1.4 would have properly working code.
Note that == in 1.4 compares the hash values while equals() looks at the
contents.
(10) "Enabling the Delete Confirmation Page", step 5, page 36.
The last sentence of the first paragraph contains the phrase:
if there are errors, build the ActionMessage object.
It would be nice if this contained an extra word as in:
if there are no errors, build the ActionMessage object.
(11) "Enabling the Delete Confirmation Page", step 6, page 36.
Line 12 (or 13 if you count blank lines) is storing a value in the request
object. It would be nice to have a discussion in this step instead of
having to wait until section "Intercepting the Middle-Tier Message", step
8, page 42 before we know what this is all about.
(12) "Overriding the findForward() Method", step 1, page 44.
It appears that the call to the super.findForward method is missing. It
would be nice if the following were inserted before the closing curly
brace:
super.findForward(actionContext);
(13) "Overriding the findForward() Method", step 9, page 46.
Near the end of this step it mentions the imports that are added. It
appears that there is a missing import statement. If this is correct, it
would be nice to also include the following import:
import oracle.adf.controller.struts.actions.DataActionContext;
(14) "Overriding the findForward() Method", step 10, page 46.
My diagram doesn't look like this. The "Edit" link between /browseCustomers
and /editCustomers should be "Commit". The "Cancel" link from
/editCustomers back to itself shouldn't be there. The "Commit" link from
/sure to /browseCustomers should be "Cancel". Compare this with the diagram
in section "Creating a Delete Confirmation Page and a Forward", step 5,
page 25.
(15) "Internationalizing Field Labels", step 3, page 48.
This is another case where the context is not clear. It would be nice if
the following was added to the first paragraph:
In the browseCustomers page,
(16) "Internationalizing Field Labels", step 10+, page 49.
Everything is internationalized except for the buttons. How does one
internationalize them?
(17) "Conditionally Displaying a Field", step 1, page 49.
The last sentence says "The result should look like the following:". If one
were following this workshop from front to back then what should be shown
is the internationalized version of this page.
(18) "Conditionally Displaying a Field", step 5, page 50. Bug?
When I look at the Source view of editCustomers.jsp the <INPUT> element has
a property setting of disabled="true". When I run the application and look
at the HTML source used by the browser, that same <INPUT> element has a
property setting of disabled="disabled". It works, but isn't that somewhat
redundant? I recommend that the source code should have the disabled
property setting as it appears in the Source view.Hi Jean,
Can you please provide the document part number and book title where you have seen this errors? This way I can forward this to the doc writer.
If this is not a document issue, please try the Members Feedback Forum. Community Feedback (No Product Questions)
Thanks -
New Oracle ADF Application.
Hi
I installed wls1035_oepe111172_win32.exe on my local machine in new directory.
Next I created base_domain and admin console works OK. WebLogic Server Version: 10.3.5.0
In “Oracle Enterprise Pack for Eclipse” I try to create New -> Oracle ADF Application.
During this process I had to create “New Runtime”.
After this I received message :
” Target runtime is not valid; must be WLS 11gR1 PS3 (or greater) with ADF extension.”
Separately I installed ADF and result is the same.
I am afraid that in wls1035_oepe111172_win32.exe installation “Oracle Enterprise Pack for Eclipse” doesn’t recognize that WebLogic Server Version: 10.3.5.0 is greater than WLS 11gR1 PS3.
How I can solve this problem?
Is this my fault or instalation inconsistence ?
Please help.Hi,
I just realized that the installer you were referring to is not the same as the one I used in my test.
The error message you are seeing is due to the fact that the Application Development Runtime is not installed as part of the wls1035_oepe111172_win32.exe.
In order to workaround the issue please download the 11.1.1.5 Application Development Runtime from http://www.oracle.com/technetwork/developer-tools/adf/downloads/index.html and install into the wls home where you installed wls1035_oepe111172_win32.exe.
Once this is complete, you should be able to create an ADF application without any issues.
Thanks
Raj -
INTEGRATION ORACLE ADF APPLICATION TO SAP
Dear SDN Member,
We have a requirement wherein we are supposed to connect ORACLE ADF application to SAP Application.
Please advice if there is any cook-book to accomplish this task.
Thanks in anticipation.
~ Syed.
<email removed by moderator>
Message was edited by: Manish KumarHello Nikolay,
So nice of you to have spared your time on this.
Will review the doc and let you know further.
Many thanks again.
~ Syed.
<email removed by moderator>
Message was edited by: Manish Kumar -
Oracle ADF application with Teradata as Database
JDeveloper PS5.
Is it possible to integrate Oracle ADF application with Teradata as Database?
If yes, can you please provide some information with respect to the same?
Thanks,
NavaneethDoes teradata have a JDBC driver ? and can it understand SQL92 falvor SQL ?
If yes, then maybe you can do ADF on it.
Take a look at this :
http://www.oracle.com/technetwork/developer-tools/jdev/multidatabaseapp-085183.html
A bunch of ADF features will not be available, primary key generation will be a bit sketchy(all keys for all tables will come from a single sequence of numbers) and you'll have to implement some stuff like the persistence collection manager.
The one thing that doc does not mention is that you also have to make sure your adf-config.xml is set with the correct 'jbo.SQLBuilder' property (SQL92) in the <amconfig-overrrides> section.
Happy hacking ! -
Run an Oracle ADF application on a tablet pc?
I've been asked if an Oracle ADF application can run on a tablet pc. (I'm assuming XP Tablet PC Edition) . Does anyone know? If so, can I develop using JDev 10.1.3?
User,
Can you please be more specific? If you are talking about an ADF Faces application, those types of apps are web applications, and can be accessed just fine as long as you have a supported browser. However, your question isn't quite clear - do you mean you want to use JDeveloper 10.1.3 on this tablet PC to develop an application?
John -
Oracle ADF application Deploymet Guide Preparation-Needed Inputs
Hi all ,
I need to prepare deployment guide for deploying Oracle ADF 11g Application in weblogic server 10.3.5 and Oracle Database 11g.
Please provide your inputs for me in preparing the deployment guide. From where should i start and what things i can incorporate in the guide.A good starting point is the doc http://docs.oracle.com/cd/E28280_01/web.1111/b31974/deployment_topics.htm#CHDJJDDG
This should get you started.
Timo -
Oracle ADF application run while debuging but gives error while running
Hi,
I created application in oracle ADF, which accesses database from SQL server 2008. I changed database names to different database having same tables. When I debug it by using breakpoint in EOIMPL class, it runs perfectly. But when run it by removing brakpoint it gives error (invalid object). Please Help.
Thanks.can u paste the complete invalid objects error..
I rember i have seen this case before which possibly got resolved by removing the system folder.. especially the systemfolder/o.j2ee/drs/ folder..
may be some synching problem.. -
How to Edit Word Document in Oracle ADF Application - Apache POI
Hi All
I was wondering if there is a way to edit and save word documents in Oracle ADF without loosing the Formatting.
I was able to edit and save the word document however the Formatting was lost.
Please let me know if there are any pointers or open source Java APIs that we can use to achieve this.Refer the Text Formatting section
Apache POI - HWPF - Java API to Handle Microsoft Word Files
HWPF Reads in a Word document with minimum formatting (no lists, tables, footnotes, endnotes, headers, footers)
Apache POI - HWPF - Java API to Handle Microsoft Word Files
The _cbt field in class HWPFDocumentCore contains formatting information.
HWPFDocumentCore (POI API Documentation)
For more advanced text extraction needs, including Rich Text extraction (such as formatting and styling), along with XML and HTML output, Apache POI works closely with Apache Tika to deliver POI-powered Tika Parsers for all the project supported file formats.
Apache POI - Text Extraction
Use Apache Tikka for formatting.
Apache Tika - Supported Document Formats -
Run oracle ADF application by client
witch software needs the client to run oracle ADF application
hi user,
welcome to otn
witch software needs the client to run oracle ADF applicationbrowser which supports
http://www.oracle.com/technetwork/developer-tools/jdev/index-091111.html
a little bit question?. little bit answer ;)
please give enough info. -
Oracle ADF application - broswer cancel / retry error message
Hi
We have developed an application on Oracle ADF11g and targetted client browser to run on IE7.
We have no issues during our development and test environment, whereas while we moved the same to customers beta & then to live environment, the user experiences with the following error message frequently with the following message saying that:
"To display the webpage again, Internet Explorer needs to resend the information you've previously submitted. If you were making a purchase, you should click Cancel to avoid a duplicate transaction. Otherwise, click retry to display the webpage again."
Will any help us to identify the likely root causes for this issue:
Adnavce thanks
Kind Rgds
KrishJohn,
We have identified 3 scenarios where we observed 'Cancel/Retry' message.
1. While developer wrongly set the value for height & width attribute for panelCollection control and while the end-user attempted to change the size using the menu provided by panel collection.
2. While the developer not provided try...catch covering fully for all the code part inside to an action method.
3. While the developer tried sending return page after executing responseComplete inside the to an action method.
We have corrected all these scenario, but still the end-user perceives this error message. What will be the other reasons?
Please help us.
Krish -
Automate QA testting Oracle ADF applications
Is there a method/tool to automate QA testing on ADF fusion web applications.
User,
Yes, but QA or even "Quality Assurance" can mean about 1 million and 1 things to 1 million people. I mean, describe what type of testing you mean - you did so, automated UI testing.
Have a look at [url http://seleniumhq.org/]Selenium (there are more, but it's the one with which I'm familiar).
John -
Infinite loop/afrLoop when deploying ADF application to standalone weblogic
Working with Oracle ADF / JDeveloper 11.1.2.2
I have enabled ADF security in my application and am using JAAS combined with Oracle EBS users and roles to provide security to the application. Testing on my local integrated weblogic server works fine.
When deploying my Oracle ADF application to a standalone Weblogic server through an EAR file, requesting a JSF page causes the server to go into an infinite loop on both IE and firefox.
GET /test-app/faces/login.jsf HTTP/1.1 200
GET /test-app/faces/login.jsf?_afrLoop=346001033248597&_afrWindowMode=0&Adf-Window-Id=w0 HTTP/1.1 302
GET /test-app/adfAuthentication HTTP/1.1 302
GET /test-app/faces/login.jsf HTTP/1.1 200
GET /test-app/faces/login.jsf?_afrLoop=346001340281597&_afrWindowMode=0&Adf-Window-Id=w0 HTTP/1.1 302
GET /test-app/adfAuthentication HTTP/1.1 302
GET /test-app/faces/login.jsf;jsessionid=syWvP1nMY1L87BySh2JbTd1tb4SY0HzDw6T3LvLctvkbMWKmqqJv!1800986117 HTTP/1.1 200
GET /test-app/adfAuthentication HTTP/1.1
Reviewing some of the suggestions from the forum and from the link below, I have tried fixing the issue through updates to my web.xml - but am still having the same issue.
https://blogs.oracle.com/jdevotnharvest/entry/solving_jdeveloper_11gr2_issue_with
Updated web.xml:
<security-constraint>
<web-resource-collection>
<web-resource-name>Allowed ADF Resources</web-resource-name>
<url-pattern>/adf/*</url-pattern>
<url-pattern>/afr/*</url-pattern>
<url-pattern>/bi/*</url-pattern>
<url-pattern>/servlet/GraphServlet/*</url-pattern>
<url-pattern>/servlet/GaugeServlet/*</url-pattern>
<url-pattern>/mapproxy/*</url-pattern>
<url-pattern>/adflib/</url-pattern>
</web-resource-collection>
<web-resource-collection>
<web-resource-name>allPages</web-resource-name>
<url-pattern>/*</url-pattern>
</web-resource-collection>
<web-resource-collection>
<web-resource-name>adfAuthentication</web-resource-name>
<url-pattern>/adfAuthentication</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>valid-users</role-name>
</auth-constraint>
</security-constraint>
<login-config>
<auth-method>FORM</auth-method>
<form-login-config>
<form-login-page>/faces/login.jsf</form-login-page>
<form-error-page>/faces/login-error.jsf</form-error-page>
</form-login-config>
</login-config>
<security-role>
<role-name>valid-users</role-name>
</security-role>
weblogic.xml
<security-role-assignment>
<role-name>valid-users</role-name>
<principal-name>users</principal-name>
</security-role-assignment>
I know other users have experienced similar issues - but I am having trouble debugging or troubleshooting why this is happening.
Any suggestions on how to further troubleshoot or resolve this issue would be appreciated!
DanI was able to resolve the login page looping issue.
The issue is related to the login page being a JSF page based on a page template.
When I created the JSF login page as a page template - the template contains a binding:
<af:pageTemplate viewId="/test-template.jsf" value="#{bindings.ptb1}" id="pt1">
When I deploy my application to the test weblogic server, the anonymous-role grants are not being respected. So even though I grant view access to the login JSF page to anonymous-role -- it appears that weblogic is trying to request a login for any page with a pageDef (including the login page). By re-creating the login page with no pageDef (a JSF page that does not use a page template) -- the login page is displayed (rather than entering into a loop).
There is still a seperate issue with the anonymous-role grant not working as I would expect it to work that I will need to troubleshoot further.
Maybe you are looking for
-
I got a fraud email from "Apple" saying that my Apple ID had been used to make a charge on my account, from Russia, and I needed to confirm some information to delete the charge. Like a dummy, I entered in my personal information. When I clicked done
-
Inserting an html mini-site in a publication?
Hi, folks I want to do a timeline about some facts in the past. This is a big scrolling frame and I have it built. So far, so good. Now I want each link to take the user to an HTML page describing the fact in a more detailed way. So far, so good as w
-
Problem of Starting Sun Application Server
Hi, I just downloaded j2eesdk-1_4_02_2005Q2-windows.exe to my windows machine and insatlled it. When I started the verifying of Server by going to "Start menu, choose Programs -> Sun Microsystems -> Application Server PE-> Start Default Server", I di
-
In VL10A tcode after execution in section scr "Incorrect factory calendar"
Hi, After execution of the tcode VL10A gives the information messge in the selection screen as "Incorrect factory calendar; date calculation not possible". How to remove this informaition message. Thanks, Sanjay
-
How to access oracle eb-suit tables
Can someone pls help me how to access po_vendors table of oracle purchasing.