Re: Mobile without Validations

Hi all

I use jdev11.1.2.3.0

I am facing a problem with < af:validateLongRange / >

I want to validate the mobileno field that I used < af:validateLongRange as

< af:validateLongRange

minimum = "1" messageDetailMinimum = "Please enter valid values" hintMinimum = "Please enter valid values" / >

< minimum af:validateLength = "13" messageDetailMinimum = "Please enter 13 digit" hintMinimum = "Please enter valid values" / >

When I start the page the message Watch 2 times.i want to show 1 time with validation correct message.how can I do this... can someone help me please.

Thank you

G.Shilpa

Hi Shilpa,

The link I posted above, is an example to create a custom validator. You'll want to probably start with the documentation on creating custom validator and build your top usecase: validation and conversion of entry

Arun-

Tags: Java

Similar Questions

  • I have a mobile without phone service, what can I strill access internet

    I have a mobile without phone service, what can I strill access internet

    Hello

    1. what operating system you are using?

    2. are you using Windows Phone?

    3. What do you mean exactly by phone mobile without service?

    For the Internet user on your phone, you will need to subscribe to any mobile service provider.

    If your phone supports the WiFi connection, you can use the Internet without any mobile service provider.

    If you need information about Windows phone you can view the query in the link mentioned below.

    http://answers.Microsoft.com/en-us/WinPhone/Forum

  • create the database in the mobile without SD card

    Hi, I want to create the database in a mobile blackberry without SD card. I mean in local memory. Is this possible? If it is possible how can I change the URI? Thank you URI.create ("file:///SDCard/databases/database.sqlite")

    file:///store/home/user/databases/database.SQLite

  • How to remove a line empty without validation error in ADF Table (EMP)

    Hello world

    I use the EMP Table in page jspx ADF to insert data into database.when, I insert a line in the table by createInsert operation, it the insertion of the line. But I need to remove that line immediately with enter them any value.

    But it displays a validation to empno error. Y at - it means to remove the empty line? If not, what are the reasons that we cannot remove the line.

    could someone tell me why!

    Thanks in advance!


    Kind regards
    Amar

    Published by: 973755 on December 11, 2012 06:42

    Amar,

    I'm a bit confused with your logic here...

    But if you try to delete the row by clicking the button Delete you can set the immediate property to true, this function of deletion will take place without performing any validation of the entity...

    R

  • Strange behavior when creating a composite with ' without validating key. '

    Hi all

    It's very strange for me. Can you please tell me where I am wrong.

    I want to create a composite key for the combination "INT_ID" and "STO_ID" columns in the table "act_ord". because this table contains already more entries in double for this combination, I decided to use 'enable novalidate' to skip validation for records duplicate already existing while creating constraints. But I get the following error "ORA-02260: table can have only one primary key" executing the below statement 1.1. If I create a 1 column with option novalidate constraint means, its working fine.
    1.1 Not working:- Giving error ORA-02260: table can have only one primary key
    ALTER TABLE ACT_ORD ADD CONSTRAINT PK_INT_ORD
     PRIMARY KEY   (INT_ID,STO_ID) enable novalidate 
    1.2 Working without any error:
    ALTER TABLE SPL_VAS.ACT_ORDER ADD CONSTRAINT PK_INT_STO_ORD
     PRIMARY KEY   (INT_ID) enable novalidate
    Is there a limitation of use 'enable novalidate' with the creation of composite primary key?

    Please take the necessary steps and make your suggestions.

    Kind regards
    Jame

    It is clear to me why you get this error. Here's a unit test where I get a different error (more logical).

    Note: to do this, you must first create a NON-unique index on the columns that you want to be in the primary key. Then use the clause for INDEXING to HELP when you add the primary key.

    SQL> create table test (i number not null, j number not null);
    
    Table created.
    
    SQL> insert into test values(0,0);
    
    1 row created.
    
    SQL> insert into test values(0,0);
    
    1 row created.
    
    SQL> commit;
    
    Commit complete.
    
    SQL> select *  from test;
    More...
    
             I          J
    ---------- ----------
             0          0
             0          0
    
    2 rows selected.
    
    SQL> alter table test add primary key (i,j) enable novalidate;
    alter table test add primary key (i,j) enable novalidate
    *
    ERROR at line 1:
    ORA-02437: cannot validate (TOON.SYS_C0028830) - primary key violated
    
    SQL> create index my_pk_index on test(i,j);
    
    Index created.
    
    SQL> alter table test add primary key (i,j) using index my_pk_index enable novalidate;
    
    Table altered.
    
    SQL> insert into test values(1,1);
    
    1 row created.
    
    SQL> insert into test values(1,1);
    insert into test values(1,1)
    *
    ERROR at line 1:
    ORA-00001: unique constraint (TOON.SYS_C0028831) violated
    
    SQL>
    
  • Requery block line multi without validation after sql update

    I encounter the following problem with my multi line form:

    The form is a list of employers. An employer may be part of an operation (a hierarchy of employers). When a user changes a field or an employer and the employer belongs on the stability of the shape displays the message "the change applies to all employers in the hierarchy? If that's the case I want to update sql on the hierarchy and a requery to synchronize the list with the database. I want to do this update without making a commit first, the user always has the possibility of a cancellation.

    Does anyone know how to get there?

    Thanks in advance.

    Instead of a COMMIT_FORM, make a POST in your code, or if you do not have the code but a master / detail with two blocks, create an on-CLEAR-DETAILS-the trigger and rhe POST in there. Note that this will change the REQUEST status-form, so that you have to keep track of the need for VALIDATION on hold by yourself.

  • If the mobile is valid or not by using the Pl/SQL cursor

    Hello

    Can someone please email me a cursor query to see if an mobileno is valid or not.

    Table name Cc_customer
    mobileno domain name
    length should be 10 and start by 9, length should be 12 and start with 919

    Do you mean something like this?

    SQL> ed
    Wrote file afiedt.buf
    
      1  with t as (select '9123456780' as mobile from dual union all
      2             select '919123456780' from dual union all
      3             select '12345' from dual union all
      4             select '1234567890' from dual union all
      5             select '123456789012' from dual)
      6  --
      7  -- END OF TEST DATA
      8  --
      9  select mobile
     10        ,case when regexp_like(mobile, '^((91)?9[0-9]{9})$') then 'valid'
     11         else 'invalid'
     12         end as chk
     13* from t
    SQL> /
    
    MOBILE       CHK
    ------------ -------
    9123456780   valid
    919123456780 valid
    12345        invalid
    1234567890   invalid
    123456789012 invalid
    
    SQL>
    
  • How to change point on &lt; af:selectOneChoice &gt; without validation process?

    >
    Note:
    For components editableValueHolder, without life-cycle phases are ignored.
    >

    whenever I select another item in the drop-down list, the validation of the process Phase is entered, what makes invoked validations.
    in this case, for example, some [mandatory] inputTexts are failed to pass the validation without any value entered.

    coding as
    FacesContext.getCurrentInstance().renderResponse();
    in the af: selectOneChoice valueChangeListener method can do [Update Model Values] and [Invoke Application] ignored

    but, how to prevent unexpected validations called?
    as immediate = "true" on the commandButton control game?

    JDev: 11g

    Thank you.

    Kevin.

    Hello

    AF:selectOneChoice also has an attribute "immediate", try this.

    Pedja

  • How to upgrade the LOV without validation

    Hi all

    I have a form where a user is allowed to enter/delete records in a table using buttons(ADD/DELETE) and SAVE AT the SAME TIME (commit_form). I have a lov as one of the fields that retrieves the data from another table.

    My requirement is mentioned as below.

    I entered a record by clicking on the Add button. This record has the GIS (chosen from the LOV) column. lets say that the value is 1000.

    When I click on the button Add once, to enter the second disc, the LOV SHOULD NOT see THE value 1000.

    I tried to add the parameter to hold the previous and using this parameter values in the RG query, but it does not accept.

    Help, please

    Kind regards

    Belin

    Hello

    Create a global temporary table to store the values.  Use not in order to filter the values of LOV.

    First create temp. table as follows:

    create a table temporary global my_tmp (number of GIS) validation remove lines;

    Table created.

    On the forms, write the following code in when-validate-item trigger of the UPDATED field:

    insert into my_tmp values(:mis);

    Change the record group existing of your LOV and add the following:

    .. .and put not in (select set of my_tmp);

    Hope this will help.

    Post edited by: Priyasagi

  • Those who have purchased outright Lightroom may not use Lightroom Mobile without a subscription?

    It seems quite strange that the license does not include the platform Android and Adobe forcing the purchase of their subscription of CC.

    Lightroom Mobile for Android is available for phones

    Adobe Lightroom for mobile - Android applications on Google game

    Adobe forcing the purchase of their subscription of CC.

    Fix. The only way to get Lightroom Mobile is to subscribe to Lightroom.

    Adobe Lightroom Mobile FAQ

  • Can I connect content version DTP mobile without copy / paste?

    I created the site and I'm a little frustrated to copy / paste text between mobile and desktop version.

    Is - this bossible, as the text content are linked in both versions? It would be great if all the text contents (not formatting) change automatically updates for both versions?

    Thanks again.

    T: Ari

    Hello

    Please take a look at the similar discussion

    Muse, office copy on Tablet, content not displayed

  • Mobile without restarting DATA file?

    Hello

    I extended the Tablespace and my error, I added one of the data file in this place: /oracle prododuct /- as shown below. I have not updated + symbol while adding the file, for example, Alter tablespace add datafile '+ DATA01;
    All other data files are stored on DISKGROUP + DATA01.

    Can I move this data file to the same location as the other files without restarting the database or anything like that? I saw in log backup script to database auto that all data files are included that I added, but not this one (/ oracle /... / DATA01)
    /oracle/app/product/11.2.0.2/db/dbs/DATA01                                                    AVAILABLE                    103809024
    +DATA01/db1/datafile/t.330.778438371                                                         AVAILABLE                    103809024
    +DATA01/db1/datafile/t.329.778438389                                                         AVAILABLE                    103809024
    Secondly, how can I find this location on the machine for example to display the created on DISKGROUP of DATA01/db1/datafile/t.330.778438371 DATA01 data file.

    Oracle Database 11 g Enterprise Edition Release 11.2.0.2.0 - 64 bit Production # RedHat Linux 5.
    With the options of partitioning and Automatic Storage Management


    Thank you much for the help.

    Concerning

    910385 wrote:
    Hello

    Thank you very much for the reply.

    I was about to make according to your suggestions. My concern is that:

    RMAN>
    - Alter database datafile datafile_name offline # OK
    - Copy '/oracle/../DATA01' to '+DATA01'. # OK
    

    My question is: How can I find out the full path of the file after copying to ASM Diskgroup to RENAME THE FILE and makes it again online? # As you said KEEP a NOTE... How would I do it please?

    Once you move your ASM diskgroup data file. Show upcoming prompt RMANoutput. He will say that data is copied to the asm diskgroup and he himself will get you the full path. Just pay attention to coming to rman quick exit

  • How to record data block details without validation data?

    Hi all.
    I have a form - forms 6i - contains three blocks of data DB1 h1 ^(form/master) ^ <-DB2 ^ (in the form of table/main/detail) ^ <-DB3 ^(tabular/detail) ^

    There are certain mandatory elements in DB1, which must be entered.
    user first enter data DB1 then go to DB2 - master DB1, DB2 in detail.
    in normal when insert us a new record in the detail data block and move the cursor to the next element form will ask for validation. I solve this problem by engaging if the status in new or modified data block, that is the problem because there are certain elements is required in DB1, so if the user leave them empty and fill the tabular data block DB3 form will commit and the requested item will be stored as null in the database.

    so, how can I save the data in DB2 and DB3 temporally to the form so that the form won't ask for validation when the cursor will move to the other element?
    If Yes, then I can do a procedure which ensure that all the necessary filed came before committing.
    Thank you

    To be very honest, I'm still confused what you want to do. But the thing in the last post asked you then read on the POST in the help of forms...

    Integrated POST

    Writes data into the form in the database, but does not perform data validation. Oracle Forms valid first form. If there are changes to publish on the database, for each block in the form of what oracle Forms written deletions, insertions and updates the database. All the data that you send to the database is committed to the database of the next COMMIT_FORM that runs when the session Runform. In addition, these data can be restored by the next CLEAR_FORM.

    -Clément

  • ADF: "back"-button without validation ".

    Hello

    I'm new to ADF and have a simple problem:

    I created a form with two text fields (both need to value and validations).
    The form has two buttons "Save" and "Cancel".

    My problem is, when I leave the textfields empty and click 'Cancel', say validations
    that there are errors in my form. But I want the validations only to be executed when the
    'save' button is clicked, not when "Cancel" is clicked.

    Can someone help me with this?

    Concerning
    Michael

    Hello

    The immediate value = 'true' in the Cancel button.

    Hope this helps

    Joseba

  • continue to shape function during the updating of the old masters and details without validation

    < font size = "2" > Hi all.

    Suppose we have the following tables
    Table 1: used
    Table 2: cities

    Employee has a foreign key (employee_city_id), see (city_id) in the Cities table.

    I do two forms - used and cities - for each table, in the form of the employee, I have run the query and modify some fields so that 'data block used' is CHANGED.
    In the second form I do the same thing - run query with the block in the status CHANGED, but when you try to commit the changes in the shape of cities a lock occurs on the table of cities and the form stop working until I have commit the changes in the shape of the employee.

    It is not make sense why lock happen?, it as two updated statements for each table.
    It should work as what follows, isn't it?
    -----
    1-
    update EMPLOYEE set ...
    will the table used in exclusive mode lock 'A LINE' and the table Cities in "UPDATE SHARE" if I change the column refer to the table of cities in the framework.
    2-
    update CITIES set ...
    Release the "update of SHARING" lock in cities if will exist and put in place "exclusive."
    -----

    So why the form stops working when you apply the above scenario up to approve changes in the form of the employee.
    Forms builder version: 6i & 10g
    Thank you.
    < / make >

    you have an index on employee_city_id?
    Long ago, I had a similar problem when updating from the main block: If there were no indexes on the secondary table, forms (oracle) locked (or tried to block) the table of any details.

Maybe you are looking for