Alignment of fields horizontally in the component af:query

Hi friends,
I'm developing a search box using the criteria named my VO dragging. This has created an af:query element in the search box. However, the fields are displayed in rows in the search box. I want to align those fields so that all fields are displayed in a single line. also how can I set the width of the field.

Any ideas or advice how to do this.

Thanks in advance

Published by: user9197772 on May 20, 2013 03:58

To do this, you set the maxcolmns and the rows of the af property: query as
... lines argument maxColumns = '1' = '10 '...

MaxColumns argument must equal the number of fields you want to see in a single line.

The length of the fields is controlled by the attribute displaywidth property in the VO. Here, you can display the width on the Interface user-instructions of the attribute tab.

Timo

Tags: Java

Similar Questions

  • How to change the layout of the component af:query

    Hello

    I use jdev 11.1.2.4.

    is it possible to search fields in multiple columns? I want to create a form of research with 12 fields. Now, if I use the af:query component it puts all the fields in a single column consumes the biggest part of the screen.

    can I divide it into 4 columns?

    Thank you

    Hello, EmAar.

    You can add the following attributes in the component "af:query":

    lines argument maxColumns = '3' = '4' ... / >

    RFH.

  • style of Manager for the field Horizont

    Hello

    A simple but stubborn problem. I want to have a horizontal Manager with both Field.Use_All_Width and Field.Field_HCenter style bits.  I create the Manager in the medium folowing:

    HorizontalFieldManager hfm = new HorizontalFieldManager(Field.FIELD_HCENTER |Field.USE_ALL_WIDTH))
    

    but only styles is considered, depending on whether one is first. The clues why?

    If you set the USE_ALL_WIDTH style bit, the FIELD_HCENTER style is meaningless - how can center you a field that uses the entire width? Maybe you want to center the fields that are added to hfm. If so, this is not the way to do it.

    The style on a field bits are (usually) used by the container Manager to decide how to develop the land. That doesn't change when the field is to be a manager himself. To change the logic of the layout, you must set the style bits of the fields that are added to the Manager.

    Two other points. First of all, HorizontalFieldManager is sensitive to the vertical alignment styles but does not take account of horizontal alignment styles the fields he manages (the converse is true of VerticalFieldManagers). Second, it does not matter what order list you the styles.

    Field.FIELD_HCENTER | Field.USE_ALL_WIDTH == Field.USE_ALL_WIDTH | Field.FIELD_HCENTER

  • How to define the format of a field drop-down list text align at the top of the field instead of the Center?

    I have a form with the fields of data entry simple Acrobat 11. I have, for the first time inserted drop-down lists and most of them is single-line fields. However, there are a few examples where my field must be larger to mask unwanted background. (The field will define the colur to white background are data entry, but I did not write the script for this.) When a selection is made, it appears centered in the field and I need to be aligned to the top.

    I guess I can put a script on the Format tab, in the custom format script, but I don't know enough about Javascript to run on the syntax. I guess it would be a simple line or two of code. Can anyone help?

    You have no control over this. They are always vertically centered. You can use a separate field in the drop down menu, however, and control its background. I suggest to use a read-only button.

  • How can we access the value of the field in a line removed in the buffer of the component?

    In the PeopleSoft component buffer when it removes a parent row children lines are also deleted, therefore, not possible to access the value of the field of these lines.

    Example: If we have RECORD1 at level 1 and RECORD2 (which contains the INCIDENT_NBR field) at level 2.

    If a row is deleted at level 1, level 2 lines are also deleted, but before delete, I need access to the value of INCIDENT_NBR and make sure no line (s) not many for this value in a third record record RECORD3.

    If any line exist in the RECORD3 record an error message should appear in the case otherwise the delete process can go.

    I put the peoplecode in RECORD2. INCIDENT_NBR. SavePreChange (at the record level) because this control must be carried out in all cases for all the component where my RECORD2 record is used.

    When I display the value of the field I always get a null (00000000 digital).

    It is possible that in PL/SQL within a trigger, but unfortunately in this case, I can not catch the error produced by RAISE_APPLICATION_ERROR (-20000, 'Suppression of an incident not allowed when there are dagnostics'); in Peoplecode.

    Does anyone know if there is a way to get the values of the fields in the deleted lines?

    Thank you

    A rowset object has two properties

    ActiveRowCount

    All lines of lines in an exclusive set of deleted rows

    Number of lines

    All lines of a set of lines included the deleted rows.

    So I would say, to loop through all lines and check for deleted rows and make any desired logic, something like:

    For & i = 1 to & rs. Number of lines

    & line = & rs. GetRow (&i);)

    If & row. IsDeleted then

    & rec = & rank. GetRecord (1);

    & fld = & rec. GetField (FIELD. YOURFIELD);

    / logical necessary * /.

    End - If;

    -End;

  • Field layout - splitting of alignment of fields

    Hello

    I would like to put four areas on a single line. The first field (a LabelField), I would like to align itself with the left side of the screen. The other three areas, I would like to align itself with the right side of the screen. What is the best way to achieve this?

    I put them all in a HorizontalFieldManager. I put the HorizontalFieldManger to Manager.USE_ALL_WIDTH. I put the LabelField for Field.FIELD_RIGHT and the other three fields to Field.FIELD_RIGHT. However, everything is left-aligned.

    Thank you

    I gave a few code snip: its created for button

    First go and take it and change it to your target.

    class MyHorizontalFieldManager extends HorizontalFieldManager
    {

    private ButtonField leftButton;
    private ButtonField rightButton;

    public MyHorizontalFieldManager() {}

    Super (USE_ALL_WIDTH);

    ButtonField leftButton = new ButtonField ("Left");
    setLeftButton (leftButton);
    Add (leftButton);

    ButtonField rightButton = new ButtonField ("Right");
    setRightButton (rightButton);
    Add (rightButton);
    }

    protected void sublayout (int maxWidth, maxHeight int)
    {

    Super.sublayout (maxWidth, maxHeight);

    width int = getWidth();

    ButtonField rightButton = getRightButton();
    If (rightButton! = null & is equal to (rightButton.getManager ())) {}

    int x = width - rightButton.getWidth ();
    int y = 0;
    setPositionChild (rightButton, x, y);
    }
    }

    getLeftButton() private ButtonField
    {

    return leftButton;
    }

    Private Sub setLeftButton (ButtonField leftButton)
    {

    this.leftButton = leftButton;
    }

    getRightButton() private ButtonField
    {

    rightButton return;
    }

    Private Sub setRightButton (ButtonField rightButton)
    {

    this.rightButton = rightButton;
    }
    }

  • How to change the search fields displayed on the homepage of UCM 11g?

    Hello

    How to change the search fields displayed on the homepage of UCM 11g?

    Another option for you.

    Follow the links below.

    How to: Customize the home page of Oracle UCM with configuration manager. -Blog of BlueStudios Johns

    Example of a custom component.

    bluestudios.co.uk/blog/wp-content/uploads/2009/02/ether_homepage1.zip

    -Prashant

  • Unable to store the component "time" in the column date Oracle's ADF

    Hi friends,

    I have a table with the date column. I'm trying to set the current date with the time in the column of the table. Java.sql.Date refers to the field of the VO. When I try to turn it using the setLastUpdatedDate() it not be saved. The time is get truncated and the time is saved is 16-mar-2015 00:00:00.  How can I keep the component "hour" as well in the column with the date data type. FYI the component "hour" is saved when I do the sql uisng the insert.

    JDev version is 11.1.1.7.0

    Thank you

    Hello

    java.sql.Dateis the DATE of SQL which means it stores years, months and days whilehour, minute, second and millisecond are ignored. Also sql.Date is not related to time zones.

    java.sql.Timestampcorresponds to the SQL TIMESTAMP, which is the exact nanosecond (Note that util.Date only supported milliseconds!) with customizable precision.

    try to use the timestamp if you want exact

  • display the values of query horizontal Panel

    Hi how to display value in the application of the horizontal panel have only one line

    my panel query
    <af:panelHeader text="Users" id="ph2"
                                    inlineStyle="width:946px;">
                      <af:query id="qryId1" headerText="Search" disclosed="true"
                                value="#{bindings.IntlUsrUpdCriteriaQuery.queryDescriptor}"
                                model="#{bindings.IntlUsrUpdCriteriaQuery.queryModel}"
                                queryListener="#{bindings.IntlUsrUpdCriteriaQuery.processQuery}"
                                queryOperationListener="#{bindings.IntlUsrUpdCriteriaQuery.processQueryOperation}"
                                resultComponentId="::resId1"/>
                    </af:panelHeader>
    
    
    and this is the view criteria of my panel query
    <ViewCriteria
        Name="IntlUsrUpdCriteria"
        ViewObjectName="model.updateusr.IntlUsrUpd"
        Conjunction="AND">
        <Properties>
          <CustomProperties>
            <Property
              Name="displayOperators"
              Value="InAdvancedMode"/>
            <Property
              Name="autoExecute"
              Value="false"/>
            <Property
              Name="allowConjunctionOverride"
              Value="true"/>
            <Property
              Name="showInList"
              Value="true"/>
            <Property
              Name="mode"
              Value="Basic"/>
          </CustomProperties>
        </Properties>
        <ViewCriteriaRow
          Name="vcrow41"
          UpperColumns="1">
          <ViewCriteriaItem
            Name="Firstname"
            ViewAttribute="Firstname"
            Operator="STARTSWITH"
            Conjunction="AND"
            Required="Optional"/>
          <ViewCriteriaItem
            Name="Surname"
            ViewAttribute="Surname"
            Operator="STARTSWITH"
            Conjunction="OR"
            Required="Optional"/>
          <ViewCriteriaItem
            Name="Officecode"
            ViewAttribute="Officecode"
            Operator="="
            Conjunction="OR"
            Required="Optional"/>
          <ViewCriteriaItem
            Name="IntlUsrUpdCriteria_vcrow41_Branchcode"
            ViewAttribute="Branchcode"
            Operator="="
            Conjunction="OR"
            Required="Optional"/>
          <ViewCriteriaItem
            Name="Usertype"
            ViewAttribute="Usertype"
            Operator="="
            Conjunction="OR"
            Required="Optional"/>
        </ViewCriteriaRow>
      </ViewCriteria>
    
    am in jdeveloper 11.1.1.6.0
    Published by: adf009 on 05/17/2013 11:16

    To do this, you set the maxcolmns and the rows of the af property: query as

    ... rows="1" maxColumns="10"...
    

    MaxColumns argument must equal the number of fields you want to see in a single line.

    Timo

  • attempt to add setPropertyListener with the value of the component of type action

    Hi I'm trying to pass the value between two atribute and get this error when trying to add setPropertyListener with the type of the action value to the component that is not actionSource
    i what to pass this value 
    <af:inputText simple="true"
                            required="#{bindings.Username.hints.mandatory}"
                            columns="#{bindings.Username.hints.displayWidth}"
                            maximumLength="#{bindings.Username.hints.precision}"
                            shortDesc="#{bindings.Username.hints.tooltip}" id="it1"
                            value="#{bindings.Username.inputValue}">
                <f:validator binding="#{bindings.Username.validator}"/>
              </af:inputText>
    
    to hear
    <af:inputText value="#{bindings.Createdby.inputValue}"
                        label="#{bindings.Createdby.hints.label}"
                        required="#{bindings.Createdby.hints.mandatory}"
                        columns="#{bindings.Createdby.hints.displayWidth}"
                        maximumLength="#{bindings.Createdby.hints.precision}"
                        shortDesc="#{bindings.Createdby.hints.tooltip}" id="it15">
            <f:validator binding="#{bindings.Createdby.validator}"/>
            <af:setPropertyListener from="#{bindings.Username.inputValue}"
                                    to="#{bindings.Createdby.inputValue}"
                                    type="action"/>
          </af:inputText>
    
    am geting this error whenstarting application
    ]] Root cause of ServletException.
    javax.servlet.jsp.JspException: ADF_FACES-60074:attempting to add setPropertyListener with type set to action to component that is not actionSource
         at oracle.adfinternal.view.faces.taglib.listener.SetPropertyListenerTag.doStartTag(SetPropertyListenerTag.java:161)
         at jsp_servlet.__intnlusr_jsff._jspx___tag92(__intnlusr_jsff.java:4280)
         at jsp_servlet.__intnlusr_jsff._jspx___tag90(__intnlusr_jsff.java:4207)
         at jsp_servlet.__intnlusr_jsff._jspx___tag89(__intnlusr_jsff.java:4136)
         at jsp_servlet.__intnlusr_jsff._jspService(__intnlusr_jsff.java:441)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:416)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:326)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:524)
         at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:444)
         at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:163)
         at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:184)
         at oracle.adfinternal.view.faces.taglib.region.IncludeTag.__include(IncludeTag.java:442)
         at oracle.adfinternal.view.faces.taglib.region.RegionTag$1.call(RegionTag.java:153)
         at oracle.adfinternal.view.faces.taglib.region.RegionTag$1.call(RegionTag.java:128)
         at oracle.adf.view.rich.component.fragment.UIXRegion.processRegion(UIXRegion.java:503)
         at oracle.adfinternal.view.faces.taglib.region.RegionTag.doStartTag(RegionTag.java:127)
         at jsp_servlet.__index_jspx._jspx___tag3(__index_jspx.java:243)
         at jsp_servlet.__index_jspx._jspx___tag2(__index_jspx.java:204)
         at jsp_servlet.__index_jspx._jspx___tag1(__index_jspx.java:154)
         at jsp_servlet.__index_jspx._jspx___tag0(__index_jspx.java:104)
         at jsp_servlet.__index_jspx._jspService(__index_jspx.java:65)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:416)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:326)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:523)
         at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)
         at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:410)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at oracle.adfinternal.view.faces.config.rich.RecordRequestAttributesDuringDispatch.dispatch(RecordRequestAttributesDuringDispatch.java:44)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$OverrideDispatch.dispatch(FacesContextFactoryImpl.java:267)
         at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:469)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:140)
         at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
         at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:911)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:367)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:222)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
     SUBSYSTEM = HTTP USERID = <WLS Kernel> SEVERITY = Error THREAD = [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' MSGID = BEA-101017 MACHINE = srd-ws23042 TXID =  CONTEXTID = 7157afcc9f9dbb93:-87c28d8:13e8d11ba6b:-8000-00000000000000b7 TIMESTAMP = 1368169642621  
    WatchAlarmType: AutomaticReset 
    WatchAlarmResetPeriod: 30000 
    >
    <10 May 2013 9:07:23 AM> <Alert> <Diagnostics> <BEA-320016> <Creating diagnostic image in c:\users\10017134\appdata\roaming\jdeveloper\system11.1.1.6.38.61.92\defaultdomain\servers\defaultserver\adr\diag\ofm\defaultdomain\defaultserver\incident\incdir_83 with a lockout minute period of 1.> 
    
    i what to pass some value from one view to another,for example when i create username in view user i must go and populate that username in view userlogs in field createdby
    Edited by: adf009 2013/05/10 10:19

    No, you the code you show here is not the right way to do it!
    You did a simple copy & past errors telling me that you don't understand what you copy everything.

    valueChangeListener="#{pageFlowScope.InternalUserBean.valueChanged}">
    

    does not point to the valueChangeListener in the bena as this one is called "changeUserListener"!
    A simple code debugging session would have shown this.

    Timo

  • validation of the component

    If I do the component, is there a place to put the code, when the ButtonClick record is the trigger to get validation code? It looks like all is even triggered by action change
    I also, if the error is to find the record is not, in the meantime, allow I get error puppy and also win the get, why?

    Try this:

    &error = "";
    For &i = 1 To &MyRec.FieldCount
      If Code(&chr) <= 32 Or
           Code(&chr) > 127 Then
    
        /* check all fields for errors and concatenate errors with CR/LF */
        &error= "Field " |  &MyRec.Getfield(&i).Name | " validation error for value " | &MyRec.Getfield(&i).Value | char(10) | char (13);
    
      End-If;
    End-For; 
    
    /* Raise error if any of the fields had errors */
    If &error != "" Then
        Error &error;
    End-If;
    
  • The center of GL is a required field!  Check the definition of file format in the header of the file

    Hello

    I'm new in Hyperion FDM. I'm trying to load a txt file using the FDM multiload feature. I created a VBScript script to load data. When I run the script, it ends without error but doesn't load any data. I get the following errors in the log file

    * Start the journal entry for the Runtime Error FDM [2012-01-29 16:20:07] *.
    -------------------------------------------------------------
    ERROR:
    Code............................................. 2621
    Description... The center of GL is a required field! Check the definition of file format in the header of the file (lines 1-6).
    File = 10_SAMPLE_Actuals_JAN - 2011_RM.txt
    Process... clsMPLoader.fStructGetText
    The component... upsWMPLoaderDM
    Version.......................................... 1111
    Thread........................................... 3212

    IDENTIFICATION:
    User............................................. admin
    Name of the computer... RAJNEESH
    App name... testfdm1
    Client App....................................... WorkBench

    CONNECTION:
    Provider......................................... ORAOLEDB. ORACLE
    Database server...
    Database name, orcl
    Trust connect... Fake
    Connect status... Open connection

    GLOBALS:
    Location......................................... SAMPLE
    Location ID... 748
    Location Seg... 2
    Category......................................... ACTUAL SPENDING
    ID of the category... 12
    Period........................................... Jan - 2012
    Period ID........................................ 31/01/2012
    POV Local........................................ Fake
    Language......................................... 1033
    User Level....................................... 1
    All Partitions... True
    Is Auditor....................................... Fake

    Here is the content and the format of the text file that I am trying to load

    SAMPLE
    ACTUAL SPENDING
    Jan - 2012
    1
    R, M
    a, v, e, v
    A1, version1, e1, 100
    A2, e1, version1, 100
    A3, version1, e1, 100

    Obviously there is something wrong in the above txt file. Someone can let me know whats wrong, I have do. I see also error in the following database tbatchcontents table after the code end run VBScript

    10_SAMPLE_ACTUALS_JAN - 2011_RM. TXT_CHECK FAILURE (CODE = 2621)

    Need your help. Thank you.

    Published by: rajneesh sharma on January 29, 2012 14:02

    Please see this post-online Multiload Essbase

    Thank you

    Todd Rebner

  • remove the component inputtext by click of a button

    Hello

    I m able to add the component of text dynamically with the following code.

    public String cb1_action() {}
    Add the code in the event here...
    System.out.println ("in cb1_action3 - 1");
    UIComponent button;
    button = findComponentInRoot ("cb1");
    Pgl RichPanelGroupLayout;
    PGL (RichPanelGroupLayout) = button.getParent ();
    The names of < UIComponent > children;
    children = pgl.getChildren ();
    RichInputText;
    He = new RichInputText();
    it.setLabel ("New textbox" + (children.size ()));
    Children.Add (IT);
    AdfFacesContext.getCurrentInstance () .addPartialTarget (pgl).
    System.out.println ("in cb1_action3 - 1');
    Returns a null value.
    }


    But how to remove the same component/inputtext field dynamically?

    Hello
    Try as follows
    The names of children;
    children = pgl.getChildren ();
    Children.Remove (IT);
    AdfFacesContext.getCurrentInstance () .addPartialTarget (pgl).

  • Auto-fill text box values field based on the selection of the menu drop-down

    Try to fill in address, city, province, zip from text fields based on the selected option in a select form field. The following code works fine in Internet Explorer, but in Chrome or Firefox, after selection, text, the fields are filled with the word "undefined."

    I found a PHP script Jquery here version that would probabably do the trick.
    http://StackOverflow.com/questions/3657127/jQuery-populate-text-input-from-table-based-on-select-Valeur

    Maybe someone has a version of CF. they could share?

    Thanks in advance to anyone who can point me to a solution for this code, or a better way to fulfill my need.

    <!--> destinations with address auto-fill, city, etc.
    < script type = "text/javascript" >
    function selectAddress (list) {}
    take the first element is empty
    If (list.selectedIndex > 0) {}
    var locationID = list.options [list.selectedIndex] .value;
    locationAddress var = list.options [list.selectedIndex] .locationAddress;
    var locationCity = list.options [list.selectedIndex] .locationCity;
    var locationState = list.options [list.selectedIndex] .locationState;
    var locationZip = list.options [list.selectedIndex] .locationZip;
    document.getElementById('locationID').value = locationID;
    document.getElementById('locationAddress').value = locationAddress;
    document.getElementById('locationCity').value = locationCity;
    document.getElementById('locationState').value = locationState;
    document.getElementById('locationZip').value = locationZip;
    }
    }
    < /script >
    < b >
    < td align = 'right' bgcolor = "#FFFFFF" valign = "top" > Destination name < table >
    < td align = "left" bgcolor = "#FFFFFF" valign = "top" >
    < select name = "locationID" onChange = "selectAddress (this)" class = "smallforms" > "
    < option value = "" > SELECT the DESTINATION ››› < / option >
    < cfoutput query = "allLocations" >
    "" < option value = "" #locationName # "locationAddress =" #allLocations.locationAddress # "locationCity =" "#allLocations.locationCity #" locationState = "#allLocations.locationState #" locationZip = "#allLocations.locationZip #" > #locationName # < / option >
    < / cfoutput >
    < / select >

    Others: cfinput name = "destinationNameOther" type = "text" class = "smallforms" size = "75" >
    < br / >
    < input id = "locationID" name = "locationID" type = "hidden" > < br >

    Address: < input class = "smallforms" id = "locationAddress" name = "locationAddress" type = "text" size = "30" >
    City: < input class = "smallforms" id = "locationCity" name = "locationCity" type = "text" size = "20" >
    State: < input class = "smallforms" id = "locationState" name = "locationState" type = "text" size = "2" >
    Postal code: < input class = "smallforms" id = "locationZip" name = "locationZip" type = "text" size = "8" > < br / >
    < br / >
    < table > < /tr >

    In your last code done selectAddress refers to "index" but I'm not declared or assigned. I think that you are missing 'var index = list.selectedIndex;' statement.

  • Composer of Oracle are not not in the component Palette

    I build webcenter application portal with runtime editing capabilities. I couldn't see lib Oracle composer tag in the component Palette. I checked that the composer of Oracle jar has been included in the project portal. The clues which could be the problem?

    Have you looked in the drop-down list in the component palette? Normally it is said ADF Faces. Don't you think Oracle composer in this list?
    Composer of Oracle is not a component that you will find in the list. Composer of Oracle is a set of components such as the pageCustomizable and the link to change mode and so on.
    Or do you mean that you don't see Oracle composer in the drop-down list? If so, can find you customizable page in the search field in the component palette? This will search all the libraries that have been registered.

Maybe you are looking for