[Help] Create components dynamically and its id

Hello guys.

I need a help

I know it sounds weird in the title which precedes but I struggled to find a better solution, but can´t understand it.

I searched the internet but couldn t find a solution to my problem.

Here's what I have to do.

I need to create an order of the day. Each cell must accept a new event or remove an existing event

The idea is to show all the 365 days of the year. It s important and clearer to the user.

I ve tried to use the < mx:Repeater > to reproduce a 365 times custom component. He succeeded but I can´t find a way to access these components to change its properties.

As some of them may have an appointment and others not.

< mx:HBox horizontalGap = "0" >

< mx:Repeater id = "monthRepeater" >

< mx:VBox verticalGap = "0" >

< mx:Box id = "mes_box" borderColor = "#000000."

borderStyle = "solid".

borderThickness = "0.5".

width = "80" >

< mx:LinkButton label = "{monthRepeater.currentItem.month}" fontStyle = "normal" fontWeight = "normal" / > "

< / mx:Box >

< mx:VBox verticalGap = "0" >

< mx:Repeater id = "daysRepeater" >

" < visao:CaixaDia id = linktexto =" {daysRepeater.currentItem.day "day_caixaDia"} "labeltexto =" {daysRepeater.currentIndex} "/ >

< / mx:Repeater >

< / mx:VBox >

< / mx:VBox >

< / mx:Repeater >

< / mx:HBox >

Is it possible to use < mx:Repeater > and dynamically create IDS for these components?

Thank you

You can access objects created by a Repeater, as if the id was a table, as in the following example:



  
    
  
  
  
    
      
    
  

If this post answers your question or assistance, please mark it as such.

Greg Lafrance - Flex 2 and 3 certified ACE

www.ChikaraDev.com

Training Flex and Support Services

Tags: Flex

