HTML Portlet Error

The insert html wizard (HTML Portlet)seems to reject code in certain instances even where that html is well formed. The following error is generated:
(WWC-00000).
The HTML used is below. Is there a limited on the size of HTML?
Thanks in advance
<html>
<body leftmargin="0" topmargin="0">
<table border="0" cellpadding="0" cellspacing="0" width="872">
<tr height="62">
<td colspan="15"><img src="http://orcldb/pls/cportal/docs/FOLDER/IMGS/cablenet2.jpg" width="872" height="62" alt="" border="0"></td>
</tr>
<tr height="23">
<td width="124" height="23" align="left" valign="top">
<img width="124" src="http://orcldb/pls/cportal/docs/FOLDER/IMGS/curve01.gif" border="0"></td>
<td width="3" height="23" align="left" valign="top">
<img SRC="http://orcldb/pls/cportal/docs/FOLDER/IMGS/but01off.gif" name="hb" BORDER="0" ALT="HomePage"></td>
<td width="50" height="23" align="left" valign="top"><img height="26" width="50" src="http://orcldb/pls/cportal/docs/FOLDER/IMGS/tophome.gif" border="0"></td>
<td width="3" height="23" align="left" valign="top">
<img SRC="http://orcldb/pls/cportal/docs/FOLDER/IMGS/but01off.gif" name="lb" BORDER="0" ALT="Login"></td>
<td width="50" height="23" align="left" valign="top"><img height="26" width="50" src="http://orcldb/pls/cportal/docs/FOLDER/IMGS/login.gif" border="0"></td>
<td width="3" height="23" align="left" valign="top">
<img SRC="http://orcldb/pls/cportal/docs/FOLDER/IMGS/but01off.gif" name="c2" BORDER="0" ALT="Register"></td>
<td width="62" height="23" align="left" valign="top"><img height="26" width="62" src="http://orcldb/pls/cportal/docs/FOLDER/IMGS/register.gif" border="0"></td>
<td width="3" height="23" align="left" valign="top">
<img SRC="http://orcldb/pls/cportal/docs/FOLDER/IMGS/but01off.gif" name="d" BORDER="0" ALT="FAQ"></td>
<td width="42" height="23" align="left" valign="top"><img height="26" width="42" src="http://orcldb/pls/cportal/docs/FOLDER/IMGS/faqtop.gif" border=0></td>
<td width="3" height="23" align="left" valign="top">
<img SRC="http://orcldb/pls/cportal/docs/FOLDER/IMGS/but01off.gif" name="thb" BORDER="0" ALT="Help"></td>
<td width="42" height="23" align="left" valign="top"><img height="26" width="42" src="http://orcldb/pls/cportal/docs/FOLDER/IMGS/helptop.gif" border=0></td>
<td width="3" height="23" align="left" valign="top">
<img SRC="http://orcldb/pls/cportal/docs/FOLDER/IMGS/but01off.gif" name="e" BORDER="0" ALT="Contact Us"></td>
<td width="64" height="23" align="left" valign="top"><img height="26" width="64" src="http://orcldb/pls/cportal/docs/FOLDER/IMGS/contactus.gif" border="0"></td>
<td width="139" height="23" align="left" valign="top">
<img height="26" width="139" src="http://orcldb/pls/cportal/docs/FOLDER/IMGS/bar02.gif"></td>
<td width="227"><img src="http://orcldb/pls/cportal/docs/FOLDER/IMGS/end.gif" border="0"></td>
</tr>
</table>
</body>
</html>
null

What you need to do is to remove your head and body tags from the HTML that you inserted into the HTML portlet.
The HTML portlet is designed to take HTML that is within the <BODY> of a page, and not the entire HTML page source that you have. Keep in mind that a portal page is basically comprised of a set of nested HTML tables, so any HTML that you insert into a HTML portlet is basically HTML code that is being inserted into a HTML table cell.
Best Regards,
Harry
Thanks,
Harry

