Decimal amounts AF:table filtering problems

Hello

I develop with JDeveloper 11.1.2.1 and I have an af:table with active filtering.
The filtering works very well in all the columns except in the case that the amount column contains decimal numbers (for example, 45.50)
My application is configured with the settings regional es_ES and when we insert a new amount with the application user interface format is €1.000,80. But in the database, the amount is recorded under 1000.8

When I use the af filter: table with '.' I get this error:
java.sql.SQLSyntaxErrorException: ORA-01722: number no valido (invalid number)

at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:440)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396)
at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:837)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:445)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:191)
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:523)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:207)
at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:862)
at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1153)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1275)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3576)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3620)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1491)
at weblogic.jdbc.wrapper.PreparedStatement.executeQuery(PreparedStatement.java:135)
at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:1231)
at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:896)
at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:7190)
at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:1227)
.....
But if I run this select JDeveloper works just fine:
SELECT * FROM TABLE WHERE = 1200.8 RISE

When I search with "," I have another error:

java.lang.NumberFormatException: for input string: "45.50".
at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1222)
at java.lang.Double.valueOf(Double.java:475)
to oracle.jbo.common.JboTypeMapEntries$ 5.convert(JboTypeMapEntries.java:201)
at oracle.jbo.domain.TypeFactory.get(TypeFactory.java:869)
at oracle.jbo.domain.TypeFactory.getInstance(TypeFactory.java:116)
at oracle.jbo.RowComparator.compareEquals(RowComparator.java:34)
at oracle.jbo.RowValueSupplier.compareValues(RowValueSupplier.java:253)
at oracle.jbo.expr.JIParserNode.evaluate(JIParserNode.java:1274)
at oracle.jbo.ExprEval.doEvaluate(ExprEval.java:1271)
at oracle.jbo.ExprEval.evaluateForRow(ExprEval.java:1075)
at oracle.jbo.RowMatch.rowQualifies(RowMatch.java:187)
at oracle.jbo.server.ViewObjectImpl.rowQualifies(ViewObjectImpl.java:3039)
at oracle.jbo.server.QueryCollection.rowQualifies(QueryCollection.java:3789)
at oracle.jbo.server.QueryCollection.populateRow(QueryCollection.java:3674)
at oracle.jbo.server.QueryCollection.fetch(QueryCollection.java:3467)
at oracle.jbo.server.QueryCollection.get(QueryCollection.java:2184)
at oracle.jbo.server.ViewRowSetImpl.getRow(ViewRowSetImpl.java:5125)
at oracle.jbo.server.ViewRowSetIteratorImpl.doFetch(ViewRowSetIteratorImpl.java:2936)
at oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2792)
at oracle.jbo.server.ViewRowSetIteratorImpl.refresh(ViewRowSetIteratorImpl.java:3033)
at oracle.jbo.server.ViewRowSetImpl.notifyRefresh(ViewRowSetImpl.java:2797)
at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:1255)
at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:1413)
at oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:1320)
at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:1305)
at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:7120)
at oracle.adf.model.bc4j.DCJboDataControl.executeIteratorBinding(DCJboDataControl.java:1301)
at oracle.adf.model.binding.DCIteratorBinding.doExecuteQuery(DCIteratorBinding.java:2239)

To implement what are we missing? Local to the database? This is a bug? Any idea?

Thank you.

Hello

I find the solution. The locale of the FMV of the weblogic host are configured with es_ES. When I change with en_US filter works.

Thank you

Tags: Java

