Format issue for Number field in af:query. Is it an ADF Bug?

Hi OTN,
Requirement : Format DepartmentId in query panel
I have created a view criteria from Employees table (HR Schema). I have four view criteria items called EmployeeId, DepartmentId, Firstname, LastName and all the items having validation property as Selectively Required. DepartmentId attribute have UI Hints property as Format Type = Number and Format = *0000* and Auto Submit=true.
But in UI, I am not able to do search from af:Query panel. It works fine without setting UI Hints property Format Type* and Format
Step 1 : Enter 123 in DepartmentId field
Step 2 : Click Search Button
Error : Please provide a value for atleast one of the indicated fields
Error Screen : http://www.freeimagehosting.net/24d51
Please check the below link for downloading the sample application
http://formatissue.googlecode.com/svn/trunk/FormatTest/FormatTest.zip
http://formatissue.googlecode.com/svn/trunk/FormatTest ( SVN version)
Note:
JDev Version : 11.1.1.5.0
I am using ADF BC and ADF Faces Components
Any recommendations fully appreciated
Thanks,
Dinil Mithra
Edited by: Dinil Mithra on Nov 23, 2011 4:51 PM
Edited by: Dinil Mithra on Nov 23, 2011 5:21 PM

Please find the metadata for VO attribute and View Criteria
<ViewAttribute
Name="DepartmentId"
PrecisionRule="true"
EntityAttrName="DepartmentId"
EntityUsage="Employees"
AliasName="DEPARTMENT_ID">
<Properties>
<SchemaBasedProperties>
<CONTROLTYPE
Value="edit"/>
<FMT_FORMATTER
ResId="model.EmployeesView.DepartmentId_FMT_FORMATTER"/>
<FMT_FORMAT
ResId="model.EmployeesView.DepartmentId_FMT_FORMAT"/>
<AUTOSUBMIT
Value="true"/>
</SchemaBasedProperties>
</Properties>
</ViewAttribute>
<ViewCriteria
Name="EmployeesViewCriteria"
ViewObjectName="model.EmployeesView"
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="vcrow103"
UpperColumns="1">
<ViewCriteriaItem
Name="EmployeesViewCriteria_vcrow103_EmployeeId"
ViewAttribute="EmployeeId"
Operator="="
Conjunction="AND"
Required="SelectivelyRequired"
GenerateIsNullClauseForBindVars="false"/>
<ViewCriteriaItem
Name="EmployeesViewCriteria_vcrow103_DepartmentId_EmployeesViewCriteria_vcrow103_DepartmentId_itemHolder_vcrow105_DepartmentId"
ViewAttribute="DepartmentId"
Operator="="
Conjunction="AND"
Required="SelectivelyRequired"
GenerateIsNullClauseForBindVars="false"/>
<ViewCriteriaItem
Name="FirstName"
ViewAttribute="FirstName"
Operator="CONTAINS"
Conjunction="AND"
Required="SelectivelyRequired"
GenerateIsNullClauseForBindVars="false"/>
<ViewCriteriaItem
Name="LastName"
ViewAttribute="LastName"
Operator="CONTAINS"
Conjunction="AND"
Required="SelectivelyRequired"
GenerateIsNullClauseForBindVars="false"/>
</ViewCriteriaRow>
</ViewCriteria>

