ADF portlets and scrollbars

ADF portlets are rendered in iframe by webcenter. It is not possible to render them in a normal div like normal JSP portlets.
I notice it has some disadvantages.
For example when using popups. If the content of my portlet is smaller than a popup i use in the portlet, the portlet does not stretch but instead you get scrollbars.
If i convert the same portlet as a taskflow and add this to the page using the resource catalog, the popup is rendered in the page instead of the taskflow itself.
What's the difference?
Also, suppose you have a portlet that renders a tree. When you first see the portlet, the tree is completly closed. When you open some nodes, the portlet does not stretch but you get scrollbars...
Anybody who knows how we can change this behaviour so the iframe stretches itself depening on the content? The first time it renders the iframe gets the size of the content but if the content changes during the session, the iframe does not stretch.

A practical example:
I have a task flow that shows a table. That table shows 10 lines and fits perfect within my portlet. Below the table is a button to add a row. THis button invokes a popup so the user can enter the data. All well.
The table also has a detailStamp facet that shows details about the record. When i click to open the details, the portlet does not grow but instead i have scrollbars.
This is realy not usefull and userfriendly. The portlet should grow in the page, not stay the same size.
I guess the reason for this is that webcenter shows the portlets as IFrames instead of a div. Therefore the size of the portlet stays the same and we have to use scrollbars...