Similar Questions

  • ADF: Columns of the Table filtering problem

    Hello

    My Version of JDeveloper is 11.1.1.5

    I am facing a problem with the filter of the table...

    Is it possible to implement the feature of research on filtering only on af:table with panelCollection?

    Could someone help me please in this?

    I need Research* not only the filtering of the data inside the table with the facet of the columns of the table filter...

    Can someone help me with this application?

    Many thanks in advance,

    Kind regards
    Anil

    Published by: 977652 on February 17, 2013 19:28

    Published by: 977652 on February 17, 2013 19:38

    You can just type in the filter like '% EBS' field and you will find your file.

    Timo

  • foreign key ALTER TABLE QUERY PROBLEM

    HAI ALL,

    ANY SUGGESTION PLEASE?

    UNDER: foreign key ALTER TABLE QUERY PROBLEM

    I want TO CREATE AND ALTER TABLE foreign key:

    1.TABLE:HAEMATOLOGY1
    COLUMN: HMTLY_PATIENT_NUM
    WITH
    TABLE: PATIENTS_MASTER1
    COLUMN: PATIENT_NUM (THIS IS THE KEY PRIMARY AND UNIQUE)

    1.TABLE:HAEMATOLOGY1
    COLUMN: HMTLY_TEST_NAME
    WITH
    TABLE: TESTS_MASTER1
    COLUMN: TEST_NAME ((C'EST LA CLÉ UNIQUE))
    ---------------


    SQL + QUERY DATA:
    -----------
    ALTER TABLE HAEMATOLOGY1
    Key constraint SYS_C002742_1 foreign (HMTLY_PATIENT_NUM)
    references PATIENTS_MASTER1 (PATIENT_NUM);

    ERROR on line 2:
    ORA-01735: invalid option of ALTER TABLE

    NOTE: THE NAME OF THE CONSTRAINTS: SYS_C002742_1 TAKEN FROM ORACLE ENTP TABLE DETAILS. MGR.
    ---------
    ALTER TABLE HAEMATOLOGY1
    Key constraint SYS_C002735_1 foreign (HMTLY_TEST_NAME)
    references TESTS_MASTER1 (TEST_NAME);

    ERROR on line 2:
    ORA-01735: invalid option of ALTER TABLE

    NOTE: THE NAME OF THE CONSTRAINTS: SYS_C002735_1 TAKEN FROM ORACLE ENTP TABLE DETAILS. MGR.

    ==============

    4 TABLES OF LABORATORY CLINIC FOR DATA ENTRY AND GET REPORT ONLY FOR THE TESTS CARRIED OUT FOR PARTICULAR

    PATIENT.

    TABLE1:PATIENTS_MASTER1
    COLUMNS: PATIENT_NUM, PATIENT_NAME,

    VALUES:
    PATIENT_NUM
    1
    2
    3
    4
    PATIENT_NAME
    BENAMER
    GIROT
    KKKK
    PPPP
    ---------------
    TABLE2:TESTS_MASTER1
    COLUMNS: TEST_NUM, TEST_NAME

    VALUES:
    TEST_NUM
    1
    2
    TEST_NAME
    HEMATOLOGY
    DIFFERENTIAL LEUKOCYTE COUNT
    -------------

    TABLE3:HAEMATOLOGY1
    COLUMNS:
    HMTLY_NUM, HMTLY_PATIENT_NUM, HMTLY_TEST_NAME, HMTLY_RBC_VALUE, HMTLY_RBC_NORMAL_VALUE

    VALUES:
    HMTLY_NUM
    1
    2
    HMTLY_PATIENT_NUM
    1
    3
    MTLY_TEST_NAME
    HEMATOLOGY
    HEMATOLOGY
    HMTLY_RBC_VALUE
    5
    4
    HMTLY_RBC_NORMAL_VALUE
    4.6 - 6.0
    4.6 - 6.0
    ------------

    TABLE4:DIFFERENTIAL_LEUCOCYTE_COUNT1
    COLUMNS: DLC_NUM, DLC_PATIENT_NUM, DLC_TEST_NAME, DLC_POLYMORPHS_VALUE, DLC_POLYMORPHS_

    NORMAL_VALUE,

    VALUES:
    DLC_NUM
    1
    2
    DLC_PATIENT_NUM
    2
    3
    DLC_TEST_NAME
    DIFFERENTIAL LEUKOCYTE COUNT
    DIFFERENTIAL LEUKOCYTE COUNT
    DLC_POLYMORPHS_VALUE
    42
    60
    DLC_POLYMORPHS_NORMAL_VALUE
    40-65
    40-65
    -----------------


    Thank you
    RCS
    E-mail:[email protected]
    --------

    ALTER TABLE HAEMATOLOGY1
    ADD Key constraint SYS_C002742_1 foreign (HMTLY_PATIENT_NUM)
    references PATIENTS_MASTER1 (PATIENT_NUM);

  • Filtering problem date to the table QBE filter when it is supported by the POJO data control

    @Timo Hahn ADFfan 11.1.1.4 or 11.1.1.7

    I have exactly the same problem as described in the discussion archived here unanswered

    Definiton vc_temp_1 not found error for the filter of the columns date

    I used the sample downloaded 37 here as a model

    037. how to build the pagination in the POJO ADF data control

    http://www.Oracle.com/technetwork/developer-tools/ADF/learnmore/index-101235.html

    It is easy to replicate, just to run this sample and try to filter on the date of hire.  It takes about 2 minutes to download and run.

    sample image 37 running on 11.1.1.7

    Here is the stacktrace.   Don't know why it's using java.sql.Timestamp.   My POJO returns a java.lang.Date

    java.lang.IllegalArgumentException: timestamp format must be yyyy-mm-dd hh: mm: [.fffffffff]

    at java.sql.Timestamp.valueOf(Timestamp.java:194)

    to oracle.jbo.common.JboTypeMapEntries$ 3.convert(JboTypeMapEntries.java:149)

    at oracle.jbo.domain.TypeFactory.get(TypeFactory.java:855)

    at oracle.jbo.domain.TypeFactory.getInstance(TypeFactory.java:102)

    at oracle.jbo.common.JboTypeMapEntries.convertValue(JboTypeMapEntries.java:382)

    at oracle.jbo.common.OracleTypeMapEntries.convertValue(OracleTypeMapEntries.java:162)

    at oracle.jbo.common.JboTypeMap.convertValue(JboTypeMap.java:869)

    at oracle.jbo.domain.TypeConvMapEntry.convert(TypeConvMapEntry.java:120)

    at oracle.jbo.domain.TypeFactory.get(TypeFactory.java:855)

    at oracle.jbo.domain.TypeFactory.getInstance(TypeFactory.java:102)

    at oracle.jbo.RowComparator.compareEquals(RowComparator.java:34)

    at oracle.jbo.RowValueSupplier.compareValues(RowValueSupplier.java:253)

    at oracle.jbo.expr.JIParserNode.evaluate(JIParserNode.java:1274)

    at oracle.jbo.ExprEval.doEvaluate(ExprEval.java:1099)

    at oracle.jbo.ExprEval.evaluateForRow(ExprEval.java:911)

    at oracle.jbo.RowMatch.rowQualifies(RowMatch.java:187)

    at oracle.jbo.server.ViewObjectImpl.rowQualifies(ViewObjectImpl.java:2811)

    at oracle.jbo.server.QueryCollection.rowQualifies(QueryCollection.java:3705)

    at oracle.jbo.server.QueryCollection.populateRow(QueryCollection.java:3590)

    at oracle.jbo.server.QueryCollection.fetch(QueryCollection.java:3387)

    at oracle.jbo.server.QueryCollection.sortRows(QueryCollection.java:994)

    at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:1184)

    at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:1338)

    at oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:1256)

    at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:1250)

    at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:6809)

    at oracle.adf.model.bean.DCBeanDataControl.executeIteratorBinding(DCBeanDataControl.java:948)

    at oracle.adf.model.binding.DCIteratorBinding.doExecuteQuery(DCIteratorBinding.java:2177)

    at oracle.jbo.uicli.binding.MyIteratorBinding.executeQuery(JUAccessorIteratorDef.java:721)

    at oracle.jbo.uicli.binding.JUSearchBindingCustomizer.applyAndExecuteViewCriteria(JUSearchBindingCustomizer.java:607)

    at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding.processQuery(FacesCtrlSearchBinding.java:442)

    application example will reproduce the problem with no changes

    Post edited by: Don Kleppinger confirmed it happens on 11.1.1.7 as well (see image)

    Frank Nimphius-Oracle

    I have a work around for this bug to Oracle.  I have a version in 037 sample that actually works and that will sort the field date.  I'm ready to download a copy to replace the download version that is there if Oracle is listening.  The sample was there 5 years ago so it is regrettable that this bug still exists.

    That's what I did

    create beans with custom queryListener

    On the table

    change

    queryListener = "#{bindings.allEmployeesQuery.processQuery} '"

    TO

    queryListener = "#{queryListenerBean.processQuery} '"

    Add an additional field to the line which is a long value of the Date column.   In the queryListener I change the input filter on the value of long type instead of the date value.

    I do not display the column containing the value of long (time) in the table, but she must appear in the binding of the tree. (shuttles to the right)

    In the listener query

    • Read the filter value Date and read the value of time full, clear the value of the filter date
    • long time set in the filter
    • Run the query by call of the listener of the original request #{bindings.allEmployeesQuery.processQuery}
    • Set the date value to the value entered by the user
    • erase the value of long type

    Here is the code

    {} private void processQuery (QueryEvent queryEvent)

    Table richeTableau = (RichTable) queryEvent.getComponent ();

    FilterableQueryDescriptor filterQD = (FilterableQueryDescriptor) table.getFilterModel ();

    Card filterCriteria = filterQD.getFilterCriteria ();

    Date dt = (Date) filterCriteria.get ("hireDate");

    time of to of subject Date and filter on hireDateLong instead of column hireDate column

    containing the value of long type of date instead of the Date

    If (dt! = null) {}

    TM long = dt.getTime ();

    filterCriteria.put ("hireDateLong", tm);

    filterCriteria.put ("hireDate", null); This must be null or will not work

    }

    DCBindingContainer bc = (DCBindingContainer) BindingContext.getCurrent () .getCurrentBindingsEntry ();

    Object execBinding = bc.findExecutableBinding ("allEmployeesQuery");

    does not perform a cast of the class internal oracle but another technique guided under

    does not work with POJO data control

    run the filter

    (ExecBinding) .processQuery (queryEvent) (FacesCtrlSearchBinding);

    This will fail

    invokeQueryEventMethodExpression ("#{bindings.allEmployeeesQuery.processQuery}",)

    restore the value of the filter if he continues to display in the QBE bar

    filterCriteria.put ("hireDate", dt);

    filterCriteria.put ("hireDateLong", null);

    }

  • The tabs in Word table display problem.

    When I select several lines in my Word table is 'all or nothing' will display the tabs apply to all lines.  Could not locate the problem.

    Thank you for visiting the Microsoft answers community.

    The question you have posted is related to Microsoft Word and would be better suited in the Group Discussion in Microsoft Word. Please visit this link to find a community that will provide the support you want.

    Lisa
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • MAC address filtering problem with router DI-624 and printer HP D110

    Just got the wireless D110 printer and cannot connect to the wireless router.

    I have a D - Link DI - 624 Air Plus Xtreme G 2 .4GHz Wireless Router.

    The error message I get from the printer, it's that "address filtering Mac can be activated on your wireless router. This can prevent your HP printer to connect to your network without wire during installation... etc. ".

    The D-Link is configured with WPA - PSK security. If I disable all the security the wireless printer is able to connect. I can't connect the printer to the wireless router with WPA - PSK or WEP same active. There is no connection with the electrician the printer and the router.

    I have connected the router Admin and have repeatedly confirmed that Mac filtering is turned off by going to Advanced Options > Filters > filters Mac > and choose disabled Mac filters. Where is this setting? Why is not able to connect printer?

    In addition, I check the logs on the router and it shows "Wireless PC connected" and "Authentication successful" with a note that has the Mac address of the corresponding hardware address mac hardware of the printer on the wireless network Test report. It seems that the router is to let printing but the printer is not able to communicate for some reason any. It even shows under status > wireless printer is connected.

    When I talked to HP, they said to contact the router company and they couldn't help. When I called D-Link, they said technical support is no longer available for the model. I am stuck, can anyone help?

    Windows XP, tried the front of the printer and USB connection and using the software.

    After a few hours on the phone with the D-Link and HP, the problem has been resolved.

    Apparently, even if that Mac filtering is disabled (set to disabled MAC filters), the Mac address had to enter the router to enable all keeping off Mac filter setting. To me he appeared in the counter intuitive to enter the Mac address, while set to disabled the Mac filter so I wasn't that before picking up the phone with HP. Further on this point, the problem is not going away right after adding the mac address, but rather after the reboot of the router, such as the addition of mac address did not effect, without a reboot of the device.

    HP has been much more useful than a D-Link on it, although it would be nice for HP to add to their instructions and Test report of wireless network to add the Mac address, just in case. I would have tried this step if it has stated that it is acceptable to add the mac address and keep the mac filters disabled.

  • Customers table WRT54GS problem

    After Update v.5 WRT54GS with the construction of the 1.57.7 firmware 013 dated July 27, 2009 (and a router of the reconstruction after the reset procedure) I find that the customers table is empty or incomplete. I would like to know my equipment local IP addresses, once they negotiate a DHCP lease with the router. Someone can tell me why this is happening and is there a solution? (Everything on the LAN seems to be communicating OK, even if it is not listed in the Active IP Table.) Thank you.

    All seven devices are configured for DHCP. Strangely, in the last 24 hours, I've seen the devices appear in the table customers, one at a time. Now, they're all here. It's as if the old leases were to expire until they stood again. Maybe they have been reassigned new IPs, I don't know... in any case, the problem solved itself. Thanks for the reply.

  • 12 c: table scrolling problem?

    Hello!

    I am facing a strange probleam after migrating my application to 12 c (12.1.2.0.0). All the scrolling tables are too slow when the cursor point is on the contents of the table, but if the cursor is above the scroll bar, the speed is very good.

    PS. : Chrome scrolling is fine, just to IE10 and Firefox are slow.

    THX,

    Alexandre Rocco.

    Finally I managed to solve this problem

    I just added! important' CSS property, so this will overwrite the style that has been defined in the HTML code

    AF | : the table-body {} data

    position: static! important;

    }

  • Filtering problem by vm properties obtained using get-display, instead of get - vm

    Hello world.  I have a script which allows to obtain a certain number of properties different vm through get - view.  I would get out the information in different html pages, but encounter problems of filtering.

    for example, I have the powerstate for vm I can view by typing $vm.runtime.powerstate, and I would like to filter by only of the virtual machine that are turned on.  In the previous scripts, I used where {$_.} PowerState - 'Receiving' eq} to list only power on vm.  This doesn't seem to work, and I think that its because previously I got information using get - vm, not get - see.

    How can I filter the information that I have so that it shows only powered on vm? using get - vm I could use the following...

    $PRDVMTools = $DatacenterTmp | where {$_.} PowerState - eq "Receptor" - and $_. ToolsStatus - don't "toolsOk" - and $_. ToolsStatus - don't "toolsOld"} | Tri-objet

    ToolsVersion

    $PRDVMTools | ConvertTo-html-property VMName, OS, ToolsStatus, ToolsVersion. Out-file - add $htmlPRDVMTools

    I can't work out how to do it using the properties returned by using get - view instead of get - vm

    any help would be appreciated more

    Thank you

    I checked the script more in detail and I found two things that I don't understand:

    1. you seem to be an iteration through data centers, hosts, and virtual machines. Why recover you clusters?

    2. Why do you have so many properties of the virtual machine in the $row variable, if you save only 6 of them in the HTML file?

    I enclose the updated the script I did according to my understanding of what you are trying to do. You can optimize it more if you specify the properties of the specific vm you want to recover with the parameter of Get - view property on line 34.

  • AE expressions - linking text to a table (syntax problem) external text layer

    Hi all

    I am struggleing to solve this problem-any help would be greatly appreciated.

    In a text outside the legacy document, I have some pictures saved as follows:

    var = Los Angeles ['Los Angeles', "city Type:", 'Multi City', "Geo:", '-115.180664062,36.111252521', "languages:", "31", "County of POI: ', '20'," County Photo: ', '600', 'Video', 'Y', 'Video views', '30 200'];

    var Las_Vegas = ['Los Vegas', "city Type:", 'Multi-City', "Geo:", '-118.243684900,34.052234200', "languages:", "29", "County of POI: ', '20', ' County Photo:", '331', 'Video', 'Y', 'Video views', '26 000'];

    var Sydney = ["Sydney", "city Type:", 'Multi-City', "Geo:", "151.204250000,-33.866850000", "languages:", "29", "County of POI: ', '20'," County Photo: ', '331', 'Video', 'Y', 'Video views', '26 000'];

    In my comp in AE, I have a layer of text called "city selector. The source text is retouching to navigate between table names (for example: "Los Angeles", "Las_Vegas").

    I then many other text layers, with the following expression in the parameter of source text-

    try {}

    myPath = ' / Volumes/VIdeo-Master/videos/find your project b0ss/source.txt ';

    $.evalFile (myPath);

    eval (thisComp.layer("CITY_PICKER").text.sourceText) [Math.round (effect ("Slider Control") ("Slider"))];

    } catch (err) {}

    "MISSING."

    }

    Each text layer has a slider control to call another element in the table. Thus simplified, the 4th line of the code should read-

    eval (arrayname) [number]

    For example: eval (Sydney) [5] must return ' language:'

    HOWEVER, instead, when

    eval (Sydney) [5] returns "y".

    eval (of Los Angeles) [5] returns ' no

    eval (of Los Angeles) [3] returns "_".

    Everyone can see what I'm doing wrong?

    See you soon!

    Hi again,

    I realize I completely misunderstaood the role of the SELECTOR of the CITY, where your question.

    Next, you need the eval. I'm sorry.

    In your original expression, try to replace eval (thisComp.layer("CITY_PICKER").text.sourceText) [...]

    by eval (thisComp.layer("CITY_PICKER").text.sourceText.value) [...]

    If my guess is rigth, AE expressions allow an amibiguities between the properties and their value, but eval (which is a native js function) does not work.

    Then your original expression begins with the assessment of a property should evaluate a string ("Sydney", etc...)

    Have not tried.

    Xavier

  • Date field and amount of table format

    Hi all
    I'm working on jdev 11.1.2.1.0
    When the page loads I'm populating a table based on a query of the VO.
    In this table, I have a few fields (columns) of the date and the amount.
    I want to format these columns, how can I do?

    Appreciate your help.

    Thank you and best regards,
    Madhav K.

    For the Date field, you can try this:

    <>
    dateStyle = 'average' pattern = "dd-MMM-yyyy" / >

    And for many, it should work.

    I just tried, both work for me.

  • Table format problem - please help

    Here's what I'm trying to do:

    I have a set of documents in xml format according to the docbook standard.  In these documents, there are also types of table.  Standard TABLE with its tag element and an informal table with the tag of the INFORMALTABLE element.

    When they are open and my file format and ESD apply I want Standard tables to have a blue shadow header and informal boards have a shaded gray header.  I created the models of appropriate table.  I can't understand a way via ESD to specify the type of table format that works.  When I open an xml and apply the edd and the format of all tables to open it using the table format that appears first in the list.

    What can I do for ESD to reach my goal?

    Thanks in advance

    Russ,

    Thanks for letting me know my messages were getting through. I just responded to the original rather than through the interfaces forums and had no idea there was a problem. I tried to post twice on this topic today:

    The messages were:

    Russ,

    You are right. A DSP can specify an initial table format. The word "initial" is the key. This is the format that is used when a new table is created, if the new table is created interactively by the user or by opening a SGML or XML document. Initial table layouts do not affect the existing tables. In fact, for a table created in interactive mode, the initial table format determines the format that is highlighted when the Insert Table dialog first. The user is free to choose a different size if you wish.

    and

    Qualar,

    R/w rules are not sensitive to the context, so that if you use an FM tgroup element, they will not be able to help. Tgroup in your EDD definition can define a format of original table of Format if the tgroup is within the item table and Format B if the tgroup lies in informaltable. Just make sure that you have imported ESD in the model before you open the XML document. As you have noticed, if you open the XML document and then import the EDD, the tables already exist and that their format is not affected.

    -Lynne

  • Table filters break when using of text with the words "AND" or "OR".

    With the help of JDev 11.1.1.3.0

    Hello-

    The filters in the table seem to treat the words 'and' and 'or' differently when they are used in the filters in the table. Is it possible to change this behavior? I have a few sets of data where these words appear in the data. When the user performs a search on the data and uses the words 'and' or 'or' the filter no longer works. (He returned lines nil or returns all the rows.)

    Test case:

    1 create a filterable unalterable for the resources table. DEPARTMENTS table.
    2 set the Department name column to be case insensitive in its filtering:
                  <af:column sortProperty="DepartmentName" filterable="true"
                             sortable="true"
                             headerText="#{bindings.DepartmentsView1.hints.DepartmentName.label}"
                             id="c2" filterFeatures="caseInsensitive">
                    <af:outputText value="#{row.DepartmentName}" id="ot4"/>
                  </af:column>
    3. run the page.
    4. in my HR. Data REPRESENTATION, there is a service with the name "control and credit." In the service name filter, type
    a. 'control' and press ENTER - service of "control and credit" only comes
    (b) "control and" and press ENTER - only 'control and credit' Department appears
    c. 'control and credit' and press ENTER - ZERO departments appear.

    5. the Test cases for "GOLD". In the service name filter, type
    a. 'or' and press ENTER - displays all departments.


    I tried a few other words SQL in the filters but only 'AND' and 'GOLD' seems to break things.
    Is this a known bug?
    Is there a solution?

    Thank you for reading my question

    The list of documents http://docs.oracle.com/cd/E21764_01/web.1111/b31974/web_search_bc.htm#BABCCBCF 'AND' and 'GOLD' as 'Operators of Query-by-Example search criteria' are not text but the operators.
    You can try to join the text in the filter with single or double quotes and see, is that it treads in the form of text.

    Timo

  • Table initialization problem.

    Hello

    I am new to Java, so I ran into a little problem.
    import java.util.Scanner;
    
    class Inventory{
    public static void main(String [] args){
    Scanner scan = new Scanner(System.in);
    System.out.println("How many items do you want to store?");
    final int length = scan.nextInt();
    String items[] = new String[length];
    System.out.println("You can store "+items.length+" items:");
    
    for(int i=0;i<items.length;i++){
    items[i] = scan.nextLine();
    }
    System.out.println("\nYou have stored:");
               
    for(String s:items){
    System.out.println(s);
    }
    
    }
    }
    If basically as you can judge by the code, this little program is supposed to ask the user for input on the number of items it wants to store in the table. And then on the user input value, the size of the array will be defined so that it will ask you to store as many elements he needed.

    The problem is, if I want to store 5 items for example, I type in 5 and I can store only 4 points. I thought that the paintings were supposed to start with an index of 0, so if I put 5 be stored 5 items (from 0 to 4), but instead it stores only 4... What could be the problem? First I thought it was the loop and published as "I < = items.length" but there was an OutOfBounds exception or something.

    I would appreciate your help, I need a detailed explanation that I want to understand how things work once and for all.
    Thank you

    Published by: 884351 on Sep 9, 2011 13:38

    Published by: 884351 on Sep 9, 2011 13:39

    I'm sorry I'm new here and don't know the code tags. However, the problem is that if I enter 5 as the size of the array it stores only 4 elements of what I noticed, is if I use
    scan.next()
    Instead of
    scan.nextLine()
    for inputs of the element of analysis, it works fine. So would it be possible that after I have the size of the input array and press the
    scan.nextLine
    takes the value of the input and stores it in the index 0 points [0]?

    Published by: 884351 on Sep 9, 2011 15:01

    884351 wrote:
    The problem is, if I want to store 5 items for example, I type in 5 and I can store only 4 points.

    No it's only your support.

    I thought that the paintings were supposed to start with an index of 0, so if I put 5 it must store 5 items (from 0 to 4),

    Yes your quite right.

    but instead, it stores only 4... What could be the problem? First I thought it was the loop and edited like

    No problem in the loop, he works in the way you run it. I say give Sysout loop and check, why he doesn't want input first.

    I will say that it is how you use the scanner.

    takes the value of the input and stores it in the index 0 points [0]?

    Yes, it looks that you have thought about it.
    I suggest you to use the code to read the length below.
    final int length = Integer.parseInt (scan.nextLine ());

  • Advanced table navigation problem

    Hello

    I have a table points to a page that shows the 10 records per page . Next and previous links of advanced table are used to access to other records. Action table-> single selection is enabled on the advanced table. There is also a button called * "View history" * in advanced table actions. After you select a record in the advanced table and clicking on the button view history, a new history of page B is displayed. Story page button named back there. The URI of Destination of the back button property is the URL of the original page B. When click on the back button, the original page A is displayed.

    Now, if say I browse to folder of 21-30 of advanced table by clicking on the link next to the advanced table. I selects the 25 record and click View history. Coming up on page B. I click the back button and now it displays A page, but the problem is the displayed records in the advanced table are from the beginning it i.e. it displays the top 10 records. The requirement is that when I come back to page A, advanced table should display (20-30) records that I chose to view the history during the click on the back button.

    I would like to know how to solve this problem.

    Thank you
    VG

    Hey Vg,

    When you leave the page to view the history, get the VO rangeStart and rangeSize and pass them as parameters to the history page. When we click on the back button pass you those on A page as parameters. Then in your PR of A Page, you set the rangeState and the rangeSize of the VO to what passed as parameters.

    Keep the beginning and size.
    int savedRangeStart = vo.getRangeStart ();
    int savedRangeSize = vo.getRangeSize ();

    restore the rangeStart and rangeSize

    vo.setRangeSize (savedRangeSize);
    vo.setRangeStart (savedRangeStart);

    For more information, see Jdeveloper help search advanced tables.

    Kristofer Cruz

