Results 1 to 2 of 2

Thread: How to set Sprite client ID?

  1. #1
    Sencha Premium Member
    Join Date
    Jan 2012
    Posts
    12
    Vote Rating
    0
      0  

    Question How to set Sprite client ID?

    Scenario: Create a chart with few sprites
    Enter firebug (or page source) and you will see that there is no client ID or any editable unique client ID.
    Screen shot attached, the selected text:

    <circle cx="0.0" cy="0.0" r="8.0" fill="url(#gradiantRed)" transform="matrix(3.66667, 0, 0, 3.66667, 977.444, 184.571)" stroke="rgb(128, 128, 128)" stroke-width="0.1" fill-opacity="1.0">

    Sprite or any extended Classes does not contain any SetID property.
    Because of that Selenium can not recognize that component.
    Is there any way to enter client ID to sprite object?
    Thanks in advance.

    Environment: GXT3.0Beta2, FireFox 8.01 & Chrome

    Sprite.jpg

  2. #2
    Sencha User BrendanC's Avatar
    Join Date
    Aug 2010
    Posts
    534
    Vote Rating
    3
      0  

    Default

    Alright I have added a setId(Sprite, String) method for DOM based surface engines like SVG and VML. It currently is in SVN and will be in the next release.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •