Urgent - HTML Layout for portal

Hi,
I dunno if it's here that this questions belongs.
I'm new to OracleAS Portal and I would like to integrate a content build with Struts in a portal. I've just tested the Struts part outside the portal and everything is OK.
Now I would like to integrate it in a portal page, but the fact is, our customer has a predefined page style which is really not the default given by the OracleAS Portal.
I have the layout of our client in an HTML form and I would like to be able to use this layout as the page for the portal and not the one provided by OracleAS portal but I've checked and could find nowhere in the doc where it says that we could do such thing and if I can, how should I do it then?
Thanks.
D.

See answer in Template with portal thread.
Peter

Similar Messages

  • Urgent: How to create a new layout for portal lightframeworkpage

    Expert,
    I want to create a new layout for  external facing portal. I have created a new par project also in NWDS, but being new I do not know where to get "com.sap.portal.layouts.default.par" and other supporting libraries.
    Need an urgent help.
    Thanks in advance
    -Lave Kulshreshtha

    Hi,
    Look into this blog to know, how to write custom layouts:
    Nuts and Bolts of the External Facing Portal (EFP)
    Once you wrote your layout jsp, then declare it in portalapp.xml like this:
    <component name="example_narrowWide">
          <component-config>
            <property name="ClassName" value="com.sapportals.portal.pb.layout.PageLayout"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile>
            <property name="ComponentType" value="com.sapportals.portal.layout"/>
            <property name="com.sap.portal.pcm.Title" value="2 Columns (Narrow:Wide)"/>
            <property name="com.sap.portal.pcm.Description" value="two-column layout displaying the narrow column on the right"/>
            <property name="com.sap.portal.reserved.layout.TagLibLayout" value="/SERVICE/com.sap.portal.pagebuilder/taglib/layout.tld"/>
            <property name="com.sap.portal.reserved.layout.TagLibHtmlb" value="/SERVICE/com.sap.portal.htmlb/taglib/htmlb.tld"/>
            <property name="com.sap.portal.reserved.layout.TemplateFile" value="*yourLayout.jsp*"/>
            <property name="AuthScheme" value="anonymous"/>
            <property name="com.sap.portal.reserved.layout.Cont1" value="Left Column">
              <property name="plainDescription" value="Column 1"/>
              <property name="orientation" value="vertical"/>
              <property name="designClass" value="prtlPageConL"/>
            </property>
            <property name="com.sap.portal.reserved.layout.Cont2" value="Right Column">
              <property name="plainDescription" value="Column 2"/>
              <property name="orientation" value="vertical"/>
              <property name="designClass" value="prtlPageConR"/>
            </property>
          </component-profile>
        </component>
    As all the layout taglibs and required classes are in com.sap.portal.pagebuilder application, you should refer to it in your portalapp.xml SharingReference property.
    Try all this and if you have specific questions, let me know.
    Regards,
    Praveen Gudapati

  • WYSIWYG HTML Entry for Portal

    People,
    We have a requirement for a WYSIWYG HTML entry "widget" to enter in html data into portal rather than using the basic text entry field where you have to mark up the text yourself in pure html.
    Internet Explorer has a ActiveX control that can be accessed through JavaScript such that the data entry on screen is looks like an editor like FrontPage/DreamWeaver but underneath it stores the actual HTML code. I would like to use this editor instead of the built in basic HTML Form based textArea.
    Has anyone figured out a way to do this?
    null

    If you research DHTML components and MSHTML components, you'll find the information regarding the built in object (no cost, no product -- custom coding required to build out the interface and any custom menu requirements needed.)
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnmshtml/html/mshtmleditplatf.asp
    http://msdn.microsoft.com/library/default.asp?url=/workshop/browser/editing/activateeditor.asp
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vcsample/html/vcsamHTMLEdSampleWrapsInternetExplorerMSHTMLEditingControl.asp
    http://msdn.microsoft.com/library/default.asp?url=/workshop/browser/mshtml/tutorials/tutorials.asp
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcehtml/htm/ceconMSHTMLPrototypes.asp
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcehtml/htm/ceconMSHTMLFunctions.asp
    Here's a couple articles too:
    http://www.euromind.com/iedelphi/EditHTML.htm
    http://groups.yahoo.com/group/delphi-dhtmledit/
    http://www.byte.com/documents/s=1113/byt20010806s0004/20010806_udell.html
    http://activex.adsp.or.jp/english/specs/Sweeper_Object_Model.htm
    What I know is that you need to search for the menu bar icons to add to the content window. Some javascript required to bring it all together.
    ActiveEdit from cfdev also has promise, it deploys a JSP based HTML edition (With Source Code). Integrating it with Oracle Portal 3.0.9.n release might prove challenging as the content api is only published for PLSQL implementation.
    http://www.cfdev.com/activedit/jsp.cfm
    Any one interested in collaborating in building this solution let me know.

  • Location of HTML/JSP for Portal Redirection

    Hello,
    Currently, we have a URL for our Portal, consisting of http://localhost:50000/irj/portal.
    When trying to launch the above URL, we would now like the user to be redirected to another URL, which will lead them to the same portal.
    Where can we find the main HTML/JSP page which should contain the redirection command?
    Thanks in advance,
    Gil

    Hi Gil,
    There is an index.html file in directory that Henk already mentioned: "/usr/sap/<SID>/JC<inst#>/j2ee/cluster/server0/apps/sap.com/irj/servlet_jsp/irj/root/"
    This file is called automatically if you browse to <protocol>://<hostname>:<port>/irj
    The only thing it does is replace your current url with the same url + /portal its a way to call the portal application.
    You could do something with that... otherwise go for the solution Hank mentions by editing the web.xml.
    A reverse proxy like apache or web dispatcher could also do the trick... as they somtimes say "there are many ways that lead to Rome"
    Cheers,
    Benjamin Houttuin

  • Reusing HTML layouts with new flvs

    I'm having issues with reusing html layouts for 'newsletter' type pages with updated text and video.  The new flvs don't appear when the updated page is posted to it's unique directory on the client server.
    I've narrowed the issue down to a possible problem with the AS_RunActiveContent.js file.  I need force Dreamweaver to create a new one when the layout is updated.  When I'm developing locally, it seems as though the page references the previously created js file.  When I post the preview to my server, the videos play.  But when I post the html page and image folder to new directory on the client server, the flvs disappear.  Copying the old js file to the new directory on the server doesn't work.
    How do I force Dreamweaver to create a new java script file when I update the content?  Or is there something else I need to do?
    Here's a quick rundown of the process:
    Open old html page and save as w new name in new local folder
    Update text and flvs (updated flvs by completely removing all content in table cell, not just updating the file name properties)
    Upload new folder to my host server
    Once approved, send folder to client
    Client posts folder to their server - and the flv's dissappear.
    Thanks for your help.
    Kristen

    I'm guessing you're using CS3 or earlier. DW does not create a new .js file if one already exists in a given path, nor does it need to.
    I am also guessing that the problem is related to paths. You should probably make all references to that script site-root relative (with the slash in front). ie:
    /Scripts/AS_RunActiveContent.js
    Then upload the Scripts folder to the root of the site. All files in subfolders will still find that script using with that link, including new folders.
    Does that make sense? If not, can you supply a link to one of these problem pages?
    Mark A. Boyd
    Keep-On-Learnin' :-)
    If you are reading this via email, be aware that it may not be an accurate representation of my message. Login to read the actual message and/or to reply.

  • HTML Responsive Layout for tablet and phone is not showing icons correct on a converted help file

    I am using the Responsive HTML Layout in RoboHelp 11.  On all of my new help files, the layout works great and my icons are showing appropriately.  On all of my old help files that were converted, my icons do not fit within bar for the tablet and phone.  I am using the Government Theme (Theme2_Government), but modified the file to have our colors and logos.  I exported the .slz file and I am using the same slz file in all of the help files.  The only help files that are cutting off the icons are the help files that were converted from previous version of RoboHelp.  Any idea why this would happen?

    This is from the converted file showing the icons that are cut off in the blue bar.
    This one is from a new help file and the icons fit within the blue bar.
    The same thing happens the phone layout with the bar at the bottom.

  • Mozilla n' Firefox shows HTML source for JSP(URGENT!!)

    Hi all,
    I have made a web application with JSPs. It seems to work fine with IE. However, with Mozilla and Firefox, it displays the HTML source generated by JSP instead of actually showing the HTML page for that source.
    I'm stumped because I haven't found any other msgs on forums with someone experiencing the same problem. Any help would be appreciated. I need to fix this urgently.
    Thanks
    regards
    Duke
    Message was edited by:
    SeanDaDuke

    Hi,
    I am also facing the same problem. Have you identified any solution for this? Please let me also know the solution.
    Thanks in Advance.
    Regards
    Priya

  • Available Layouts for Creating Portal Page

    Hi, When selecting a layout for creating a Portal Page we are presented with a plethora of available Layouts. 
    1.  What is the difference between the 1 Column (Full Width) and Light: 1 Coumn (Full Width).
    2. Why would there be no Layouts with a Row Type Organization.  Everything is Column Based.  What if I want to Rows?
    thanks for any help.

    Hi Kenneth,
    1. Difference between 1 Column (Full Width) and Light: 1 Coumn (Full Width) is that the second is used for light framework which will not load HTMLB. If you compare the JSP code for the two layouts,  the container definition in light layout is not surrounded by hbj tags.
    2. As Ajay said, you can add multiple iviews in one container and you get multiple rows in a column. You can always create your own layout which can can have rows as well. One such layout from SAP is T-Layout (Top - Full Width; Bottom - Narrow:Wide).
    Regards,
    Min

  • Urgent: How to raise portal trace level for debug?

    Please give all methods to raise different traces for portal.
    Thanks! Points!

    Hi Jennifer,
    Check http://help.sap.com/saphelp_nw2004s/helpdata/en/e2/f410409f088f5ce10000000a155106/frameset.htm
    Best regards, Maksim Rashchynski.

  • Omniportler HTML Layout - How do I pass a parameter to another page?

    How do I pass a parameter to another page from an HTML Layout like I can with the Tabular layout?

    If I have a parameter I can pass it from one page to another, i.e. if I have a list of customers and I want data for that particular customer alone, I can create a page parameter form or an omniportlet where I would then pass the value of that portlet to the page. I would use a string like the following: https://test.test.com/test/page?_pageid=536,7483646&_dad=portal&_schema=test&customer=##CUSTOMER_NAME##

  • Portlets not coming as per layout for the Cutomized layout structure

    I have created new Customized layout for our application.
    I could see the cutomized layout properly in Workshop. When i am adding the portlets to all of the placeholders in layout and running the portal , out put i could see all the portlets are coming in vertical and not as per structure as per i defined.
    COuld not understand why it is happening when it is displaying properly in Workshop IDE.
    One more issue i could not define the Height attribute to the placeholders .How to have cutomized heights for the placeholders?
    Here are the My layout codes
    Homelayout.layout_
    <?xml version="1.0" encoding="UTF-8"?>
    <netuix:markupDefinition xmlns:netuix="http://www.bea.com/servers/netuix/xsd/controls/netuix/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/servers/netuix/xsd/controls/netuix/1.0.0 markup-netuix-1_0_0.xsd">
    <netuix:locale language="en"/>
    <netuix:markup>
    <netuix:layout title="homePageLayout" description="This layout is for home page of the portal"
    skeletonUri="homePageLayout.jsp" htmlLayoutUri="/framework/markup/layout/homePageLayout.html.txt"
    markupType="Layout" markupName="homePageLayout">
    <netuix:placeholder title="top" description="The top most placeholder in this layout."
    flow="vertical" usingFlow="true"
    markupType="Placeholder" markupName="custom_Top">
    </netuix:placeholder>
    <netuix:placeholder title="center" description="The left of center placeholder in this layout."
    flow="vertical" usingFlow="true"
    markupType="Placeholder" markupName="custom_center">
    </netuix:placeholder>
    <netuix:placeholder title="bottomLeft" description="The right of center placeholder in this layout."
    flow="vertical" usingFlow="true"
    markupType="Placeholder" markupName="custom_bottomLeft">
    </netuix:placeholder>
    <netuix:placeholder title="bottomCenter" description="The right most placeholder in this layout."
    flow="vertical" usingFlow="true"
    markupType="Placeholder" markupName="custom_bottomCenter">
    </netuix:placeholder>
    <netuix:placeholder title="bottomRight" description="The right most placeholder in this layout."
    flow="vertical" usingFlow="true"
    markupType="Placeholder" markupName="custom_bottomRight">
    </netuix:placeholder>
    </netuix:layout>
    </netuix:markup>
    </netuix:markupDefinition>
    homeLayout.html.txt_
    <table class="portalLayout" id="thePortalLayout" width="100%" height="100%">
    <tr height="40%">
    <td colspan="3" class="placeholderTD" valign="top" width="100%" >
    <placeholder number="0"/>
    </td>
    </tr>
    <tr height="10%">
    <td height="10%" colspan="3" class="placeholderTD" valign="top" width="100%">
    <placeholder number="1"/>
    </td>
    </tr>
    <tr height="50%">
    <td class="placeholderTD" valign="top" width="25%">
    <placeholder number="2"/>
    </td>
    <td class="placeholderTD" valign="top" width="50%">
    <placeholder number="3"/>
    </td>
    <td class="placeholderTD" valign="top" width="25%">
    <placeholder number="4"/>
    </td>
    </tr>
    </table>
    Skelnton JSP*
    <%@ page import="com.bea.netuix.servlets.controls.layout.PlaceholderPresentationContext,
    com.bea.netuix.servlets.controls.layout.BorderLayoutPresentationContext"%>
    <%@ page import="java.util.List" %>
    <%@ page import ="com.bea.netuix.servlets.controls.layout.LayoutPresentationContext"%>
    <%@ page session="false"%>
    <%@ taglib uri="http://www.bea.com/servers/portal/tags/netuix/render" prefix="render" %>
    <%
    LayoutPresentationContext layout = LayoutPresentationContext.getLayoutPresentationContext(request);
    List children = layout.getChildren("layout:placeholder");
    PlaceholderPresentationContext custom_Top =
    (PlaceholderPresentationContext) children.get(0);
    PlaceholderPresentationContext custom_center =
    (PlaceholderPresentationContext) children.get(1);
    PlaceholderPresentationContext custom_bottomLeft =
    (PlaceholderPresentationContext) children.get(2);
    PlaceholderPresentationContext custom_bottomCenter =
    (PlaceholderPresentationContext) children.get(3);
    PlaceholderPresentationContext custom_bottomRight =
         (PlaceholderPresentationContext) children.get(4);
    %>
    <render:beginRender>
         <table border="0" ... write style attributes ... cellspacing="0" >
              <tr>
                   <td colspan="3" class="bea-portal-layout-placeholder-container"
                        <render:writeAttribute name="width" value="<%=custom_Top.getWidth()%>"/>>
    <render:renderChild presentationContext="<%=custom_Top%>" /></td>
              </tr>
              <tr>
                   <td colspan="3" class="bea-portal-layout-placeholder-container"
                        <render:writeAttribute name="width" value="<%=custom_center.getWidth()%>"/>><render:renderChild
                        presentationContext="<%=custom_center%>" /></td>
              </tr>
              <tr >
                   <td class="bea-portal-layout-placeholder-container"
                        <render:writeAttribute name="width" value="<%=custom_bottomLeft.getWidth()%>"/>><render:renderChild
                        presentationContext="<%=custom_bottomLeft%>" />
                   </td>
                   <td class="bea-portal-layout-placeholder-container"
                        <render:writeAttribute name="width" value="<%=custom_bottomCenter.getWidth()%>"/>><render:renderChild
                        presentationContext="<%=custom_bottomCenter%>" />
                   </td>
                   <td class="bea-portal-layout-placeholder-container"
                        <render:writeAttribute name="width" value="<%=custom_bottomRight.getWidth()%>"/>><render:renderChild
                        presentationContext="<%=custom_bottomRight%>" />
                   </td>
              </tr>
         </table>
    </render:beginRender>

    Sanket,
    First test it using ADF Business Components tester. Does it work there?
    If not, check your view link definition.
    If so, make sure you have defined the correct View Object Usages in your application structure file.
    Steven Davelaar,
    JHeadstart Team.

  • Where is the HTML-Code for the Dashboard-Links defined? How to edit it?

    Hello everyone,
    I'd like to know where HTML-Code for the Dashboard-Links (My Dashboard, insert random Dashboardname here, ...) is defined.
    Inspecting HTML-Code via the browser, i'll got the following HTML-Tag:
    an <a'' href="...url"... class="CurrentPortal" name="DashboardBannerLink" title="...">Dashboard-name</a''>
    What i know is, that i can modify portalbanner.css and edit the style of those links.
    But thats not what i want, though. I want to modify the html-code itself, for example change the layout of the table etc, to meet our company's corporate design requirements.
    Thats why i tried to find the terms PortalLink and CurrentPortal within the Message-Database (/msgdb).
    Unfortunately, i got no results.
    As a consequence, I believe HTML for those Links is generated by saw.dll internally and therefore can not be edited.
    Now i need someone to prove me wrong ;)
    Thanks in advance,
    Chris
    Edited by: Chris2010 on 16.08.2010 11:11
    -had to edit the html tag, as the code was turned into a clickable link when i posted the thread

    I still didn't find a solution until now, although i checked almost every xml file, that i was able to find.
    At the moment I am sure, that it would be necessary to edit sawm-Parameter "bannerHtml" to meet my requirements. Now, i dont know whether its possible to edit it or not, since those saw-parameters do not seem to be documented on the web.
    That's the part, i found in dashboardtemplates.xml (Line: 362)
    <WebMessage name="kuiDashboardBanner" translate="no"><!-- Param bannerHtml --><!-- Param dashboardsURL -->
    <HTML>
    <table class="PortalBanner" width="100%" border="0" cellspacing="0">
    <tr>
    <td class="PortalLogo">
    "<\a href="@{dashboardsURL}">
    <img class="PortalLogoImage" border="0" src="fmap:Portal/PortalLogo.gif"/></a>
    "</td>
    <td class="PortalTop" style="vertical-align:top">
    <sawm:param name="bannerHtml"/></td>
    </tr></table>
    <sawm:messageRef name="kuiDashboardMainBar"><sawm:setParam name="product">dashboard</sawm:setParam></sawm:messageRef>
    </HTML></WebMessage>
    -----

  • HTML Template for Items

    I'm working on creating an HTML template for use with and Item type portlet on Portal 10.1.4. I have the items themselves rendering as I want with the layout I want but I'm having an issue with the item categories. Since the template renders itself for each item, how do I add the category to the layout so that it renders similar to the portal default, which is grouped by category. The category is displayed once and the items assigned to that category are listed below it. If I add the category substitution tag to the template the category name is rendered along with each item. If there are 14 items in one category then the same category displays 14 times.
    Does anyone have any ideas on how to accomplish this? Thanks in advance.

    You don't.  That isn't how Web Dynpro works.  The architecture is such that it abstracts the HTML/JavaScript rendering of the output.  You place a UI element on the screen and only a metadata reprsentation of the screen is created at design time.  At runtime different rendering engines can be applied to produce the final output.  This allows SAP to add new rendering engines and to improve the rendering engines over time without having to adjust the applicaitons itself. This makes Web Dynpro sutiable for producing Business Transactions, but not general web pages.  It also gives us the flexibility to render Web Dynpro in HTML/JavaScript, a desktop client (.Net 3.0 and WPF), and a RIA client (Adobe Flex).
    You can alter the theme of the WDA application when running in HTML rendering.  The theme gets automatically inherited from the NetWeaver Portal - or you can apply a stanalone theme when running without the portal.  Theming allows for some basic changes of color scheme and branding elements - but is not the same as applying a complete HTML template.

  • Unable to change keyboard layout for all users on Windows Server 2012 R2

    Hi,
    I have a requirement where I need to support national keyboard layout for Danish for all users on that machine. When I ran the powershell with script Set-WinUserLanguageList
    -LanguageList da-DK it only sets the Danish keyboard layout to the specific logged in user.However the for other users its same English(US) keyboard which is not expected.
    Please help me how to set the Danish keyboard for all users on the machine. Its Urgent!Thanks

    Hi Mike,
    Thanks for reply.
    But I need to configure everything using powershell script. Is it possible to use powershell script to setting group policy/ adding logon script ?
    These are pretty basic administration tasks and almost always quicker to accomplish with the GUI. Why do you want to use a PowerShell script?
    EDIT: Here's some information on the topic however:
    https://technet.microsoft.com/en-us/library/cc781361%28v=ws.10%29.aspx
    http://blogs.technet.com/b/heyscriptingguy/archive/2011/01/06/use-powershell-and-group-policy-for-your-logon-script.aspx
    Don't retire TechNet! -
    (Don't give up yet - 13,225+ strong and growing)

  • Error in layout for UDO

    Hello everyone,
    I have a problem with the launch of the report from a user Form.
    I created a layout for my UDO, I created a Form for UDO and I connected the layout to the mask.
    The report parameter is a standard SAP token (DocKey@).
    When I launch the preview is returned the error "Format of the input string is incorrect." if I insert the parameter in Crystal Report mask that appears after, the printing is working properly.
    In the attachment post is said that taking away the value of the ObjectType defined for the form,the report should work; unfortunately this is not a solution because doing it SAP can not handle events, and the mask is no longer possible to navigate between documents.
    [View Crystal Report Layout for my UDO Form]
    I'm doing something wrong or is it a bug? Do you know any case where there is a workaround?
    I work with SAP 8.81 PL04
    Thanks,Enrico.

    hi,
    check the JSP file name "Sample.jsp", "s" caps or small. 
    In portlapp.xml file give same name for <component name="<b>Sample</b>"> and
    <property name="com.sap.portal.reserved.layout.TemplateFile" value="<b>sample</b>.jsp"/>. Component name & jsp file name should be same...
    Regards,
    Senthil K.

Maybe you are looking for