Maybe you are looking for

  • email footer

    Hello at the foot of most email sent and received, it is a message telling me how it was sent. Example: "sent from mail for windows 10'." Sometimes I receive mail with no such footer.  Why?  The post office was sent to a private server? Huddy57 Moved

  • Build waveforms of the discrete points

    Hi all I'm doing a signal generator with the possibility of an arbitrary waveform. I have a graph with some sliders on it that you can move you like (only in the direction Y, not X) of these points, I would like to to create a 'soft', waveform, which

  • Assistant DAQ - HELP! why I don't Assistant DAQ on my 8.6.1 range of entrance of the student edition?

    Help. When I create a new Vi (for the 1st time) have installed LabVIEW my palette entry does not contain the DAQ Assistant? Is this true or an installation problem (no erros installation were marked upward)? How am I supposed to gain entry without th

  • LaserJet P1102w: Impossible to activate printing odd/even

    Hello I try to print double-sided on my first impression p1102w all odd pages of my document, then even pages. However, under OS X Yosemite (10.10.3), there is no way to change the default to print preset. I can view all the presets and see their set

  • Keeps crashing when Adobe Flash is required

    When you use the Firefox browser there is a constant crashing if Adobe Flash is required. Is there a solution for this problem? I use Firefox, because other browsers do not support certain applications, i.e. of Java for example.