HELP: include another page in with JDeveloper and ADF
Hi all,
I am trying to make a layout page with JDeveloper and ADF. But I just can't make things work. I have the pre-coded header and footer html pages and want to include them in a jspx somehow. I tried panelPage too, but the rendering style is away from our pre-coded header and footer.
1. Use jsp:include.
header works fine but footer is rendered before the page content, even if the footer is placed after the page content. Is there a way to customize the position?
<f:facet name="footerFacet">
<f:subview id="footerView"
binding="#{backing_welcomePage.footerView}">
<jsp:include page="/footer.jspf"/>
</f:subview>
</f:facet>
2. Use frameBorderLayout.
I followed the doc and use the document tag. But the frame page is rendered but none of included pages are rendered. So I got a blank page.
<!-- frame page -->
<f:view>
<afh:html>
<afh:head title="my frame page">
<meta http-equiv="Content-Type"
content="text/html; charset=windows-1252"/>
</afh:head>
<afh:body>
<afh:frameBorderLayout height="100%" width="100%">
<f:facet name="center">
<afh:frame source="topPage.jspx" name="topPage3"/>
</f:facet>
<f:facet name="top">
<afh:frame source="topPage.jspx" height="200" name="topPage2"/>
</f:facet>
<f:facet name="bottom">
<afh:frame source="topPage.jspx" height="200" name="topPage1"/>
</f:facet>
</afh:frameBorderLayout>
</afh:body>
</afh:html>
</f:view>
<!-- top page -->
<f:view>
<af:document title="FrameBorderLayout Demo">
<af:form>
<af:panelGroup layout="vertical">
<f:facet name="separator">
<af:objectSeparator />
</f:facet>
<af:outputFormatted styleUsage="instruction" value="<b>A frameBorderLayout</b>"/>
</af:panelGroup>
</af:form>
</af:document>
</f:view>
for #1 have you tried throwing a verbatim tag around your includes like:
<f:verbatim>
<jsp:directive.include file="/includes/footer.jsp"/>
</f:verbatim>
it's how we got around intermixing html and jsf
Similar Messages
-
Timesten with JDeveloper and ADF
Hello,
I'm using Timesten with Jdeveloper and ADF and have noticed some problems which I allready posted in the JDevloper Forum:
Re: ADF TimesTen
These problems arise from using Identifiers with reserved words, which is not forbidden with Ora DB.
The settings in Jdev are to generate SQL92 conform code. This is the only way it works.
I'm wondering if there is a setting to make TT behave syntactical 1:1 like a Ora DB.
I even tried to change the Type Mode to Oracle and restarting TT but this doesn't help eighter.
Maybe someone of the TT pro's has a solution for this? TT is used as a cache in front of an Ora DB so it should understand the Ora Syntax ??
Thanks
Ognianfor #1 have you tried throwing a verbatim tag around your includes like:
<f:verbatim>
<jsp:directive.include file="/includes/footer.jsp"/>
</f:verbatim>
it's how we got around intermixing html and jsf -
Develope complex WebService with JDeveloper and deploy to tomcat
Hello,
I am thinking of developing a complex WebService with JDeveloper and deploy it to tomcat.
The WebService should retrieve a few "normal" datatypes and a pdf and a few images. I try to store the pdf and the image in an Oracle DB as BLOB.
My idea ist to create a Package which selects the values, pdf and the image and retrieve them as the output paramter.
Then I want to create a WebService with the JDeveloper which calls this Package. This WebService should be published on a Tomcat.
My first question is if that is possible?
I think there are few problems.
I searched the forum about deploying a JDeveloper WebService to Tomcat, but I can not find a whole solution which is going to work. I read something about JAX-RPC, but I am new to this topic. So it would be very nice, if anyone could tell me where I can find the solution or post a quick guide to solve that.
Another question is how I have to decode the images and the pdf to provide those files in a WebService?
I would be very glad if anyone can help me or tell me where I can find information about that, becaus I am new to this topic!
Thank you,
TimHi,
does anybody have an idea about that?
Thanks,
Tim -
How can I resize a pdf page content with annotations and highlights in Acrobat Pro?
How can I resize a pdf page content with annotations and highlights in Acrobat Pro while maintaining page size and annotation/highlight interactivity? I've tried to use the crop tool in Acrobat Pro (9) and the page does resize, but the highlights and annotations go all over the place. I specifically need to scale the page content smaller (83%) but maintain page size and annotation/highlight to content connection and interactivity.
An old trick (not recommended) would be to print to a new PDF with the page size selected but a scaling of the content. Only print the document, not the markup, to a new PDF. Close that PDF when done and reopen the old one (or maybe a copy of the old one for safety) and use Document Replace pages and select the new document to replace your current pages. You will then have to go back through the markup to locate it all correctly. There may be a more elegant way, but this may be the fastest.
-
Hi All ,
I have a field Airticket , so i need to allow the user Yes or No for that field
so using redio button i placed , but how to display both side by side
(Yes Rediobutton No Rediobutton) instead of diplying in 2 lines
(Yes Rediobutton
No Rediobutton)
And how reduce field length of the database item in the JSP page.
As i'm new to Jdeveloper and ADF need support and also please give any links which will be useful.
Thanks
RGPlace the items in a group layout set to horizontal display to show them side by side.
Set the width of attributes in the ADF BC-Entity Object-attribute-control hints-width -
About licensing the Jdeveloper and ADF
Hello everybody :
I have a little doubt about the "JDeveloper and ADF" license
I am planning to start my project using it and I have read the license [http://www.oracle.com/technetwork/licenses/jdev-license-152012.html] and I understood that everything is free for single user except Web Logic server needs to be licensed .
Is that what I have understood correct or not ?
Can I use this tool for developing my small project for my small business enterprise but the only one thing that I am afraid of is in the future I might face some limitations with the Web Logic Server or with any tool of Jdeveloper and ADF , So Shall I start up my project or should I search for another different tool such as Netbeans .
I would like to hear the answer before I put my self in trouble .
Thanks a lotWell, this will cost you more money the buying a licence as you break the law. To find out what you have to pay you better call a sales person in your area (see home oracle page).
Timo -
We are looking to upgrade ADF to 11.1.2.0 and looking for WebCenter compatibility.
Could you please let me know WebCenter compatible version for JDeveloper and ADF 11g Release 2 (11.1.2.0.x) ?
Thanks
JPLooking at 11.1.2.0.0 note on
http://www.oracle.com/technetwork/developer-tools/jdev/downloads/index.html
and seeing, "This version of JDeveloper doesn't include the SOA and WebCenter pieces - to use these components you'll need to download Oracle JDeveloper 11.1.1.5.0."
Does that mean, 11.1.2.0.0 can't be used with WebCenter? -
Can somebody suggest me any institutes in Hyderbad , India that offer Jdeveloper and ADF courses along with JAVA ,J2EE.
It would be of great help tor me if anyone can assist me in this regard. ThanksPost this Q in "Certification" forum. Also, contact oracle training.
Oracle press book also available for jdev11g/adf.
Oracle JDeveloper 11g Handbook: A Guide to Fusion Web Development -
Is there any template (decoration) feature in Jdeveloper and ADF faces ?
Hi
Thank you for reading my post
is there any template / decoration facilities in Jdeveloper for ADF faces ?
for example there are some part of my web pages which are allways the same and i need to show them where ever the user is in my we application (for example a left panel contain latest emails) how i can have this feature ?
ThanksHI!
Facelets works very well with Oracle ADF faces ,but to get a partial support from IDE(JDeveloper) , you have to build pages in jspx format, and not in xhtml format.
We are using facelets with absolutely no problem; the only hitch is that we have add all our ADF Faces components to a jpx page and then embed Facelets tags to it,for JDdeveloper does not add components to /in between Facelets tags, which is an improvement to be made, and Mr.Frank has informed me that this(Facelets support in JDeveloper) is filed as an enhancement request for the next version of JDeveloper.
Anyway, I can assure you that you can work with Facelets and ADF faces with absolutely no problems,at all;the only thing is you need to struggle some time getting the Facelets configured for ADF Faces!
Actually, I planned to write an article on accomlishing this(integrating facelets and ADF Faces),but presently I'm preoccupied with some other imoprtant task, so I'm afraid may not be able to provide the article inthis week.
Regrads,
Samba. -
Hi All,
I am new to Webcenter. Just now started learning JDeveloper and ADF. Please share me the use full links to start ADF.
Thanks,
Venkat SarvabatlaA good starting point is the documentation available on the Jdev home page http://docs.oracle.com/cd/E37547_01/tutorials/toc.htm
And http://www.oracle.com/technetwork/developer-tools/jdev/learnmore/index.html
And would recommend to watch the videos http://www.oracle.com/technetwork/developer-tools/adf/learnmore/adfinsider-093342.html
Timo -
Prerequisties for Jdeveloper and ADF !
Hi All,
I m a *11g Form/Report Developer* .
Now, I want to use Jdeveloper and ADF, but I don't know JAVA.
So, please guide me can I directly start with Jdeveloper/ADF or first start learning JAVA i.e. Basic Java,Core JAVA etc ?
Is it necessary to have knowledge of JAVA before starting Jdeveloper/ADF ?
Thanks.
Dev.Hi Dev ,
Well , though most of the things in ADF can be done through declarative implementation , there are few
aspects where we have to write piece of java code to fulfill business requirement .
As far my understanding following are the few things which are very essential .
1 ) Core java concepts
2 ) J2EE concepts ( Servlets , JSF , http methods )
3 ) Intro to XML , html , css
One of the best material available on internet to learn ADF : http://www.oracle.com/technetwork/developer-tools/adf/learnmore/adfinsider-093342.html
--Keerthi -
Prerequistees for Jdeveloper and ADF !
Hi all,
I m 11g form/reports developer and has some basic knowledge of Java.
Please let me know prerequistees for Jdeveloper and ADF in details.
Thanks/Regards.
Bhatt.No need to jump on 12c! I understand you want to learn ADF. In this case read Shay's blog https://blogs.oracle.com/shay/entry/how_do_i_start_learning_oracle_adf_and_jdeveloper whihc gives you a good list of stuff you can do. If you think you know enough about one of the topics, goto the next.
There are plenty of other material on the web like vidoes or onlins tutorials like https://blogs.oracle.com/jdevotnharvest/entry/learn_adf_online_and_for or Oracle ADF Insider - Learn Oracle ADF Onliner
or https://blogs.oracle.com/jdevotnharvest/entry/learn_adf_online_and_for
and more linked on hte JDev home page.
Timo -
Hi
I am working with pages for a book and have made already a layout whre photos and graphs etc. are partly outside of the area for the text, their posotion is not fixed the the text.
And now I nedd support: When I add text or a photo to the layout the text moves and the unfixed photos etc. keep there position. This means I have to update each photo or graph to shift it to the new position ore I have to place photos etc. within the frame of the text, which is not the kind of layout I am going for.
I hope for two reliefs, which I do not know how to realize it.
1. If I specify each chapter as a new partition starting with own page (then I hoped) the new section would shift together into a new page and the positions of photos etc. and text would stay fix. But unfortunately this seeems not to be the case. Question: is this possibe orno? If yes, how to do it?
I could divede the whole txt chapter by chapter into individual documents, which are seperatly created and worked. At the end I would have to merge all this document into one. Is it possibe to merge different pages-document into one document?
Who can help me?
Thanks HartmutImages and other object can either be floating or be inline. Yours are floating and will not move with the text. Inline object will move with the text but can't be outside the text layer. It doesn't help if you have created section in the document. Floating images doesn't care. Nor will it help if you create several documents that you want to merge later. Doesn't make any difference.
My suggestion is that until your text is finished you have the images inline. Then as a last editing you can start make the images floating and move them a little. -
In a jsp page how can i include another page from differenct web context
Hi,
i want to include a page from another web content to my page. How is it possible. For example in a jsp page i want to include "http://www.google.com". How is it possible. can i use <jsp:include tage for this purpose? any idea?
Edited by: JavaHeroPrince on Apr 2, 2009 12:05 AMI'm afraid you cannot do that using <jsp:include/> tag.
However, you can achive this using <c:import/> tag which comes with JSTL core tags.
Please find the below example of how to go about.
<%@ taglib uri = "http://java.sun.com/jstl/core" prefix = "c"%>
<c:import url = "http://www.google.com/search">
<c:param name="q" value="c%3Aimport+jstl"/>
<c:param name="rls" value="com.microsoft:en-us"/>
<c:param name="ie" value="UTF-8"/>
<c:param name="oe" value="UTF-8"/>
<c:param name="startIndex" value=""/>
<c:param name="startPage" value="1"/>
</c:import>
-------------------------------------------------------------------------for more info
[http://java.sun.com/developer/technicalArticles/javaserverpages/faster/]
Hope that helps :)
REGARDS,
RaHuL -
J2EE with JDeveloper and postgresql
Hi folks,
I'm creating a j2ee app (struts) with jdev with oracle9i
and this work fine...
but I have try connect with another database
(postgresql 7.4) to recovery some data
and the local container of jdev is not recognizing
the postgresql driver...
where I do to make the internal container
work with jdbc postgre driver ?To configure the the PostgreSQL JDBC driver:
1. Select Tools>Preferences in JDeveloper.
2. In the Preferences frame, select the Database Connections node. Select Library New button.
3. Select the Registered JDBC Drivers field New button.
4. In the Driver Class field specify org.postgresql.Driver
5. Select Library field New button.
6. In the Create Library frame specify a Library Name, and add the PostgreSQL JDBC jar file pg74.215.jdbc2.jar to the Class Path field.
The PostgreSQL JDBC driver library gets added to the Preferences frame.
Maybe you are looking for
-
Is there a way to create a sequence automatically from a clips settings?
I know you can go in and look at the settings and manually input them into the sequence, but I wondered if there was a way to ideally cntrl click (or something like that) the imported clip and "create new sequence" using the clip settings rather than
-
MY IPOD Touch has a permanent white screen. I am unable to switch it off or reset and it is not recognised in i-tunes thus preventing me from performing a 'restore' Any suggestions?
-
HT1473 Loading content to my ipad 2 with ios7
Hi, I would like to upload content with iTunes, but the ipad version with IOS& does not provide the ability to upload content, video or music. Any ideas on how to upload? Thank you
-
How to disable some apps temporarily such as during the weekdays only?
my sons school books will now be in ebook format on an ipad, how do i stop him from playing games when he is supposed to be doing his school work?
-
Good Afternoon, I am just looking at Azure as an alternative to using in house hosting for a couple of customers but I keep coming up with questions I cannot find the answer to, hence my question. The first one that springs to mind is this: If I set