How to set the field date as required field on UI - urgent

Hello

I got how set the date as field demands presented on the page.

Below is the code I used, but giving it as class cast exception.


MO OAMessageTextInputBean = (OAMessageTextInputBean).webBean.findChildRecursive ("dateFiled");
mb.setRequired ("yes");

Please help on this. for the other beans messagechoice it works fine. but only for the data type DATE gives classcast exception

Try this

MO OAMessageDateFieldBean = (OAMessageDateFieldBean) webBean.findChildRecursive ("dateFiled");
mb.setRequired ("yes");

Thank you
Shree

Tags: Oracle Applications

Similar Questions

  • How to set the field "default" of a quick dashboard to yesterday?

    Hello world

    I have a dashboard the guest on a date (full name Date.Date and type Date).
    I also have a simple report with two columns: Date.Date and a measure (whatever the name).

    I've managed to filter the day before the current date in the report by adding an advanced SQL filter:
    Date.Date = Cast (TimestampAdd(SQL_TSI_DAY,-1,@{system.currentTime}) as Date)

    Now, I would like to invite him to select the day before the current date by default.
    The filter on Date.Date would be "invited" or more.

    How to set the field "Default" from the command prompt?

    Thanks in advance

    Hello

    go to the command prompt...
    Select SQL results of as default: drop-down list.
    here... you have to write your SQL logic...
    who uses by default the previous date
    something like that...

    * Select case when 1 = 0 then anydate column of another timestampadd (sql_tsi_day-1, CURRENT_DATE) of the end SubjectArea name*.

    write like this... and report back...

    Thank you & best regards
    Kishore Guggilla

  • How to set the current date in the datetimepicker in qml?

    Hello

    Can I know how to set the current date in the DateTimePicker in QML?

     DateTimePicker {
                        id: datePicker
                        mode: DateTimePickerMode.Date
                        title: "Date"
                        value: "2013-11-20"
                        maximum: "2013-11-20"
                    }
    
    Container {
        DateTimePicker {
            id: picker5
            title: "DateTimeQml"
            mode: DateTimePickerMode.DateTime
            value: { new Date(); }
        }
    }
    
  • How to set the current date in 8600 All in One OfficeJet.

    The control panel on my new shows HPOfficeJet pro 8600 Jan 00 00 0000 has.  How can I configure date and time for the fax of today? I can't find anything in the online User Guide or anywhere else.

    Touch or swipe your finger on the Jan 00 00 0000a, it will then allow you to set a date and time.

  • Documaker: How to set the field of the 2D matrix

    Hello

    I created a matrix 2D field, but is not a 2D matrix...
    You may notice that it is false?

    Policy ID: Data Matrix for Documaker (dm___.ttf)
    Type: Bar Code
    Length: 32
    Format: Data matrix
    Symbol size: 18 * 18
    Scale: 1
    Rule: XDD
    Source name: xxxxxxx

    Example of XML is as follows.

    < code >
    < xxxxxx > 12345678901234567890123456789012 < / xxxxxxx >
    < / bar code >

    In the test, this field is output as follows...

    AIHPBMGKHJENFPFKDK
    AHFMCKOBPOEONLALIK
    ALJLFFJMANLMMJAEBK
    AGFCPMJOBELOEIKFCK
    DDLDDDDDLLLLDLDDDL

    I can output the barcode with the "1:1:2:2 Code 39".
    Please help me.

    Thank you

    If you are talking about the screen, you also have to install TTF fonts to let Windows know to to use. The location in the fonts directory, would only affect that print them in PDF format when you download fonts.

    Find the. TTF file on disk, right-click on it and choose Install. If you do not see the offer to install in your version of Windows, you may need to go to the control panel and choose fonts. Check the list to see if Data Matrix for Documaker has been installed. If you don't see it in the list, then check the offerred help by Windows, how to install a font on your system.

  • HOW to: Set the expiration date for the ThinApp package

    Hi all

    I'll build a .exe package and put it on a USB key for a user, but I want the package which should expire in say 30 days.

    I would like to know the 'syntax' to edit the file attribute.ini (package.ini), in order to define an expiration date for a ThinApp .exe package.

    Thank you

    Sang A

    You can do this by using a VBScript script that is included in the package, see example

  • How to set the field as password type entry

    Hello

    In display determination Oracle Web interview, I want to Setup text entry as type of password is entered text should be displayed in the form of points/stars. Please tell me how can this be achieved?

    Thank you
    Sri

    Create a custom control that have a tag html input type is password.

  • How to set CurrentDateTime field date. MinValue in valueChangeListener

    Hello

    I use Jdeveloper 11.1.1.2. I dropped a view as a table object and a validation button below the table for the jspx page and in this table, I have 2 columns is selectBooleanCheckbox
    and another date. MinValue field.

    My requirement is each time a person change the value that is to check/uncheck true/false checkbox, I need to for the column Date.MinValue currentDateTime.

    I'm trying this way

    < af:selectBooleanCheckbox value = "#{row.bindings.DocumentFlag.inputValue} '"
    label = "#{bindings." OTMEmployeeCoursesView1.hints.DocumentFlag.label}.
    required = "#{bindings." OTMEmployeeCoursesView1.hints.DocumentFlag.mandatory}.
    shortDesc = "#{bindings." OTMEmployeeCoursesView1.hints.DocumentFlag.tooltip}.
    ID = "it2' autoSubmit = 'true '.
    valueChangeListener = "#{backingBeanScope.backing_EmployeeTrainingDocuments.setDateonValueChange}" >
    < f: validator binding="#{row.bindings.DocumentFlag.validator}"/ >
    < / af:selectBooleanCheckbox >


    {} public void setDateonValueChange (ValueChangeEvent valueChangeEvent)
    valueChangeEvent.getComponent () .processUpdates (FacesContext.getCurrentInstance ());
    getTableCurrentRow (employeeCoursesTable);

    }

    {} public void getTableCurrentRow (myTable richeTableau)
    CollectionModel cm = myTable.getValue ((CollectionModel));
    JUCtrlHierNodeBinding rowData = (JUCtrlHierNodeBinding)
    cm.getRowData ();
    String LastUpdateDate = rowData.getAttribute("LastUpdateDate").toString ();
    String DocumentName = rowData.getAttribute("DocumentName").toString ();
    String DocumentFlag = rowData.getAttribute("DocumentFlag").toString ();
    System.out.println ("value DocumentName is:" + DocumentName);
    System.out.println ("value of DocumentFlag is:" + DocumentFlag);
    java.sql.Date Date.MinValue = new java.sql.Date (System.currentTimeMillis ());
    SimpleDateFormat formatter = new SimpleDateFormat ("" dd/MM/YYYY HH: mm: a "");
    Formatter.format (inputDate);
    rowData.setAttribute (LastUpdateDate, formatter.format (inputDate));
    System.out.println ("getSqlToday () is:"+Formatter.format(inputDate)); ")
    }


    and I get an error like

    oracle.jbo.NoDefException: Houston-25058: 2011-03-24 16:01 type attribute definition is not found in noCtrl_oracle_adfinternal_view_faces_model_binding_FacesCtrlHierNodeBinding_848.


    can someone help me how to set the value currentdatetime in valuechangelistener.

    Thank you
    Herald

    Suggestion: assuming you are using ADF BC, this would be better done at the level of the Entity object. You just when the Set accessor for the DocumentFlag attribute is called, also call the setter for the attribute date setting the value to the current date/time.

    CM.

  • How I set the value of a dynamic text field row

    I have a repeated line form that contains a button and several text fields.  There is a text field (input field) above with some information I want to place in the table and several buttons that I want to read the value of and defined on the table.  Excuse me there are several questions I have and I use pseudocode to describe.

    Top shape resembles

    InputField

    | ButtonX1 | ButtonY1 | DescriptionX1 (read the text only field)

    ...

    | ButtonXn | ButtonY1 | DescriptionXn

    OutputRow looks like

    | ButtonOutput | OutputField1 | OutputField2 | OutputField3 |

    So, I want to do

    ButtonX1.click

    {

    OutputTable.OutputRow.addInstance (true) //this works - everything I have questions on

    OutputTable.OutputRow.OutputField1.rawValue = DescriptionX1.rawValue

    /*

    Question 1

    How should I address the location of each table to set a value

    Question 2

    How can I get the value of the description field in the same row as button and table

    I would like to say something to the effect of the OutputTable.OutputRow [?]. OutputField1.rawValue = this.parent.DescriptionX

    */

    OutputTable.OutputRow.OutputField2 = InputField.rawValue

    /*

    Same question as above - how can I specify a dynamic line - it's the syntax appropriate for obtaining the value of the input field?

    */

    OutputTable.OutputRow.OutputField3 is this. ButtonLabel

    /*

    Question 3

    How can I get the value of the label of the button to set the field

    There should be a lot of these buttons and buttons will be added - I'd rather set the value based on the label of the button to facilitate value - not requiring only not to change the code

    */

    Issue 4--unrelated to those at the top.

    Is it possible to build the first table

    | ButtonX | ButtonY | Description |

    from a XML file.  I've seen examples showing how to build if it's just data, but XML can be pushed into a form with the code to perform the above actions?

    Glad you figured it out... nothing wrong with doing it this way.

    Normally XML contains data and no default legends these xml files are bouond to the rawValue property. You can enable the dynamic linking and other properties of the object will be bindable (they appear as links) in the user interface. If you click on the link to legend an Assistant appears allowing you to bind the node in the XML file.

    Paul

  • How to set the alignment of the field in a table in jdev 11.1.2.3?

    Hello
    How to set the alignment of the field in a table in jdev 11.1.2.3?
    for example: to display a body of numbers in a table as right aligned.
    I tried to put field (amount) VO UI Hint Format Type: Number; Format: 0000.00
    and jspx, flowing, but it doesnot work.
    Thank you.
    Bao

    < af:column sortProperty = "#{bindings." VO1.hints.amount.name}.
    sortable = "true".
    headerText = "#{bindings." VO1.hints.amount.label}.
    ID = "c44" width = "60".
    Align = "center" >
    < af:inputText value = "#{row.bindings.Amount.inputValue} '"
    label = "#{bindings." VO1.hints.amount.label}.
    required = "#{bindings." VO1.hints.amount.mandatory}.
    columns = "#{bindings." VO1.hints.amount.DisplayWidth}.
    maximumLength = "#{bindings." VO1.hints.amount.precision}.
    shortDesc = "#{bindings." VO1.hints.amount.ToolTip}.
    ID = "it58.
    secret = "false".
    inlineStyle = "" text-decoration: overline; ">"
    < f: validator binding="#{row.bindings.Amount.validator}"/ >
    < / af:inputText >
    < / af:column >

    Hello
    To set a field right alignment in a table:
    It doesnot work when InlineStyle-> text-align: right;
    It works when ContentStyle-> text-align: right;

  • How to set the value of a field from the LOV of another field.

    I'm trying to figure out how to set the value of a field (P_PROGRAM) to the value of another field of based lov (P_STATE).

    The P_PROGRAM field is a hidden field. The P_STATE field is a required field and is based on a list of values for the State Codes.

    When a user selects the State to P_STATE, the field of the P_PROGRAM should be set to this value, as well.

    I tried different ways to get there via a function call on the post for the calculation of the field P_STATE, defining the source P_PROGRAM to the value of the page item P_STATE put varialbles, creating a process before SENDING, and they all still come back as having a NULL value for P_PROGRAM, therefore impossible to create the file in the db as the PROGRAM is a mandatory field in the table.

    Can you please help? Thank you, Laura

    Laura,

    It is always helpful if you provide information about the Apex version you are using. The Apex 4 you can use Dynamic Actions to achieve this. In earlier versions is possible using processes to submit or javacsripts, as well.

    Heres how you do in 3.x with treatment to submit, to make it work in 4.0 as well.

    1 do the P_STATE ' select list submits the Page.
    2. Add a calculation on the point P_PROGRAM, or write to him assign a value based on a process. The treatment should be OnLoad after the header
    3. If the page does not have an unconditional branch that loops on itself, add a. NOTE: The direction must be the last branch (larger sequence number) and should have checked "Save Session State".

    This is what will happen
    a. when the State is selected Page will be submitted
    (b) it will take the unconditional branch to himself and save the value of P_STATE
    c. the calculation process / fills the value of the P_PROGRAM element when the page reloads

    Kind regards

  • How to set the date and time on my HP Officejet pro 8600 more?

    How to set the date and time on my HP officejet pro 8600 more?  It just on a printed journal Jan-oo-oo fax shows 00:00 AM.  There are no instructions on how to change this.  I need proof that I sent a fax to a certain date and time.  Help, please.  Thank you

    Hello

    Below are the steps to set the Date and time for your device:

    1. On the Control Panel, press the right arrow key ( ), press Setup ( ).

  • How to set the Date and time on a remote target in Measurement &amp; Automation Explorer (MAX)?

    Hello

    I'm trying to follow the steps described in the following link:

    How to set the Date and time on a remote target in Measurement & Automation Explorer (MAX)?

    It is said

    The software on the target currently supports only the time zoneand deletes the old files?

    I need set the date and time

    and remove all the old unwanted files

    the calendar was gray does not allow me to change the current date.

    Anyone know how to change

    Hi all!

    According to this the below Knowledge Base article, Remote Configuration System Support must be installed on the target for time settings to change in MAX.

    http://digital.NI.com/public.nsf/allkb/FAB0EC4D6E5EE0F386257738005733A3?OpenDocument&MeTC=max_MAXDat...

    If you don't know what version of the system supported remote Configuration software that you have installed on your device target, it is likely that it is not yet installed. Add this software by clicking below your target to the MAX software option and selecting "Add/Remove Software". This is where you will install the System Configuration Remote Support software.

    Please let us know if you have any questions!

  • How to set the date and time on an hp j5780?

    I need to know how to set the date and time on an HP j5780!

    Help!

    Thank you very much, we did it!

    WY

  • How to set the render property of the field on one facet of panelSplitter?

    Hi, experts,
    In jdev 11.1.2.3,.
    How to set the render property of the field on one facet of panelSplitter?
    -If the panelSplitter is reduced then make some fields in the second pane. otherwise, do not make these fields.

    It is not an easy job for me to set the EL expression.
    Thank you.

    OK, just did a small test case. It turns out that the difficulty is to automatically update the fields when the separator discloses. To add a pair of earphone client/server. This sends the event to disclose to the bean to update the fields.
    Page code:

    
    
      
      
        
          
            function disclosePanelSplitter( event) {
                var inputComp = event.getSource();
                AdfCustomEvent.queue(inputComp, "myDiscloseEvent",
                {}, true);
            }
          
          
            
              
                
                  
                
              
              
                
                  
                    
                      
                      
                        
                      
                      
                      
                      
                    
                  
                  
                    
                      
                      
                        
                          
                          
                          
                          
                          
                        
                      
                      
                      
                      
                    
                  
                  
                
                
              
            
          
        
      
    
    

    and the corresponding bean to the scope of the request

    package de.hahn.xyzxyz.view.panelsplitter;
    
    import oracle.adf.view.rich.component.rich.layout.RichPanelSplitter;
    import oracle.adf.view.rich.context.AdfFacesContext;
    import oracle.adf.view.rich.render.ClientEvent;
    
    public class PanelSplitterBean {
        private RichPanelSplitter panelSplitter;
    
        public PanelSplitterBean() {
        }
    
        public void setPanelSplitter(RichPanelSplitter panelSplitter) {
            this.panelSplitter = panelSplitter;
        }
    
        public RichPanelSplitter getPanelSplitter() {
            return panelSplitter;
        }
    
        public void doCustomEvent(ClientEvent event)
        {
            AdfFacesContext.getCurrentInstance().addPartialTarget(panelSplitter);
        }
    
    }
    

    Timo

Maybe you are looking for