Error when creating new record in the jspx page.

Hello! I have error when you try to post the new record in the jspx page (see: http://my.jetscreenshot.com/2677/20100820-oo8z-19kb)

DB I trigger and in the EO primary key attribute I Type set to DBSequence.

Where is the problem and what to do?

Best regards, Debuger

@Sireesha excellent point!

@Debugger the reason why you get the error, it is you're missing an af:convertNumber, however, as said Jean Lou, why even put a DBSequence field on your screen?

John

Tags: Java

Similar Questions

  • Get an error when creating new attributes

    Hi all

    I'm creating new attributes to the gift list registration form, like 'Phone number', 'City' and so on...
    All attributes are already created in the production_core and database Editions, in the dcs_giftlist table, and the new giftlists.xml file is also created, see below:
    <gsa-template xml-combine="append">
         <item-descriptor name="gift-list" item-cache-size="1000" query-cache-size="1000" display-name-resource="itemDescriptorGiftList">
              <table name="dcs_giftlist" type="primary" id-column-name="id">
                   <property name="clientName" data-type="string" column-name="client_name" category-resource="categoryBasics" display-name-resource="Client Name (Nome do Cliente)">
                        <attribute name="propertySortPriority" value="-10"/>
                   </property>
                   <property name="emailAddress" data-type="string" column-name="email_address" category-resource="categoryBasics" display-name-resource="E-mail">
                        <attribute name="propertySortPriority" value="-10"/>
                   </property>
                   <property name="cityName" data-type="string" column-name="city_name" category-resource="categoryBasics" display-name-resource="City Name (Nome da Cidade)">
                        <attribute name="propertySortPriority" value="-10"/>
                   </property>
                   <property name="phoneNumber" data-type="string" column-name="phone_number" category-resource="categoryBasics" display-name-resource="Phone Number (Numero de Telefone)">
                        <attribute name="propertySortPriority" value="-10"/>
                   </property>
              </table>
         </item-descriptor>
    </gsa-template>
    Although, when I try to call the attribute created on the page, such as "GiftlistFormHandler.cityName", the following error message appears:
    ]] Root cause of ServletException.
    CONTAINER:atg.servlet.jsp.ContainerJspException: atg.droplet.DropletResources->dropletDescriptorCantFindProper
    ty : Can't find property: clientName in class atg.projects.store.gifts.StoreGiftlistFormHandler; SOURCE:atg.dr
    oplet.DropletException: atg.droplet.DropletResources->dropletDescriptorCantFindProperty : Can't find property:
     clientName in class atg.projects.store.gifts.StoreGiftlistFormHandler
            at atg.taglib.dspjsp.IncludeTag.doEndTag(IncludeTag.java:786)
            at jsp_servlet._myaccount.__giftlisthome._jsp__tag22(__giftlisthome.java:1102)
            at jsp_servlet._myaccount.__giftlisthome._jsp__tag21(__giftlisthome.java:1058)
            at jsp_servlet._myaccount.__giftlisthome.access$10(__giftlisthome.java:1032)
            at jsp_servlet._myaccount.__giftlisthome$JspFragmentHelper.invoke0(__giftlisthome.java:820)
            Truncated. see log file for complete stacktrace
    Caused By: atg.droplet.DropletException: atg.droplet.DropletResources->dropletDescriptorCantFindProperty : Can
    't find property: clientName in class atg.projects.store.gifts.StoreGiftlistFormHandler
            at atg.droplet.DropletDescriptor.<init>(DropletDescriptor.java:1368)
            at atg.droplet.DropletDescriptor.getDropletDescriptor(DropletDescriptor.java:1238)
            at atg.droplet.DropletDescriptor.getDropletDescriptor(DropletDescriptor.java:1195)
            at atg.droplet.DropletDescriptor.getPropertyValue(DropletDescriptor.java:443)
            at atg.droplet.DropletDescriptor.getPropertyStringValue(DropletDescriptor.java:245)
            Truncated. see log file for complete stacktrace
    I would like to know if there is any other xml file, that I need to change, or if I need to extend the class FormHandler, adding new attributes.

    Any help will be appreciated,

    Thanks :)

    Hi Lucas,.

    I don't see anyway decent to do this, the only way I think now is that you need to extend GiftListTools and GiftListManager and then 'find and replace' these methods that are called in your implementation. You must also override the addItemToGiftList() method in formHandler.

    In GiftListManager, you will need to override createGiftlistItem() and add the new property, you have recently added in GiftListManager and set it in the repository in createGiftlistItem().
    Ex:
    create mutableRepositoryItem and then
    mutableRepositoryItem.setPropertyValue ("propertyName", "propertyValue");
    for any properties that you want to set.
    If it works then you must override the method to get the point of filing of the database also.

    --
    Angelique

  • Error in creating new project to the NDP.

    t1.bmp

    Creating new project in the NDP, I came across the following error. How can I ressemelable this error. I have attached a screenshot.

    Please check if there is a section of configuration as below in Web\npd\web.config.

    
    
    
    

    And you have a config\Core\EqtUIModelDefinitions.xml file? If so, there could be error in there.

  • Implementation error when creating new version BPA.

    Hi all

    When I try to create new version against BPA I get the error message below. The PAID field is defined as 'RÉCEPTION' at the EPS level. Please let us know why this error is coming and what should be done to remove this.

    Error.jpg

    Thank you

    GHG

    Hello

    This just a pop up message information that is intended to inform the user PAY field is null now and not as "RECEPTION", which corresponds to the value set at this level of BPA.

    If you want to PAY ON the field as 'Reception', please refresh the code ON PAY as 'Back' to the supplier site level, and then try and create a new version against BPA, you won't get this error.

    Waiting for your response.

    Kind regards

    Piyush Kudawale


  • create new record in the table of the tree

    REFERRED to the ADF Code 83 corner. How-to - create the two-way synchronization between a tree and a form input element

    http://www.Oracle.com/technetwork/developer-tools/ADF/learnmore/83-bidi-synchronization-tree-form-401841.PDF

    Mr.Frank usese (deptId) of allDepartmentsWithEmployeesIterator-> > > iterator

    to insert the new employee in the service selected tree node

    it get the departmentId for the current line of allDepartmentsWithEmployeesIterator

    and set it as the new employee to the new departmentId inserted in the allEmployeesIterator

    This multiy in table tree we have the employees table and departments table

    ------------------------------------

    public String onCreateEmployee() {}
    BindingContainer links = getBindings();
    OperationBinding operationBinding =
    bindings.getOperationBinding ("Create1");
    Object result = operationBinding.execute ();
    If (! operationBinding.getErrors () .isEmpty ()) {}
    TODO add the error handling
    Returns a null value.
    }

    a department Id the value of the tree node's parent
    DCIteratorBinding = departmentIter
    (DCIteratorBinding) bindings.get ("allDepartmentsWithEmployeesIterator");
    Line currentDepartmentRow = departmentIter.getCurrentRow ();
    Object deptId = currentDepartmentRow.getAttribute ("DepartmentId");
    DCIteratorBinding = employeesIter
    (DCIteratorBinding) bindings.get ("allEmployeesIterator");
    Line currentEmployeeRow = employeesIter.getCurrentRow ();
    currentEmployeeRow.setAttribute ("DepartmentId", deptId);

    Returns a null value.
    }

    -----------------------------------

    I'm doing the same functionalty

    in the same tree table

    Insert the child registered under the selected parent node

    but it gives me the ID of the employee of topRank

    in which case we use tree one View object

    as long as same as in ADF code corner article

    032. creating a table tree of a single object View and access selected lines

    We thus obtain the topRanked EmployeeID Steven King is 100

    not the employeeId correct if you select low-tier employee

    ------------------------------

    Create Itried to use with the parameter

    He gave me the same result always it create used under top class used 100 steven King

    not covered by the selected Manager

    -----------------------------------------

    in a few words I'm looking for a way to insert a new line under the selected node

    in the case of the component tree is based on the same view object

    is it an idea or a help on this

    Hello

    in your case, the employee Id is what you need to get the tree component itself. In my article, I rely on the synchronization between two iterators, which in your case is not possible. If access you the component of the tree to get the current selected node. This should be an instance of JUCtrlHierNodeBinding that you can call getRow to obtain the selected user. You can query a second View object to show the employee to edit (the current together by key line). Even when you create a new employee. Access you the second VO iterator used after you call Create to create a new line. On the iterator, you call iterator.setAttribute (attribute_name, value_read_from_parent)

    Frank

  • Cannot use ID of LOV attribute when creating new record

    Hello, I use JDeveloper 11.1.2.3.0.
    I converted an attribute of my VO name instead of code. This attribute stores the id of another related table. The ID of the other table is a primary key and I tidied up as Type DBSequence and the column type is number.
    My form was working fine at first, but now when I want to create a new record and I chose from the drop of a name (LOV), I can't submit or validate because I get this message:

    "Cannot be converted 1 of type class oracle.jbo.domain.DBSequence in class Java.Math.BigDecimal"

    Can anyone help please?
    Thank you

    When you use the ID of another table to store in your table as a foreign key, you must use the same type of data, which is a number in your case. DBSequence is a special type that allows to automatically create unique numbers when you insert a new row into a table. In your case that the unique ID is already present in number.

    Timo

  • Error when creating a folder in the business district

    Hi all

    I am trying to create a folder in a business using View.It district gives me the following error.
    View contains no items, the file will not be created.
    Can I know the reason why it generates this error?
    There are elements in EUL and I also checked in the backend as well.

    Thanks in advance
    Kiran

    Hello

    Well, it could be that there are special characters used in the column name or that the user has all privileges to the display.

    If you connect to SQLplus with the same user can DESCRIBE the view? All columns appear correctly?

    Rod West

  • InDesign encounter error when locking of objects on the master page

    I have CS5 and love it. But after the moving objects on my master page between the layers (don't ask me why, just thought it might be a good idea) I can't lock without blocking InDesign objects (Ctrl-L). He meets a mistake and locks upward. I use the Task Manager to shut down and start over. You are not allowed to move objects on the master page between the layers? Do I need my mouse slapped?

    What is the error?

    Why do you need to lock the object? It should be locked on normal pages? I was wondering.

  • Error when creating new features in 12 c

    Hi all

    I get an error while I am creating a new developer on my EM Express role in Oracle 12 c:

    ORA-65096: of invalid common name of the user or role

    ORA-06512: at "SYS." PRVTEMX_ADMIN', line 9796

    ORA-06512: at "SYS." "WRI$ _REPT_SECURITY ', line 314

    ORA-06512: at "SYS." DBMS_REPORT', line 744

    ORA-06512: at line 1

    No idea what I'm doing wrong

    Thank you very much in advance!

    Sorry, this area of the forum is not for EM Express or 12 c-specific questions, it's for the Oracle SQL Developer IDE/GUI

  • Satellite P200 - error when creating new recovery disc

    Hello

    I need to format my Satellite P200, but I have some difficulty. I lost the original disc that came with the laptop. I tried using the Recovery Disc Creator, but every time I run the application it I'm greeted by this error:

    An unexpected error has occurred.
    Exit this application and start it again.
    (Error code: 0D00F6-26-00000001)

    Have tried to reinstall, I just get the same error. What should I try next to the difficulty of the creator, or just the format differently?

    Hello

    I'm not very well if the Satellite P200 was equipped with drive recovery procedure HARD but nevertheless it s m worth a try.

    If the HDD recovery procedure is available on your P200, then you should see the Toshiba HDD recovery option in a new window as soon as you click on fix my computer.

    Otherwise, you will need to order the Toshiba Recovery disk:
    https://backupmedia.Toshiba.EU/landing.aspx

  • Error when create new apex_collection

    Hello world

    I'm trying to create a process as below

    () apex_collection.create_collection_from_query
    p_collection_name = > base_collection,
    p_query = > ' SELECT ASAT_DATE, ADMINISTRATION_UNIT_ID, project, SUM (TOTAL_BOOKED_HOURS) as TOTAL_BOOKED_HOURS FROM CAREARR_TOTALS_SUBS2 WHERE ASAT_DATE IN (January 30, 12 ', 2 June 12', 13 February 12 ', 20 February 12', February 27, 12 ', 3 May 12', December 3, 12 ', 19 March 12') AND ADMINISTRATION_UNIT_ID =: P82_ADMIN_UNIT GROUP BY ASAT_DATE ADMINISTRATION_UNIT_ID. PROJECT");

    and get the error
    ORA-06550: line 5, column 14: PLS-00114: 'SELECT ASAT_DATE, DIRECTORS' identifier too long

    The reason is the limitation of the version of Oracle that run in my organization. They are running Oracle 10 g, version of the APEX is 3.0.1
    Officials want to see the report, so that dates are not row of columns.
    I find that I can use the PIVOT in Oracle 11 g, but not in 10g.
    I tried to write the function and make the selection
    SELECT distinct get_total_booked_hours (asat_date, project) as "WEEK 1".
    , get_total_booked_hours (asat_date + 7, project) as "WEEK 2".
    , get_total_booked_hours (asat_date + 14, project) as "WEEK 3".
    , get_total_booked_hours (asat_date + 21, project) as "WEEK 4»
    , get_total_booked_hours (asat_date + 28, project) as "WEEK 5»
    OF CAREARR_TOTALS_SUBS2
    WHERE ADMINISTRATION_UNIT_ID =: P82_ADMIN_UNIT AND ASAT_DATE = FEBRUARY 20, 12 '

    But the request has taken far too long. (like 5 times than the first).
    Now I try to use apex_collection to store the query results that can run faster and then view the report base on apex_collection hat.
    But I'm stuck as above.

    If anyone has any ideas, please give me some advice.

    Thank you very much in advance.
    Ann

    Hello

    You have problem with single and double quotes,
    Try

    apex_collection.create_collection_from_query(
      p_collection_name => base_collection,
      p_query => q'!
         SELECT ASAT_DATE,
           ADMINISTRATION_UNIT_ID,
           PROJECT_ID,
           SUM(TOTAL_BOOKED_HOURS) AS TOTAL_BOOKED_HOURS
         FROM CAREARR_TOTALS_SUBS2
         WHERE ASAT_DATE  IN ('30/01/12', '06/02/12', '13/02/12', '20/02/12', '27/02/12', '05/03/12', '12/03/12', '19/03/12')
         AND ADMINISTRATION_UNIT_ID = :P82_ADMIN_UNIT
         GROUP BY ASAT_DATE,
           ADMINISTRATION_UNIT_ID,
           PROJECT_ID
      !'
    );
    

    Kind regards
    Jari

    -----
    My Blog: http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME:0
    Twitter: http://www.twitter.com/jariolai

  • Create new records from the other periodicies month

    Hi guys,.

    I have a table in which we store our customers billing data. It s a subscription service so we charge the customer periodically, some customers are billed monthly, a few times a year, some 3, and some only once. We consider these customers who paid their last active bill, so I would like to know how much each month from customers is active. So lets say we have a table like this:

    Customer_Id Result Date Billing preferences
    1Successful01/01/2013Monthly
    1Failed02/01/2013Monthly
    1Successful03/01/2013Monthly
    1Successful04/01/2013Monthly
    1Failed05/01/2013Monthly
    1Successful06/01/2013Monthly
    2Successful01/01/2013Semestrly
    2Failed06/01/2013Semesterly

    *

    I want to get a table like this:

    Customer_Id State Date
    1Assets01/01/2013
    1Not active02/01/2013
    1Assets03/01/2013
    1Assets04/01/2013
    1Not active05/01/2013
    1Assets06/01/2013
    2Assets01/01/2013
    2Assets02/01/2013
    2Assets03/01/2013
    2Assets04/01/2013
    2Assets05/01/2013
    2Not active06/01/2013

    Do you know a trick to get this?

    Thank you very much

    *

    as billing

    (

    Select "1" as Custumer_id, "Successful" as a result, 1 January 2013 "as date_,"Monthly"as the double Billing_Preference

    Union

    Select '1' Custumer_id, "Failed" as a result, 2 January 2013 ' as date_, "Monthly" as the double Billing_Preference

    Union

    Select "1" as Custumer_id, "Successful" as a result, 3 January 2013 ' as date_, "Monthly" as the double Billing_Preference

    Union

    Select "1" as Custumer_id, "Successful" as a result, 4 January 2013 ' as date_, "Monthly" as the double Billing_Preference

    Union

    Select '1' Custumer_id, "Failed" as a result, 5 January 2013 ' as date_, "Monthly" as the double Billing_Preference

    Union

    Select "1" as Custumer_id, "Successful" as a result, 6 January 2013 ' as date_, "Monthly" as the double Billing_Preference

    Union

    Select "2" as Custumer_id, "Successful" as a result, on January 1, 2013 "as date_,"Semesterly"as the double Billing_Preference

    Union

    Select "2" as Custumer_id, 'impossible' as a result, 6 January 2013 ' as date_, "Semesterly" as the double Billing_Preference

    )

    Select * billing

    order by ASC, ASC 3 1

    Hello

    My mistake.  Just change 1 line of code, like this:

    WITH got_date_billed AS

    (

    SELECT custumer_id

    result

    , TO_DATE (date_, ' DD/MM/YYYY') AS date_billed

    BILLING

    -WHERE... - If you need any filtering, put it here

    )

    got_months_needed AS

    (

    SELECT custumer_id, result, date_billed

    MONTHS_BETWEEN (in ADVANCE (date_billed) OVER (PARTITION BY custumer_id,

    ORDER BY date_billed

    )

    date_billed

    ) AS month_gap

    OF got_date_billed

    )

    SELECT custumer_id

    result AS State

    , ADD_MONTHS (date_billed, LEVEL - 1) AS date_-* CHANGED *.

    OF got_months_needed

    CONNECT BY custumer_id = PRIOR custumer_id

    AND date_billed = PRIOR date_billed

    AND LEVEL<=>

    AND PRIOR (SYS_GUID ()) IS NOT NULL

    ;

  • Error when I import classes using the JSP page directive

    Hi all!

    I installed JDeveloper 11 g (11.1.1.3.0)

    My applications are found in the C:\dir (JDEV_USER_DIR = C:\dir)
    I created the application "Appliation1". In it, I created 2 projects (Project1, inside session entity beans and other classes of java;) Project2, inside JSP).
    I want to import classes of Project1 in Project2 using the following directive:
    ----------------------------------------------------------------------------------------
    < % @ page contentType = text/html"; charset = windows-1252 ".
    import="Project1.*"% >
    ----------------------------------------------------------------------------------------
    so in Project2 project properties set the way to classes in Project1.
    When I run JSP, an error has occurred:
    Error (4.9): the Project1 to import cannot be solved.

    Maybe that I am not correctly defined the path to classes

    Thanks in advance.

    Hello
    Try the project properties/project source paths/resources
    or
    Properties/project dependencies

    then restart

    concerning

  • continue to download error when you try to load the apps page in creative cloud

    I get a download error whenever I click on the application in creative cloud icon so I can access any of my apps there at - there anyone who can help? I tried refreshing and reloading the page, but nothing seems to work.

    Hi Holli94,

    Can you please check the permissions on the following folders and confirm if you have the permission to read & write full or not. If this isn't the case, please give all the permissions and this should solve the problem.

    1) / Library/ApplicationSupport/Adobe

    (2) ~/Library/ApplicationSupport/Adobe

    (3) / utilities/Adobe Application Manager

    (4) / utilities/Desktop Application creative Cloud.

    See you soon,.

    Michael Sharma

  • Cannot run the JSPX page

    Hello world

    First of all, excuse me if my terminology is inaccurate; I am a newbie with JDeveloper.

    When I try to run the JSPX page, the browser cannot connect. (Should I say 'deploy' instead of 'run' in this case?) Everything works (navigation, principal, update, delete) when I use the browser of Business components. So, I'm sure it's associated with VPN, and a configuration change is probably in order on the WebLogic Server. However, I can't even connect to the console (http://127.0.0.1:7101 / console). In JDeveloper Preferences, all under Internet and Proxy browser appears to be configured correctly as Proxy Test is successful, and as mentioned, I have no problem of communication with the DB.


    It comes to the target URL which breaks down: http://127.0.0.1:7101/XXJL-ViewController-context-root/faces/myFirstPage.JSPX .


    Any help would be appreciated.

    James

    Lou's right. If you run an application in the built-in server, the server administrator is used as a deployment target too. The console and the application use the same port in this case.

    Please check the settings of the built-in Server: browser server application-> server-> properties and click the configuration tab. You should see 127.0.0.1 as hostname, and check the preferred port be the one you use in the url (7001) in your case.

    Your comment, I conclude that you are running a virtual machine on your pc too (192.168.1.14, 192.168.1.15). Check if you have set up the network to use NAT with port forwarding. If this is the case check if you transfer favorite port. If this is the case, you must use another favorite port that you are not transferring.

    Timo

Maybe you are looking for