How to do Front End Validation for JSP Forms using Java Script with 9iJD...

How to do Front End validation using 9iJD. Any wizard is there. We need to do the val. using Java Script. If its not available, please include that in the Production Release.

Thanks a lot. When is the Production Release is scheduled. Please tell us whether itll be available for Free Download. Bec, we couldnt buy. Bec, if its working fine with all the options without any bug only, we can ask our company to buy 9iJD by stating the advantages. Just explain us.

Similar Messages

  • How avoid spl charecters in jsp forms using java script..

    hi,
    iam using following function for escaping spl charcetrs..
    function checkEscapeCharacter(currentField) {
    var string = currentField.value;
    var iChars = "\"*|,?_:<>[]{}';()@&$#%!~`^-+=\\/";
    for (var i = 0; i < string.length; i++) {
    if (iChars.indexOf(string.charAt(i)) != -1){
    alert("illegal");
    currentField.value="";
    currentField.focus();
    return false;
    but with code aftet alert iam removing alll entered value..i just want to remove the illegal chacters..iam calling this onkeyup event..after alert it should remove spl char from string and assign it back to text fileld.
    regard,

    Hello,
    I wrote the following two methods, you pass the first of these the String
    you want to check, and the character you want removed. It then returnes the
    'cleaned' string.
    The second is very similar, but instead of removing the character, it replaces
    it with another.
    These only do one character at a time though, which is not exactly what your
    after.
       public String stripChar(String string, String charToStrip)
            String newString="";
            StringTokenizer st = new StringTokenizer(string, charToStrip);
            while (st.hasMoreTokens())
                newString = newString + st.nextToken();
            return newString;
    public String replaceChar(String string, String charToStrip, String charToAdd)
            String newString="";
            StringTokenizer st = new StringTokenizer(string, charToStrip);
            while (st.hasMoreTokens())
                newString = newString + charToAdd + st.nextToken();
            return newString;
        }

  • Display pop ups in the jsp by using Java script

    Hi
    can any body say ,how to display pop ups in the jsp by using Java script ?

    that's correct. You can use the below code for AJAX request.
    <script type="text/javascript">
    var httpObject = getHTTPObject();
    //create XMLHttpRequest object
    function getHTTPObject() {     
         var xmlhttp;
         if (window.XMLHttpRequest) // if Mozilla, Safari etc
              xmlhttp = new XMLHttpRequest();
         else if (window.ActiveXObject){ // if IE
              try {
                   xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
              catch ( e ){
                   try{
                        xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
                   catch ( e ){}
         return xmlhttp;
    //define the function to send the request
    function sendRequest(){
        var currDesc = document.getElementById("description").value;
        var URL =  "manageMaintAction.do"; //action mapping in your struts-config
        var queryString = "currDesc="+escape(currDesc); //get the currDesc value in your action class like request.getParameter("currDesc")
        httpObject.open( "Post", URL, true );
        httpObject.onreadystatechange = cbFn;
        httpObject.setRequestHeader( "Content-Type", "application/x-www-form-urlencoded");
        httpObject.send(queryString);
    //callback fn
    function cbFn() {
        if (httpObject.readyState == 4)
             if (httpObject.status == 200)
              var result = httpObject.responseText;
              alert(result);
    </script>

  • How to  build a  Calculator in WAB Template  by using  Java Script......

    Hi ,
    I am  trying   to build a dynamic  calculator in WAD which is as  similar to one in Executive view in Cognos. The  problem i am  facing  is,  i can  able to build a normal  calculator  by using  java script  but  i am  unable  to read the  key figure  values from  the  analysis  item  on from the  data  provider  in to  by  calculator  by using  on click  function. I wanted  to get the all  the  values in to a internal excel , so  that  my calculator can read the  values from  that. can  any  one  help  me  on getting  values in to internal excel by using   java before the  executing the  web template ?...
    Thanks in advance....
    Jhon.
    Edited by: sap bw on Jul 31, 2008 5:51 PM
    Edited by: sap bw on Jul 31, 2008 5:52 PM

    I might not be understanding your question completely since you mention WAD and then Excel, but if you are asking how to get the key figure values using Javascript in WAD, you can go to the Dataprovider properties and enable 'Output Result Data'.  This will embed an XML element into the HTML output that you can then parse using standard Javascript DOM navigation.
    Hope this helps.

  • Front End Tool for JSP

    I'm trying to develop a commerically viable front-end to an existing JSP system.Are there any tools available that make the task of creating a front end(i.e. HTML,XML) easier.
    For example, nice headers/tabs at the top of each page while keeping usability at a premuim??

    That's a difficult question to answer off the top of my head.
    Are you looking for some software that allows you to import a JSP based application into it, with the intention of modifying those so they look nicer?
    Or are you looking for a tool that will let you build nice looking pages then spit those out as JSPs or XMLs?
    Either way, my reply would be NO? The userbility aspects are things your organisation has to invest time in (designers, PR folks, communications, page developers, info architects, etc). Translating those thoughts into hard pages is where the HTML layer comes in, and there are no tools out there that can bring usability into web pages.
    You see what I mean?
    However, if what you are asking for is the availability of tools or editors to help you create the HTML you put in JSP files, then you are only one step away from your answer. There are several out there. Just look in http://www.download.com/Web-Page-Creation/2001-10247_4-0.html?tag=nav_dir for some of the most popular.

  • Validating Checkboxs in a form using java script.

    Hi i am trying to validate a jsp page that contains check-boxs using the following java script, however it doesnt seem to work! Any help on this matter would be most appreciated.
    <SCRIPT language="javaScript">
    function validate()
    if (document.myform.pkey.value=="")
    alert("Please Select a Questionnaire to delete!!");
         return false;
    </SCRIPT>

    Hi,
    You have to check whether user has selected the check box or not.
    When there are multiple check boxes with same name, it will create any array else normal single check box.
    Ajay.

  • How can I find my custom panel in CS5 using java script

    -I made an empty panel using Adobe Configurator 2 and then exported it to /Panels folder.
    -My custom panel is now in photoshop and works.
    -I added a simple code to onPanelInit():
    function onPanelInit()
        var myWindow = new Window ("dialog");
        var myMessage = myWindow.add ("statictext");
        myMessage.text = "Hello, world!";
        myWindow.show ( );
    so far so good.
    Now instead of creating a new window like I did above, I want to use the new custom panel and add a text to it.
    The problem is, how do I do that in java? Where can I find the panel that I should assign the text to?
    I know that you can add the text in Configurator, or you can edit the .xml file and add the button there, but my
    plan is to create a panel where i can add and remove buttons dynamically and that's why I have to do that in java.
    Any help would be appreciated!
    Cheers,
    Petri J

    Use Runtime.exec() to run a OS specific command which retrieves OS specific info.
    Or use JNI to access a OS specific API which returns the info you want.

  • How to open pdf document in other window by using java script

    Hello All,
    I am working in R12 Application.
    My jdeveloper version is 10.1.3.3.0.3
    I want to open pdf document in other window on clicking the button
    for that i have written following code in process request of the controller:
    pageContext.putJavaScriptFunction("doFilterSwitch", "function doFilterSwitch(){window.open('/t01/oracle/TEST/inst/apps/TEST_appsdev2/logs/appl/conc/out/545042.pdf'); }");
    OAButtonBean moHelp =(OAButtonBean)webBean.findChildRecursive("Download");
    moHelp.setOnClick("doFilterSwitch()");
    but when i hit download button it gives me the below error:
    The webpage cannot be found
    HTTP 404
    Most likely causes:
    There might be a typing error in the address.
    If you clicked on a link, it may be out of date.
    What you can try:
    Retype the address.
    Go back to the previous page.
    Go to and look for the information you want.
    More information
    please help me out
    Regards,
    sheetal

    Instead of giving the link in Process form request, give the link directly in Destination URI property of the button and in target property write _blank.
    Note : use normal button not submit button

  • URGENT:How can we submit a web page containing form using Java API?

    Dear Friends,
    I want to submit a form to a form action page resides in a web site. Then I need to get the response of the same.
    Is there any way to do this automatically by using Java API.
    Does java.net have anything?
    Thanks in advance
    Sarath

    Have you looked at a package called httpunit.
    http://httpunit.sourceforge.net/
    This allows form submission, Javascript, cookies etc.

  • How can i configure Distributed cache servers and front-end servers for Streamlined topology in share point 2013??

    my question is regarding SharePoint 2013 Farm topology. if i want go with Streamlined topology and having (2 distribute cache and Rm servers+ 2 front-end servers+ 2 batch-processing servers+ cluster sql server) then how distributed servers will
    be connecting to front end servers? Can i use windows 2012 NLB feature? if i use NLB and then do i need to install NLB to all distributed servers and front-end servers and split-out services? What will be the configuration regarding my scenario.
    Thanks in Advanced!

    For the Distributed Cache servers, you simply make them farm members (like any other SharePoint servers) and turn on the Distributed Cache service (while making sure it is disabled on all other farm members). Then, validate no other services (except for
    the Foundation Web service due to ease of solution management) is enabled on the DC servers and no end user requests or crawl requests are being routed to the DC servers. You do not need/use NLB for DC.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • How do web front ends find the configuration database (moving whole farm to new AD forest)

    We are exploring, as a possible course of action, moving our SharePoint 2007 medium farm to a different Active Directory forest (2008). There is a two way transitive trust between the source and target domains.
    I have established that with such a trust it's possible to add content databases on a SQL instance in another forest, so moving content is not a big issue; we'd stand up new instances and move them: the user accounts are almost all in the target domain anyway.
    However, we have a good deal of customization, including a third-party application that no longer has any support and has historically been appallingly difficult to upgrade/install fresh.
    How do web front end servers find the SQL instance containing the configuration database? If the farm credentials had been previously changed to an account in the target domain, all services stopped and the configuration database moved to a new instance
    with a DNS alias, would the database appear to be in the same location when SQL and SharePoint services were started on (logically) moved web front ends?

    Here is more or less the high-level process for SharePoint 2007:
    Mid- to high-level steps.
    0. Full farm backup
    1. Move users to new domain (in AD). Use stsadm -o migrateuser to migrate the old domain accounts to the new ones in SharePoint
    2. Move service accounts to new domain, or create new service accounts
    3. Update the farm to use the service accounts in the new domain
    stsadm -o updatefarmcredentials (service accounts)
    stsadm -o spsearch -farmserviceaccount
    stsadm -o spsearch -farmcontentaccessaccount
    stsadm -o editssp -ssplogin (for each ssp)
    stsadm -o osearch -farmserviceaccount
    SSO and any other remaining service accounts (CA -> Ops -> Service Accounts)
    Default content access account (SSP -> Search Settings -> Default content access account)
    Customizations (if there are service accounts associated with these)
    3.5 Manual steps
    Application pool accounts
    Update permissions for SQL Logins to make sure the new accounts match the permissions for the old accounts
    Add the appropriate new accounts to the DCOM IIS WAMREG Admin Service
    4. Update the SQL Server service accounts. If SQL Server is shared with other applications you'll want to update the SQL Logins for these other applications as necessary and the SQL Server service accounts (DB Engine, DB Agent, Reporting Services, etc.). Might
    not be necessary if this has already been done or if the SQL server is not changing domains. 
    5. Shut down all services on all servers in the farm (this includes SQL if you are moving to the new domain).
    6. Change domain membership of all farm servers, reboot or perhaps shutdown and bring back up in the following order:
    1. SQL. Verify SQL Server is running and accessible. Check event logs. Resolve any issues.
    2. Central Admin server. Verify CA is accessible, check event logs. Web apps and some services may not be available if they are on servers that are currently turned off. Don't worry about these (yet).
    3. Application servers, search servers, index, query, other. It's likely some or all of the WFEs will go on at this step. Verify services are accessible as expected. Check event logs. Resolve issues.
    4. Any remaining WFEs. Wash, rinse, repeat.
    7. Assuming everything is running as expected, users can access the sites, the sky did not fall, etc. take a full farm backup.
    Hey look, here are some low-level steps too.
    # updates the account used to run the CA app pool and the timer service
    # must be run on the server that hosts CA
    stsadm -o updatefarmcredentials -identitytype configurableid -userlogin NEWDOMAIN\farm_service_account -password Password123
    # spsearch
    stsadm -o spsearch -farmserviceaccount NEWDOMAIN\search_service_account -farmservicepassword Password123 -farmcontentaccessaccount NEWDOMAIN\crawl_service_account -farmcontentaccesspassword Password123
    # osearch
    stsadm -o osearch -farmcontactemail [email protected] -farmserviceaccount NEWDOMAIN\search_service_account -farmservicepassword Password123
    # ssp service accounts
    stsadm -o editssp -title SSP -ssplogin NEWDOMAIN\ssp_service_account -ssppassword Password123
    # Manual steps
    SSP Admin -> Search Settings -> Default Content Access Account
    Application pools: CA -> Operations -> Service Accounts -> Web Application Pool (or use gl-updateapppoolaccount if available)
    iisreset /noforce
    Copy SQL permissions to the new accounts. Not sure why this doesn't happen.
    SSP Service Account
    Farm Account
    Setup Account (not copied because it doesn't own anything, just used to kick off the DB for the other accounts)
    Search Service
    Add accounts to DCOM not sure why this didn't happen
    Component Services -> Computer -> My Computer -> DCOM Config -> IIS WAMREG Service
    Farm account
    Application pool accounts
    Search Service
    SSP Service
    SSP Admin
    Then the fun part. Move the server into the new domain.
    Check for AAMs to see if they reference the current domain. If so, change to the new one.
    Stop all SP services. Join new domain.
    The computer name is a netbios name in SP, this should be painless.
    Some general notes from my experience doing this:
    1. There is no way to update application pool identities with stsadm (I haven't explored using Powershell). You have to go through CA -> Service Accounts to update these.
    2. Some SQL logins and permissions were not created. I compared the permissions before to the permissions after and copied the ones that didn't transfer. This resolved all database access issues.
    3. Had to grant permissions for the service accounts in the DCOM configuration for the IIS WAMREG admin service. I expected this to happen automatically but was not surprised given the history of CLSID 61738644-F196-11D0-9953-00C04FD919C1.

  • How can we do the validation for non visible records in table control.

    Hi Experts,
      I have a table control which displays list of material details. I have a button to upload the material details from excel file to table control directly. I have to validate all the customers which are exist in the table. But my item (Material) table control displays only 5 rows i.e only 5 entries are visible in module pool screen. The validation is done for 5 records only in PAI event, but i need to do validation for rest of the records too (Which are not visible on items table), if validation fails then needs to display error message.
      How can we do the validation for non visible records in table control.
    Regards,
    Bujji

    Hi,
    try validating material before displaying it in table control...'
    Rgds/Abhhi

  • What are the front end tools & components needed to use Visual composer.

    Hi all,
    please help for the following queries.
    1.What are the front end tools & components needed to use Visual composer.
    2. Is it possible to view in internet explorer web reports/ Dash boards created in Visual composer.
    3. How to create Webreports & Dash Boards in Visual composer.
    It's Urgent waiting for responses.
    Thanks & Regards,
    Basava Raju

    Hi James,
       For  Visual Composer no need any Front end tools.. you need  portal connection.. to configure your visual compoer.. the visla composer it self contain all the items.. just like a Webtemplate..
       all the reports.. that web based reports  or dash boards we can view through Browser only..
    for creating reports in visal composer.. just go thru this links..
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c6b2d590-0201-0010-42ba-a53a5d422310
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/7d48d999-0701-0010-5790-8b2c5ae7107d
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1752b737-0401-0010-0ba3-87c3eda8c6ce
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/cab252d4-0a01-0010-3984-ee345859dde6
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/01c5d690-0201-0010-668a-b8d97d51a566
    for How to Guides - Visual Composer.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/16244247-0a01-0010-3294-d81c21e7e86e
    /people/marcel.salein/blog/2007/02/01/visual-composer-and-abap-rfcbapi-a-powerful-combination-part-i
    /people/marcel.salein/blog/2007/02/02/visual-composer-and-abap-rfcbapi-a-powerful-combination-part-ii
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/01c5d690-0201-0010-668a-b8d97d51a566 https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/16244247-0a01-0010-3294-d81c21e7e86ehttps://www.sdn.sap.com/irj/sdn/visualcomposer
    regards
    @jay

  • How to Assigning the number ranges for Purchase Order using EXIT_SAPMM06E_0

    How to Assigning the number ranges for Purchase Order using EXIT_SAPMM06E_001 using Functional Module NUMBER_GET_NEXT explain me ?

    Hi,
    First go thourh the FM import export parameters list.
    Try to create an internal table of type INRI-NRRANGENR for number ranges.
    We can provide the lower and higher values for this table so that what ever PO is created will be with that range.
    Try to create the ncessary ones using this FM.
    In the Exit, EXIT_SAPMM06E_001,
    the Export parameters are-
    EKKO-EBELN- the PO ios created with in that specified range
    Range as INRI-NRRANGENR - Here try to assign the Internal table that was populated in the FM.
    Try to code this in the Include provded and keep Breakpint and check the PO number generated.
    Reply if u need more help on this.
    Reward if helpful.
    Best Wishes,
    Chandralekha

  • How do I specify different emails for a form to send to based on different selections?

    How do I specify different emails for a form to send to based on different selections?
    Creating a form that can be sent to an email address is simple enoug but my problem I can't figure out.  There is a drop down menu on the form and based on what the user selects the form will be sent to 1 of 3 groups of email addresses.  How can I specify which group of email addresses belong to a particular dropdown menu selection?

    You can populate the drop down with a dataprovider that has the dropdown field and the emailgroup field.
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
      <mx:Script>
        <![CDATA[
          import mx.events.FlexEvent;
          import mx.collections.ArrayCollection;
          [Bindable] private var dataAC:ArrayCollection = new ArrayCollection([
            {label: "one", email: "[email protected]"},
            {label: "two", email: "[email protected]"},
            {label: "three", email: "[email protected]"},
          private function changeFunc(evt:FlexEvent):void{
            txt.text = evt.currentTarget.selectedItem.email;
        ]]>
      </mx:Script>
      <mx:ComboBox id="cmbx" dataProvider="{dataAC}" valueCommit="changeFunc(event)"
        labelField="label" creationComplete="cmbx.selectedIndex=0"/>
      <mx:Text id="txt"/>
    </mx:Application>
    If this post answers your question or helps, please mark it as such.
    Greg Lafrance - Flex 2 and 3 ACE certified
    www.ChikaraDev.com
    Flex / AIR Development, Training, and Support Services

Maybe you are looking for

  • Best approach to join multiple statistics tables into one

    I have read different approaches to join multiple statistics tables into one, they all have a column "productobjectid". I want to get all data for each product and put it to excel and output a jpg statistic with cfchart. How would you do this, the sq

  • Creating a Web service

    Hi, I have a web dynpro application that can access an external database via EJB. I also have a web module (JSP). In the web dynpro application there is a button that calls a webpage from my web module.  Supposedly, when I click the button, the value

  • Keychain problem-definitely a challenge problem!

    I have 5 accounts in mail. 4 are yahoo accounts all tied to the same paid account. I use Road Runner. 3 of them are fine. One intermittantly needs the password. When I give it, it accepts it fine. I ran keychain access utility--Verify said all was fi

  • Does Mac OS firewall also protect external drive connected to iBook?

    Hi all, I have an iBook G4 to which I've connected an iomega external firewire drive divided into two partitions (a clone of my iBook, plus a section used for photo storage). I have the firewall turn ON in my iBook's system preferences, and none of t

  • Ask information on WLC2500 Version 7.3

    Hi all, while a debug mac on a terminal 802.11bg (WPA2 AES with preshared key ), I can view lot of message: *apfProbeThread: Oct 01 11:49:06.808: Received aggregated probe, dataLen = 69 *apfProbeThread: Oct 01 11:49:06.808: aggregated probe IE: TIMES