Similar Questions

  • Hi, I created the procedure and its code is / / DELETE FROM &lt;? = odiRef.getObjectName ("L", "TRG_SALES", "ORACLE_ORCL_LOCAL_SALES", "", "D")? &gt; / / and when I'm running, the error appeared //com.sunopsis.tools.core.exception.SnpsSimpleMessageExcepti

    Hi, I created the procedure and its code is / / DELETE FROM <? = odiRef.getObjectName ("L", "TRG_SALES", "ORACLE_ORCL_LOCAL_SALES", "", "D")? > / / and when I'm running, the error appeared.

    com.sunopsis.tools.core.exception.SnpsSimpleMessageException: ODI-17517: error in the interpretation of the task.

    Task: 1

    java.lang.Exception: the application script threw an exception: com.sunopsis.tools.core.exception.SnpsSimpleMessageException: Exception getObjectName ("L", "TRG_SALES", "ORACLE_ORCL_LOCAL_SALES", "DEVELOPMENT", "D"): SnpLSchema.getLSchemaByName (): SnpLschema is no information OSB: Delete_Tar_Sales on line: column 0: columnNo

    at com.sunopsis.dwg.codeinterpretor.SnpCodeInterpretor.transform(SnpCodeInterpretor.java:489)

    at com.sunopsis.dwg.dbobj.SnpSessStep.createTaskLogs(SnpSessStep.java:737)

    at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:465)

    at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2128)

    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ 2.doAction(StartSessRequestProcessor.java:366)

    at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)

    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)

    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$ 0 (StartSessRequestProcessor.java:292)

    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ StartSessTask.doExecute (StartSessRequestProcessor.java:855)

    at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)

    to oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$ 2.run(DefaultAgentTaskExecutor.java:82)

    at java.lang.Thread.run(Thread.java:662)

    Caused by: java.lang.Exception: the application script threw an exception: com.sunopsis.tools.core.exception.SnpsSimpleMessageException: Exception getObjectName ("L", "TRG_SALES", "ORACLE_ORCL_LOCAL_SALES", "DEVELOPMENT", "D"): SnpLSchema.getLSchemaByName (): SnpLschema is no information OSB: Delete_Tar_Sales on line: column 0: columnNo

    at com.sunopsis.dwg.codeinterpretor.SnpCodeInterpretor.transform(SnpCodeInterpretor.java:476)

    ... 11 more

    Caused by: org.apache.bsf.BSFException: the application script threw an exception: com.sunopsis.tools.core.exception.SnpsSimpleMessageException: Exception getObjectName ("L", "TRG_SALES", "ORACLE_ORCL_LOCAL_SALES", "DEVELOPMENT", "D"): SnpLSchema.getLSchemaByName (): SnpLschema is no information OSB: Delete_Tar_Sales on line: column 0: columnNo

    at bsh.util.BeanShellBSFEngine.eval (unknown Source)

    at bsh.util.BeanShellBSFEngine.exec (unknown Source)

    at com.sunopsis.dwg.codeinterpretor.SnpCodeInterpretor.transform(SnpCodeInterpretor.java:471)

    ... 11 more

    Text: REMOVE OF <? = odiRef.getObjectName ("L", "TRG_SALES", "ORACLE_ORCL_LOCAL_SALES", "", "D")? >.

    at com.sunopsis.dwg.dbobj.SnpSessStep.createTaskLogs(SnpSessStep.java:764)

    at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:465)

    at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2128)

    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ 2.doAction(StartSessRequestProcessor.java:366)

    at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)

    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)

    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$ 0 (StartSessRequestProcessor.java:292)

    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ StartSessTask.doExecute (StartSessRequestProcessor.java:855)

    at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)

    to oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$ 2.run(DefaultAgentTaskExecutor.java:82)

    at java.lang.Thread.run(Thread.java:662)

    If you do this in a procedure, use the following syntax:

    <%=odiRef.getObjectName("L", "TRG_SALES", "D")%>

    and set the relevant logical schema in the options on the target tab of the procedure. Also, make sure you only select the correct technology type in the options on the target tab.

  • Need help creating Unique SSID and secure network

    My AP has been recently reset the SSID I had chosen has of course been erased and AP is now considered to be "linksys". It also now broadcasts as an open network.

    I tried to create a new network using the Intel PROSet/Wireless graphical user interface that came with my PC and it allows me to create a SSID and put a password on it, but it does not affect the real "linksys" network even if I would have erased "linksys" in the text box and enter my own.

    I tried in vain to reset the AP again and connect to 192.168.1.245 using IE and firefox, I get an error loading page every time. I have also tried to set the IP address of my PC to the same meanings and the subnet by default 255.255.etc and could not connect.

    I also tried to connect the AP to the pc directly, what does not work.

    What I am doing wrong.

    PS. I don't have the original installation CD, I think it would be solved.

    I managed. Thank you!

  • Help creating a button and add text inside

    Hi guys...

    I am trying to create a button (or an MC, the same) using only of the code, but it must be what I need, inside...

    var ins_btn:?

    ins var: String = "how to play / Como jugar;

    ins_btn.x = 202,75;

    ins_btn.y = 316;

    ins_btn. Width = 533,30;

    ins_btn. Height = 59.35;

    ins_btn. Ins = text;

    addChild (ins_btn);

    I tried this way, do ins_btn a MC, but it does not work (it does not appear in my screen) and I do that, so, when someone clicks on it, it goes to the two framework:

    ins_btn.addEventListener (MouseEvent.CLICK, instructionF);

    function instructionF(event:MouseEvent):void {}

    ins_btn. RemoveEventListener (MouseEvent.CLICK, instructionF);

    gotoAndStop (2);

    }

    Then... What should I do to make this button or movieclip appears in the scene, with the words how to play / Como jugar inside?

    Thank you very much!

    For a button work, he needs something to click on as a key area. If you need a basic button without making any design, you can use one of the preset buttons (window-> common libraries-> buttons) or just use the component button (window-> components-> UI-> button).

    For example, this one, open the components Panel (window-> components), driving User Interface open, drag the Button component in your library.

    In the code you can use it as simply as this:

    Import fl.controls.Button;

    import flash.events.MouseEvent;

    var: button = new Button();

    Button.label = "how to play / Como jugar;

    button.setSize (150,20);

    addChild (button);

    button.addEventListener (MouseEvent.CLICK, instructionF);

    function instructionF(event:MouseEvent):void

    {

    button.removeEventListener (MouseEvent.CLICK, instructionF);

    gotoAndStop (2);

    }

    If you want to draw your own button, use the graphics class of any display object and draw a background for your button has something to capture the click. You also need a TextField inside the key. For example a blue rounded rectangle button Sprite:

    import flash.display.Sprite;

    import flash.text.TextField;

    import flash.text.TextFieldAutoSize;

    import flash.text.TextFormat;

    import flash.text.AntiAliasType;

    var ins_btn:Sprite = new Sprite();

    addChild (ins_btn);

    background

    ins_btn. Graphics.beginFill(0x6666CC,1);

    ins_btn. Graphics.drawRoundRect (10,10,150,20,10,10);

    ins_btn. Graphics.endFill ();

    text

    var tf:TextField = new TextField();

    ins_btn. AddChild (TF);

    TF. Width = 10;

    tf.autoSize = TextFieldAutoSize.LEFT;

    tf.antiAliasType = AntiAliasType.ADVANCED;

    TF. Selectable = false;

    TF. Text = "how to play / Como jugar;

    tf.setTextFormat (new TextFormat("Arial",11,0xFFFFFF));

    TF.x = 22;

    TF.y = 10;

    has hit

    ins_btn.addEventListener (MouseEvent.CLICK, instructionF);

    function instructionF(event:MouseEvent):void

    {

    ins_btn. RemoveEventListener (MouseEvent.CLICK, instructionF);

    gotoAndStop (2);

    }

  • Help with random lines and its

    What I'm trying to make, is that the lines appear in various random places but they keep appearing in the same place without worrying.  Someone at - it a way to solve this problem?  As is - this does anyone have an idea on how to put a timer so after two minutes, all the lines disappear?  Thank you very much for the help.

    import flash.events.ActivityEvent;
    import flash.events.StatusEvent;
    import flash.media.Microphone;
    the line below code
    var container1:Sprite = new Sprite();
    var container2:Sprite = new Sprite();
    var container3:Sprite = new Sprite();
    var container4:Sprite = new Sprite();
    var container5:Sprite = new Sprite();
    random coordinates for container1
    var corcon1x:Number = Math.round (Math.random () * 600);
    var corcon1y:Number = Math.round (Math.random () * 600);
    var corcon2x:Number = Math.round (Math.random () * 600);
    var corcon2y:Number = Math.round (Math.random () * 600);
    random coordinates for container2
    var corcon3x:Number = Math.round (Math.random () * 600);
    var corcon3y:Number = Math.round (Math.random () * 600);
    var corcon4x:Number = Math.round (Math.random () * 600);
    var corcon4y:Number = Math.round (Math.random () * 600);
    random coordinates for 3
    var corcon5x:Number = Math.round (Math.random () * 600);
    var corcon5y:Number = Math.round (Math.random () * 600);
    var corcon6x:Number = Math.round (Math.random () * 600);
    var corcon6y:Number = Math.round (Math.random () * 600);
    random coordinates for container4
    var corcon7x:Number = Math.round (Math.random () * 600);
    var corcon7y:Number = Math.round (Math.random () * 600);
    var corcon8x:Number = Math.round (Math.random () * 600);
    var corcon8y:Number = Math.round (Math.random () * 600);
    random coordinates for container5
    var corcon9x:Number = Math.round (Math.random () * 600);
    var corcon9y:Number = Math.round (Math.random () * 600);
    var corcon10x:Number = Math.round (Math.random () * 600);
    var corcon10y:Number = Math.round (Math.random () * 600);
    micro code follows below
    var deviceArray:Array = Microphone.names;
    trace ("input devices, sound available :");
    for (var i: int = 0; i < deviceArray.length; i ++)
    {
    trace ("" + deviceArray [i]);
    }
    var mic:Microphone = Microphone.getMicrophone ();
    Security.showSettings (SecurityPanel.MICROPHONE); We added this line because he did not accept his otherwise
    MIC.gain = 60;
    MIC.rate = 11;
    mic.setUseEchoSuppression (true);
    mic.setLoopBack (true);
    mic.setSilenceLevel (5, 1000);

    mic.soundTransform = new SoundTransform (0, 0);
    mic.addEventListener (ActivityEvent.ACTIVITY, this.onMicActivity);
    mic.addEventListener (StatusEvent.STATUS, this.onMicStatus);

    var micDetails:String = "audio input device name:"+ mic.name + "\n"; '.
    micDetails += "Gain:"+ mic.gain + "\n"; '.
    micDetails += "rate:"+ mic.rate + "kHz" + "\n"; '.
    micDetails += ' Muted: "+ mic.muted +"\n"; '.
    micDetails += "Silence level:"+ mic.silenceLevel + "\n"; '.
    micDetails += "Silence timeout:"+ mic.silenceTimeout + "\n"; '.
    micDetails += "echo delete:"+ mic.useEchoSuppression + "\n"; '.
    trace (micDetails);

    function onMicActivity(event:ActivityEvent):void
    {
    }
    function onMicStatus(event:StatusEvent):void
    {
    }

    stage.addEventListener (Event.ENTER_FRAME, stage_EnterFrame);
    function stage_EnterFrame(e:Event)
    {

    If (mic.activityLevel < 20) {}
    test_text. Text = "20";
    addChild (container5);
    container5. Graphics.LineStyle(5,0x0000FF);
    container5. Graphics.MoveTo (corcon9x, corcon9y);
    container5. Graphics.LineTo (corcon10x, corcon10y);
    }
    ElseIf (mic.activityLevel > 20 & & mic.activityLevel < 40) {}
    test_text. Text = "40";
    addChild (container4);
    container4. Graphics.LineStyle(10,0x6600CC);
    container4. Graphics.MoveTo (corcon7x, corcon7y);
    container4. Graphics.LineTo (corcon8x, corcon8y);
    }
    ElseIf (mic.activityLevel > 40 & & mic.activityLevel < 60) {}
    test_text. Text = "60";
    addChild (container3);
    container3. Graphics.LineStyle (15, 0 x 009900);
    container3. Graphics.MoveTo (corcon5x, corcon5y);
    container3. Graphics.LineTo (corcon6x, corcon6y);
    }
    ElseIf (mic.activityLevel > 60 & & mic.activityLevel < 80) {}
    test_text. Text = "80";
    addChild (container2);
    container2. Graphics.LineStyle(20,0xffff00);
    container2. Graphics.MoveTo (corcon3x, corcon3y);
    container2. Graphics.LineTo (corcon4x, corcon4y);
    }
    ElseIf (mic.activityLevel > 80 & & mic.activityLevel < 100) {}
    test_text. Text = "100";
    addChild (container1);
    container1. Graphics.LineStyle(30,0xFF0000);
    container1. Graphics.MoveTo (corcon1x, corcon1y);
    container1. Graphics.LineTo (corcon2x, corcon2y);
    }
    trace (MIC.activityLevel);
    }

    import flash.events.ActivityEvent;
    import flash.events.StatusEvent;
    import flash.media.Microphone;
    the line below code

    var t:Timer = new Timer (60000,1);

    t.addEventListener (TimerEvent.TIMER, f);

    function f(e:Event):void {}

    stage.removeEventListener(Event.ENTER_FRAME, stage_EnterFrame);
    

    }

    var container1:Sprite = new Sprite();
    addChild (container1);
    micro code follows below
    var deviceArray:Array = Microphone.names;
    trace ("input devices, sound available :");
    for (var i: int = 0; i< devicearray.length;="">
    {
    trace ("" + deviceArray [i]);
    }
    var mic:Microphone = Microphone.getMicrophone ();
    Security.showSettings (SecurityPanel.MICROPHONE); We added this line because he did not accept his otherwise
    MIC.gain = 60;
    MIC.rate = 11;
    mic.setUseEchoSuppression (true);
    mic.setLoopBack (true);
    mic.setSilenceLevel (5, 1000);

    mic.soundTransform = new SoundTransform (0, 0);
    mic.addEventListener (ActivityEvent.ACTIVITY, this.onMicActivity);
    mic.addEventListener (StatusEvent.STATUS, this.onMicStatus);
        
    var micDetails:String = "audio input device name:"+ mic.name + "\n"; '.
    micDetails += "Gain:"+ mic.gain + "\n"; '.
    micDetails += "rate:"+ mic.rate + "kHz" + "\n"; '.
    micDetails += ' Muted: "+ mic.muted +"\n"; '.
    micDetails += "Silence level:"+ mic.silenceLevel + "\n"; '.
    micDetails += "Silence timeout:"+ mic.silenceTimeout + "\n"; '.
    micDetails += "echo delete:"+ mic.useEchoSuppression + "\n"; '.
    trace (micDetails);

    function onMicActivity(event:ActivityEvent):void
    {
    }
    function onMicStatus(event:StatusEvent):void
    {
    }

    stage.addEventListener (Event.ENTER_FRAME, stage_EnterFrame);
    function stage_EnterFrame(e:Event)
    {

    If (mic.activityLevel<>
    test_text. Text = "20";

    container1. Graphics.LineStyle(5,0x0000FF);

    }
    ElseIf (mic.activityLevel > 20 & mic.activityLevel)<>
    test_text. Text = "40";

    container1. Graphics.LineStyle(10,0x6600CC);

    }
    ElseIf (mic.activityLevel > 40 & mic.activityLevel)<>
    test_text. Text = "60";

    container1. Graphics.LineStyle (15, 0 x 009900);
    }
    ElseIf (mic.activityLevel > 60 & mic.activityLevel)<>
    test_text. Text = "80";

    container1. Graphics.LineStyle(20,0xffff00);
    }
    ElseIf (mic.activityLevel > 80 & mic.activityLevel)<>
    test_text. Text = "100";

    container1. Graphics.LineStyle(30,0xFF0000);
    }

         container1.graphics.moveTo(Math.round(Math.random()*600),Math.round(Math.random()*600));     container1.graphics.lineTo(Math.round(Math.random()*600),Math.round(Math.random()*600));
    

    trace (MIC.activityLevel);
    }

  • Creating a tag HTML with Dreamweaver/Muse and its import for Joomla?

    Hello

    I was wondering if it is able to find a way to connect between Joomla and Adobe Dreamweaver.

    So I'm a designer and I would like to use my skills in design of photoshop and illustrator to create a Web site. So I'm reshape an Internet site to my work and their site is out of Joomla. I know how to import photoshop or illustrator Dreamweaver files and download a html on the web, but I did not download a html/css for Joomla. I have no idea whatsoever about Joomla, but I am familiar with HTML and CSS, and its conversion to filezilla.

    Please help, I want my online drawing or an overview of Joomla and see how it goes from there because I'm not a developer... just a designer.

    Thank you.

    You do not import HTML/CSS in Joomla and you can copy and paste your code in a selective way.

    Joomla already has a Web page for you and all you have to do is to copy the content of your page of DW in Joomla.  This means all the code between the....the HTML tags in the code editor for DW.  All this is done in 'Items', and you will need to switch between HTML and WYSIWYG editor.

    Also, please note that Joomla 3.4.8 (the current version) uses "bootstrap" version 2.3.2 and there is no easy way to upgrade to version 3.3.6 bootstrap one we use in DW.  The tutorial for 2.3.2 are at this link:

    http://GetBootstrap.com/2.3.2/base-CSS.html

    http://GetBootstrap.com/2.3.2/components.html

    http://GetBootstrap.com/2.3.2/scaffolding.html

    Codes between the two versdioins are very different, so when you post a question here, you must indicate your Bootstrap version.

    Of course I refer to default Joomla template called protostar (it's free) but some premium models have already managed to create new models for Bootstrap 3.3.6.

    Good luck.

  • Hello all, I need help with creating a dynamic region in jdeveloper 11.1.2.3 version

    . Hello everyone, I need help with creating a dynamic region in jdeveloper 11.1.2.3 version

    What JDK you are using?

    You are probably using an old version of the JDK, that class while compiled under JDK 1.7.0

    http://java67.blogspot.com/2012/10/how-to-fix-javalangunsupportedclassversionerror-major-minor-version-49-50-51.html

    For example, work with the correct version, and it will be fine...

  • help create dynamic measures to calculate the total amount in the form of tabluar

    Hello world

    We using apex 4.2 and start re-writing some existing applications originally designed in 3.0.   I was wondering if someone could help me with the following scenario.

    I have a tabular presentation several recording based on a collection called "species_collection".  The form allows fisherman to create an electronic ticket which contains one species, quantity, price, total of the amounts and other descriptive information on the species.  I created a dynamic action (with lots of help from this forum) to automatically update the collection when a field is changed.

    I am now in the hope of creating a dynamic action that will automatically do the following:

    • When the quantity is changed, recalculate the total of the amounts as quantity * price
    • When the price is changed, recalculate the total of the amounts as quantity * price
    • When dollars changed, recalculate the $ amount/total price.
    • When the total amount is changed, recalculate the OVERALL TOTAL

    Currently, I use embedded calls to javascript and then to application processes... but they are difficult to debug, and it seems that dynamic action could be cleaner and simpler.

    the current request is (I've included the concerned fields because it is an important application):

    SELECT
    apex_item.text(1,seq_id,'','','id="f01_'||seq_id,'','') "DeleteRow",
    seq_id,
    seq_id display_seq_id,
    .....
    apex_item.text(10,TO_NUMBER(c010),5,null, 'onchange="setTotal('||seq_id||')"','f10_'||seq_id,'') Quantity,
     
    apex_item.text(11,TO_NUMBER(c011),5,null,'onchange="getPriceBoundaries('||seq_id||')"','f11_'||seq_id,'') Price,
    
    apex_item.text(12, TO_NUMBER(c012),5,null, 'onchange="changePrice
    ('||seq_id||')" onKeyDown="selectDollarsFocus('||seq_id||',event);"','f12_'||seq_id,'') Dollars
     ......
    from apex_collections
     where collection_name = 'SPECIES_COLLECTION' order by seq_id 
    

    each field, QUANTITY, PRICE, $ has an ONCHANGE that then call the application processes that update the collection.

    <script language="JavaScript1.1" type="text/javascript">
    
    function setTotal(row)
    {
       //quantity was entered into form, get values
       var price = $x('f11_'+row);
       var total = $x('f12_'+row);
       var quantity = $x('f10_'+row);
       var nquantity = parseFloat(quantity.value);
       var ntotal;
       var nprice;
       nquantity = nquantity.toFixed(3);
       quantity.value = nquantity;
       //if quantity and price both have values calculate total and save
       if(quantity.value > 0 && price.value > 0)
       {
          ntotal = quantity.value * price.value;
          total.value = ntotal.toFixed(2);
       }
       else
       {
             //if quantity and total both have values calculate price and save
          if(quantity.value > 0 && total.value > 0)
          {
             nprice = total.value/quantity.value;
             price.value = nprice.toFixed(6);
             //check to see if the price entered falls within min/max for that species
             var get = new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=PriceBoard',0);
             get.add('SPECIESPRICE',price.value);
             get.add('SEQUENCEID',row);
             gReturn = get.get();
             if ((gReturn == 'Price entered is too high') || (gReturn == 'Price entered is too low')){alert(gReturn);}
          }
          else  if (quantity.value > 0)
                   total.value = '';
                else
                { 
                     total.value = '';
                     quantity.value = '';
                }
       }
      //saveQPD(row);
       setOverallTotal(); 
    }
    function setOverallTotal()
    {
       var total = 0;
       var nTotal;
       for(i=1;i<=rowCount;i++)
       {
          if(parseFloat($x('f12_'+i).value) > 0)
          {
             total = total + parseFloat($x('f12_'+i).value);
          }
       }
       ntotal = total.toFixed(2);
       document.getElementById("P110_TOTAL").value = ntotal;
       var get = new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=nullProcess',0);
       get.add('P110_TOTAL',ntotal);
       gReturn = get.get();
    }
    function getPriceBoundaries(row) 
    {
       //price was entered into form get all values
       var quantity = $x('f10_'+row);
       var price = $x('f11_'+row);
       var total = $x('f12_'+row);
       var ntotal;
       var nquantity;
       var nprice = parseFloat(price.value);
       nprice = nprice.toFixed(6);
       price.value = nprice;
       //check to see if the price entered falls within min/max for that species
       var get = new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=PriceBoard',0);
       get.add('SPECIESPRICE',price.value);
       get.add('SEQUENCEID',row);
       gReturn = get.get();
       if ((gReturn == 'Price entered is too high') || (gReturn == 'Price entered is too low')){alert(gReturn);}
       //if quantity and price both have a value calculate the total
       if(quantity.value > 0 && price.value > 0)
       {
          ntotal = quantity.value * price.value;
          total.value = ntotal.toFixed(2);
       }
       else
       {
          //if total and price both have a value calculate the quantity
          if(total.value > 0 && price.value > 0)
          {
             nquantity = total.value/price.value;
             quantity.value = nquantity.toFixed(3);
          }
          else
          {
             if(price.value > 0)
                  total.value = '';
             else
             {
                  total.value = '';
                  price.value = '';
             }
          }
       }
       saveQPD(row);
       setOverallTotal();
    }
    function saveQPD(row)
    {
       var quantity = $x('f10_'+row).value;
       var price = $x('f11_'+row).value;
       var total = $x('f12_'+row).value;
       //save quantity
       var get = new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=setQuantity',0);
       get.add('SETVALUE',quantity);
       get.add('SEQUENCEID',row);
       gReturn = get.get();
    //   alert(gReturn);
       //save price
       get = new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=setPrice',0);
       get.add('SETVALUE',price);
       get.add('SEQUENCEID',row);
       gReturn = get.get();
    //   alert(gReturn);
       //save total
       var get = new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=setTotal',0);
       get.add('SETVALUE',total);
       get.add('SEQUENCEID',row);
       gReturn = get.get();
    //   alert(gReturn);
       
    }
    function changePrice(row)
    {
       //total was entered get all rows
       var quantity = $x('f10_'+row);
       var price = $x('f11_'+row);
       var total = $x('f12_'+row);  
       var ntotal = parseFloat(total.value);   
       var nprice;
       var nquantity;
       ntotal = ntotal.toFixed(2);
       total.value = ntotal;
       //if quantity and total were entered calculate price.
       if (quantity.value > 0 && total.value > 0)
       {
          nprice = total.value / quantity.value; 
          price.value = nprice.toFixed(6); 
          var get = new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=PriceBoard',0);
          get.add('SPECIESPRICE',price.value);
          get.add('SEQUENCEID',row);
          gReturn = get.get();
             if ((gReturn == 'Price entered is too high') || (gReturn == 'Price entered is too low')){alert(gReturn);} 
       }
       //if price and total were entered calculate quantity.
       if (price.value > 0 && total.value > 0)
       {
          nquantity = total.value / price.value;  
          quantity.value = nquantity.toFixed(3);
       }
       if (price.value > 0 && quantity.value > 0)
       {
           ntotal = quantity.value * price.value;
           total.value = ntotal.toFixed(2);
       }
     
           
       saveQPD(row);
       setOverallTotal();        
    }
    
    function selectDollarsFocus(pRow,event)
    {
        tabPress = 0;
        KeyCheck(event);
        if($x('f11_'+ pRow))
        {
                if(KeyID == 9)
                {
                    $x('f14_'+ pRow).focus();
                    onFocusAreaFished(pRow);
                    tabPress = 1;
                }
        }
        else
        {
            if($x('f18_'+ pRow))
            {
                    if(KeyID == 9)
                    {
                        $x('f18_'+ pRow).focus();
                        tabPress = 1;
                    }
            }
            else
            {
                if(--pRow <= rowCount)
                    if(KeyID == 9)
                    {
                        $x('f08_'+ pRow).focus();
                        tabPress = 1;
                    }
            }
            
        }
    }
    
    
    
    </script>
    

    I'm not very familiar with javascript... but looks like there must be a simpler way.   Any thoughts on how I could address the issue?   Thank you!

    I have it.  trial and error.

    the DYNAMICS of the evolution of prices and the $ action are now two separate dynamic actions.

    Action DYNAMICS to update the column from the collection is now last... and it seems that everything works... until I have change something again.

    Thanks again for your help.

    Karen

  • I have an imac 27 "... on power there is no signal to startap, usb ports are not working and its deadlock with the logo of the Apple with the circle of rotation... Help, please

    I have an imac 27 "... on power there is no signal to startap, usb ports are not working and its deadlock with the logo of the Apple with the circle of rotation... Help, please

    Wake the computer to your Apple store or Apple authorized service for the service provider. He probably suffered a hardware failure.

  • have the icon to download helper with video up, I have until it clicks, dosnt download or convert a number appears next to the icon and its listed in the queue draft.exe

    I was able to load videos 26 then he stopped down. I checked the preferences, the version is 4.9.24, I can see that the video is listed next to the icon, when I drag the mouse over it.

    I support download icon, when the video is running. I click next to the icon and choose the game I want, on fast download I see it loads, but no dwhelper. dosnt download or convert a number appears next to the icon and its listed in the queue draft.exe

    There is a problem with DownloadHelper Firefox 36. They are working on a new version, you can download and help test this discussion page:

    https://groups.Google.com/Forum/#! Forum/video-video downloadhelper-5

  • Hello! I have a laptop HP Compaq 6730 s with a windows XP SP2 OS. I need help with my drive burning/writing speed CD/DVD and its ability to play DVD. __

    There an Optiac DVD RW AD-7561 pilot. Before it used to have a 8 X read speed and a 8 X write speed, I can see via NERO everytime I have will burn a DVD. But now the writing speed has become 2 X and therefore more adjustable from a NERO software. And also I tried to burn a DVD every time, he finished but it does'nt displays data that has been burnt at all... I already tried to uninstall this software, rebooted and installing it, thinking that this might well be the cause of the problem, but it's always the same. I even tried to install Roxio 9, hoping that this will solve the problem, but it still shows the same write speed 2 X... His ability to read and burn to a CD is fine, but the problem is when it comes to DVD's just makes a strange noise and takes a long time before displaying the content of the DVD and its ability to burn a data file on a DVD...

    Before this problem occurred, I remember I have inserted a DVD and tried to copy paste its content on my desktop. But while the copy is in progress, I accidentally typed on the eject button while trying to reach for my cell phone, which was placed next to the my laptop cd/dvd drive.

    IM desperate and I need an experts'advise on what to do...

    Thanking you in advance,
    Kirby baki
    KSA

    Hello k. Baki.

    Thank you for your message.  Click HERE to download/install the driver for your device.  There is also a link available at HP that is specifically for the update software to use the Service Pack 2.  Please let us know if it did or did not help to solve your problem.
    See you soon

    Engineer Jason Microsoft Support answers visit our Microsoft answers feedback Forum and let us know what you think.

  • Hi I have a laptop of RM and its asking me for the product key can u help me

    Hi I have a laptop of RM and its me askin for product key can u help me thx

    Use the product key on the COA label affixed to the bottom of your computer (or in the battery compartment).

  • I create my web and download it to Dreamweaver, but it came as I wanted. Now, I need to change the page, but it does not allow me to do so because that is block need help

    Hello

    I create my web and download it to Dreamweaver, but it came as I wanted. Now, I need to change the page, but it does not allow me to do so because that is block need help

    First, set the folder of your site.  Go to Site > new Site > tell DW where to save files to the local site.

    http://layersmagazine.com/defining-site-Dreamweaver.html

    Nancy O.

  • Help. I created a page and I would like to connect it to a hyperlink so that people can access it by clicking on the words.

    Help. I created a page and I would like to connect it to a hyperlink so that people can access it by clicking on the words.

    Copy & paste this code into your parent page where you want your link will appear.

    http://example.com"> link to example.com.


    Change the URL in the properties panel link field.   See screenshot.

    Nancy O.

  • Hi, I have the 2014 package which includes lightroom and photoshop. Can I move to 2015 for free? If yes how can I do? My photoshop 2014 disappeared and its saying I have a 30 day trial for the 2015. Thank you for the help

    Hi, I have the 2014 package which includes lightroom and photoshop. Can I move to 2015 for free? If yes how can I do? My photoshop 2014 disappeared and its saying I have a 30 day trial for the 2015. Thank you for the help

    Yes, the upgrade is free. means that it is included in the subscription.


    You can install and activate one of these version according to your choice of 6 CS, CC, CC 2014 or 2015 CC

    If the CC 2015 looms as of the trial, please refer link below:

    https://helpx.Adobe.com/manage-account-membership/CC-reverts-to-trial.html

    Let me know if you need more assistance.

    Also mention if you use Windows or Mac computer?

Maybe you are looking for

  • Impossible to install the Safari 9.0.3 update

    Hi all I have a MacBook Air (11 inch, mid-2013) with Yosemite 10.10.5. Latest version of Safari installed is version 9.0.1. When I opened the app store, it shows an update for Safari 9.0.3. When I click on update, it downloads the update, then instal

  • 17 - g133cl: capacity of RAM Max of 17-g133cl

    17-g133cl comes with 12 GB of RAM.  If I expand this in the future, I would like to know what is the maximum amount of RAM can be supported by the laptop.  Anyone know? Why is it not this information on the technical specifications of the HP for this

  • Pavilion 21 touchsmart screen does not

    Product name: PC AiO HP PAV TS 21-h140t Product number: G5G21AV #ABA 8.1 Windows 64-bit My all-in-one office was great for several months.  The touch screen stopped working this morning after a windows upgrade.  What can I do to restore the features

  • Automatic updates ignores not installed updates.

    I installed the Windows XP security update $KB2839229$ 6 times (and the computer restarts) and even the automatic updates still shows that I him have not yet installed.  Other updates that have been installed at the same time have been ignored and sh

  • HP Color LaserJet 2600n: lack of output tray

    I seem to be missing the "container" for my printer. I moved recently and during the move, this part has disappeared. Is there a way I can replace the part. Thank you.