Dynamic iView Display in a Page

Hi Experts !
Help me displaying an iView on portal page dynamically based upon an event from another iView on the same page. Where both the iViews are developed using Web Dynpro ABAP.
-Kalyan.

If you're using java (Dynpage or WedDynpro), you could access the PCD and modify the page where your iview belongs :
you got the "base" iview visible, and all others iview are present, but set as invisible. Depending on the situation, your "base" iview can then modify the visibiliy of the others iview in the page. a link about it here : [Sap Library|http://help.sap.com/saphelp_nw04/helpdata/en/44/6aaf92f5a23672e10000000a114a6b/content.htm]
Another possibility is to use eventing for the same effect, each iview waiting for a set of event, and displaying nothing if this is not the event that is supposed to make them appears.
Regards
Guillaume

Similar Messages

  • Dynamic IView displaying using Table

    Hi
    I hava a web dynpro application .  In which i have
    a table with 2 columns.
    when i am selecting a row in the table it should
    display different Iviews depending on the column values.
    replay ASAP

    Hi,
    Use WDPortalNavigation.navigateAbsolute() or WDPortalNavigation.navigateRelative() method
    to navigate to your respective iView.
    Check out these link
    http://help.sap.com/saphelp_nw04/helpdata/en/43/2eafd8d2f30d24e10000000a1553f7/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/43/2eafd8d2f30d24e10000000a1553f7/frameset.htm
    Check out the API help in your NW Developer Studio
    Help->SAP NWDS Doc->SAP WAS for java Applns->API WAS->
    com.sap.tc.webdynpro.clientserver.navigation.api
    Retrieve the column value as described by Rohit and use
    it in the methods in WDPortalNavigation.
    Thanks
    Senthil
    P.S: Reward Points for useful answers

  • Master page Dynamic data not getting displayed in consecutive pages

    Hi,
       I have buit a dynamic form which has some dynamic content in master page and a dynamic table in the body page.
    Layout is
    Master page
          Sub form
                 Field1 -TextView
                 Field2 - TextField      bind with Node1--->Attribute1
                 Field2- TextField       bind with Node2---->Attribute2
                Field n - TextField
    all the text fields are bound to various nodes from RFC
    Body Page
             Sub form
                  Table -Grows Dynamically
    When i run the application all the fields are displayed perfectly in the first page.
    when the table data goes more than one page the problem arises
    The Text fields in the master page is  not displaying the values in the second page ,but the text views and the table values are fine.
    The values are getting displayed in both pages if i put any attribute inside the parent node.Is there any property i need to set at node level or subform level?
    Thanks in advance,
    Siva

    Hi
    I Would like to give a suggestion eventhough i don,t have answer to you question.
    Master Page is used for static content as per SAP and Adobe like company logo and  company address footer section and placing  watermarks etc....
    I feel because of the Dynamic behavior in master page it Leeds this problem.
    Regards
    Malli

  • HR iViews are not getting displayed and showing "Page can not be found".

    Hello,
    I am facing an issue in the EP 7 wherein all the standard HR iViews are not getting displayed and showing "Page can not be found".
    We have added S_SERVICE autorisation object to user used for the relative JCO as well by looking at other similar forums but that did not help.
    I have attached last part of log from file application.log under "F:\usr\sap\EP1\JC01\j2ee\cluster\server0\log"
    #0002A537D2A6006A0000027300001C4C00046E3590936E5F#1247076244733#/Applications/WebApplications#sap.com/irj#com.sap.engine.services.servlets_jsp.server.runtime.context.ServletContextImpl#Administrator#12374##n/a##b7291b106be911de8d8a0002a537d2a6#SAPEngine_Application_Thread[impl:3]_27##0#0#Info#1#com.sap.engine.services.servlets_jsp.server.runtime.context.ServletContextImpl#Plain###application [irj] prt: init#
    #1.5 #0002A537D2A6007A0000001200001C4C00046E35AAA74D33#1247076682222#/Applications/WebApplications##com.sap.engine.services.servlets_jsp.server.runtime.context.ServletContextImpl#Guest#0##n/a##cf997d306af811dec69d0002a537d2a6#Thread[Finalizer,8,system]##0#0#Info#1#com.sap.engine.services.servlets_jsp.server.runtime.context.ServletContextImpl#Plain###application [irj] prt: destroy#
    #1.5 #0002A537D2A6005F0000026C00001C4C00046E35C2814813#1247077082383#/Applications/WebApplications#sap.com/irj#com.sap.engine.services.servlets_jsp.server.runtime.context.ServletContextImpl#SKhatkale#12460##n/a##a7cb51e06beb11de8bd70002a537d2a6#SAPEngine_Application_Thread[impl:3]_6##0#0#Info#1#com.sap.engine.services.servlets_jsp.server.runtime.context.ServletContextImpl#Plain###application [irj] prt: init#
    #1.5 #0002A537D2A60075000002BD00001C4C00046E35C3AD4359#1247077102039#/Applications/Xss#sap.com/tcwddispwda#com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent#SKhatkale#12464##rrisep1p01_EP1_14481150#SKhatkale#b6d348006beb11deb9780002a537d2a6#SAPEngine_Application_Thread[impl:3]_31##0#0#Fatal#1#com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent#Plain###You do not have the authorization to start service sap.com/pcui_gp~xssutils/XssMenu.#
    #1.5 #0002A537D2A6007A0000001300001C4C00046E35DDE07029#1247077541575#/Applications/WebApplications##com.sap.engine.services.servlets_jsp.server.runtime.context.ServletContextImpl#Guest#0##n/a##cf997d306af811dec69d0002a537d2a6#Thread[Finalizer,8,system]##0#0#Info#1#com.sap.engine.services.servlets_jsp.server.runtime.context.ServletContextImpl#Plain###application [irj] prt: destroy#
    #1.5 #0002A537D2A600650000024600001C4C00046E36B6DBE4D0#1247081181950#/Applications/WebApplications#sap.com/irj#com.sap.engine.services.servlets_jsp.server.runtime.context.ServletContextImpl#Administrator#12873##n/a##37e186606bf511de8bf20002a537d2a6#SAPEngine_Application_Thread[impl:3]_0##0#0#Info#1#com.sap.engine.services.servlets_jsp.server.runtime.context.ServletContextImpl#Plain###application [irj] prt: init#
    Please let me know if anybody has come across such scenario before.
    Thanks
    Suhas
    Edited by: Suhas Khatkale on Jul 8, 2009 10:09 PM

    Hi,
    This issue is now resolved. We followed up with SAP and they suggested to update the component EP-PSERV to latest patch which was earlier to patch 1. Later on we upgraded it to patch 4 and this resolved the issue.
    Thanks
    Suhas

  • Problem in displaying dynamic table placed in master page

    Hi all,
    I have placed a dynamic table in my master page. When the page overflows the dynamic table is shown only in 1st page. I want this table to be shown in every page. Please help me solve this.
    Regards,
    Devaiah

    hi,
    Thank you all for your reply. But i cannot keep the table in body page as i want this table to be displayed in every page in the header.  Actually i am displaying an address through this table.
    I have moved the content area in master page to center and reduced its size and in the body page i have placed a table which will display the report. When this table overflows to next page all the contents in master page are shown except for the address table in master page. I am not sure whether i am doing it the right way as i am bit new to adobe forms.
    Please let me know where am i going wrong. Also please suggest me some alternative method ( if any ) to display the address in every page if the above method is not feasible.
    Regards,
    Devaiah

  • Some browser doesn't display the MW page correctly

    after installing Maintenance Wizard 2.17, some browser doesn't display the MW page correctly, some menu function is missing. The display problem is not for everyone, some user's browser have no problem. Some user's IE are displaying it correctly. i.e. one user has both IE and firefox working, however, after she clear her java cache, both browser refuses to display the MW page correctly.
    The resolution of PCs is set to the same value. however, the size of the text isn't. after changing the size of the text, some of our pc start to work. The display web page for MW doesn't show the right most menu item. After resize the screen, we find it is because of the blue frame for the MW page that stop to dynamical stretch up to 20 inches.
    The menu item is been streched out of the blue frame, they are no longer displayable
    any ideas?

    We have the same problem.
    And find it is caused by a combination of your screen resolution, font size and browser window size.
    The blue frame that displays the Oracle Mainentance Wizard banner doesnt dynamical strech to the full window size.
    After experiment with it, MW can display much better in our case.

  • Calling a Webdynpro Iview from a Web Page

    Hi guys we are trying to display a custom webdynpro iview in a web page.
    when the user clicks on a link on the left side navigation in the webpage it is supposed to open the webdynpro iview in an Iframe in the same window beside the left navigation area. but we are getting  a warning message before the iview is opened.
    an error occured while starting the iview Application/webdynpro/dispatcher/sap.com/pb/PageBuilder:jsessionid=(J2EE3062800)ID484538950DB11873745832264248987END will run with a wrong client window ID!
    and when we click on ok the iview is displayed in the IFrame
    to open the iview we are using an URL of the format
    http://<Server>:<Port>/irj/portal?NavigationTarget=navurl://8bc08160d466f592c481da5639ca31e9&NavMode=3
    can any one tell me why we are getting this message and how to remove it.

    Hi Praveen
    The iview is assigned to a portal role and we even have some authorisation objects assigned in R3, so only the users who have access to the role should be able to see the iview and the content they see in the iview is limited depending on the assigned authorisation objects.
    if we use the link
    http://<server_name>/webdynpro/dispatcher/local/myWebDynProProject/Helloapplication
    every one will be able to access the iview and they will be able to see all the content.
    when the user  clicks on the link he should login with his id and password  so that the authorisation objects are checked agaist his id. If we use the above link the user will be logged in with a test ID and the authorisation objects will not work.

  • Portal dynamic iView from Web Dynpro ABAP?

    I wish to use a "Dynamic iView" from a Web Dynpro ABAP application, but it appears the API is only available in Web Dynpro Java.  Can this feature be used from Web Dynpro ABAP, or can this be accomplished in another way?
    Scenario: I have two iViews on a page, one Web Dynpro ABAP and another iView whose source I want to change dynamically based on something a user clicks in the Web Dynpro ABAP.
    Dynamic iView:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/44/a72c155df77038e10000000a422035/frameset.htm

    So you are suggesting the WDA fires an event to a new WDJ that we would need to create that would in turn use the Dynamic iView service mentioned in that help document?

  • Dynamic image displays depending on yes / no value

    Dynamic image displays depending on yes / no value    
    I´d like to have a image showing, depending on a specific value (y/n)
    ..sorry need some help.
    I can´t get it workin.....
    <img <?php $status="n";
    if ($status == "y") {
      echo 'src="stecker_on.png" alt="yes"';
    } else {
      echo 'src="stecker_off.png" alt="no"';
    } ?> height="71" width="101" />
    The image ist not showing... ideas ?
    All I get ist some text showing:
      height="71" width="101" />
    MANY THANKS !!!!

    Presumably you mean this -
    http://mediaconsults.de/1test/steckertest.php
    And it's not clear what that is going to show me.  Looking at the code on the page -
    <html>
    <head>
    <title>Unbenanntes Dokument</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <script language="JavaScript" type="text/JavaScript">
    <!--
    function MM_reloadPage(init) {  //reloads the window if Nav4 resized
      if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
        document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
      else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
    MM_reloadPage(true);
    //-->
    </script>
    </head>
    <body background="test%20png.png">
    <div id="Layer1" style="position:absolute; left:1290px; top:246px; width:95px; height:112px; z-index:1"><img src="stecker_off.png" alt="no"height="101" width="71" /></div>
    </body>
    </html>
    I would advise you the following:
    1.  Put a valid and complete doctype on that page!
    2.  Get rid of the resize if NN4 javascript - it hasn't been needed for nearly a decade.
    3.  Fix your image code (note the missing space after "no"!
    4.  1290px is way too wide unless you want lots of people scrolling right to see things.

  • Two iviews in the same page

    hi
    i have created two iviews in the same page based on the two jspdynpage components.
    i am displaying a tableview on the ist view..on on cell click i hav to pass an the value in the cell(of ist view) to the second view...
    how do i call the second view with passing this argument...
    please tell the code to proceed .
    looking forward for ur response.
    thanks
    bidyut dutta

    Try this code and let me know the results.
    EPCF1.java(producer of event)
    ===============================
    package com.epcf;
    import com.sapportals.htmlb.page.DynPage;
    import com.sapportals.htmlb.page.PageException;
    import com.sapportals.portal.htmlb.page.JSPDynPage;
    import com.sapportals.portal.htmlb.page.PageProcessorComponent ;
    public class EPCF1 extends PageProcessorComponent {
    public DynPage getPage(){
    return new EPCF1DynPage();
    public static class EPCF1DynPage extends JSPDynPage{
    public void doInitialization(){
    public void doProcessAfterInput() throws PageException {
    public void doProcessBeforeOutput() throws PageException {
    this.setJspName("EPCFProducer.jsp");
    EPCF2.java(consumer of the event)
    ===================================
    package com.epcf;
    import com.sapportals.htmlb.page.DynPage;
    import com.sapportals.htmlb.page.PageException;
    import com.sapportals.portal.htmlb.page.JSPDynPage;
    import com.sapportals.portal.htmlb.page.PageProcessorComponent ;
    public class EPCF2 extends PageProcessorComponent {
    public DynPage getPage(){
    return new EPCF2DynPage();
    public static class EPCF2DynPage extends JSPDynPage{
    public void doInitialization(){
    public void doProcessAfterInput() throws PageException {
    public void doProcessBeforeOutput() throws PageException {
    this.setJspName("EPCFConsumer.jsp");
    EPCFProducer.jsp
    ================
    <%@ taglib uri = "tagLib" prefix = "hbj" %>
    <hbj:content id="myContext" >
    <hbj:page title="PageTitle">
    <script>
    function buttonClick()
    var name = 'hi';
    alert('hi');
    EPCM.raiseEvent("urn:com.epcf.EPCFProducer", "clickEvent", name);
    alert('hi');
    </script>
    <hbj:form id="myFormId" >
    <hbj:button
    id="myButton"
    text="click"
    width="125px"
    tooltip="click here"
    onClientClick="JavaScript:buttonClick();"
    />
    </hbj:form>
    </hbj:page>
    </hbj:content>
    EPCFConsumer.jsp
    =================
    <%@ taglib uri = "tagLib" prefix = "hbj" %>
    <hbj:content id="myContext" >
    <hbj:page title="PageTitle">
    <script>
    function eventHandler(event)
    myFormId.data.value=event.dataObject;
    EPCM.subscribeEvent("urn:com.epcf.EPCFProducer", "clickEvent", eventHandler);
    </script>
    <form id="myFormId" >
    The string passed is:
    <input type="text" value="" name="data"/>
    </form>
    </hbj:page>
    </hbj:content>
    portalapp.xml
    ================
    <?xml version="1.0" encoding="utf-8"?>
    <application>
    <application-config>
    <property name="SharingReference" value="com.sap.portal.htmlb"/>
    </application-config>
    <components>
    <component name="EPCF1">
    <component-config>
    <property name="ClassName" value="com.epcf.EPCF1"/>
    </component-config>
    <component-profile>
    <property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
    </component-profile>
    </component>
    <component name="EPCF2">
    <component-config>
    <property name="ClassName" value="com.epcf.EPCF2"/>
    </component-config>
    <component-profile>
    <property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
    </component-profile>
    </component>
    </components>
    <services/>
    </application>

  • Having trouble showing an Iview in a HTML page with frames format

    Hi, I have a public webpage with 3 frames (top, navigation and content)
    In the content part has to be showed a portal anonymous page.
    I created the anonymous portal page that shows me a Webdynpro that I created, works fine. But when I put the link in the frame of the public webpage, is like the page entered in a loop and nothings is showed.
    But if in the frame I put the direct Webdynpro link works fine but the Custom colors that I set in portal doesnt works (and this is important).
    Any1 know how can I do to put an anonymous portal page inside a frame html without lossing the colors that I replace in the theme editor.

    sun1977 wrote:
    Hi,
    I have the Home page which has the usual static text. I was looking for the option of showing some data on that page like
    1. last data load date which will have to be selected from the database. Do we just create a dynamic action on the HTML page? Going to try this now. But just wondering if there is a proper way to do this?
    Just to be a little more specific. I have static text in <Table> tags in a plain HTML page. So within the <TABLE> tags which is in the text source, Can I call bind values or PL/SQL procedures?. Was looking for some ideas on this.There are several options. One is to create hidden page or application items set using queries in item source, computations or processes. These can be referenced in HTML region source (and other places) using the static text exact substitution notation:
    &P1_ITEM.Another is to replace the HTML region with a report region using a custom report template. If there are a number of related values to display this is likely to perform better as only one query is involved.
    Unless these values respond dynamically to changes on the page there is no call to use Dynamic Actions.
    2. Insert the audit field with the SSO username. Any idea which variable stores the username which maybe can be passed to the trigger to update before an insert/update.Use the built-in <tt>APP_USER</tt> substitution string. For this purpose normally in a database trigger including a fall-back value to cope if the table is modified outside of your APEX app:
    :new.modified_by := nvl(v('app_user'), user);

  • Portal Tabs - Dynamic Hide/Display

    Hello:
    We have a Portal Page Group with multiple TABS. We like to be able to display/hide (or enable/disable) tabs based on the Portal Roles assigned to the current user.
    Is it possible to Hide/Display tabs dynamically based on certain conditions? What is the best way to enforce this without creating multiple page groups?
    Thanks

    The only way I know to conditionally hide/show tabs is to grant access on each tab to one or more groups. The tab will then only be displayed on the page to logged-in user that is a member of a designated group for that tab. (Portal admins will be able to see all the tabs.) If there's another way to hide/show tabs based on other criteria - I'd like to know too! :-)

  • Web Page Composer - Web Form for exposing iViews and External Web Pages

    Hello SDN Community,
    This forum thread is intentionally created to collect your feedback and ideas regarding the Web form for exposing iViews and external Web pages.
    With this new Web form you are able to specify height and width of the iFrame, in which the corresponding iView/external Web page will be displayed on the particular WPC Web page.
    For more information regarding this new Web form and its features and to download it visit this address:  https://wiki.sdn.sap.com/wiki/display/KMC/CustomizingtheWebPageComposer
    Your oppinon and constructive suggestions will help to evolve the Web form further and facilitate the community to create more sophisticated and enhanced versions of this basic reference implementation. Feel free to contribute also your version and discuss in public.
    Here are some basic questions that can guide you:
    1. Does this new Web form help in your particular scenario? How?
    2. How would you rate from 0 to 5 your satisfaction with this particular Web form?
    3. What can be improved in the Web form?
    4. Do you miss something from documentation point of view?
    Explore the new WPC wiki pages - find valuable the information regarding WPC at one place, download new Web forms, and feel free to contribute.
    [Web Page Composer Wiki|https://wiki.sdn.sap.com/wiki/display/KMC/WebPageComposer]
    Best Regards,
    WPC team @ SAP

    Hello!
    I have installed your component. When I try to create a new component in WPC with this form, portal throws an exception
    Full Message Text
    05:54_30/07/09_0005_21710350
    [EXCEPTION]
    java.lang.NullPointerException
    at com.sap.nw.wpc.editor.EditorBean.updateDocumentFromContext(EditorBean.java:336)
    at com.sap.nw.wpc.editor.EditorBean.getPreview(EditorBean.java:600)
    at pagelet.editor._sapportalsjsp_editor.subDoContent(_sapportalsjsp_editor.java:1802)
    at pagelet.editor._sapportalsjsp_editor.doContent(_sapportalsjsp_editor.java:58)
    at pagelet.editor._sapportalsjsp_editor.service(_sapportalsjsp_editor.java:38)
    at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.service(PortalComponentItemFacade.java:360)
    at com.sapportals.portal.prt.core.broker.PortalComponentItem.service(PortalComponentItem.java:934)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:435)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:527)
    at com.sapportals.portal.prt.component.AbstractComponentResponse.include(AbstractComponentResponse.java:89)
    at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:232)
    at com.sapportals.portal.htmlb.page.JSPDynPage.doOutput(JSPDynPage.java:76)
    at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:129)
    at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134)
    at com.sap.nw.wpc.editor.EditorTool.doContent(EditorTool.java:55)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
    at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
    at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
    at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
    at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
    at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:524)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:407)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    Do you have any ideas? I am running EP7 SPS 15
    Thanks in advance

  • Assigning iViews to Roles without Pages

    I have created several "SAP Transaction" iViews that rely on HTML GUI and would like to add these to my Portal.  When I assign them to a page, and then add that page to a role, the iView height does not display automatically.  The iView is only about 80 pixels high. 
    I have also tried assigning the iView directly to the role, and in this case it displays correctly. 
    Is there any purpose to using "Portal Pages" if an iView is the only content being displayed for that Top Level or Second Level navigation choice?
    Are there any problems with assigning iViews directly to roles?
    Thanks for any answers you provide.
    Best regards,
    Bryan

    Bryan
    You are correct, this concept didn't exist in EP5. In EP6 a Page and an iView are basically the same object, which is why it doesn't matter which one you assign to a role. The other thing is that if you do use a page, then the pagebuilder tends to include a lot more resources into the output, which increases the size (and potentially time) of the page downloaded to the client. If you only have transactional iviews, then I would forget about the page. If you decided to try and use the pages, then the things that can cause this problem are: -
    1) Domain of the iView is different to the domain of the portal and when the portal tries to re-size the page it can't access the size of the content and therefore can't resize it
    2) I would check things like the maximum and minimum page size attributes on the page. They may have default values in an iView but not a page
    I hope this helps
    D

  • How To Customize displaying  of JSP page From Backing Bean

    I would like to customize the displaying of jsp page from backing bean based on user Roles
    For example
    - if the Role is Admin then backing bean should display Admin.jsp
    - if the Role is Guest then backing bean should display Guest.jsp
    Any pointers/suggestions will be highly appreciated
    Regards
    Bansi

    Thanks to all for providing thoughts
    I wanna make it more Dynamic. In the sense
    "Backing Beans should drive the rendering of first jsp page in the application " and not jsp page driving the backing bean or not to put some kind of hard coding in jsp page to see if its admin user then display certain set of UI Components or certain set of other UI components for other users.
    As we have atleast 10 different Roles and there can be Composite Roles i.e. combination of two roles. In this case how does the Backing Bean drives the rendering of jsp page?
    Regards
    Bansi

Maybe you are looking for