Adding AJAX support for dynamically created panelGrid components

Hi everyone!
I would like to ask help from anyone who may have encountered similar problem before...
I have a panelGrid whose component is dynamically created by the backing bean. Here is my JSF code:
<h:panelGrid styleClass="panelGrid"
          rowClasses="tsPanelGridRowClass" columns="8" cellpadding="0"
          cellspacing="2" bgcolor="transparent" style="margin-left: 10px"
          id="revCenterItemPanelGrid"
          binding="#{pc_Touchscreen_pull_select_item.revCenterItemPanelGrid}">
</h:panelGrid>And here is the code for backing bean that adds content inside the panelGrid:
HtmlOutputText index = (HtmlOutputText) app.createComponent(HtmlOutputText.COMPONENT_TYPE);
index.setId("1");
index.setValue(String.valueOf(1));
index.setStyle("datagridtext");
revCenterItemPanelGrid.getChildren().add(index);On click of a button...
<a4j:commandButton value="Update"
          styleClass="commandExButtonPou2" id="button1" reRender="revCenterItemPanelGrid"
          actionListener="#{pc_Touchscreen_pull_select_item.doSortActionListener2}">
          <f:attribute name="order" value="2"></f:attribute>
          <f:attribute name="toggleState" value="off"></f:attribute>
</a4j:commandButton>the backing bean is supposed to update the value of the outputText
doSortActionListener2() {
HtmlOutputText index = (HtmlOutputText) app.createComponent(HtmlOutputText.COMPONENT_TYPE);
index.setId("2");
index.setValue(String.valueOf(2));
index.setStyle("datagridtext");
revCenterItemPanelGrid.getChildren().add(index);
}However, update doesn't seem to work. I have been successful in adding ajax support to a panelGrid that is not dynamically created but not for this one.
Has anyone encountered this error before? Any ideas?
Thanks in advance!

Hi everyone!
I would like to ask help from anyone who may have encountered similar problem before...
I have a panelGrid whose component is dynamically created by the backing bean. Here is my JSF code:
<h:panelGrid styleClass="panelGrid"
          rowClasses="tsPanelGridRowClass" columns="8" cellpadding="0"
          cellspacing="2" bgcolor="transparent" style="margin-left: 10px"
          id="revCenterItemPanelGrid"
          binding="#{pc_Touchscreen_pull_select_item.revCenterItemPanelGrid}">
</h:panelGrid>And here is the code for backing bean that adds content inside the panelGrid:
HtmlOutputText index = (HtmlOutputText) app.createComponent(HtmlOutputText.COMPONENT_TYPE);
index.setId("1");
index.setValue(String.valueOf(1));
index.setStyle("datagridtext");
revCenterItemPanelGrid.getChildren().add(index);On click of a button...
<a4j:commandButton value="Update"
          styleClass="commandExButtonPou2" id="button1" reRender="revCenterItemPanelGrid"
          actionListener="#{pc_Touchscreen_pull_select_item.doSortActionListener2}">
          <f:attribute name="order" value="2"></f:attribute>
          <f:attribute name="toggleState" value="off"></f:attribute>
</a4j:commandButton>the backing bean is supposed to update the value of the outputText
doSortActionListener2() {
HtmlOutputText index = (HtmlOutputText) app.createComponent(HtmlOutputText.COMPONENT_TYPE);
index.setId("2");
index.setValue(String.valueOf(2));
index.setStyle("datagridtext");
revCenterItemPanelGrid.getChildren().add(index);
}However, update doesn't seem to work. I have been successful in adding ajax support to a panelGrid that is not dynamically created but not for this one.
Has anyone encountered this error before? Any ideas?
Thanks in advance!

