Error checking input text fields.

Hi
Just wondering where I find a list of what can be error checked in input text fields?
I'm looking for things like...
- checking that letters and not numbers are entered
- checking that an entered number is in a certain range
etc...
Thanks guys
Shaun

To restrict input for a text field, use the following AS3 codes:
myInput.restrict = "A-Z, a-z, ., ,'"; //myInput is the instance name of your text area
To check the range of the numbers, use the following code:
myInput.restrict = "0-9";
myInput.maxChars = 3;
myBtn.addEventListener(MouseEvent.CLICK, chk);
function chk(e:MouseEvent):void
    var myString:String = myInput.text;
    var i:Number = Number(myString); //Converting the string to a number variable
    var max:Number = 100; //Maximum range
    var min:Number = 30; //Minimum range
    if (i < max && i > min) //Condition to indicate the range
        trace("Within range");
    else
        trace("Out of range");
Hope this helps.

Similar Messages

  • Getting Error when adding a Message Input Text field

    Hi
    Can someone help with this please. I'm not developing and not a OAF guy, but, an offshore team is and they are getting this error after they added Message Input Text field to the iProcurement Receiving page to capture additional information.
    What does this error mean?
    oracle.apps.fnd.framework.OAException: No data found for region (/oracle/apps/icx/por/rcv/webui/XXPAIcxPorRcvSrchPG.Tag_input).
    at oracle.apps.fnd.framework.webui.JRADWebBeanMetaData.getDefaultValue(JRADWebBeanMetaData.java:480)
    at oracle.apps.fnd.framework.webui.OAWebBeanTextInputHelper.setMetaDataProperties(OAWebBeanTextInputHelper.java:92)
    at oracle.apps.fnd.framework.webui.OAMessageTextInputHelper.setMetaDataProperties(OAMessageTextInputHelper.java:89)
    at oracle.apps.fnd.framework.webui.OAMessageTextInputHelper.createWebBean(OAMessageTextInputHelper.java:61)
    at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.createWebBeanUsingHelper(OAWebBeanFactoryImpl.java:1483)
    at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.createWebBeanFromCustomTables(OAWebBeanFactoryImpl.java:1263)
    at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.createWebBean(OAWebBeanFactoryImpl.java:740)
    at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.createWebBean(OAWebBeanFactoryImpl.java:720)
    at oracle.apps.fnd.framework.webui.OAWebBeanTableHelper.addAkChildren(OAWebBeanTableHelper.java:182)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.setMetaDataProperties(OAWebBeanContainerHelper.java:200)
    at oracle.apps.fnd.framework.webui.OATableHelper.setMetaDataProperties(OATableHelper.java:282)
    at oracle.apps.fnd.framework.webui.OATableHelper.createWebBean(OATableHelper.java:202)
    at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.createWebBeanUsingHelper(OAWebBeanFactoryImpl.java:1483)
    at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.createWebBeanFromCustomTables(OAWebBeanFactoryImpl.java:1149)
    at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.createWebBean(OAWebBeanFactoryImpl.java:740)
    at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.createWebBean(OAWebBeanFactoryImpl.java:720)
    at oracle.apps.fnd.framework.webui.OAQueryHelper.addAkChildren(OAQueryHelper.java:470)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.setMetaDataProperties(OAWebBeanContainerHelper.java:200)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.setMetaDataProperties(OAWebBeanContainerHelper.java:126)
    at oracle.apps.fnd.framework.webui.OAQueryHelper.setMetaDataProperties(OAQueryHelper.java:344)
    at oracle.apps.fnd.framework.webui.OAQueryHelper.createWebBean(OAQueryHelper.java:242)
    at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.createWebBeanUsingHelper(OAWebBeanFactoryImpl.java:1483)
    at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.createWebBeanFromCustomTables(OAWebBeanFactoryImpl.java:1149)
    at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.createWebBean(OAWebBeanFactoryImpl.java:740)
    at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.createWebBean(OAWebBeanFactoryImpl.java:720)
    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.addAkChildren(OAPageLayoutHelper.java:703)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.setMetaDataProperties(OAWebBeanContainerHelper.java:200)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.setMetaDataProperties(OAWebBeanContainerHelper.java:126)
    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.setMetaDataProperties(OAPageLayoutHelper.java:257)
    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.createWebBean(OAPageLayoutHelper.java:208)
    at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.createWebBeanUsingHelper(OAWebBeanFactoryImpl.java:1483)
    at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.createWebBeanFromCustomTables(OAWebBeanFactoryImpl.java:1415)
    at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.createWebBean(OAWebBeanFactoryImpl.java:1300)
    at oracle.apps.fnd.framework.webui.OAPageBean.createRootWebBean(OAPageBean.java:4374)
    at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2131)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1710)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:501)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:422)
    at oa_html._OA._jspService(_OA.java:88)
    at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
    at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
    at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
    at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
    at oracle.jsp.JspServlet.service(JspServlet.java:156)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
    at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
    at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:187)
    at oa_html._OA._jspService(_OA.java:98)
    at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
    at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
    at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
    at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
    at oracle.jsp.JspServlet.service(JspServlet.java:156)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
    at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
    at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:187)
    at oa_html._OA._jspService(_OA.java:98)
    at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
    at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
    at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
    at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
    at oracle.jsp.JspServlet.service(JspServlet.java:156)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
    at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
    at org.apache.jserv.JServConnection.run(JServConnection.java:294)
    at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    Exception:
    oracle.adf.mds.MetadataDefException: Unable to find component with absolute reference = /oracle/apps/icx/por/rcv/webui/XXPAIcxPorRcvSrchPG.Tag_input, XML Path = null. Please verify that the reference is valid and the definition of the component exists either on the File System or in the MDS Repository.
    at oracle.adf.mds.internal.MetadataManagerBase.findElement(MetadataManagerBase.java:1374)
    at oracle.adf.mds.MElement.findElement(MElement.java:97)
    at oracle.apps.fnd.framework.webui.JRADWebBeanMetaData.getDefaultValue(JRADWebBeanMetaData.java:477)
    at oracle.apps.fnd.framework.webui.OAWebBeanTextInputHelper.setMetaDataProperties(OAWebBeanTextInputHelper.java:92)
    at oracle.apps.fnd.framework.webui.OAMessageTextInputHelper.setMetaDataProperties(OAMessageTextInputHelper.java:89)
    at oracle.apps.fnd.framework.webui.OAMessageTextInputHelper.createWebBean(OAMessageTextInputHelper.java:61)
    at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.createWebBeanUsingHelper(OAWebBeanFactoryImpl.java:1483)
    at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.createWebBeanFromCustomTables(OAWebBeanFactoryImpl.java:1263)
    at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.createWebBean(OAWebBeanFactoryImpl.java:740)
    at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.createWebBean(OAWebBeanFactoryImpl.java:720)
    at oracle.apps.fnd.framework.webui.OAWebBeanTableHelper.addAkChildren(OAWebBeanTableHelper.java:182)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.setMetaDataProperties(OAWebBeanContainerHelper.java:200)
    at oracle.apps.fnd.framework.webui.OATableHelper.setMetaDataProperties(OATableHelper.java:282)
    at oracle.apps.fnd.framework.webui.OATableHelper.createWebBean(OATableHelper.java:202)
    at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.createWebBeanUsingHelper(OAWebBeanFactoryImpl.java:1483)
    at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.createWebBeanFromCustomTables(OAWebBeanFactoryImpl.java:1149)
    at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.createWebBean(OAWebBeanFactoryImpl.java:740)
    at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.createWebBean(OAWebBeanFactoryImpl.java:720)
    at oracle.apps.fnd.framework.webui.OAQueryHelper.addAkChildren(OAQueryHelper.java:470)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.setMetaDataProperties(OAWebBeanContainerHelper.java:200)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.setMetaDataProperties(OAWebBeanContainerHelper.java:126)
    at oracle.apps.fnd.framework.webui.OAQueryHelper.setMetaDataProperties(OAQueryHelper.java:344)
    at oracle.apps.fnd.framework.webui.OAQueryHelper.createWebBean(OAQueryHelper.java:242)
    at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.createWebBeanUsingHelper(OAWebBeanFactoryImpl.java:1483)
    at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.createWebBeanFromCustomTables(OAWebBeanFactoryImpl.java:1149)
    at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.createWebBean(OAWebBeanFactoryImpl.java:740)
    at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.createWebBean(OAWebBeanFactoryImpl.java:720)
    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.addAkChildren(OAPageLayoutHelper.java:703)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.setMetaDataProperties(OAWebBeanContainerHelper.java:200)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.setMetaDataProperties(OAWebBeanContainerHelper.java:126)
    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.setMetaDataProperties(OAPageLayoutHelper.java:257)
    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.createWebBean(OAPageLayoutHelper.java:208)
    at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.createWebBeanUsingHelper(OAWebBeanFactoryImpl.java:1483)
    at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.createWebBeanFromCustomTables(OAWebBeanFactoryImpl.java:1415)
    at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.createWebBean(OAWebBeanFactoryImpl.java:1300)
    at oracle.apps.fnd.framework.webui.OAPageBean.createRootWebBean(OAPageBean.java:4374)
    at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2131)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1710)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:501)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:422)
    at oa_html._OA._jspService(_OA.java:88)
    at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
    at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
    at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
    at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
    at oracle.jsp.JspServlet.service(JspServlet.java:156)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
    at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
    at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:187)
    at oa_html._OA._jspService(_OA.java:98)
    at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
    at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
    at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
    at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
    at oracle.jsp.JspServlet.service(JspServlet.java:156)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
    at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
    at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:187)
    at oa_html._OA._jspService(_OA.java:98)
    at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
    at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
    at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
    at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
    at oracle.jsp.JspServlet.service(JspServlet.java:156)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
    at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
    at org.apache.jserv.JServConnection.run(JServConnection.java:294)
    at java.lang.Thread.run(Thread.java:534)
    Exception:
    oracle.adf.mds.MetadataDefException: Unable to find component with absolute reference = /oracle/apps/icx/por/rcv/webui/XXPAIcxPorRcvSrchPG.Tag_input, XML Path = null. Please verify that the reference is valid and the definition of the component exists either on the File System or in the MDS Repository.
    at oracle.adf.mds.internal.MetadataManagerBase.findElement(MetadataManagerBase.java:1374)
    at oracle.adf.mds.MElement.findElement(MElement.java:97)
    at oracle.apps.fnd.framework.webui.JRADWebBeanMetaData.getDefaultValue(JRADWebBeanMetaData.java:477)
    at oracle.apps.fnd.framework.webui.OAWebBeanTextInputHelper.setMetaDataProperties(OAWebBeanTextInputHelper.java:92)
    at oracle.apps.fnd.framework.webui.OAMessageTextInputHelper.setMetaDataProperties(OAMessageTextInputHelper.java:89)
    at oracle.apps.fnd.framework.webui.OAMessageTextInputHelper.createWebBean(OAMessageTextInputHelper.java:61)
    at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.createWebBeanUsingHelper(OAWebBeanFactoryImpl.java:1483)
    at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.createWebBeanFromCustomTables(OAWebBeanFactoryImpl.java:1263)
    at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.createWebBean(OAWebBeanFactoryImpl.java:740)
    at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.createWebBean(OAWebBeanFactoryImpl.java:720)
    at oracle.apps.fnd.framework.webui.OAWebBeanTableHelper.addAkChildren(OAWebBeanTableHelper.java:182)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.setMetaDataProperties(OAWebBeanContainerHelper.java:200)
    at oracle.apps.fnd.framework.webui.OATableHelper.setMetaDataProperties(OATableHelper.java:282)
    at oracle.apps.fnd.framework.webui.OATableHelper.createWebBean(OATableHelper.java:202)
    at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.createWebBeanUsingHelper(OAWebBeanFactoryImpl.java:1483)
    at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.createWebBeanFromCustomTables(OAWebBeanFactoryImpl.java:1149)
    at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.createWebBean(OAWebBeanFactoryImpl.java:740)
    at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.createWebBean(OAWebBeanFactoryImpl.java:720)
    at oracle.apps.fnd.framework.webui.OAQueryHelper.addAkChildren(OAQueryHelper.java:470)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.setMetaDataProperties(OAWebBeanContainerHelper.java:200)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.setMetaDataProperties(OAWebBeanContainerHelper.java:126)
    at oracle.apps.fnd.framework.webui.OAQueryHelper.setMetaDataProperties(OAQueryHelper.java:344)
    at oracle.apps.fnd.framework.webui.OAQueryHelper.createWebBean(OAQueryHelper.java:242)
    at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.createWebBeanUsingHelper(OAWebBeanFactoryImpl.java:1483)
    at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.createWebBeanFromCustomTables(OAWebBeanFactoryImpl.java:1149)
    at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.createWebBean(OAWebBeanFactoryImpl.java:740)
    at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.createWebBean(OAWebBeanFactoryImpl.java:720)
    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.addAkChildren(OAPageLayoutHelper.java:703)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.setMetaDataProperties(OAWebBeanContainerHelper.java:200)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.setMetaDataProperties(OAWebBeanContainerHelper.java:126)
    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.setMetaDataProperties(OAPageLayoutHelper.java:257)
    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.createWebBean(OAPageLayoutHelper.java:208)
    at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.createWebBeanUsingHelper(OAWebBeanFactoryImpl.java:1483)
    at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.createWebBeanFromCustomTables(OAWebBeanFactoryImpl.java:1415)
    at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.createWebBean(OAWebBeanFactoryImpl.java:1300)
    at oracle.apps.fnd.framework.webui.OAPageBean.createRootWebBean(OAPageBean.java:4374)
    at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2131)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1710)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:501)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:422)
    at oa_html._OA._jspService(_OA.java:88)
    at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
    at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
    at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
    at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
    at oracle.jsp.JspServlet.service(JspServlet.java:156)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
    at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
    at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:187)
    at oa_html._OA._jspService(_OA.java:98)
    at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
    at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
    at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
    at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
    at oracle.jsp.JspServlet.service(JspServlet.java:156)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
    at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
    at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:187)
    at oa_html._OA._jspService(_OA.java:98)
    at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
    at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
    at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
    at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
    at oracle.jsp.JspServlet.service(JspServlet.java:156)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
    at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
    at org.apache.jserv.JServConnection.run(JServConnection.java:294)
    at java.lang.Thread.run(Thread.java:534)
    Thank you!

    You need to provide more details with respect to what you are doing step by steps.
    --Shiv                                                                                                                                                                                       

  • Using a button to check an input text field

    I am an educator and I am designing an interactive activity for my students. I created two buttons named button_B and button_G, and an input textfield named in_Text.  When a student presses button_B, the letter "B" is entered into the input text field; if a student presses button_G, the letter "G" is entered into the input text field. More than one letter entry is acceptable as a student's answer: for exmple the entry BBB, BGB within the input field is okay.  I have no trouble writing AS3 to accomplish this task, however:
    For a student's solution to the input text field to be correct, it has to contain the four values BBB, GGG, BGB, and GBG in any order. I created an array named solution_S with these values. I also have an enter the solution button named enter_btn. The student can check their solution by pressing the enter_btn button; if the input textfield is correct, the quiz moves on to the next frame in my timeline; if it is incorrect, it moves to a different frame in my timeline. How would I enter this actionscript to accomplish this? Thanks much!

    var check:Boolean=false;
    for(var i:uint=0;i<solution_S.length;i++)
      if( solution_S[i].toString()==in_Text.Text)
    check=true;}
    if(check)
    gotoAndStop(...);
    else
    gotoAndStop(...);

  • How can i validate current row input text field like required.

    Hi All,
    jdev 11.1.2.1.0
    in my use case i have drag drop one viewobject as a adf table. and in table i have also add one extra input text field which is not based on
    vo.
    now i want to validate current row input text field not null when i commit row.
    but when i using required property true. it worked for all row in table. problem is that i want only current row input text field validate not all
    thanks,
    Manish

    When the user tries commit the data by clicking on the button -- For that button, have the logic in the actionlistener method to check if the additional input field is NULL or NOT.
    If it is NULL, show an error message using FacesContext.addMessage() API.
    Thanks,
    Navaneeth

  • Input text field nested in movie clip?

    Hello,
    Is it possible to have an input text field inside a movie
    clip in Flash Lite 2? I've tried targeting it all different ways
    and it doesn't seem to work, so I just thought I'd check with
    someone who knows.
    Thanks for your help in advance!

    Hi Nirnalatha,
    I have newly joined this forum and while going through the
    posts I came across your post which I thought I could help out. But
    I think I am too late for the reply.
    I am also into Flashlite development couple of months from
    now. Coming to your questions:
    1. Textbox problem: I am surprised to know that E70 mobiles
    (Device central list has E70-1 only) does not show input text box
    when cursor is in input box. Anyways its a good thing that you dont
    get an additonal input box. Like all J2ME applications you will be
    able to type the text inline. Infact we had reverse problem where I
    was told to create inline edit input box instead of flashlite input
    box. I think this is the mobile setting. Check the device features
    in the Adobe Device Central under Flash - Standalone player - Text
    and Fonts features. It will be mentioned whether inline text is
    allowed or not.
    2. Soft keys issues: You need to use
    fscommand2("SetSoftKeys", "Previous", "Next");
    and use a key listener in order to override the Mobile
    Softkey commands. Check out the flashlite help which clearly
    explains this.
    Hope I have given youa way to solve ur problem.

  • Calculations in input text fields

    Hello,
    I'm making an engineering game. Students need to input force
    equations and to check the equation is right it has to add up to
    zero. There are two input text fields, one the student sees with
    the force values expressed in letters like HA, VA, and MA, and one
    hidden field where the values are expressed as numbers. They also
    input operators as part of the equation. I need to make it so when
    they click a button to check if their equation is correct, the
    contents of the text field are calculated to see if the equation
    adds up to zero. I know you can express the contents as a number
    with say Number (this.my_hidden_text.text), but how do I get the
    operators in the equation, which are +, -, *, /, (, ), and ^ to
    mean something and do what they're supposed to?
    Any assistance would be most welcome.
    Thank you for your time,
    Beatie3

    Thank you for your quick response. Would you mind explaining
    more how to use the strings method to find the operators, please?
    It's a bit messy but my code currently looks like this:
    stop();
    //hide stuff
    this.tickb._visible = false;
    this.crossb._visible = false;
    //declare the variables
    var check1:Number = parseInt(display_secret.text);
    var display1 = "";
    var display_secret = "";
    //function for the calculation
    function onCalculate() {
    if(this.display_secret = 0){
    this._parent.tickb._visible = true;
    this._parent.crossb._visible = false;
    } else {
    this._parent.crossb._visible = true;
    this._parent.tickb._visible = false;
    check02_btn.onRelease = function():Void {
    trace(display1);
    trace(check1);
    if(check1 == 0){
    this._parent.tickb._visible = true;
    this._parent.crossb._visible = false;
    } else {
    this._parent.crossb._visible = true;
    this._parent.tickb._visible = false;
    //load external images
    pic04_container.loadMovie("fig_3_1a.gif");
    //takes you back to the previous scene
    back02_btn.onRelease = function() {
    gotoAndStop("Scene 2", 1);
    //Takes you home
    home02_btn.onRelease = function() {
    gotoAndStop("Scene 1", 1);
    //moves to the next scene
    next02_btn.onRelease = function() {
    gotoAndStop("Scene 3a", 1);
    //calculator buttons workings
    left_btn.onRelease = function() {
    display1 = display1+ "(";
    display_secret = display_secret + "(";
    plus_btn.onRelease = function() {
    display1 = display1+"+";
    display_secret = display_secret +"+";
    times_btn.onRelease = function() {
    display1 = display1+"*";
    display_secret = display_secret +"*";
    right_btn.onRelease = function() {
    display1 = display1+")";
    display_secret = display_secret +")";
    minus_btn.onRelease = function() {
    display1 = display1+"-";
    display_secret = display_secret +"-";
    peek_btn.onRelease = function() {
    display1 = display1+"^";
    display_secret = display_secret +"^";
    slash_btn.onRelease = function() {
    display1 = display1+"/";
    display_secret = display_secret +"/";
    ha_btn.onRelease = function() {
    display1 = display1+"HA";
    display_secret = display_secret +"108";
    va_btn.onRelease = function() {
    display1 = display1+"VA";
    display_secret = display_secret +"0";
    ma_btn.onRelease = function() {
    display1 = display1+"MA";
    display_secret = display_secret +"1296";
    c_btn.onRelease = function() {
    display1 = "";
    display_secret = "";
    vd_btn.onRelease = function() {
    display1 = display1+"VD";
    display_secret = display_secret +"0";
    w_btn.onRelease = function() {
    display1 = display1+"w";
    display_secret = display_secret +"12";
    a_btn.onRelease = function() {
    display1 = display1+"a";
    display_secret = display_secret +"18";
    b_btn.onRelease = function() {
    display1 = display1+"b";
    display_secret = display_secret +"9";
    thank you very much for your help,
    Beatie3

  • Re: INPUT TEXT FIELDS

    Hi,
    public void addInputTextListener(ActionEvent actionEvent)
    UIComponent button = (UIComponent)actionEvent.getSource();
    RichPanelGroupLayout pgl = (RichPanelGroupLayout)button.getParent();
    List<UIComponent> children = pgl.getChildren();
    RichInputText it = new RichInputText();
    it.setLabel("New IPT "+(children.size()+1));
    children.add(it);
    AdfFacesContext.getCurrentInstance().addPartialTarget(pgl);
    I had got this code to generate input text field dynamically... i had got a reply from one of the user,the message which i m not able to access.
    this code is throwing an error saying that CANNOT FIND METHOD "getSource();"........... in the line 4. i'm using 11.1.1.5.0 jdev. Can someone help me out in resolving this.

    This seems to be more a Java issue, than anything related to WebCenter, correct?
    Question 1: you write that
    this code is throwing an error saying that CANNOT FIND METHOD "getSource();"Where does the error appear? In JDev when you try to compile? If so, that it simply tells you that the class ActionEvent does not contain a method "getSource()", which leads to
    Question 2: where does the class ActionEvent come from?
    If it is the standard java.awt.event.ActionEvent, it should contain it. I'd guess that you just linked the name ActionEvent to the class with the same name, but from a different package. (If so, fix the import section.)

  • Regarding Input text fields

    This is about fill in the blanks in flash 8 as2. In this i used input  text fields and three buttons.In first frame i used multiple input text  fields and a submit button. After filling all the blanks we click on  submit button then in the second frame we will show the result like if  the blank is correct it should change the color to green and if it is  wrong it should change to red.and in the frame i have check button when  we click on it will display all the answers. And when we click on  analyse button we have to display the answer which the user types and  the correct answers.
    And my problem is when we click on submit there is no difference in the blanks color all are in black only and i have assigned red to the wrong answer and green to the correct answer.
    and script on submit button is
    on (release) {
        gotoAndStop("Bl1");
        if ((_root.Bl.txt1 == "abc1") && (_root.Bl.txt2 == "abc2") && (_root.Bl.txt3 == "abc3") && (_root.Bl.txt4 == "abc4")) {
            _root.Bl.txt1.textColor = 0x006600;
            _root.Bl.txt2.textColor = 0x006600;
            _root.Bl.txt3.textColor = 0x006600;
            _root.Bl.txt4.textColor = 0x006600;
        } else {
            _root.Bl.txt1.textColor = 0xFF0000;
            _root.Bl.txt2.textColor = 0xFF0000;
            _root.Bl.txt3.textColor = 0xFF0000;
            _root.Bl.txt4.textColor = 0xFF0000;
    where "Bl" is the movie clip name and "txt1","txt2","txt3","txt4" are the var names for input text fields
    Please help........

    You are concatenating the conditions it will only work if all are true or  all are false
    on (release)
        gotoAndStop("Bl1");
        if (_root.Bl.txt1 == "abc1")
            _root.Bl.txt1.textColor = 0x006600;
        else
            _root.Bl.txt1.textColor = 0xFF0000;
        if (_root.Bl.txt2 == "abc2")
            _root.Bl.txt2.textColor = 0x006600;
        else
            _root.Bl.txt2.textColor = 0xFF0000;
        if (_root.Bl.txt3 == "abc3")
            _root.Bl.txt3.textColor = 0x006600;
        else
            _root.Bl.txt3.textColor = 0xFF0000;
        if (_root.Bl.txt4 == "abc4")
            _root.Bl.txt4.textColor = 0x006600;
        else
            _root.Bl.txt4.textColor = 0xFF0000;
    You can also run a for loop for optimizing the code further.
    www.darshanrane.com

  • Auto-tabbing between input text fields in AS3

    Hello-
    I am having some trouble figuring out how to work auto-tabbing between input text fields when a user inputs a character. I have a series of text boxes with maxChar set to 1, and when the user inputs a character, I would like it to auto-tab to the next one. I'm putting together a crossword-style banner ad so the auto-tabbing will help tremendously.  All the input text fields are instanced on the stage as input1, input2, etc; not called in from a custom class.  Also, I've been working with AS3 for about 2 weeks lol!
    thanks!

    Awesome, thank you, that works nicely! Now I need to figure out how to capture individual keyCodes for each input and then come up with a conditional to check for right or wrong answers. I have a "check your answers" button all set up. I think I am almost there, possibly a syntax hiccup for me. Any advice on how to do that would be appreciated.

  • Input text field problem

    I am VERY new at this...I'm following directions in "Hands On
    Training Flash 8 book...
    When creating an input text field the book instructs me to
    embed the font using the embed button that is in the Property
    Inspector...When I do this and test the movie there is no cursor in
    the text box and I am not allowed to type in it..
    If I do not embed the font then when I test the movie the
    input field works. I click on it and get a cursor and am able to
    enter information.
    Is the book I'm using wrong here or is there something I'm
    missing? Thank you.

    Hi Nirnalatha,
    I have newly joined this forum and while going through the
    posts I came across your post which I thought I could help out. But
    I think I am too late for the reply.
    I am also into Flashlite development couple of months from
    now. Coming to your questions:
    1. Textbox problem: I am surprised to know that E70 mobiles
    (Device central list has E70-1 only) does not show input text box
    when cursor is in input box. Anyways its a good thing that you dont
    get an additonal input box. Like all J2ME applications you will be
    able to type the text inline. Infact we had reverse problem where I
    was told to create inline edit input box instead of flashlite input
    box. I think this is the mobile setting. Check the device features
    in the Adobe Device Central under Flash - Standalone player - Text
    and Fonts features. It will be mentioned whether inline text is
    allowed or not.
    2. Soft keys issues: You need to use
    fscommand2("SetSoftKeys", "Previous", "Next");
    and use a key listener in order to override the Mobile
    Softkey commands. Check out the flashlite help which clearly
    explains this.
    Hope I have given youa way to solve ur problem.

  • Different appearance of Input Text field in form tag

    Hi,
    not sure why the input text fields in design mode are of
    different appearances. That is, some input fields are in embedded
    light orange shade, while some input fields are just simple
    rectangle outline. I have checked the codes and property settings,
    and all the input text settings are the same except for the name. I
    have also tried deleted, copy, insert new form's input text at
    different location. The problem still persist. Pls kindly adv, tks.

    On Sat, 15 Sep 2007 17:09:08 +0000 (UTC), "Puzzle Ice"
    <[email protected]> wrote:
    >Pls forgive my shallow knowledge, but what is offending
    page? And, why google
    >classify some fields to be auto-filled? I checked and
    recreated the fields
    >repeatedly, and all fields are created thru the same way.
    The design mode and
    >property settings looks normal. But, it looked different
    when viewed on
    >browser. Where hv I missed out, and how can I repair this
    problem? Tk u.
    The offending page means the page that's giving you problems.
    Read this
    about the Google Toolbar's autofill feature:
    http://www.google.com/support/toolbar/bin/answer.py?answer=17380

  • Input text field displays U.S. keyboard layout

    Hi,
    I've got a Flash Player 9 / AS3 animation which has a input
    text field where a user enters their email address.
    Now my PC is setup to use the UK keyboard layout so when I
    click the buttons Shift+@ then I get the @ symbol displayed.
    But for some reason the moment I try typing in the @ symbol
    (using Shift+@ keys) then up pops the " symbol which is a U.S.
    keyboard layout if I'm not mistaken?
    And so checking this, if I use the Shift+number 2(") key then
    I get the @ symbol (which again is a U.S. keyboard layout if I'm
    not mistaken?).
    Obviously I can't expect my UK users to know this and so need
    to work out how to change the keyboard layout for the text input
    fields so when I click the shortcut buttons Shift+@ I should see
    the @ symbol appear.
    Hope that all makes sense.
    Any help is greatly appreciated as this is a live project
    that the client is racing to get fixed.
    Many thanks and kind regards,
    Mark

    Hi,
    I have found some other weird things happening regarding this
    issue which are very odd?
    To recap....
    If I type into the search bar at the top of this page Shift+@
    then I get the correct character displayed which is @ (so my
    keyboard is definitely UK layout).
    If I create a new Flash movie with nothing but a text field
    set to INPUT and type Shift+@ then again I get the correct
    character!
    But if I type Shift+@ into my Flash movie I get the wrong
    character " appear!?
    I then checked both text fields and found there were
    absolutely no differences (except for colour/font size), so I
    copied the new text field into my Flash movie and the moment I
    played my Flash movie the new text field (which was working) then
    started doing the same and displaying the wrong character???
    Any ideas?
    Thanks.
    Kind regards,
    Mark

  • Retain all form field values after input text field validation failure

    Hi,
    I have a form with 1 input text field, one Command button and one h:selectManyListbox. when User enteres some values in input field and clicks on command button named Add, the value is validated. If input is invalid, then an error message appears next to the field. If input is valid, then the value is added into h:selectManyListbox. Adding to list box is done using Ajax4Jsf.
    Probelm:
    Let's assume user entered 3 valid values one after another and all are added into the list box. When he enters a wrong value, and error message appears. however, the entered values in list box goes away. Is there a way to retain the values even after validation failure.
    Code is given below;
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
    <%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
    <%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
    <h:panelGroup>
         <h:outputLabel for="inputEmailId1" value="Email Id: " />
         <t:inputText value="#{bean.newEmailId}" id="inputEmailId1" maxlength="100" size="40" immediate="true">
              <t:validateEmail message="Enter a valid Email Id." />
         </t:inputText>
         <t:message for="inputEmailId1" styleClass="errorStyleClass" />
    </h:panelGroup>
    <t:panelGroup style="text-align: left;" >
         <a4j:commandButton value="Add" styleClass="buttonsSub" action="#{bean.addSharedEmails}"
              reRender="inputEmailId1, selectedSharedEmails" />
    </t:panelGroup>
    <t:panelGroup style="text-align: left;">
         <h:selectManyListbox id="selectedSharedEmails" size="8" style="width:100%;" immediate="true">
              <f:selectItems value="#{bean.sharedEmails}" />
         </h:selectManyListbox>
    </t:panelGroup>
    Thanks in advance,

    Use the attribute "binding" instead of a "value". This will remember the value. You can also make sure that you dont have anything in your constructor or class level that initialises that value to "" or null. Because if JSF is remembering your value but your initialization that gets triggered before the page loading resets it to default values then you need to change that part of the code.

  • Subscript & Superscript in dynamic and input text field in Flash

    Yes, <sub> & <sup> tags are not supported by
    Flash but you can
    use Subscript & Superscript in dynamic and input text
    field in Flash:
    Download & install Subscript & Superscript fonts
    from
    http://www.subscriptfont.com
    or
    http://www.superscriptfont.com
    You will need to restart Flash software after installed
    fonts.
    Create a dynamic text field with Arial font embeded. Set the
    HTML property to true.
    Create a dynamic text field with Subscript font embeded.
    Create a dynamic text field with Superscript font embeded.
    Use HTML tag to set text to subscript or superscript like
    below:
    Some text<font face="Superscript">©</font>
    If you are using ActionScript to test the htmlText, use
    script like below:
    my_txt.htmlText = "Some text<font
    face='Superscript'>TM</font>";
    They are better than CG since it goes lower than the baseline
    and it's real subscript..

    Hi Nirnalatha,
    I have newly joined this forum and while going through the
    posts I came across your post which I thought I could help out. But
    I think I am too late for the reply.
    I am also into Flashlite development couple of months from
    now. Coming to your questions:
    1. Textbox problem: I am surprised to know that E70 mobiles
    (Device central list has E70-1 only) does not show input text box
    when cursor is in input box. Anyways its a good thing that you dont
    get an additonal input box. Like all J2ME applications you will be
    able to type the text inline. Infact we had reverse problem where I
    was told to create inline edit input box instead of flashlite input
    box. I think this is the mobile setting. Check the device features
    in the Adobe Device Central under Flash - Standalone player - Text
    and Fonts features. It will be mentioned whether inline text is
    allowed or not.
    2. Soft keys issues: You need to use
    fscommand2("SetSoftKeys", "Previous", "Next");
    and use a key listener in order to override the Mobile
    Softkey commands. Check out the flashlite help which clearly
    explains this.
    Hope I have given youa way to solve ur problem.

  • How Can i send the data entered in Input text fields to e-mail?

    Iam Jennifer, Iam having a doubt in Flash, I hope that you
    are going to solve my problem, Iam taking 3 Static text fields as
    Name, Age and Country and besides each and every static text fields
    i have taken 3 input text fields with different instance names,
    when i enter my Name, Age and Country details in the input text
    fields and after entering those details if user clicks the submit
    button the data should be send to some mail address, is it possible
    Im not so good at action script, but i hope that any one can
    help me...
    Iam attaching the action script code also, please find the
    attachment below, the actions are given to button.
    Attach Code
    Btn.onPress = function ()
    mail_lv = new LoadVars();
    mail_lv.dummy1 = "";
    mail_lv.subject = "Details";
    mail_lv.message = "hi";
    mail_lv.username = "name_txt".text;
    mail_lv.age = "age_txt".text;
    mail_lv.country = "country_txt".text;
    mail_lv.onLoad = function ()
    trace("Sent successfully...");
    trace("mail_lv.subject = " + mail_lv.subject);
    trace("mail_lv.message = " + mail_lv.message);
    mail_lv.send("mailto:[email protected]", "_blank");

    The names of your variables, "name_txt", for instance, should
    NOT have quotes around them. Use:
    mail_lv.username = name_txt.text;
    mail_lv.age = age_txt.text;
    mail_lv.country = country_txt.text;

Maybe you are looking for

  • Limit for marketing attributes

    All, Can I have over 700 marketing attributes created in CRM the system? And Can I have about 300 attributes assigned to a business partner? Whats the maximum limit of attributes anyone has ever worked with in the system? Any response is greatly appr

  • Error syncing calendar

    BB 9700 v 6.0 device software, desktop mgr 7.1 calendar stops one-way syncing in both directions with following error window: "the following recurring event could not be synced 9/21/2011 - MRP Collaborative Group meeting. Remove the event and sync ag

  • Form not redirecting

    I have a form that was originally created in FrontPage that is supposed to submit the data input and then redirect people to the payment page.  It is submitting the data because I receive the email but it won't redirect.  Says there is a frontpage er

  • Minimum player for flash 8 swf with remoting

    Just wondering if there is a minimum version of the flash player that will work with the flash 8 remoting elements? I was hoping that Adobe would have published something but I can't find it anywhere on their website. Does anyone know? Our client wan

  • OSS note - change request - correction instruction

    Hi Gurus, when you apply an OSS note SAP creates automatically a change request containing the objects you modify. Among these objects I can also see a list of "Correction Instructions", what is the meaning of this list? What information it contains?