Similar Messages

  • How to configre IM and mailing services in adf portlet .

    Hi All,
    We have some specific requirement like we want to integrate mailing and IM services in my custom Adf Portlet .
    I thought of creating connection for mailing & IM from jdeveloper and drop the connection as a taskflow .
    First of all i am not able to establish connection .Even i am going with wrong connection when dropping connection on page its not showing any taskflow .
    Please provide some input .
    Thanks ,
    Arun.

    Hi user505214, you can send parameters to a Servlet in this way
    http://localhost:8080/TestServlet/TestServlet/?paramOne=valueOne&paramtwo=valueTwo
    The doGet or doPost servlet code to receive parameters looks like this:
    public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
    String param1 = request.getParameter("paramOne");
    String param2 = request.getParameter("paramTwo");
    Regards,
    Luis R.

  • What different between ADF Rich Portlet and Trinidad HTML Portlet?

    Hi all,
    I've some question about adding portlet to portal pages
    What different between ADF Rich Portlet and Trinidaf HTML Portlet?
    And benifit of each?
    Regards

    Hi all,
    I've some question about adding portlet to portal pages
    What different between ADF Rich Portlet and Trinidaf HTML Portlet?
    And benifit of each?
    Regards

  • ADF portlets not that well supported

    Is it just me or are ADF portlets not that well supported in webcenter application?
    I am working on them for a few months now and i seem to get one problem after the other and most of them are related to ADF portlets.
    Oracle created the portlet bridge in order to create ADF portlets but why are their so many problems with the ADF portlets?
    Currently we are thinking on developing taskflows instead of portlets because some (not all) of our problems are solved with that but than we have to do some extra development offcourse...
    Some issues we are facing with adf portlets:
    Using popups in ADF portlets: we have created some portlets with a table and each row has a detail button that opens a popup. The popup is bigger than the original portlet so what happens... THe portlet does not stretch, it shows scrollbars instead. Not realy user friendly.
    When we create the same thing in a taskflow, the popup is rendered in the page instead of the "portlet".
    inter portlet communication
    Take a look at the documentation of webcenter and try to find one example of an ADF portlet that sends an update to another portlet. They always show examples of normal JSP portlets or the omniportlet.
    I've done a great deal to find it and i made it to work but their is also an issue involved with it... In order to set the navigation parameter we should have a reference to the actionResponse of the portlet and you only can get this with a full portlet refresh so no partial page rendering here.
    As it appears when you set the partialSubmit of a commandButton to false, the action or actionListener gets ignored in a portlet so the code that should normaly get the reference to the actionResponse never gets executed unless you set the partialSubmit to true but than the reference to the actionResponse is not valid.
    In normal adf application a partialSubmit to false will execute the action or actionListener so i guess it's a bug in the handling of the button.
    securityContext
    I know portlets all do have their own context but does the JSR 168 standard does not describe a way to pass the security roles from the consuming application to the portlet? As it appears, ADF portlets do not receive this information from their consuming application.
    Has anybody else faced these issues or got some others while working with ADF portlets? It seem like their is still a lot of work to do to have a good support for ADF portlets.

    But if you look at other frameworks it seems possible.
    I also worked with liferay and used icefaces as JSF framework. They seem to go together very well. It had a very nice way of handling IPC using ajax. No page parameters need to be set or no partialTriggers.
    For example i don't get why an ADF portlet MUST be rendered in an iframe. Why can't they think of another solution? I can't imagine i'm the first one who is facing these issues...
    For example the problem with the buttons. Am i the first one not using partial page submit on a button in an ADF portlet?
    Don't get me wrong. I'm not frustrated with it. I just want to know if their are other things i need to know about or if other people are also facing the same struggle as i do.
    Try explaining the customer why they should buy an expensive licence for something that is not really working. The problem i wrote down here are real life problems i'm facing with a customer. We can't afford going into production with these problems...

  • Issues Consuming ADF portlet in Webcenter

    Hi,
    We created an ADF page in the portlet producer and created a portlet entry. We used a webcenter consumer to consume the ADF portlet from the portlet producer.
    On running the webcenter consumer the page is displayed as desired but on performing any action on the page, a blank JS popup message is displayed. Once this popup message displays nothing else can be performed on the screen and the browser tab has to be closed.
    There are no logs at the server level.
    The jdeveloper version is :11.1.1.6.0.
    Can you please help us with this issue
    Thanks and regards

    Hi.
    See into Oracle My Support. Remember (don't know exactly) that exists a Portlets problems with version 11.1.1.6 similar to your problem.
    Probably you'll need to patch your WebCenter installation to 11.1.1.6.2
    Regards.

  • IPC Between Two ADF Portlets on Same Page using Events Failure

    Considering that a full page submit is required for the passing of parameters to work properly, I am trying to use IPC Events to pass a parameter from one ADF Portlet to another. There are no good examples out there, but I am trying to use what is out there in many different generic forms to make this happen with no success.
    One portlet contains an ADF Table with a select column, I have a BackingBean to process the choosing of a row and that value is being retrieved and I am calling the set event.
    public void selectPatient(ActionEvent e) {
    FacesCtrlHierNodeBinding node = (FacesCtrlHierNodeBinding) tblPatients.getSelectedRowData();
    String username = node.getAttribute(0).toString();
    System.out.println("Selected Patient: " + username);
    ActionResponse response = (ActionResponse)FacesContext.getCurrentInstance().getExternalContext().getResponse();
    response.setEvent("selectPatientResult", username);
    I then have a second portlet that is supposed to retrieve the value being passed from within the portlet class and then the second ADF portlet is supposed to display. I will eventually do more work with the value, but I am just trying to get the events to work properly first. Here is the code within the receiving portlet class:
    public class drugallergies extends ADFBridgePortlet {
    @ProcessEvent(name="selectPatientResult")
    public void processSelectPatientEvent(EventRequest request, EventResponse eventresponse) throws PortletException, IOException {
    Event event = request.getEvent();
    String username = (String)event.getValue();
    System.out.println("Selected Patient: " + username);
    eventresponse.setRenderParameter("patient", username);
    I have also made sure that I have put the following within my web.xml file for the application so that the events are being passed as portlet events and not faces events. I am still fairly new to ADF, but not to portals or portlets, which is why I am going this route.
    <context-param>
    <description>Allows for fired events to go to the portlet and not to the faces layer</description>
    <param-name>javax.portlet.faces.autoDispatchEvents</param-name>
    <param-value>false</param-value>
    </context-param>
    I am never seeing the receiving event get processed, meaning that I never see the println get processed with the receiving value. Please help because there are no examples out in the world for going this route. There are examples, but they require you to create an ADF application first and then convert the application to a portlet. I am using the Portlet Creation wizard within JDeveloper but creating ADF based pages for the Views modes.

    Wait... You have to make a distinct difference between portlet events and contextual events in ADF.
    Contextual events in ADF can be converted to portlet events.
    If the full refresh of a portlet is an issue for you then even contextual events will not solve your problem.
    Regardless the use of parameters or events, portlets do not support partial page rendering or ajax. In order for a parameter to pass or an event to be triggered, it need to have a reference to the ActionResponse or RequestResponse. If they don't have the proper reference they will not be able to trigger the event.
    In the case you are talking about, the selection of a record, this won't be able to trigger an event because the selectionModel will be triggered by a partial submit.
    The only work around for this problem is by adding a "select" button that will do a full submit.
    This is not a limitation of ADF, it is a limitation of the portlet standar because the standard itself does not have anything that supports partial page rendering or ajax...

  • ADF Portlets not showing up

    Hello ,
    I am using Oracle AS 10.1.2 , Oracle Portal 10.1.4 , JDeveloper 10.1.3.3 installed on a Linux box.
    I have also downloaded and run the ADF Runtime Installer JAR file in the box.
    But, when I try to deploy an ADF screen as a JSR 168 portlet it is not showing up as a portlet and is throwing an "500 Internal Server Error". Any ideas ! !
    Although , when I try to run the same portlet in my JDeveloper Webcenter pre-configured OC4J it works fine.
    Please let me know if anyone has found a solution to the above problem.
    Best Regards.

    If its a caching issue, which caches did you try to flush?
    Or can you create a JSP , deploy it to the app servers with the following code
    <%@ page import="com.bea.p13n.cache.* "%>
    <%@ page import="java.util.* "%>
    <%
    String[] cachenames = CacheFactory.getCacheNames();
    for (int i = 0; i<cachenames.length; i++)
    String curCacheName = cachenames;
    CacheFactory.flush(curCacheName);
    %>
    and access this JSP and see if it solves your problem
    If it doesnt solve your problem, do you have personalized desktops for each user or something?
    regards
    deepak

  • Problems with ADF portlet

    Hi All,
    I am evaluating Webcenter and Portlets, specifically ADF portlets. I followed Peter Moskovi's article on portletizing an ADF taskflow (http://pmoskovi.wordpress.com/2008/07/18/jsr-301-the-jsf-portlet-bridge/).
    This is an excellent demo to guide on creating a portlet from an ADF taskflow. This demo is for old webcenter with OC4J.
    I am working on the JDEV 5407 build with Webcenter externsions. The demo is still pretty accurate for Weblogic Portal (WLP).
    I was able to run and deploy my portlet app without any problem. It works find in a stand-alone server. However, I run into problems while consuming the portlet in my PORTAL app. I followed the demo and build the consumer app. Everything looks fine, but at runtime, I get "Portlet Unavailable Error".
    Has anyone else followed Peter's demo and built portal and portlets with Bulldog i.e. 5407 build? Did you have any issues integrating the portlet in the portal?
    I would appreciate any input.
    Thanks,
    --ajay                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Yes! When I say PORTAL app, I was referring to a WebCenter application that consumes the portal.
    Thanks for your help in advance.
    --ajay                                                                                                                                                                                                                                                                                           

  • Trouble with ADF portlet :) Connect Database

    Hi every body!
    Thank so much when you send time care to my trouble.
    When I deploy a simple ADF portlet without Connecting Database ==> It run :))
    After that, with Connecting Database and Create Bussiness Component from Table
    ==> It run but Result show in Portal: Could not get mark up ...
    I using Jdevelop 11g
    Thank again!

    OK

  • Trouble with ADF portlet :)

    Hi every body!
    Thank so much when you send time care to my trouble.
    When I deploy a simple ADF portlet without Connecting Database ==> It run :))
    After that, with Connecting Database and Create Bussiness Component from Table
    ==> It run but Result show in Portal: Could not get mark up ...
    I using Jdevelop 11g
    Thank again!

    Hi,
    wrong forum, try : WebCenter Portal
    However, I suggest you provide more information for people to understand the context you are in
    Frank

  • ADF Portlet Support

    I have couple of questions Oracle Portal (10.1.4) and ADF Portlet(using jdeveloper10.1.3)
    1) Whether ADF Portets can be deployed as JSR168 portlet? If yes, does it support inter portlet communication ?
    2) Whether ADF portlets can be deployed as PDK-Java portlets? If yes, does it support inter portlet communication?
    I hear and read lot of things about these kind of support. I am trying to get an official word on it.
    Thanks

    Hi,
    thinks the geeks you are looking for are listening here
    WebCenter Portal
    Frank

  • Secure the ADF pages in portlet via ADF portlet bridge

    Hi All
    My project is using the ADF security model to do the authentication and authorization and the project can be deploy to weblogic and works fine.
    Currently i want o extend the pages and taskflows to WebCenter portlet client via the ADF portlet bridge. How can i implement the security policy
    to reuse the existing code? i have no idea how the portlet client interactively work with producer to do the authentication.
    appreciated if anyone can give a hand on this or show some examples.

    Could you tell me how you were able to combine an adf-table bound to BC with a portlet in the same page? I'm getting a 'portlet unavailable exception' when I try to customize my RichTextPortlet?
    If I run the portlet on it's own in a jspx-document everything runs just fine, but from the moment you add an adf-component the portlet is unavailable?

  • ADF Application and Oracle Portal Login Page

    We have developed ADF application and deployed it in Oracle AS 10.1.2 along with the custom JAAS module, which is working fine with the application custom login page. As a next page, I want to use Oracle Portal login page for the authentication and authorization.
    How can I accomplished it? Any idea?
    Thanks,
    AP

    Shay,
    1. I created blank ADF project
    2. I copied myreport.jsp file (this one was generated by Oracle Report Builder) under ..ViewController/public_html directory
    3. Created directory 'lib' under ViewController/public_html/WEB-INF/lib
    4. Copied reports_tld.jar file under the directory created in 3.
    5. Created simple jspx page with the af:link (btw af:goLink does not exists in JDev 12c), set 'destination' to myreport.jsp
    After the steps above I could not even compile the application, many problems too many to list here, Basically JDev is trying to build the project with .jsp file generated in Report Builder and is unable to.
    So to be sure we are on the same page: I am trying to embed JSP report files generated by Report Builder into ADF project, then create EAR file and deploy on standalone WLS. Finally execute JSP web only report.

  • Click on link in one portlet and open in another portlet

    how do you click on link in one portlet and open in another portlet?

    Hrmm... This is a IBM Question..
    Officially this is a meaningless buzzword promoted by IBM. Portals are some sort of Servlet but IBM incapable of explaining how they differ from ordinary Servlets. Some speculate they are used to present a webpage with many services on it such as a search engine, and news that come from diverse sources. The user is able to dynamically configure the contents and layout of the page much like Netscape home pages
    I don't understand what yhour asking..
    I am assuming you want to call another servlet (portlet)? That would be absurd to do .. You let the HTTP request and XML file to deal with the response of the portlet

  • Problem with ADF security and task flow calls

    Hi.
    I am using JDeveloper 11.1.2.0.0.
    I encountered a problem when tried to apply ADF security to my application.
    The way to reproduce the problem:
    1. Create new Fusion Web Application;
    2. Import Business Components from Tables from any existing schema and add at least one table to the ApplicationModule.
    3. Create "welcome page" (for instance, welcome.jsf). Add a button with fixed action outcome "test".
    4. Create test page, for instance, test.jsf. Drag and drop any view object from Data Controls onto the page and create a form with navigation controls. Add a button with fixed action outcome "return".
    5. Create bounded task flow, name it "test", drag and drop our test page on it - the page will be the default activity. Add a task flow return activity. Add a control flow case from the default view activity to the return activity, set From Outcome property to "return". So our return button should cause the task flow to exit.
    6. Open adfc-config.xml in diagram mode and place our welcome page on it. Then drag and drop the test task flow to create a task flow call activity. Add a control flow case from welcome page to task flow call activity, set the From Outcome property to "test". So our test button should call the test task flow.
    7. Configure application to run the unbounded task flow starting with Welcome view activity.
    At this point all works as expected: when application runs, the welcome page is displayed with test button. Pressing the test button results in displaying the test page, return button leads back to the welcome page.
    Now let's configure ADF Security.
    Run the ADF Security configuration wizard, choose ADF Authentication and Authorization.
    On the second page select Form-Based Authentication, check the Generate Default Pages flag.
    On the third page choose No Automatic Grants.
    On the next page keep the Redirect Upon Successful Authentication unchecked. Press Finish.
    Open jazn-data.xml to configure roles, users and resource grants:
    1. Create application role test-role.
    2. Grant the test-role privileges to view the test task flow.
    3. Create user and grant him the test-role.
    Now we have the public available welcome page and the test page with restricted access.
    When application runs, the welcome page is displayed as expected. Pressing the test button redirect us to auto-generated login page. After successful authorization the test page is displayed. But nothing happens if we click now the return button for the first time. When we click the return button once more, the application crushes with Error-500 and message "Target Unreachable, identifier 'bindings' resolved to null". The exact error trace depends on UI control bindings, but looks like this:
    javax.el.PropertyNotFoundException: //C:/Users/DUDKIN/AppData/Roaming/JDeveloper/system11.1.2.0.38.60.17/o.j2ee/drs/Test1/ViewControllerWebApp.war/test.jsf @10,120 value="#{bindings.Id.inputValue}": Target Unreachable, identifier 'bindings' resolved to null
         at com.sun.faces.facelets.el.TagValueExpression.isReadOnly(TagValueExpression.java:122)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer._getUncachedReadOnly(EditableValueRenderer.java:476)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.getReadOnly(EditableValueRenderer.java:390)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.wasSubmitted(EditableValueRenderer.java:345)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.decodeInternal(EditableValueRenderer.java:116)
         at oracle.adfinternal.view.faces.renderkit.rich.LabeledInputRenderer.decodeInternal(LabeledInputRenderer.java:56)
         at oracle.adf.view.rich.render.RichRenderer.decode(RichRenderer.java:342)
         at org.apache.myfaces.trinidad.render.CoreRenderer.decode(CoreRenderer.java:274)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.__rendererDecode(UIXComponentBase.java:1324)
    (the rest of lines skipped).
    Any suggestions?
    Edited by: user13307311 on Apr 16, 2013 11:39 PM

    @Lovin_JV_941794
    The welcome page is public available since it does not have appropriate PageDef file.
    Login page comes not from the welcome page, it comes after attempt to access the test page. So after the login succeeded the test page appears, because redirect to welcome page after successful login is not configured. I do not need to return the welcome page at this moment, I need to go to the test page.
    It seems the task flow call stack to be destroyed after redirect to login page.
    Edited by: user13307311 on Apr 17, 2013 12:45 AM

Maybe you are looking for

  • Discoverer 4i to OBIEE migration methodology - Oracle Recommended Way

    Hi, We are looking into a scenario where we are required to migrate large number of Discoverer 4i reports to OBIEE. We have good number of custom reports(approx 200) and views too that are to be migrated. Am aware about the migration assistant that c

  • How to generate custom report with PDF output?(Payables)

    Hi All, we are using some custom reports in payables modual production server the reports are working fine . my question is i need creat same reports in test server i have done following activities. 1. copied rdf file from prod server and pasted into

  • Directing home page to servlet

    We use Netscape 3.6 and iPlanet 4.1 as web servers, and Tomcat 3.3.1 as servlet engine. I am writing a servlet for a mobile site that identifies user agent to generate the appropriate mark up language for the device (WML/HDML/HTML and etc). I am unab

  • Capacity check during Planned order to production order conversion

    Hello Gurus, I have a strange situation during capacity check. While Converting the planned order to Production order, I release the order and I don't get any warning. All work centers are available But for the same material/quantity/dates, if I crea

  • I want to download iwork for  my imac mini

    i am new with my imac min and want t now to download iworks but it does not work. what can i do?