Similar Messages

  • Can I use JavaScript HTML Portlet and PDK Portlets

    Can I use JavaScript HTML Portlet and PDK Portlets?
    My Script works fine with the an HTML portlet but it always gives a an Error Message in the status bar is that normal...
    Other then that I have JavaScript in my PDK portlet page it does not work.. it is the the same javascript I use for in my HTML portlet which works in HTML portlets..

    You'll have to place your JavaScript in the header section of your Portal page. To do so, use HTML/UI templates. For more information, refer to the How to Design and Build Compelling Portal Interfaces whitepaper.
    Good luck,
    Peter

  • Importing Pages containing HTML Portlets

    Hi All,
    I am trying to import several pages each containing one or more HTML Portlets. The import goes through fine.
    But, the content of all the HTML Portlets have been modified to be the same as the last HTML portlet imported.
    Also sometimes the HTML Portlet would come up saying "No HTML content available at this time".
    Appreciate your help.
    Thanks,
    Gopi.

    I found this to be set somewhere is the security, When I log in with my ID, I can see the content. When I log in as a test user I get the error: "There is currently no HTML content. " I've tried testing differet rights both at the user and group level. However I have not had any luck finding where it is.

  • Edit HTML Portlet (WWC-00000)

    Hi,
    If I try to EDIT my HTML portlet I get a nice WWC-00000 error, no other error number or whatsoever.
    portal version: 9.0.4.1.0 (Build: 205)
    Suggestions?
    Thx B

    Well the problem is:
    "WWC-00000: Normal, successful completion
    Cause: The operation was successful if this message is displayed by itself. Unexpected errors may have occurred if other messages accompany this message.
    Action: None, if this message is displayed by itself. If other messages accompany this message, review the information in those error messages and take corrective action."
    There are no other messages but the WWC-00000...the completion is far from succesful because I can not edit the portlet.
    Message was edited by:
    Ratjeuh
    Message was edited by:
    Ratjeuh

  • How to change the background color only for one HTML-Portlet?

    Hi all,
    I have created a HTML-Portlet in my root-page. The root page have a style: Main-Style.
    I want to change the background-color only for this one HTML-Portlet:
    <html>
    <header><title>Test</title></header>
    <body bgcolor="#999999">
    Test
    </body>
    </html>
    But this does not work...
    When I use the CSS, then it will change the background-color for the root-page too.
    Thans
    Leonid Pavlov

    could you try this
    <table bgcolor="#999999">
    <tr>
    <td>
    test
    </td>
    </tr>
    </table>
    I don't think you need <html><header><title>Test</title></header>
    <body></body></html> for your HTML-Portlet.

  • How can I trap & display HTML syntax errors in mx:HTML at run time?

    I am loading HTML pages into an mx:HTML component in an AIR application. If the HTML contains errors, they show up in the trace window in debug mode.  I'd like to trap that information so I can tell the usere that there are errors (and what they are) in the production version of the application. How can I get at those errors?

    I found it myself how to do it. The error says that it is not able to find the reference object i.e  it is asking us to refer to the table. The following piece of code will solve this problem. Have to implement this in WDDOMODIFYVIEW method of the view. This thing works comrades enjoy...
      DATA : lr_cmp_usage TYPE REF TO if_wd_component_usage,
             lr_if_controller  TYPE REF TO iwci_salv_wd_table,
             lr_cmdl   TYPE REF TO cl_salv_wd_config_table,
             lr_col    TYPE REF TO cl_salv_wd_column.
      DATA : node_year  TYPE REF TO if_wd_context_node,
             elem_year  TYPE REF TO if_wd_context_element,
             stru_year  TYPE if_alv_layout=>element_importing,
             item_year  LIKE stru_year-i_current_year,
             lf_string    TYPE char(x),
      DATA: lr_column TYPE REF TO cl_salv_wd_column.
      DATA: lr_column_header TYPE REF TO cl_salv_wd_column_header.
      DATA: lr_column_settings TYPE REF TO if_salv_wd_column_settings.
    Get the entered value from the input field of the screen
    node_year  = wd_context->get_child_node( name = 'IMPORTING_NODE' ).
    elem_year  = node_year->get_element( ).
      elem_year->get_attribute(
       EXPORTING
        name = 'IMPORT_NODE-PARAMETER'
       IMPORTING
        value = L_IMPORT_PARAM ).
      WRITE L_IMPORT_PARAM TO lf_string.
    Get the reference of the table
      lr_cmp_usage  =  wd_this->wd_cpuse_alv( ).
      IF lr_cmp_usage->has_active_component( ) IS INITIAL.
        lr_cmp_usage->create_component( ).
      ENDIF.
      lr_if_controller  = wd_this->wd_cpifc_alv( ).
      lr_column_settings = lr_if_controller->get_model( ).
    get column by specifying column name.
      IF lr_column_settings IS BOUND.
        lr_column = lr_column_settings->get_column( 'COLUMN_NAME').
    set Header Text as null
        lr_column_header = lr_column->get_header( ).
        lr_column_header->set_text( lf_string ).
    endif.

  • How to upload images in HTML portlet

    Hi,
    We want to allow users to add their HTML thru HTML portlets - there are two issues
    1.How to upload the images that are part of HTML.
    2.The <a> </a> doesn't work within the portal framework.
    Thanks
    Sachin

    Hi,
    You could also try giving the absolute URL to the image. This assumes you're using OC4J(Oracle Containers for J2EE), our J2EE compliant container. On your os, navigate to the following directory:
    oc4j_home\j2ee\home\default-web-app. Create an images directory so the physical path becomes:
    oc4j_home\j2ee\home\default-web-app\Images. Store your images in this directory. Startup oc4j by going to a command prompt and entering java -jar oc4j.jar at the oc4j_home\j2ee\home.
    In your browser: http://hostname.domain:8888/Images/somegif.jpg. You can use the url in your <img src> tag in HTML.
    Hope that helps. Please repost to this forum if you have further questions/issues.
    Thanks,
    Sudi Narasimhan
    Oracle9iAS Portal Partner Management

  • Link in HTML Portlet not working

    I have a HTML Portlet which has the following code
         Back to Top
    This link works fine in a stand alone html file. On click of 'Back to Top', it takes to top of the document. But if the code is embedded in html portlet, it takes to previous page accessed. I understand that the portlet is not able to understand that it needs to go to top of the object. How to fix this?

    Hi Sakthi,
    When you hower over the Back To Top link, what does it show in the status bar? Is it just prepending #top to your existing browser link? Or is it pointing to the previous page?
    Secondly as Ido mentioned, you could always embed an anchor on your page template and refer to it.
    As far as javascript is concerned, you could try something like document.scrollTo(0,0);
    I am not sure if it works on IE and Firefox the same or not, but you could give it a shot.
    thanks,
    Harsha

  • How to use Custom Search in Dynamic Page or HTML Portlet ?

    Gurus,
    1. I have a tab called My Space in the portal web site, where user gets a personalized view of the content.
    2. I am using custom attributes and custom item types. I have a custom attribute called 'Location', which is a attribute of custom item types.
    3. I have 2 pages - News and Events.
    4. All the content in News and Events page is tagged by the attribute 'Location'.
    5. The requirement is to let the user search the News and Events by Location.
    6. To achieve this I used the Custom Search portlet and the user can select the attribute Location and see the resultant News and Event items by location in the Search portlet.
    7. The requirement is to present the News items and Event items in separate regions on the page and show only the first 5 News and Event items in the result and show a More link which would guide the user to rest of the News and Event items.
    8. Eventually there may be more content other than News and Events tagged by location. If so, the requirement is to create a new region and display the new content.
    9. How would I do this using custom search ? I was thinking if there is anyway I could use the custom search api (where can i find it ?) in the HTML portlet or Dynamic page and submit the result to IFRAMES in each region and show the output ?
    Pls advise.
    Thanx a bunch.

    I would suggest that you use two custom search portlets; one for the news items and one for the events items. Switch the custom search portlets to "AutoQuery" mode and add the relevant criteria. On the results display tab of the the "edit defaults" screen, choose to show just 5 items.
    To add a link to show the user mode results, I'd create two new pages that have just a single custom search portlet on it that is customised to show more of the results and maybe has the pagination links enabled.
    Then I'd add two "Page Link" items underneath the two news and events portlets on the first page in an item region.
    I'm sure there are other ways of doing this as well. Hope that helps to get you started.

  • Html Portlet links displaying in another portlet on the same page

    I have seen similar posts but no detailed explaination of how this is done.
    I have an html portlet with links whose content I would like to display in an inline rendering portlet on the same portal page. How can I pass the link url from the html portlet to the inline rendering portlet?
    Thanks,
    Robyn

    If your environment is fairly static, you can handle this easily.
    The link in your HTML portlet must refer to the page URL of the portal page on which the HTML portlet resides (which changes from portal page to portal page), to which you need to append the parameter that your "inline" portlet (under which I'm not sure what you mean) reads:
    <a href="http://<portal_page_url>&my_param=value">click here</a>Is this close to what you're willing to do?

  • How to display current user using HTML portlet

    Hello,
    Is it possible to show any text such as Greeting, Current User (ex, Hello, Kevin) using HTML portlet. Can I use <oracle></oracle> tags to get the current user from the API?
    Please suggest me.
    Thanks,
    Satish

    Thanks for your suggestion. There is also another way for this:
    In a Portal text field (CMS item) you can type
    #USER# to display the username of the authentificated user or
    #USER.FULLNAME# to display the full name.
    Thanks,
    Satish

  • Dynamic List of Values in HTML Portlet

    I need to create a dynamic lov that selects the emp name and id from the emp table. This needs to be placed in a HTML portlet. I tried creating a LOV from the applications in portal but I think it needs to be tied to a form/report. I tried creating manually (code below) but it doesn't seem to grab the info from the cursor.
    Any ideas on how to do this or what is wrong with the code?
    <table width="145" border="0" cellspacing="0" cellpadding="4">
    <tr><td><b><FONT class="PortletText1"> View Child Information:</font></b>
    <table width="135" border="0" cellspacing="0" cellpadding="1">
    <form method="post" action="../utilities/switchschools.asp?ci=yy" name="childInfo">
    <tr>
    <td align="left" valign="bottom"><!-- Width set for sake of nav bar. -->
    <select name="student" style="width:137px" onChange="SubmitChildList()">
    <ORACLE>
    declare
    CURSOR get_emp IS
    select A.ename empname, A.empno id
    from emp
    order by 1;
    begin
    FOR emp_loop in get_emp LOOP
    htp.p('<option value= ' || emp_loop.id || '>';
    htp.p(emp_loop.empname || '</option>';
    END LOOP;
    end;
    </ORACLE>
    </select>
    </td>
    <td align="right" valign="bottom">
    <input type="image" title="Go" name="go" id="go" src="/images/go.gif" width="22" height="16" border="0" alt="Go" onclick="return childCheck();">
    </td>
    </tr>
    </form>
    </table>
    </td></tr>
    </table>

    Hi,
    You could make use of the application build tools avail .You could create a LOV based on the query and then use if while creating a form.You also create dynamic lovs within oracle form.
    or you could create a dynamic page with the lov and write a javascript function which on change of the lov would be redirected to some page.
    Thanks,
    Anu

  • Testing execution of 6i reports from a HTML portlet

    How can I execute an Oracle 6i report from a portal30 HTML portlet. The HTML command looks something like this "C:/reports_6i_runtime.exe userid=user_account/password@connect_string H:/report_6i.rep" I get the message "page cannot be displayed".
    When I create a shortcut on the desktop and call the shortcut with this command "C:\Desktop\report_6i.rep" it will execute. This is not an option.

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Steven Leung ([email protected]):
    It looks like you are trying to call a URL on your local machine. If this is the case, you may need to format your URL as:
    file://c|/blah/
    or something to that effect. I believe it needs to be a proper URL if you are calling it from your local filesystem.
    You may get a better response from the Reports forum.
    <HR></BLOCKQUOTE>
    I did try using "file://" in my HTML, with the same results.
    I was able to get the reports runtime to come up when I executed it from the windows run command line, but it did not accept either parameter I passed.
    The command did not run at all from the browser.
    null

  • Frame can't be used in HTML portlet ?

    Hi,
    Is it possible to use frame (using frameset tag) in HTML portlet ?
    Thanks

    Yes, it's possible as following:
    FRAMESET in a Portal template and IFRAME in a portlet or in a template.
    Patrick.
    Edited by: pmonaco on Mar 19, 2010 3:23 PM
    Edited by: pmonaco on Mar 19, 2010 3:24 PM

  • UCM - WebCenter  + HTML 404 error

    Hi all,
    I have installed last WebCenter and UCM 11G (11.1.1.5) and OHS is configured, up and running, and http://apricot.xxx.ch/cs is accessible,
    BUT I still have the HTML 404 error, when I try to access profiles forms (for upload, or edit properties)
    My connection.xml :
    <Reference name="UCM11GApricot" className="oracle.vcr.jam.JamRepository" credentialStoreKey="UCM11GApricot" xmlns="">
    <Factory className="oracle.vcr.jam.JamRepositoryFactory"/>
    <RefAddresses>
    <StringRefAddr addrType="oracle.vcr.jam.factoryClassName">
    <Contents>oracle.jcr.OracleRepositoryFactory</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="oracle.vcr.jam.repositoryClassName">
    <Contents>javax.jcr.Repository</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="oracle.vcr.jam.repositoryTypeID">
    <Contents>oracle.stellent.jcr</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="oracle.vcr.jam.authenticationMethod">
    <Contents>IDENTITY_PROPAGATION</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="oracle.jcr.framework.version">
    <Contents>11.1.0.0.0</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="oracle.jcr.configuration.className">
    <Contents>oracle.stellent.jcr.IdcRepositoryConfiguration</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="oracle.jcr.configuration.factoryClassName">
    <Contents>oracle.stellent.jcr.IdcRepositoryConfigurationFactory</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="jcr.repository.version">
    <Contents>10.1.3.2.0</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="oracle.stellent.jcr.configuration.cis.config.socket.type">
    <Contents>socket</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="oracle.stellent.jcr.configuration.server.host">
    <Contents>apricot.xxx.ch</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="oracle.stellent.jcr.configuration.server.port">
    <Contents>4444</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="oracle.stellent.jcr.configuration.server.web.contextRoot">
    <Contents>/cs</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="oracle.stellent.jcr.configuration.server.admin.username">
    <Contents>weblogic</Contents>
    </StringRefAddr>
    <SecureRefAddr addrType="oracle.stellent.jcr.configuration.server.admin.password"/>
    </RefAddresses>
    </Reference>

    ah yes...
    Entering credentials are required unless you install and configure OAM... That's the only solution.
    The other issue with the session is a big one... According to initial information from Oracle, what you are doing is not fully supported and only works in webCenter spaces. However this can be resolved by adding a very simple thing in the weblogic.xml
    read this post: http://yonaweb.be/enable_site_studio_features_webcenter_portal_0
    it's the part at the ending about the cookie-path.
    it took me a few days to resolve that issue so the above post is very valuable...

Maybe you are looking for