Similar Messages

  • How Can I Change Format Mask For All Fields that type's Number Depend on Parameter in Report Builder 10g ?

    I want Change format mask for all fields that type's number
    Such as
    if  :parameter_value = 1 then
       all fields format mask = ' 999,999,990.000' ;
    else
       all fields format mask = ' 999,999,990.00' ;
    end if;
    Regards

    So, i have bad news for you : you'll have to rebuild again.
    Meanwhile i have excellent news for you : there's an online tool made by Johannes Henseler called Sidecar xml which builds the necessary xml file for you, sort of what you find in the Digital Publishing Folio Editor website, but saves it in your Folio folder.
    Next time you import all your folder (with that file), it will place all the necessary information, and even reorder the articles.
    Build once, play many times.

  • Delta issue for Customized field in LO Datasource.

    Hello,
    I have one customized field 'ZCOORNAME' in the DS 2LIS_05_Q0NOTIF. I have changed this field in Tcode- QM02 and checked the changes in TCODE - LBWQ (Extraction Queue) and I got the Changed entry but now when i am trigerring the V3 Job, these changes are not getting populated in RSA7 (Delta Queue).
    For standard field changes, it is capturing delta properly, the problem is with only customized fileds..Can anyone put some light on this issue ....
    Can you pls le me know when will be the Customer Exit(CMOD) is going to hit ? Before the Delta Queue or After the Delta Queue or is it before the Extraction Queue / After the Extraction Queue ???
    BR /  PT..

    I have one customized field 'ZCOORNAME' in the DS 2LIS_05_Q0NOTIF. I have changed this field in Tcode- QM02 and checked the changes in TCODE - LBWQ (Extraction Queue) and I got the Changed entry but now when i am trigerring the V3 Job, these changes are not getting populated in RSA7 (Delta Queue).
    For standard field changes, it is capturing delta properly, the problem is with only customized fileds..Can anyone put some light on this issue ....
    Please try activating the datasopurce again and try it.
    Can you pls le me know when will be the Customer Exit(CMOD) is going to hit ? Before the Delta Queue or After the Delta Queue or is it before the Extraction Queue / After the Extraction Queue ???
    he customer exit is hit before the entries are populated in extraction queue. Actually, when the transaction is done, the changes are written to database table and at the same time into the extraction queue. Just before going to extraction queue, the custom fields get populated in customer exit.

  • Help! I want to add check number field to a query using ABAP.

    I need to select PAYR-CHECT and add this field to a query where BKPF-BELNR = PAYR-REC_BELNR.
    How would I write the select statement? HELP!

    Would this work?
    SELECT        CHECT FROM  PAYR
           WHERE  REC_BELNR  = BKPF-BELNR.
    ENDSELECT.

  • Date format(for number fields)

    Hi there.
    I'm creating some sql queries wich will be executed by some users throught the Oracle client PL/SQL, and I need to format some fields in date format.
    Those fields are NUMBER(8) and they are in that format: "YYYYMMDD"
    The format I want to put that information is: "DD.MM.YYYY".
    What's the easiest way to do that?
    The version that I'm using is Oracle 9.2.0.4.0.
    Thanks by the way.

    Hi,
    Use TO_CHAR to convert the number to a string,
    use TO_DATE to convert the string to a date, then
    use TO_CHAR to format the date.
    TO_CHAR ( TO_DATE ( TO_CHAR ( numeric_column
                                , 'fm00000000'
                      , 'YYYYMMDD'
            , 'DD.MM.YYYY'
            )This shows why storing dates in some other kind of column is a bad idea.

  • RTF Formatting Issue for a Conventional Report

    Hi,
    I have started using XML Publisher. I am unable to do one of my requirement to design the RTF template because of following issues. My report should look like this.
    |....|........................|.....................|
    |....|....Name...........|.......Value......|
    |.1..|......AAA..........|........100........|
    |.2..|......BBB..........|........200........|
    |....|.......................|......................|
    |....|.......................|......................|
    |....|.......................|......................|
    |....|.......................|......................|
    |....|.......................|......................|
    |....|.......................|......................|
    |....|.......................|......................|
    |....|.......................|......................|
    |....|.......................|......................|
    |..........Total..........|....Cont./Sum...|
    |..................................................|
    |.............................Page.X.of.Y....|
    I have a requirement to design a template in RTF like the one shown above. Here I wanted to place a page break as soon as the group member records are printed. And I need to print the sum (this is already stored in a tag in the XML) against Total. But, if the number of records are more than what can be accomodated in a page, I need to print "Continued.." and till it come to the last page where i can print the sum. Also, I need to display the page number right below the Total.
    I have created the basic design, but I have the following issues:
    I have placed the Total section in the footer and then, Page break (both with Ctrl-Enter and <?split-by-page-break:?>) doesn't seem to be working.
    If i place the Total in the body section, i need to print remaining part of the body with dummy lines, otherwise, the Total will come right below the last record. I want the Total to be in the bottom of the page.
    Any help in resolving this is very much appreciated.
    Thanks,
    Joby

    This problem has been solved in 5.6.1 - you can now have a different page format
    for the last page, so you could put the summary table into the footer of the last page.
    Please check "Last page only content" in the 5.6.1 user guide (page 2-46)
    Hope that helps,
    Klaus

  • Format Mask for TexInput Field

    Hi All,
    I have one requirement of making format for string which to be entered into text This should work like Password field but main thing need to implement is that entered alphabets (Eg. 123456789) should not replace all alphabetes with special characeter (Eg. *********). Instead of this replacement, I need to replace only starting few alphabetes. For example, when we enter string "123456789", while entering this string TextInput field should replace string by string "******789".
    That means user can not see some starting alphabetes when he key in whole string.
    Please let me know if anybody has done this ever or has some idea.
    Help is greatly appreciated.
    Thanks,
    Arvind

    I am sorry.
    By mistake I have raised this thread in Database forum.
    I wanted to raise in OAFramework.

  • Creating search help for a field in AdHoc Query

    Hi
    We have created an infoset based on LDB PCH.
    (The infoset contains object type O only).
    For the object-id field the users want search help when choosing this field for selection.
    Using "start via selection screen" does not give a good solution.
    Can anyone explain how I can create search help for fields in an infoset?
    Regards
    Kirsten

    Hi
    We have created an infoset based on LDB PCH.
    (The infoset contains object type O only).
    For the object-id field the users want search help when choosing this field for selection.
    Using "start via selection screen" does not give a good solution.
    Can anyone explain how I can create search help for fields in an infoset?
    Regards
    Kirsten

  • Format tab for form field properties

    This question was posted in response to the following article: http://help.adobe.com/en_US/acrobat/pro/using/WS58a04a822e3e50102bd615109794195ff-7de4.w.h tml

    It is possible to add script to a PDF to perform keystroke, formatting, and validation using the RegExp object. One can even have multiple variations and optional separator characters, It is even possible to include the testing of check digits. For 10 and 13 digit IBSNs see Default Spacing.

  • Shopping Cart Search issue for Custom field

    Hi,
    I added one custom field into Shopping cart basic data tab. And it is also displaying in extended search place.
    When i am trying to search the shopping cart using custom field i am not getting any result. But if i gave any Time Frame then it's picking up.
    What is the reason it's not picking up without any condition.
    I Appreciate any one share yours idea.
    Thanks,
    Senthil

    Hi SRM Experts,
    Please let me know any suggestion on this issue.
    Thanks a lot in advance.
    Thanks,
    Koyya

  • Validations for number fields

    hallo,
    i want to know whether is there any method to validate a
    field that is declared as datatype number(6) if a character is inserted into that field.
    i want to know other than javascripting.
    also,how can i implement this validation in a table
    that contains many fields of number type.

    When I said, if you attempt to insert a character into a number column you'll get ORa-1722 I meant using SQL i.e. running an INSERT INTO ... statement in SQL*Plus.
    6512 and 6502 error numbers.Those errors represent unhandled exceptions in PL/SQL. ORA-6512 is unhandled exception, ORA-6502 is the numeric data error.
    in table,if in second row a character is entered,the readings of first row is inserted and then a error message is promptedwell that sounds screwy, but definitely a front-end problem.
    we are using portal as front endThen I suggest you hie yerself over to the Portal forums. There are a number of them on the Forums Home » Oracle Technology Network (OTN) » Products » Application Server page. You'll probably what the PDK forum.
    Cheers, APC

  • Form Letter Report - How To Format Date and Number Hidden Fields

    Hi
    Is it possible to format date and number fields in a form letter report. This case were Paper Design shows fields as $<hire_date>. The examples in reference book only print character values which do not require formatting. I cannot determine how to achieve this. Cannot select fields from Paper Design view as per other report styles where can apply formatting. Do I have to perform formatting in the query to return date as string in format I wish for? This is not case for other report styles.
    Thanks

    you could add a field, set the source of the field to hire_date (assuming hire_date is a column in the data model), and put a format mask of whatever format you want. then set visible to No.
    then instead of &<hire_date> you can instead type &<name of your new field>.

  • Number fields filter in ADF

    Hi,
    I am using JDeveloper 11.1.1.4 and ADF-BC in my project.
    I have an query on how adf filter works for wild card characters '*' and '_' number fields and string fields.[Typically 'Number' and 'Varchar2' fields in DB].
    For Number fields, for example if my table has data 9.99 say for column price, when I give filter criteria as 9 , the query gets executed as select * from table where pricing = v_bind_1 [ v_bind_1 = 9]
    and does not fetch any data as per query.When I give filter criteria as 9*,then the query gets executed as select * from table where pricing LIKE v_bind_1 [v_bind_1 = 9%].
    But for string fields when I give filter criteria as N say for example EmpName column, then the query gets executed as select * from emp where EmpName LIKE v_bind_1 [v_bind_1 = N%].
    It behaves differently for string and number fields.
    Is this the standard behavior in ADF ??
    Also please point me to some docs which gives an insight on how filter is performed for different field types.
    Regards,
    Praveen

    Just a thought, for numbers filtering with operators like =,>,< makes more sense rather than using wildcards * or %. This might be the reason why the filtering differs for strings and numbers.

  • Doing "contains" for a String in a query

    I know that JDO has the startsWith and endsWith for String fields in a
    Query and it does not support "contains" for searching within a String
    field. But does Kodo have any implementation specific additions to the
    JDO query language to do a "contains" query for a String field of an object?
    Thanks,
    Khamsouk

    David,
    Query extensions will be available as an optional add-on to the standard
    edition, and will ship with the enterprise edition.
    -Fred
    David Sachs <[email protected]> wrote:
    Marc,
    Are these query extensions going to be available as a part of the "Standard"
    edition of 2.3, or will they only be available as a part of the "Enterprise"
    edition? The documentation seems to indicate that they're
    Enterprise-only....
    Thanks,
    David
    "Marc Prudhommeaux" <[email protected]> wrote in message
    news:[email protected]..
    Kodo 2.3 provides pluggable Query extensions:
    Query q = pm.newQuery (City.class, true);
    q.setIgnoreCache (true); // extensions work purely upon the datastore
    q.setFilter ("name.ext:stringContains (\"ford\"");
    Collection c = (Collection) q.execute ();
    For more details, see:
    http://www.solarmetric.com/Software/Documentation/2.3.0/query_extensions.htm
    l
    In article <aiin08$g3d$[email protected]>, Khamsouk Souvanlasy wrote:
    I know that JDO has the startsWith and endsWith for String fields in a
    Query and it does not support "contains" for searching within a String
    field. But does Kodo have any implementation specific additions to the
    JDO query language to do a "contains" query for a String field of an
    object?
    Thanks,
    Khamsouk
    Marc Prud'hommeaux [email protected]
    SolarMetric Inc. http://www.solarmetric.com
    Kodo Java Data Objects Full featured JDO: eliminate the SQL from yourcode--
    Fred Lucas
    SolarMetric Inc.
    202-595-2064 x1122
    http://www.solarmetric.com

  • Need help in formatting a number field with same precision for excel output

    I am trying to get the same preciision for a field in RTF template when the output is in EXCEL
    i.e. same number of digits after decimal. So, I would like to show 150 as 150.00 and 123.2 as 123.20 etc !! Is there a way to do it. the Built in formatting will not display 150.00 for 150 . but if i add $ symbol it will display. But i dont need $ syambol. please help.

    I found this on one of the forum questions.
    Excel dont preserve the trailing zeros.
    try opening the xcel and type 5.0000 and tab out, it wont preserve the trailing zeros after decimal.
    try finding out how to disable the option in excel. if you do that, you will see what you send out from the report.
    But you can try to convert the number into a text by trying to append a space at the beginning. See if that would work.
    Thanks
    Swarna

Maybe you are looking for

  • How can I delete iCloud photos from my iPad2?

    Photos were taken with iPhone 5. I was able to delete them off of phone but they would not delete on iPad. The iPad photos are under the catagory of iCloud photos. The pics only show up on my iPad and there is no trash can icon to delete. Tried loggi

  • Streaming over a network

    Hi All I can stream music from itunes to devices over my house, how can i do teh same for movies.

  • What is facetime audio and can I use it to make free international calls between iPhones?

    what is facetime audio and can I use it to make free international calls between iphones?

  • H.264 files jittery

    I'm using my mid-2009 macbook Pro to run quicktime files for a movie theater.  Recently we started receiving these 30-second advertisements to play in front of the films.  The best quality codec that I could get was H.264 files. For the most part, th

  • Why Berkeley DB caches entire ".db" file to Linux memory?

    Hi, We use the sample codes from the Berkeley documents to write a large amount of data to Berkeley DB in Linux. We found following problems: 1. System free memory drops quickly as more (key,data) pairs are written into db. 2. When we delete ".db" fi