Alternative to f:verbatim to use custom DIV classes?

I have some pages with panelCustomizable facets containing simple HTML like so:
<f:verbatim>
<div class="tableClass">
<table cellpadding="0" cellspacing="0">
<tr>
<td colspan="2"><h2>TABLE TITLE</h2></td>
</tr>
</f:verbatim>
At runtime, in "*Edit mode*", when I try to "*Add Content*" - the page hangs with a message about "stopping long-running script" which point to core11.1.1.3.js line 4569
By some trial and elimination - i think this is due to usage of f:verbatim tag- so whats the alternative?
I could use included HTML snippets stored off the file system (as shown in Avitek sample) but the data will eventually be dynamic and coming from data controls - to which i want to add some formatted text

Yannick - you are so right.
I once added some plain text in Design view which automatically got wrapped in <f:verbatim> and I assumed all plain HTML needed it.
Now this leads me to new exceptions which I will try to fix
java.lang.NullPointerException
     at oracle.jbo.uicli.binding.JUMethodIteratorDef$JUMethodIteratorBinding.hasRefreshParametersChanged(JUMethodIteratorDef.java:541)
     at oracle.jbo.uicli.binding.JUMethodIteratorDef$JUMethodIteratorBinding.executeQueryIfNeeded(JUMethodIteratorDef.java:334)
     at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3185)
     at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2845)
     at oracle.adf.controller.internal.binding.TaskFlowRegionController.doRegionRefresh(TaskFlowRegionController.java:227)
     at oracle.adf.controller.internal.binding.TaskFlowRegionController.refreshRegion(TaskFlowRegionController.java:119)
     at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3143)
     at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2845)
     at oracle.adf.controller.internal.binding.TaskFlowRegionController.doRegionRefresh(TaskFlowRegionController.java:227)
     at oracle.adf.controller.internal.binding.TaskFlowRegionController.refreshRegion(TaskFlowRegionController.java:119)
Edited by: new_to_webcenter on 24-Jan-2011 02:42