Similar Messages

  • [svn] 4210: Enabled 3D effects support for Halo list based components.

    Revision: 4210
    Author: [email protected]
    Date: 2008-12-01 15:35:46 -0800 (Mon, 01 Dec 2008)
    Log Message:
    Enabled 3D effects support for Halo list based components.
    Added ArrayList to the MXML manifest, with source as defaultProperty, so it can be used from MXML.
    Review: Glenn
    QA: None.
    Modified Paths:
    flex/sdk/trunk/frameworks/mxml-2009-manifest.xml
    flex/sdk/trunk/frameworks/projects/framework/manifest.xml
    flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/ArrayList.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/core/AdvancedLayoutFeatures.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as

    Hi, 
    I met same issue when try RDP to the VM vai administrator account 
    please try this:
    open Remote desktop connection, click "show options", in experience page, my default setting is "detect connection quality ...", change to "LAN (10 Mbps..)"; after
    that I can connect to VM again...
    hope will helpful for you ..
    FYI;
    http://social.technet.microsoft.com/wiki/contents/articles/16652.remotefx-vgpu-setup-and-configuration-guide-for-windows-server-2012.aspx
    Andrew 

  • [svn:osmf:] 15972: ChromeLibrary: adding rudimentary support for loading plug-ins defined in XML.

    Revision: 15972
    Revision: 15972
    Author:   [email protected]
    Date:     2010-05-08 07:31:24 -0700 (Sat, 08 May 2010)
    Log Message:
    ChromeLibrary: adding rudimentary support for loading plug-ins defined in XML.
    Modified Paths:
        osmf/trunk/libs/ChromeLibrary/.flexLibProperties
        osmf/trunk/libs/ChromeLibrary/org/osmf/chrome/application/ChromeApplication.as
    Added Paths:
        osmf/trunk/libs/ChromeLibrary/org/osmf/chrome/configuration/PluginsParser.as

    rnair wrote:
    I am trying to install Oracle 11g R2 on my windows 7, 64bit computer. After 42% of installation, it started showing some files are missing. Few of them are:
    C:\app\User\product\11.2.0\dbhome_1\owb\external\oc4j_applications\applications\WFMLRSVCApp.ear
    C:\app\User\product\11.2.0\dbhome_1\oc4j\j2ee\oc4j_applications\applications\WFMLRSVCApp.ear
    C:\app\User\product\11.2.0\dbhome_1\owb\external\oc4j_applications\applications\WFMGRApp.ear
    C:\app\User\product\11.2.0\dbhome_1\oc4j\j2ee\oc4j_applications\applications\WFMGRApp.ear
    C:\app\User\product\11.2.0\dbhome_1\owb\bin\win32\owb.tmp
    C:\app\User\product\11.2.0\dbhome_1\owb\bin\win32\setowbenv.tmp
    C:\app\User\product\11.2.0\dbhome_1\oc4j\j2ee\OC4J_DBConsole\config\system-application.xml
    And the final pop up winow says:
    Database configuration Assistant:Info
    *"Template General_Purpose.dbc does not exists. Please specify an exixting template for database creation"*
    *"[INS-20802] Oracle Database Configuration Assistant failed"*
    Details:
    Cause:- The plug-in failed in its perform method
    Action:- Refer to the logs or contact Oracle Support Services.
    Following are the last few lines of the log file. Can anyone please help me to fix this problem?<snip>
    the error has nothing to do with DBCA. DBCA was simply the last in a long string of victims.
    Go back and read the instructions where you downloaded the install media. They state that the TWO zip files you download must be unzipped into the same directory.

  • [svn:cairngorm3:] 16403: Added runtime support for latest module library ( LazyModuleLoadPolicyTag).

    Revision: 16403
    Revision: 16403
    Author:   [email protected]
    Date:     2010-06-02 12:47:11 -0700 (Wed, 02 Jun 2010)
    Log Message:
    Added runtime support for latest module library (LazyModuleLoadPolicyTag).
    Modified Paths:
        cairngorm3/trunk/libraries/Module/src/com/adobe/cairngorm/CairngormModuleXMLSupport.as
        cairngorm3/trunk/libraries/ModuleTest/src/CairngormModuleLibRuntimeSample.mxml
        cairngorm3/trunk/libraries/ModuleTest/src/runtimeContext.xml

    Bing,
    I think one thing you might want to do is to post your code on the Web somewhere. Maybe you can open a Weblog and post this there.
    http://www.jroller.com will let you open a blog for free we'll love to see more customers of JDeveloper opening weblogs and sharing their experience over the Web.

  • [svn:osmf:] 16099: Added HTML support for a Banner Region.

    Revision: 16099
    Revision: 16099
    Author:   [email protected]
    Date:     2010-05-13 13:26:58 -0700 (Thu, 13 May 2010)
    Log Message:
    Added HTML support for a Banner Region.
    Modified Paths:
        osmf/trunk/apps/samples/framework/ExamplePlayer/html-template/index.template.html

    Hello Alex,
    I don't have an answer for you.
    But, can you try to use http://drmtest2.adobe.com:8080/Content/anonymous.f4v with locally hosted OSMF player? This content doens't require user/pass info.
    I'm wondering that Google TV's flash player doesn't support prompt dialog.
    http://drmtest2.adobe.com/AccessPlayer/player.html requires flash player 11. That's why it won't be loaded with flash player 10.x.
    Thanks,
    -- Hiroshi

  • Could Adobe please advise if they will be adding tethering support for Nikon D600

    Could Adobe please advise if they will be adding tethering support for Nikon D600 as it is instrumental to our decison regarding purchase.
    Many thanks

    ssprengel wrote:
    Nobody is happy with the answer about old software not getting updated with new cameras, but if you look into it, Adobe had to lay off about half their employees over the past few years to keep the company viable in the declining economy, so they don’t have extra people to update and test plug-ins for non-current versions, and if they did, then some people wouldn’t buy the newer version and they’d have even less money.
    Adobe has only just gotten the D600 supported for raw format in their current beta version of LR, which affects everyone with a D600, and if they had to wait for Nikon for supply and SDK and also have to prioritize their work to keep things on schedule, tethering is likely to lag behind raw-file support for any particular camera.  Apple controls their entire computer environment, hardware and software, so it’s not surprising they can implement tethered capture from day one, but Adobe must figure things out for OSes they don’t own, both Mac and PC, so they rely on waiting for Nikon to do things for them, and then figuring out how to get it to work.
    Well boo hoo for Adobe ... life sure is tough for them ... if they can't handle the load maybe they should get out of the business of software development ... They can't be all that worried about revenue to support Lightroom development or they wouldn't have reduced the price of the full version by 50% and the upgrade price by 20% ... it was a less than smart move considering they have been bragging for the past couple of years about how many more folks use Lightroom vs. other competitive options ...
    Aperture 3, Capture One both have tether support for the D600 ... and many more cameras than are supported by Lightroom ... those developers are working and engineering solutions in the very same economy as Adobe (and C1 supports both platforms as well, costs much more than Lr and employs far fewer engineers) ... why aren't they suffering from the same lack of support? ... or using the camera makers to deflect blame for the lack of results?
    Excuses are not solutions ...

  • Creating a Function logic for dynamically created XML buttons

    Hi!
    It's me...... again! Now I've dynamically created some buttons using XML. They're spread around the stage and I've modified a tooltip script to give each button a tooltip on Mouse_Over. But to se the logic and make it work using AS3 is hard (for me). I want a function that accept to parameters: Tooltip text and  Object to tooltip.
    In my code I get this error msg when initiating the function on dynamically created buttons:
    1118: Implicit coercion of a value with static type flash.display:Sprite to a possibly unrelated type flash.display:MovieClip.
    I beleive there are more than one thing here needing a fix.
    Can someone have a look and give me a pointer?
    Thanks
    function contentTooltip(ttt:String, ttclip:MovieClip):void {
        ttclip.addEventListener(MouseEvent.MOUSE_OVER, mouseOverHandler);
        function mouseOverHandler(e:MouseEvent):void {
            ttip.descr.text=ttt;
            ttip.x=stage.mouseX;
            ttip.y=stage.mouseY-15;
            ttclip.addEventListener(MouseEvent.MOUSE_OUT, mouseOutHandler);
            ttclip.addEventListener(MouseEvent.MOUSE_MOVE, mouseMoveHandler);
            ttip.visible = true;
        function mouseOutHandler(e:MouseEvent):void {
            ttip.visible = false;
            ttclip.removeEventListener(MouseEvent.MOUSE_OUT, mouseOutHandler);
            ttclip.removeEventListener(MouseEvent.MOUSE_MOVE, mouseMoveHandler);
        function mouseMoveHandler(e:MouseEvent):void {
            ttip.x=stage.mouseX;
            ttip.y=stage.mouseY-15;
    contentTooltip("Scale button",scale_btn);
    contentTooltip("Hide button",hide_btn);

    I totally agree with what Ned says and suggests. Nevertheless, I would like to support your thinking process.
    From the way you wrote the tooltip functionality it is apparent to me that you conceptualize as a programmer. Again, as Ned said, nested functions are evil. BUT, in a way, what classes accomplish is encapsulation/nesting of properties and functions under the same umbrella. It actually feels that what timeline does in general is nesting named functions within a single function we have no access to.
    How you wrote the code is actually a blueprint for a class that could handle the functionality. You, perhaps, are very ready to start coding with classes - not on the timeline.
    With that said, for the sake of theory, here is how your functionality can be rewritten on timeline:
    scale_btn.toolTip = "Scale button";
    test_btn.toolTip = "Test button";
    hide_btn.toolTip = "Hide button";
    scale_btn.addEventListener(MouseEvent.MOUSE_OVER, mouseOverHandler);
    test_btn.addEventListener(MouseEvent.MOUSE_OVER, mouseOverHandler);
    hide_btn.addEventListener(MouseEvent.MOUSE_OVER, mouseOverHandler);
    var overTarget:MovieClip;
    function mouseOverHandler(e:MouseEvent):void {
         overTarget = e.currentTarget;
         ttip.descr.text = overTarget.toolTip;
         ttip.x = stage.mouseX;
         ttip.y = stage.mouseY - 15;
         overTarget.addEventListener(MouseEvent.MOUSE_OUT, mouseOutHandler);
         overTarget.addEventListener(MouseEvent.MOUSE_MOVE, mouseMoveHandler);
         setChildIndex(ttip, numChildren - 1);
         ttip.visible = true;
    function mouseOutHandler(e:MouseEvent):void {
         ttip.visible = false;
         overTarget.removeEventListener(MouseEvent.MOUSE_OUT, mouseOutHandler);
         overTarget.removeEventListener(MouseEvent.MOUSE_MOVE, mouseMoveHandler); 
    function mouseMoveHandler(e:MouseEvent):void {
         TweenMax.to(ttip, .5, { x:stage.mouseX, ease:Quart.easeOut } );
         TweenMax.to(ttip, .5, { y:stage.mouseY - ttclip.height / 2, ease:Quart.easeOut } );
         //ttip.x=stage.mouseX;
         //ttip.y=stage.mouseY-ttclip.height/2;

  • Adding ldap support for postfix

    using darwinbuild
    I have read several discussion:
    http://discussions.apple.com/thread.jspa?messageID=1240972
    http://discussions.apple.com/thread.jspa?messageID=658174&#658174
    in reading these i noted that I have to create the directory
    /Appleinternal/Developer/Headers and place the appropriate headers in there.
    This is where I'm stuck looking for the right headers for LDAP.
    smtp1:/usr/include root# ls | grep ldap
    ldap.h
    ldap_cdefs.h
    ldap_features.h
    ldap_schema.h
    ldap_utf8.h
    Are these the header files i need to place in the Developers/ldap directory?
    What All needs to be in here?
    here is the build from the postfix makefile
    build :
    echo "ENV = $(ENV)"
    $(ENV) $(MAKE) -C $(SRCROOT)/$(PROJECT) makefiles OPT="-DBIND8COMPAT -DHAS_SSL -DUSESASLAUTH -D_APPLE_ \
    -I/AppleInternal/Developer/Headers/sasl -framework DirectoryService $(CFLAGS)" \
    AUXLIBS="-L/usr/lib -lssl -lsasl2.2.0.1 -lgssapi_krb5"
    $(ENV) $(MAKE) -C $(SRCROOT)/$(PROJECT)
    the ldap book 'O'reilly" pg. 148 to enable client support for postfix;
    CCARGS="-I/usr/include -DHAS_LDAP" \
    AUXLIBS ="-L/usr/local/lib -lldap -llber "
    i get the same info from http://www.postfix.org/LDAP_README.html
    i do not see lldap and llber in /usr/lib anwhere. do these files get created in the build or do I have to find them? are these the current options?
    TIA
    -j

    1. Make sure you do not forget the sasl headers.
    okay, sasl in addtion to ldap information.
    2. Did you recompile LDAP, or just use the one that
    was there on your Tiger default install?
    No i did not recompile ldap. Although the thought did cross my mind when i saw that my ldap version was 2.2.19
    If you did
    re-compile, make sure you used the one from darwin
    sources.
    Darwin source is 2.2.19
    Current version on OpenLDAP site is 2.3.20

  • What is SONY'S stance on adding ATMOS support for the STR-DA5800ES?

    Other companies have announced support for slightly older receivers. The Sony is a 9.2 AVR's so it would just be software based.

    Hi Wiggum,
    Welcome to Sony Community!
    Part of the improvement included on the latest firmware update for Sony STRDA8500ES is for Dolby Digital Plus.
    If Dolby Atmos will be available on the next update, you will be able to find that out at this link:
    http://esupport.sony.com/US/p/model-home.pl?mdl=STRDA5800ES&template_id=1&region_id=1&tab=download#/...
    If my post answers your question, please mark it as "Accept as Solution"
    Vincent

  • How to create unique object for dynamically created jTextFields

    Hello to all forum members
    According to my requirement , i have created a number of jpanels(containing textfield,comboboxes etc) and added them to a jScrollPane.
    But my requirement is after adding the jPanels to the JScrollPanel, i want to add some logic to that jpanels; like
    1) i want to sort the panels according to some condition when a sort button is clicked
    2)and the text field which are in the panel should be sorted according to the integer value inside the text field.
    3) and after a buton clicked the value what are in the jText field should store in the data base etc.....
    For the above logic to apply i need the instance variable(i.e object reference ) should be difference, so that when i want to get a value from any component ( text from jtextfield ) i can get the value through its instance variable name.for example
    JTextField textField1=new JTextField("aaa");
    JTextField textField2=new JTextField("cccc");
    JTextField textField3=new JTextField("eee");then
    textField1.getText();
    textField2.getText();
    textField3.getText();But the problem is when i am creating the number of panels the name of the instance variables (of all the components i.e textfield ,panels)are same so i can't add the logic to any particular component.
    I have tried to solve this problem , but not getting any idea .Please help me to find out the solution. I hope i explained my problem clearly if not
    tell me i will explain it again.
    I have given here with the code in which i have created 100 jpanels , each jpanels consisting of 1label and 1text field but the instance variable for each component is same.
    Plese help me to solve this problem,Thanks in advance.
    import javax.swing.*;
    public class NestedPanels extends JFrame
      private static final int NO_OF_NESTED_PANELS = 100;
      public NestedPanels()
        super("Nested Panels");
        setSize(200, 200);
        JPanel mainPanel = new JPanel();
        mainPanel.setLayout(new BoxLayout(mainPanel, BoxLayout.Y_AXIS));
         for ( int i=1; i<=NO_OF_NESTED_PANELS; i++)
             mainPanel.add(createChildPanel(i));
         javax.swing.JScrollPane jScrollPane = new javax.swing.JScrollPane();
         jScrollPane.setViewportView(mainPanel);
        getContentPane().add(jScrollPane);
        setDefaultCloseOperation(EXIT_ON_CLOSE);
        setVisible(true);
      private JPanel createChildPanel(int intChildPanelNumber)
        JPanel childPanel = new JPanel();
        childPanel.setLayout(new BoxLayout(childPanel, BoxLayout.X_AXIS));
        childPanel.add(new JLabel("" + intChildPanelNumber));
        childPanel.add(new JTextField());
        return childPanel;
      public static void main(String[] argv)
        javax.swing.SwingUtilities.invokeLater(new Runnable()
          public void run()
            NestedPanels example = new NestedPanels();
    }Thanks & Regards
    Mahendra

    Hi to all forum members,
    Thanks for all your help.
    JayDS, as you have told i have tried with
    return Integer.valueOf( getText() ).compareTo( Integer.valueOf( mp.getText() ) );but it is giving
    java.lang .NumberFormatException.forInputString(unknown source)
    sorry i could not get what is SSCE?
    I am sending the code here with my requirement.
    My requirement is to sort the panels.
    i.e.
    when I will click on to the sortC1 button , the whole panels should be sorted according to the integer value inside the textfield1 (but here in my code it is sorting string wise,if u enter 1,2 ,1111111,3 ,222 the output should be 1,2,3, ,222 ,1111111 but it is actually giving the output as 1, 1111111,2,222,3 which is wrong )
    Arrays.sort(NestedPanelSorting); => this method is used for sorting
    return getText().compareTo(mp.getText());=> method is used for the text comparision in the example ( NestedPanelSorting.java)
    sortC2 also same.
    When I will click sortC3 ,the panel will be sorted according to the string values in the dropdown of combo boxes. Here how to access the instance of combobox to sort or the panel or through array of objects how can i sort?
    import java.awt.BorderLayout;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.util.Arrays;
    import javax.swing.*;
    public class NestedPanelSorting extends JFrame
        private static final int NO_OF_NESTED_PANELS = 10;
        private MyPanel[] NestedPanelSorting = new MyPanel[NO_OF_NESTED_PANELS];
        //MyPanel[] is a array of MyPanel objects declared below
         private JPanel mainPanel;
        private JScrollPane jScrollPane;
         public NestedPanelSorting()
            super("Nested Panels Sorting");
            setSize(400, 200);
            mainPanel = new JPanel();
            mainPanel.setLayout(new BoxLayout(mainPanel,BoxLayout.Y_AXIS));
            //in the for loop below MyPanel(i) is called through NestedPanelSorting[i]
              for (int i = 0; i < NestedPanelSorting.length; i++)
                NestedPanelSorting[i] = new MyPanel(i);
                mainPanel.add(NestedPanelSorting);
    jScrollPane = new javax.swing.JScrollPane();
    jScrollPane.setViewportView(mainPanel);
    getContentPane().add(jScrollPane, BorderLayout.CENTER);
    JButton myBtn1 = new JButton("sortC1");
              JButton myBtn2 = new JButton("sortC2");
              JButton myBtn3 = new JButton("sortC3");
    getContentPane().add(myBtn1, BorderLayout.EAST);
    getContentPane().add(myBtn2, BorderLayout.WEST);
    getContentPane().add(myBtn3, BorderLayout.SOUTH);
              myBtn1.addActionListener(new ActionListener()
    public void actionPerformed(ActionEvent arg0)
    myButtonAction(arg0);
    setDefaultCloseOperation(EXIT_ON_CLOSE);
    setVisible(true);
    private void myButtonAction(ActionEvent arg0)
              //this Array.sort() method is for sorting the array -
              // accordig to string value but i need to sort integer value wise
    Arrays.sort(NestedPanelSorting);
              mainPanel = new JPanel();
    mainPanel.setLayout(new BoxLayout(mainPanel,
    BoxLayout.Y_AXIS));
    for (int i = 0; i < NestedPanelSorting.length; i++)
    mainPanel.add(NestedPanelSorting[i]);
    jScrollPane.setViewportView(mainPanel);
         public static void main(String[] argv)
    javax.swing.SwingUtilities.invokeLater(new Runnable()
    public void run()
    new NestedPanelSorting();
    //declaring of MyPanel class where textfield1,txtField2,comboBox1 are added
         class MyPanel extends JPanel implements Comparable<MyPanel>
    private int number;
    private JTextField txtField1;
              private JTextField txtField2;
    private JComboBox comboBox1;
    public MyPanel(int number)
                   super();
    this.number = number;
    setLayout(new BoxLayout(this, BoxLayout.X_AXIS));
    add(new JLabel(String.valueOf(number)));
    txtField1 = new JTextField();
    add(txtField1);
                   txtField2 = new JTextField();
    add(txtField2);
                   comboBox1=new JComboBox();
                   comboBox1.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "ITEM  1 ", "ITEM  2 ", "ITEM  3 ", "ITEM  4 ","ITEM  5 " }));
                   add(comboBox1);
    public int getNumber()
    return number;
              public String getText()
                   if (txtField1.getText() == null)
    return "";
                   return txtField1.getText();
         public int compareTo(MyPanel mp)
              return getText().compareTo(mp.getText());
              //return Integer.valueOf( getText() ).compareTo( Integer.valueOf( mp.getText() ) );

  • Dotted Lines as outline for dynamically created shapes?

    Hey all, I'm building a site whose flat, vector shapes need
    an outline of a dotted line.
    The majority of these shapes are simply rectangles with
    rounded corners. All are created dynamically.
    I could do each shape's lines by hand and attach them, but
    I'd much rather use a script. Anyone have any suggestions? :) I
    could use a good jump-start on tackling this.
    Thanks in advance -
    andy

    Yeah I agree, this is not an easy task. However senocular has
    a package that you can download that will get you pretty close to
    your goal. So if you download the zip here;
    http://www.senocular.com/flash/source.php?id=0.159
    …and comment out and modify the code in the fla as the
    following;
    import com.senocular.drawing.*;
    // create ProgressiveDrawing instance to draw in _root
    //var myDrawing:ProgressiveDrawing = new
    ProgressiveDrawing(_root);
    // create DashedLine instance to draw in myDrawing
    (ProgressiveDrawing)
    // use random dash sizes
    var myDash:DashedLine = new DashedLine(this, 35, 35);
    // reset linestyle to random size and color
    myDash.clear();
    myDash.lineStyle(5, 0xFF0000, 100);
    // draw a circle in the myDash instance
    circle(myDash, 150,150, 200,200, true);
    // because all myDash drawings were added to myDrawing,
    // myDrawing will draw a dashed circle when draw is called
    //myDrawing.draw(100);
    …this will create a constant circle with a dashed line
    versus creating a random circle. You can obviously change the
    values on that frame which will change the color and spacing
    between the dashes (and a few other parameters will change others).
    If you notice the circle(), this is created also on the first frame
    but on a different layer. This is where you would want to change
    your shapes. Just create another layer that will contain a
    different shape. I hope this helps, regardless have a high regard
    for senocular and other developers that contributed to this
    package.

  • How to access variables in dynamically created custom components? (Flex 4.5)

    Hi i have another riddle here.
    i have few custom MXML components in my library and i am adding them to the stage by script, after that i want to fill some data, lets say Label.text, inside this component.
    The question is how to acces / reference variables or other components inside the main custom component which was added to the stage by script???
    thx M.

    ok, the answer is here
    http://blog.flexexamples.com/2008/08/28/creating-a-component-instance-by-class-name-in-act ionscript-30/

  • Multi Language support for universes created on SAP BW/BI

    Dear Gurus,
    When I am going through the document "using SAP BW in Designing OLAP universes"
    http://help.sap.com/businessobject/product_guides/boexir31/en/xi3-1_sap_olap_universes_en.pdf
    in 13 th page under the heading "SAP BW Multilingual universes" I found the below statements.
    "With Web Intelligence, it is possible to leverage the multilingual capabilities
    of SAP BW. In order to implement a multilingual environment, the BW system
    must include multilingual metadata and multilingual data.
    You must create a universe for each language supported by the solution.
    The language in which the universe connection is created determines the
    language in which the universe is generated.
    The user's SAP authentication determines the language of the data returned
    to the query. The user must log into InfoView using SAP authentication and
    specify the desired language for results returned from the SAP server.
    The result-set language is dependent on SAPu2019s Unicode support. If the SAP
    system does not contain the data in the desired language, the data is not
    available in Web Intelligence in this language. Web Intelligence reverts to
    displaying technical names instead of descriptions when the descriptions
    are not translated in SAP BW."
    After reading the above statements i got the impression that if i want to see the report in 10 languages then i need to create the universe in each language with seperate connection in each language.
    if my understanding is correct. it araises below questions.
    1. if i am creating one universe for each language will it not increase maintainance?
    2. or is there any option available in universe designer which takes the replica of the universe into the desired language?
    Please clarify me the above doubts.
    Many thanks in Advance
    Jagadeesh Ambati

    Hi,
    when you read it you will recognize it does make a difference between the actual data that you retrieve and the meta-data being retrieved from BW.
    Meta-Data:
    >>The language in which the universe connection is created determines the
    >>language in which the universe is generated
    Data:
    The user's SAP authentication determines the language of the data returned
    to the query. The user must log into InfoView using SAP authentication and
    specify the desired language for results returned from the SAP server.
    The result-set language is dependent on SAPu2019s Unicode support. If the SAP
    system does not contain the data in the desired language, the data is not
    available in Web Intelligence in this language
    The user can set a Preferred Viewing language in the Preferences in InfoView.
    Ingo

  • My Site Branding - How can we have it applied for dynamically created My Sites? (/personal/username)

    Hi,
    I have a SharePoint 2013 environment in which My Sites are enabled.
    As you know the My Site of every user gets created in /personal/Username dynamically, when a User goes to his "My Site" from the "About Me" link.
    The requirement is for us to apply a custom master page / styles for the all My Sites
    How do we do this in a way - where it gets applied for all the existing My Sites and also the My Sites that will get created in the future? What will be the right help?
    Please help on this.
    Karthick S

    Hi Karthick
    You can do it using feature Stapling
    http://sharepointologic.blogspot.in/2013/04/branding-sharepoint-2013-my-sites-with.html
    https://sharepointqna.wordpress.com/2013/08/29/my-site-master-page-change-feature-stapling/
    Please mark it as answer if it helps you solving your problem
    Amit Kotha

  • How can i call key press event for dynamically  created texbox

    Hi,
    I create a one texbox using javascript .now i want to call onFocus event that textbox.How is it

    I develop grid application using javascript only.When they press add button dynamically add one row and each cell contain one textbox for enter new data.if they want to edit previous data when cursor goes to that textbox,all textvalue is selected format

Maybe you are looking for

  • Hide Key figures in report but show result

    Hi all, I have a query with GL Account in the rows and Fiscal Period and the key figures in the colums, so the key figures are displayed per fiscal period. One of the key figures I want to be hidden for every individual period. However I do want to d

  • How to stop the crashing?

    Hi, When Captivate dies, which it does at least once a day, it locks up every other application I have. I've learned to reduce that number as much as possible, but I still have to have a few other things running. Sometimes I know what I've done -- I'

  • Refund for mistaken purchase

    I mistakenly purchased an album thinking that it was a film. I paused the download immediately after I had realised this. I do not want to purchase the soundtrack to this film. How do I go about requesting a refund?

  • CVCcreation longer processingtime with report CL_SQL_RESULT_SET==CP in SM51

    Hi All, We are facing iisue in production while generating CVC's.In the past it ran sucessful and now the job is processing for longer duration say 20 Hrs without any runtime error and failure.When we look in SM51 the status is under the report it's

  • Do I need to upgrade from tiger to leapord before upgrading to snow leopord?

    Do I need to upgrade from tiger to leapord before upgrading to snow leopord?