Similar Messages

  • Using Custom Java Class - WorkflowRegistry.xml

    I am using a custom java class in workflow. While executing I am getting errot -
    com.waveset.util.WavesetException: Class com.LdapGroupMod is not a WorkflowApplication
    It seems from documentation that I need to add this in workflowregistry.xml file. I added the same like given below -
    <WorkflowApplication name='Workflow Name'
    class='com.LdapGroupMod'>
    <Comments>Nothing Here</Comments>
    </WorkflowApplication>Even tried restaring the application server but I am still getting same error. Any idea what needs to be done here? or I am missing smething?

    Well the first thing would be to read the workflowRegistry.xml file. The header talks about internal and external applications and so on. The crucial part is that any application registered must implement the WorkflowApplication interface (which I guess your class dont do)
    I gave up. I am totally baffled by the documentation. I admit it.
    What I did was to create an Script action in an Activity where the script used Xpress to invoke my class. It seems to work.

  • Force JAXB  to use custom base class on a per complexType basis?

    I know I can <superClass="Blah"> in <globalBindings> to make all classes use "Blah" as a super class. Is there a way to get a complexType to use its own user defined base class?
    I'd like the JAXB compiler to generate the following classes for the schema below:
    What I'd like JAXB compiler to create:
    class A extends MyUserDefinedAbstractA{}...
    class B extends MyUserDefinedAbstractB{};For my own base classes:
    abstract class MyUserDefinedAbstractA {}
    abstract class MyUserDefinedAbstractB {}Based on the following schema:
    <complexType name="A"> .... </complexType>
    <complexType name="B"> .... </complexType>What is the alternative if I can't do the above? I'd like the generated classes to more than just hold data. I'd like them to have methods that can operate on the data as well.
    Regards,
    Monty
    Edited by: CuriousJorj on Jul 9, 2008 6:33 AM
    Edited by: CuriousJorj on Jul 9, 2008 6:35 AM

    There are some Safari extensions that can block JavaScript by domain, but you'll have to search for them.

  • Creating users using custom made class/UI in portal

    This is what i have to achieve,
    I need to create an interface in portal which will,
    1. Create users in the OID where the users extend a class which i have created in OID with my custom attributes.
    2. Then create them in portal and then assign them to default groups which will depend on a parameter in the user creation form.
    From reading various documents in Metalink and OTN i have understood that the wwsec_api package allows us to do all this except that it is all for a user which will extend a predefined set of classes.
    So i decided to do this
    1.Make entries into the OID using the DBMS_LDAP package using commands like
    emp_vals(1) := p_first_name;
    DBMS_LDAP.populate_mod_array(emp_array,DBMS_LDAP.MOD_ADD,'firstName',emp_vals);
    retval := DBMS_LDAP.add_s(emp_session,emp_dn,emp_array);
    2.Fire the wwsec_api.add_portal_user to create the portal user and then activate and assign him to the default group after running the provsyns.sql file
    The problem i face is that i get errors when i execute the said procedure from any other schema other than portal.
    When the procedure is recreated in the portal schema and executed it works fine.
    So i decided to create the entire package in the portal schema itself.
    Now the problem i face is that the proc would execute fine on the sql prompt but fail when called from the form created in portal based on this procedure.
    I found out that the execution fails when the wwsec_api.xxx calls are made.
    The exceptions are not specific and have the error code 1 => user defined exception
    To have a workaround for this i directly inserted into the wwsec_person$ table with no values for the GUID column( I know this is not recommended but i gave it a try)
    The insert worked fine but i still had to set his default group.I tried updating the rows for the user to set the default_group column but there seems to be a trigger on it which causes the update to fail.
    Also when i check up the wwsec_person$ table there two rows for each user that i created ,one without the GUID/default_group and the other with the GUID/default_group.I guess this is because of the trigger.
    If i try using the wwsec_api.set_defaultgroup api, the proc fails.
    It is quite interesting to note that all the steps mentioned above, grant access to the user to portal.
    But the place it fails is while setting the default group for the same which is of prime importance to me.
    Also because I am inserting directly into the tables i have also to delete them when the user is deleted, this is because i again cannot execute the delete_portal_user in the wwsec_api package from the browser.
    Surprisingly the wwsec_api.create_list function works fine.
    Once i have created the users all the manipulations like changing group memberships etc become easy as i just modify the required details in the OID itself.
    What i need is a proper/safe way to do what i have just mentioned above.
    Please help out ASAP as this is urgent.
    Regards,
    KK

    Based on your requirements, you should go about things a little differently...
    You have written your custom DBMS_LDAP code to create and populate the user entry including your custom objectclasses - good.
    You don't need to create the user profile in the Portal schema at all.
    To set the default group, just set the orcldefaultprofilegroup attribute in the user entry in OID. This should be set to the DN of the default group.
    When the user logs on, his profile will automatically be created, and the default group will also sync up with the user entry in OID (patch required - 2830252).
    Also, you should have DIP provisioning running so that updates to the orcldefaultprofilegroup attribute in OID are subsequently conveyed to the portal schema. It will also take care of automatically deleting the user profile from the portal if the user is removed from OID.
    Please see the Portal Configuration Guide on how to enable and activate the Directory Integration Platform (DIP) provisioning integration between OID and Portal

  • Use custom AS  Class in MXML

    Hi,
    I have a custom class which extend button, and parameters is
    needed in constructor.
    when I try to put the class in MXML as visual compoents such
    as <mx:customButton />
    ArgumentError: Error #1063: Argument count mismatch on ____
    Expected 0, got 1.
    Appearently the parameters for the constructor is missed. but
    how can i pass the parameters in the tag?
    Thanks in advances.
    C.

    You can't use arguments on the constructor in MXML. Aside of
    anything else, there's no way to pass them. Your options are - if
    you want to use the same component from AS and really want those
    constructor arguments, is to make them optional:
    public customButton(myArg:String=null)...
    The attributes specified in the MXML will be assigned to
    public properties by the same name once the instance has been
    created. So if you want to be able to say:
    <mx:customButton myArg="hello"/>
    You'll need to do something like:
    public class customButton extends Button{
    public var myArg:String;
    By the way it's conventional to use uppercase to start the
    name of a class, and lowercase to start the name of an instance. So
    it would be conventional to call your class CustomButton.
    Tim

  • Creating data dictionary type using custom java class

    Hi Experts,
    I have a situation involving the TableSorter mechanism as described here:
    In order to do my sorting correctly, I've created my own Java class implementing the Comparable interface. Based on this class, I need to define my own data dictionary type to be used in a context/table.
    However, I cannot se how this could be achieved as standard Data Dictionary elements can only be based on simple built-in types. Any ideas?
    Kind regards,
    Rasmus Røjkjær Ørtoft

    Hi,
    have you tried to use the following steps while creating your attribute
    1) Right click on the context
    2) New->Attribute
    3) Manually-> Provide a name for the attribute
    4) Browse->Select java native type and select your class
    regards
    Ayyapparaj

  • Can I use multiple p class="logos" tag with the same name within the same html page?

    I was told not to use <div class> tags too many times. I was using them for text, images, to clear floats, I basically built my website using multiple <div class> tags. So if I can't use multiple <div class> tags could I use <p class> tags multiple times in the same html page?
    I have a string of logos at the bottom of my webpage which will all be using the same css characteristics for all logos. Would this be the proper way to write the code:
    HTML
    <p class="logos">Logo1<a href="...></a></p>
    <p class="logos">Logo2<a href="...></a></p>
    <p class="logos">Logo3<a href="...></a></p>
    <p class="logos">Logo4<a href="...></a></p>
    <p class="logos">Logo5<a href="...></a></p>
    <p class="logos">Logo6<a href="...></a></p>
    CSS
    .logos {
    margin-left:10px;
    Here's my website: http://www.darbymanufacturing.com/test_website/index.html - this is the website built with all div class tags
    I restarted the website in order to write the code properly so that I don't come to errors when uploading on the server like I am having with the website link above.

    Instead of writing something like this -
    <p class="logos">Logo1<a href="...></a></p>
    <p class="logos">Logo2<a href="...></a></p>
    <p class="logos">Logo3<a href="...></a></p>
    <p class="logos">Logo4<a href="...></a></p>
    <p class="logos">Logo5<a href="...></a></p>
    <p class="logos">Logo6<a href="...></a></p>
    Why not have something like this -
    <div id="logodiv">
    <p>Logo1<a href="...></a></p>
    <p>Logo2<a href="...></a></p>
    <p>Logo3<a href="...></a></p>
    <p>Logo4<a href="...></a></p>
    <p>Logo5<a href="...></a></p>
    <p>Logo6<a href="...></a></p>
    </div>
    with CSS like this -
    #logodiv p { ... }

  • Error Smart Form Collections using various  Form Classes

    I want to add a Smart Form into a collection contianing two PDS's . 
    Before I add the Smart Form the collection works.
    The Collection is using customized form-class ZLSO_PWB_COVER and one PDF #1  is using standard form-class LSO_PWB_COVER and PDF #2 is using standard form-class LSO_PWB_CURRI_INFO.
    After I add the Smart Form into the collection, the process errors out.  
    Any ideas why by adding the Smart Form I would get an error?

    Solved myself.

  • What is customer  processin class..and its range...

    Please help me.....
    Customer  processing class be setup in the Range below.....
    60-70
    80-90
    70-80
    90-100.

    Hi Skiranth,
    By using customer processing classes, you can be able to group wage types in a different grouping than the standard ones. By this way, you can use VWTCL decision operation in your rules based on the processing class you maintain.
    E.g. Let's say you wanna group the wage types as being company-based and personnel-based. Then you maintain processing class 90 of all company-based wage types with 1 and all personnel-based wage types with 2. Then in a rule, you can process these wage types according to this grouping as follows:
    D  VWTCL 90
    1 ....
    2 ....
    ERROR
    Regards,
    Dilek

  • Excel data read from users and upload in to Oracle DB using custom webpart

    Hi Team,
    I need to get the excel date from user using file upload control and read the data from the excel using custom webpart and validate the each rows whether having the values or not and need to upload the data to the oracle database.
    Can you please let me know the best approach to read the data from excel using sharepoint custom webpart.
    Thanks,
    Mylsamy

    Hi,
    According to your post, my understanding is that you want to read excel data from the uploaded file and insert the data into Oracle Database.
    The following way for your reference:
    1.Create a Visual Web Part using Visual Studio.
    2. Add an asp.net upload control into the .ascx file.
    <div>
    <asp:FileUpload ID="fileupload" runat="server" />
    <asp:Button ID="btnUpload" runat="server" onclick="btnUpload_Click" Text="Upload" />
    </div>
    3. Add some logic methods into .ascx.cs file.
    protected void btnUpload_Click(object sender, EventArgs e)
    //read data and insert the data into Oracle database.
    4.We can create a web service for adding data to Oracle database, then consume this web service in the visual web part.
    More information:
    http://msdn.microsoft.com/en-us/library/ff597539(v=office.14).aspx
    http://manish4dotnet.blogspot.in/2013/02/upload-ans-read-excel-file-using-c.html
    http://msmvps.com/blogs/windsor/archive/2011/11/04/walkthrough-creating-a-custom-asp-net-asmx-web-service-in-sharepoint-2010.aspx
    Best Regards
    Dennis Guo
    TechNet Community Support

  • Question about How to Use Custom CellEditors

    Hi:
    I have been trying to implement something like this: I have a JPanel, and when you double-click a particular spot on it, I want a textbox to appear. Currently, I am implementing it by using an undecorated JDialog that contains a JTextField in it (such that the text field occupies all the space in the dialog, i.e. you can't even tell that there is a dialog). This seems like a hack to me.
    Another alternative that I have been thinking about is using layered panes, and hiding the textfield below the jpanel, and only bringing it to the front when the user double-clicks.
    Then, I stumbled onto custom celleditors. Now, it seems that everyone is using them in JTables, JLists, JComboBoxes, etc. and I was wondering if it is something that I can use with a JPanel.
    Can anyone comment on the implementations I am considering, as well as using custom celleditors with a JPanel?
    Thanks in advance,
    LordKelvan

    Still don't understand your requirement. Does the text field stay there or disappear after the data is entered? If it disappears, then how do you change the value, do you have to click on the exact same pixel again?
    Maybe you could use a MouseListener and then display a JOptionPane or JDialog to prompt for the information. Or if you want to display a JTextField then add a JTextField to the panel and then when the user enters the data by using the enter key or by clicking elsewhere on the GUI you remove the text field from the panel.

  • Using Custom Client proxy in WESIMG

    Hello Experts,
    Greetings!
    We have developed a custom proxy through tcode SE80 and used WSDL provided by ES workplace (MerchandiseERPReplicationBulkRequest_Out).
    This is the scenario for outbound message type where in SAP will be sending data to 3rd party application. like Websphere
    We want to test this as we dont have PI in place and we need to build a POC for using custom client proxy in wesimg.
    So after building this custom client proxy using above WSDL link, we got a z class named: ZCO_MERCHANDISE_ERPREPLICATION.
    If i try to put this custom class in WESIMG config for merchandise, and trying to run WESOUT for a respective "Site" and "Article" ; i am getting an error as follows:
    Category               ABAP Programming Error
    Runtime Errors         MOVE_CAST_ERROR
    Except.                CX_SY_MOVE_CAST_ERROR
    ABAP Program           CL_WES_MERCHANDISE_REPL=======CP
    Application Component  LO-MD-RES
    Date and Time          15.08.2013 21:06:09
    Short text
         Dynamic type conflict when assigning references
    However, the current content of the source variable does not fit into
        the target variable.
        source type: "\CLASS=ZCO_MERCHANDISE_ERPREPLICATION"
        target type: "\CLASS=CO_WART_MERCHANDISEREPBULKRQ"
    Please let me know what can be done. Thanks a lot.
    Regards,
    Yogesh sohanee.

    Add...
    display:inline-block;
    To the css for your <li> and they will take on the text-align:center from the wrapper <div>
    Then change the width of your wrapper to either stack them all centered, or line them up across the screen centered.
    You can remove the margin-left from the wrapper if you're adjusting the width. FWIW, a 100% width for the wrapper will center your bullets on a large screen and center/stack them on smaller viewports.

  • Creating "Payables Account Transaction" using custom code

    Hi Gurus,
    I need a help. I have a requirement that I have to create "Payables Account Transaction" using custom PL/SQL code. Kindly could you advise me as to which API or Package should i use to get this done. Currently I am in 11.5.10.2.
    Pls help me on this.
    Thanks,
    Genoo

    Hi Genoo,
    As mentioned I would reverse the standard journals coming from Payables, that way you can still see what the original journals were and drill back using them. So you don't do anything in the subledger.
    Alternatively if you wanted to get more risky, when you run the Payables transfer to GL, you could choose not to submit journal import and then you could manipulate the AP Journal records while they are still in the GL_INTERFACE (as they also go through that table) prior to going to GL, then you could do whatever you want - and if you don't delete them (but update / copy them) they will still retain the drilldown links back to AP.
    Regards,
    Gareth

  • Using AP Div's and Editing them

    Hi I am trying to use the AP Div tool so that I can play Div tags where I want them to be.  In one example I created a div tag to fit a logo but in my CSS style it as #apdiv1   When I try to organize the CSS style and raname the apdiv1 to #logo it makes my logo remove, why is that?

    Thanks, next i'm trying to create a menue that looks like this where when i hover over each button, it changes color.  What is the best way at approach this?  I basically just need the menue from here;  how can i add it to my site?
    !DOCTYPE html><html xmlns:og="http://ogp.me/ns#"><head>
      <title>THIS IS A TEST</title>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
      <!--<meta name="viewport" content="width=device-width,initial-scale=1">-->
      <link rel="shortcut icon" href="www.testing.com">
      <link rel="canonical" href="http://www.treehugger.com/green-food/alternative-home-remedy-peppermint-oil-to-relieve-ibs .html">
      <meta name="robots" content="noodp">
      <meta name="keywords" content="demo test">
      <meta name="description" ewbsite"="">
      <link rel="canonical" href="http://www.treehugger.com/green-food/alternative-home-remedy-peppermint-oil-to-relieve-ibs .html">
      <link rel="image_src" href="http://www.fe28.comg">
      <!-- CSS -->
      <link rel="stylesheet" type="text/css" href="http://static.treehugger.com/stylesheets/treehugger.css">
      <!-- OpenGraph -->
      <meta property="og:title" content="333">
      <meta property="og:type" content="article">
      <meta property="og:url" content="this will have to be changed">
      <meta property="og:image" content="www.geingsf4">
      <meta property="og:site_name" content="TreeHugger">
      <meta property="og:description" content="We 'Huggers with our aspiring clean, fiber-rich diets probably aren't as likely to experience the daily (yikes!) Irritable Bowel Syndrome (IBS) that some millions of Americans do, according to The New York Times. ">
      <meta property="fb:app_id" content="133255656700169">
    </head><body><div id="container">
    <div id="header">
        <div id="logo-bar">
          <div id="logo">
            <p>logo page</p>
          </div>
        </div><!-- end logo-bar -->
        <ul id="nav">
        <li>
        <a href="/stream/" class="" onclick="_gaq.push(['_trackEvent', 'Top Nav', 'All',]);">HOME</a>
        </li>
        <li>
        <a href="/design/" class="" onclick="_gaq.push(['_trackEvent', 'Top Nav', 'Design',]);">ABOUT</a>
        </li>
        <li>
        <a href="/technology/" class="" onclick="_gaq.push(['_trackEvent', 'Top Nav', 'Technology',]);">SERVICES</a>
        </li>
        <li>
        <a href="/living/" class="" onclick="_gaq.push(['_trackEvent', 'Top Nav', 'Living',]);">station</a>
        </li>
        <li>
        <a href="/transportation/" class="" onclick="_gaq.push(['_trackEvent', 'Top Nav', 'Transportation',]);">bass</a>
        </li>
        <li></li>
        <li>
        <a href="/science/" class="" onclick="_gaq.push(['_trackEvent', 'Top Nav', 'Science',]);">PLAYS</a>
        </li>
         <li>
        <a href="/business/" class="" onclick="_gaq.push(['_trackEvent', 'Top Nav', 'Business',]);">POTS</a>
        </li>
        <li>
        <a href="/slideshows/" class=" last" onclick="_gaq.push(['_trackEvent', 'Top Nav', 'Slideshows',]);">cost</a>
        </li>
        </ul>
    </div><!-- header -->
        <div id="content">
          <div class="rail-item"></div>
    <div class="rail-item"></div>
    </div></div></body></html>

  • Custom DIV question

    Hello,
    I know that a lot of info has been posted about using div within APEX. Where is the best place to include my custom div code? In the page header itself or in the page template header?

    "Hello,
    What do you mean custom div?
    a <div> is just html so you should put it where it needs to go."
    Yes I'm speaking of <div>...I just need clarification if I put it within my page html header or within the header of the page template...

Maybe you are looking for