Property binding for size produces wrong results on size change

Hi,
I've a small class extending from BorderPane. This class contains a simple Rectangle whichs size is bound to the size of the BorderPane minus 20:
package com.example;
import javafx.scene.layout.BorderPane;
import javafx.scene.paint.Color;
import javafx.scene.shape.Rectangle;
public class InnerBorder extends BorderPane {
    private Rectangle r = null;
    public InnerBorder() {
        this.r = new Rectangle();
        r.widthProperty().bind(this.widthProperty().subtract(20));       
        r.heightProperty().bind(this.heightProperty().subtract(20));
        r.setStrokeWidth(0.5f);
        r.setFill(null);
        r.setStroke(Color.BLACK);
        this.setCenter(r);
}Used in a small application:
package com.example;
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.layout.BorderPane;
import javafx.stage.Stage;
public class Example extends Application {
    public static void main(String[] args) {
        launch(args);
    @Override
    public void start(Stage primaryStage) {
        primaryStage.setTitle("Hello World!");               
        BorderPane root = new BorderPane();       
        root.setCenter(new InnerBorder());
        primaryStage.setScene(new Scene(root, 300, 250));
        primaryStage.show();
}When I change the size of the window, the size of the rectangle changes also. But the result looks a little bit strange. When a change the size too fast, the size of the rectangle will not be changed correctly. The rectangle will became larger than the window and is then, of course, not longer visible. Changing then the window a little bit slower will again result in a correct rectangle. Until the next too fast window size changing.
Is there anything wrong on my code?
When I use the same implementation (property binding) in a Control with a Skin, the result is even more strange. If the subtract is too small (< ~40), the size grows endless. Of course the window size doesnt grows, but the property value grows on every size change, even if the window will be smaller. This code is a little bit more, so I will post it if no one could show me an error in my sourcecode above.
Kind regards

Hi. I did some modifications. Now it looks OK.
import javafx.scene.layout.BorderPane;
import javafx.scene.paint.Color;
import javafx.scene.shape.Rectangle;
public class InnerBorder extends BorderPane {
   // private Rectangle r = null;
    public Rectangle r = null;
    public InnerBorder() {
        this.r = new Rectangle();
       // r.widthProperty().bind(this.widthProperty().subtract(20));       
       // r.heightProperty().bind(this.heightProperty().subtract(20));
        r.setStrokeWidth(0.5f);
        r.setFill(null);
        r.setStroke(Color.BLACK);
        this.setCenter(r);
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.layout.BorderPane;
import javafx.stage.Stage;
public class Example extends Application {
    public static void main(String[] args) {
        launch(args);
    @Override
    public void start(Stage primaryStage) {
        primaryStage.setTitle("Hello World!");               
        BorderPane root = new BorderPane(); 
        InnerBorder inb = new InnerBorder();
        inb.r.widthProperty().bind(root.widthProperty().subtract(20)); 
        inb.r.heightProperty().bind(root.heightProperty().subtract(20));
        root.setCenter(inb);
        primaryStage.setScene(new Scene(root, 300, 250));
        primaryStage.show();
}

Similar Messages

  • Select for update gives wrong results. Is it a bug?

    Hi,
    Select for update gives wrong results. Is it a bug?
    CREATE TABLE TaxIds
    TaxId NUMBER(6) NOT NULL,
    LocationId NUMBER(3) NOT NULL,
    Status NUMBER(1)
    PARTITION BY LIST (LocationId)
    PARTITION P111 VALUES (111),
    PARTITION P222 VALUES (222),
    PARTITION P333 VALUES (333)
    ALTER TABLE TaxIds ADD ( CONSTRAINT PK_TaxIds PRIMARY KEY (TaxId));
    CREATE INDEX NI_TaxIdsStatus ON TaxIds ( NVL(Status,0) ) LOCAL;
    Insert into TAXIDS (TAXID, LOCATIONID, STATUS) Values (100101, 111, NULL);
    Insert into TAXIDS (TAXID, LOCATIONID, STATUS) Values (100102, 111, NULL);
    Insert into TAXIDS (TAXID, LOCATIONID, STATUS) Values (100103, 111, NULL);
    Insert into TAXIDS (TAXID, LOCATIONID, STATUS) Values (100104, 111, NULL);
    Insert into TAXIDS (TAXID, LOCATIONID, STATUS) Values (200101, 222, NULL);
    Insert into TAXIDS (TAXID, LOCATIONID, STATUS) Values (200102, 222, NULL);
    Insert into TAXIDS (TAXID, LOCATIONID, STATUS) Values (200103, 222, NULL);
    --Session_1 return TAXID=100101
    select TAXID from TAXIDS where LOCATIONID=111 and NVL(STATUS,0)=0 AND rownum=1 for update
    --Session_2 waits commit
    select TAXID from TAXIDS where LOCATIONID=111 and NVL(STATUS,0)=0 AND rownum=1 for update
    --Session_1
    update TAXIDS set STATUS=1 Where TaxId=100101;
    commit;
    --Session_2 return 100101 opps!?
    --Session_1 return TAXID=100102
    select TAXID, STATUS from TAXIDS where LOCATIONID=111 and NVL(STATUS,0)=0 AND rownum=1 for update
    --Session_2 waits commit
    select TAXID, STATUS from TAXIDS where LOCATIONID=111 and NVL(STATUS,0)=0 AND rownum=1 for update
    --Session_1
    update TAXIDS set STATUS=1 Where TaxId=100102;
    commit;
    --Session_2 return 100103                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    This is a bug. Got to be a bug.
    This should be nothing to do with indeterminate results from ROWNUM, and nothing to do with read consistency at the point of statement start time in session2., surely.
    Session 2 should never return 100101 once the lock from session 1 is released.
    The SELECT FOR UPDATE should restart and 100101 should not be selected as it does not meet the criteria of the select.
    A statement restart should ensure this.
    A number of demos highlight this.
    Firstly, recall the original observation in the original test case.
    Setup
    SQL> DROP TABLE taxids;
    Table dropped.
    SQL> 
    SQL> CREATE TABLE TaxIds
      2  (TaxId NUMBER(6) NOT NULL,
      3   LocationId NUMBER(3) NOT NULL,
      4   Status NUMBER(1))
      5  PARTITION BY LIST (LocationId)
      6  (PARTITION P111 VALUES (111),
      7   PARTITION P222 VALUES (222),
      8   PARTITION P333 VALUES (333));
    Table created.
    SQL>
    SQL> ALTER TABLE TaxIds ADD ( CONSTRAINT PK_TaxIds PRIMARY KEY (TaxId));
    Table altered.
    SQL>
    SQL> CREATE INDEX NI_TaxIdsStatus ON TaxIds ( NVL(Status,0) ) LOCAL;
    Index created.
    SQL>
    SQL>
    SQL> Insert into TAXIDS (TAXID, LOCATIONID, STATUS) Values (100101, 111, NULL);
    1 row created.
    SQL> Insert into TAXIDS (TAXID, LOCATIONID, STATUS) Values (100102, 111, NULL);
    1 row created.
    SQL> Insert into TAXIDS (TAXID, LOCATIONID, STATUS) Values (100103, 111, NULL);
    1 row created.
    SQL> Insert into TAXIDS (TAXID, LOCATIONID, STATUS) Values (100104, 111, NULL);
    1 row created.
    SQL> Insert into TAXIDS (TAXID, LOCATIONID, STATUS) Values (200101, 222, NULL);
    1 row created.
    SQL> Insert into TAXIDS (TAXID, LOCATIONID, STATUS) Values (200102, 222, NULL);
    1 row created.
    SQL> commit;
    Commit complete.
    SQL> Original observation:
    Session1>SELECT taxid
      2  FROM   taxids
      3  WHERE  locationid    = 111
      4  AND    NVL(STATUS,0) = 0
      5  AND    ROWNUM        = 1
      6  FOR UPDATE;
         TAXID
        100101
    Session1>
    --> Session 2 with same statement hangs until
    Session1>BEGIN
      2   UPDATE taxids SET status=1 WHERE taxid=100101;
      3   COMMIT;
      4  END;
      5  /
    PL/SQL procedure successfully completed.
    Session1>
    --> At which point, Session 2 returns
    Session2>SELECT taxid
      2  FROM   taxids
      3  WHERE  locationid    = 111
      4  AND    NVL(STATUS,0) = 0
      5  AND    ROWNUM        = 1
      6  FOR UPDATE;
         TAXID
        100101
    Session2>There's no way that session 2 should have returned 100101. That is the point of FOR UPDATE. It completely reintroduces the lost UPDATE scenario.
    Secondly, what happens if we drop the index.
    Let's reset the data and drop the index:
    Session1>UPDATE taxids SET status=0 where taxid=100101;
    1 row updated.
    Session1>commit;
    Commit complete.
    Session1>drop index NI_TaxIdsStatus;
    Index dropped.
    Session1>Then try again:
    Session1>SELECT taxid
      2  FROM   taxids
      3  WHERE  locationid    = 111
      4  AND    NVL(STATUS,0) = 0
      5  AND    ROWNUM        = 1
      6  FOR UPDATE;
         TAXID
        100101
    Session1>
    --> Session 2 hangs again until
    Session1>BEGIN
      2   UPDATE taxids SET status=1 WHERE taxid=100101;
      3   COMMIT;
      4  END;
      5  /
    PL/SQL procedure successfully completed.
    Session1>
    --> At which point in session 2:
    Session2>SELECT taxid
      2  FROM   taxids
      3  WHERE  locationid    = 111
      4  AND    NVL(STATUS,0) = 0
      5  AND    ROWNUM        = 1
      6  FOR UPDATE;
         TAXID
        100102
    Session2>Proves nothing, Non-deterministic ROWNUM you say.
    Then let's reset, recreate the index and explicity ask then for row 100101.
    It should give the same result as the ROWNUM query without any doubts over the ROWNUM, etc.
    If the original behaviour was correct, session 2 should also be able to get 100101:
    Session1>SELECT taxid
      2  FROM   taxids
      3  WHERE  locationid    = 111
      4  AND    NVL(STATUS,0) = 0
      5  AND    taxid         = 100101
      6  FOR UPDATE;
         TAXID
        100101
    Session1>
    --> same statement hangs in session 2 until
    Session1>BEGIN
      2   UPDATE taxids SET status=1 WHERE taxid=100101;
      3   COMMIT;
      4  END;
      5  /
    PL/SQL procedure successfully completed.
    Session1>
    --> so session 2 stops being blocked and:
    Session2>SELECT taxid
      2  FROM   taxids
      3  WHERE  locationid    = 111
      4  AND    NVL(STATUS,0) = 0
      5  AND    taxid         = 100101
      6  FOR UPDATE;
    no rows selected
    Session2>Of course, this is how it should happen, surely?
    Just to double check, let's reintroduce ROWNUM but force the order by to show it's not about read consistency at the start of the statement - restart should prevent it.
    (reset, then)
    Session1> select t.taxid
      2   from
      3    (select taxid, rowid rd
      4      from   taxids
      5      where  locationid = 111
      6      and    nvl(status,0) = 0
      7      order by taxid) x
      8   ,  taxids t
      9   where t.rowid = x.rd
    10   and   rownum = 1
    11   for update of t.status;
         TAXID
        100101
    Session1>
    --> Yes, session 2 hangs until...
    Session1>BEGIN
      2   UPDATE taxids SET status=1 WHERE taxid=100101;
      3   COMMIT;
      4  END;
      5  /
    PL/SQL procedure successfully completed.
    Session1>
    --> and then
    Session2> select t.taxid
      2   from
      3    (select taxid, rowid rd
      4      from   taxids
      5      where  locationid = 111
      6      and    nvl(status,0) = 0
      7      order by taxid) x
      8   ,  taxids t
      9   where t.rowid = x.rd
    10   and   rownum = 1
    11   for update of t.status;
         TAXID
        100102
    Session2>Session 2 should never be allowed to get 100101 once the lock is released.
    This is a bug.
    The worrying thing is that I can reproduce in 9.2.0.8 and 11.2.0.2.

  • Timestamp - wrong results during clock change

    When I run for example:
    SELECT TO_TIMESTAMP('28.03.2010 02:00:00','DD.MM.YYYY HH24:MI:SS') FROM dual
    on worksheet, I receive two different results:
    Script Output:
    28.03.2010 02:00:00
    Query Result:
    28.03.2010 03:00:00
    What is the reason for the wrong result in "Query Result"?
    Rainer

    Things that might influence, but could be different for you:
    - WinXP SP3 Catalonia/Spain locale (adjusts to summer-time)
    - AddVMOption -Duser.language=en
    - AddVMOption -Doracle.jdbc.mapDateToTimestamp=false
    - sqldev NLS Language/Territory: American/America
    Hope that helps,
    K.

  • Save for Web producing inconsistent results

    Hi-
    I am currently working on a printed book that will also be available online. I am a print designer, and am having difficulty saving for the web. I am setting type in illustrator, and then adding a pixel font for annotations. When saving for the web, I first rasterize the pixel font with anti-alias off, (which is working fine), but when I save for the web, (png-24), the results of the system fonts are mixed; some text is blurry, some text is light, and other text is dark, (the pixel font is okay). I am really stuck here. I have tried rasterizing all the text, anti-aliasing the system fonts, creating outlines, but nothing seems to work. Is there anyone out there that knows what I am doing wrong???

    are you rasterizing your non-pixel font your text with preserve hinting in the rasterize settings?
    this topic always spurs a lot of controversy here, mostly because Illustrator does a pretty mediocre job of rasterizing text, compared to what Safari, Preview, and Reader 9 can do. There's no one good way to do it in illustrator.
    Can you post a sample of the results you are getting?

  • Binding for table produces list for other tables using foreign key and crea

    Using
    software Jdev 11G, WLS 11G, Oracle DB 11G, Windows Vista platform
    technology EJB 3.0, jspx, backing beans, session bean
    I cannot create a namedquery on my secondary table. The method for the column uses the entity object rather than the name and value of the column.
    For instance,
    (Coketruck) table has inventory records(Products) table
    Coketruck has one to many to the Products table
    Products has a many to one to the Coketruck
    I need to return the products from the product table based on the CokeTruck but I cannot create a namedQuery because the method in the Product table is an entity object type instead of a long that I can use to look up all the products based off the column truck_id.
    This is what I was expecting…
    Private Long truckId;
    public Long getTruckId() {
    return truckId;
    public void setTruckId (Long truckId) {
    this. truckId = truckId;
    Instead this is what I have…
    @ManyToOne
    @JoinColumn(name = "TRUCK_ID")
    private Coketruck coketruck;
    this. coketruck = coketruck
    public Coketruck getCoketruck() {
    return coketruck;
    public void set Coketruck (Coketruck coketruck) {
    this. coketruck = coketruck;
    How do I do a query on the Product table to return all the products that are in the coketruck?
    If I do the following it expects for me to pass the Entity Object which I cannot use as search criteria for my find method.
    @NamedQuery(name = "Products.findById", query = "select o from Products o where o.truckId = :truckId")
    On a different note but the same song…
    I noticed that when I look at my Session Bean Data Contols that the coketruck already has a list of the products. I have created a jsp page with a backing bean and have been able to use the namedquery on the coketruck entity to retrieve the productList. Unfortunately I need to sort the products by type and was also not able to find where to perform the work to be able to iterate through the productList to get my desired display. Therefore I started looking at doing another namedquery that would only retrieve the product_type ordering by the truckId.
    Seems I have come full circle… I don’t care what method I have to use to get the info back.
    Any help is greatly appreciated!

    user9005175 wrote:
    Hi!
    I work on an application wich uses a shopping cart stored in a database. The shopping cart uses two tables:
    CART: Holds information common for one shopping cart: the user it is connected to etc.
    - Primary key: CART_ID
    CART_ROW: One row in the cart, e.g. one new product to buy.
    - Primary key: ROW_ID
    - Foreign key: CART_ROW.CART_ID references CART.CART_ID
    From the code the rows in the cart are collected per cart, as is modelled by the foreign key. There exists one more relationship, which we use in the code, but which is not modelled by a foreign key in the database. One row can be dependent on another row, which makes the other row a parent.
    CART_ROW has a column PARENT_ID which references CART_ROW.ROW_ID.
    Should we add a foreign key for PARENT_ID? Or are there any questions to consider when it is a foreign key to the same table?
    I suggest to add foreign key it wont harm the performance (except while on insert when there would be validation for the foreign key). But it would prevent users to insert wrong/corrupt data either through code or directly by loggin in the database.
    A while ago we added indexes, both on ROW_ID and on PARENT_ID. Could the index on PARENT_ID have been harmful, since there is no foreign key?
    Index on parent_id would only be harmful if you do not make use of index after creating it (i.e. there is no query which make use of this index).
    And if you decide to have a foreign key on parent_id then I suggest to have index too on parent_id as it would be helpful atleast when you delete any record in this table.
    Best regards!

  • Property binding of a dynamic UI element

    Hi all,
    It is no problem to define property binding of a UI element statically (see [Example|http://wiki.sdn.sap.com/wiki/display/WDABAP/SimpleapplicationtochangepropertiesofUIElementsduringruntimeinWebDynpro+ABAP])
    But, how can I define property binding for a UI element which I create at runtime? I can't find any statement to tell the UI element (for example CL_WD_INPUT_FIELD) that it should use property binding.
    Any ideas?
    Best regards
    Oliver

    Hi Prashant
    I already use bind_value (it has the complete path to the attribute).
    The attribute value is shown correctly, but the visibility doesn't work.
    Keep in mind that I do not want  to create a dedicated context attribute for visibility. I want to use the property of the context attribute.
    At time of dynamic context creation, I use the following statement to set the value of the context attribute property:
    DATA l_attribute_name TYPE string.
          l_attribute_name = <fs_context_attribute_info>-name.
          CALL METHOD lr_context_element->set_attribute_property
            EXPORTING
              attribute_name = l_attribute_name
              property       = lr_context_element->e_property-visible
              value          = l_visible.
    When creating the UI element, the following code is used.
    DATA lr_input_field TYPE REF TO cl_wd_input_field.
                CALL METHOD cl_wd_input_field=>new_input_field
                  EXPORTING
                    bind_value             = l_context_binding_value
    *   bind_visible           =
                    id                     = l_id
                     state                  = l_state
    *  visible                =
                  RECEIVING
                    control                = lr_input_field.
    Keep in mind that I can't use bind_value (I dont want an dedicated context attribute for visibility) and I also can't use visible because it should be context (attribute property) dependent.
    Thanks in advance
    Oliver

  • Property Binding

    I placed a hyperlink, two images on a page and output text on a page.
    When the hyperlink has focus, or obtains a onmouseover event,
    i would like to change the contents of the image (to another image),
    or make it go invisible, while updating and changing the output text.
    Do I use the property binding for this?
    I tried bind the the name of the value property of the output text
    however, it appears the javascript is not being executed or
    the display is not being updated. Can any point me to how
    I accomplished this w/in the context of using the Creator?
    Thanks,
    --peter                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    If I'm correct you need to accomplish this purely by Java Script to do it at the client side. If you are using property binding to accomplish this then the page need to be submited every time as property binding is done at server side.
    - Winston

  • HT201342 what can i do if the name that has been reserved for me is wrong? how can I change it?

    the name reserved for me is wrong. how can I change it?

    The name reserved should be the same as your @me email.
    You can't change your email address, but you can create an alias.
    Create or change email aliases:
    http://support.apple.com/kb/PH2622

  • Content Search Web Part displaying wrong Results for anonymous Users.

    HI Forum Group,
    I am getting Wrong results for my content search web part. The requirement is to show the News Description for the selected news item.
    I have a catalog site which stores News like 
    News1
    News2
    News3
    as Items. and i have connected this catalog in publishing site which is anonymous. In the publishing site created one page "News.aspx"added search results webpart which shows all the news item. Added one page "Description.aspx" to show
    description to show the selected news item.
    When ever user selects any news from news.aspx page it will redirected to description.aspx with the selected item ID
    The "Description.aspx" the search results page gets the data based on the URL by QueryString parameter as shown below
    The problem is, if i multiple items to open in tabs all the items are showing the data same as the first selected item, though the article ID is different.
    Thanks
    Sithender

    Hi,
    Thank you for your feedback on how you were successful in resolving this issue.
    Your solution will benefit many other users, and we really value having you as a Microsoft customer.
    Have a nice day!
    Best Regards,
    Lisa Chen
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Wrong results for context search on empty element tags

    I'm using Oracle DBMS 11.1 and 11.2 and created a context index on an XML column (section group: PATH_SECTION_GROUP).
    When entering a query like
    SELECT count(*) FROM my_table t WHERE contains (t.co_xml,'hasPath(/tag1/tag2)') > 0
    I get wrong results if tag2 is an empty element tag (<tag2/>) that appears somewhere within the
    XML instance, but NOT directly under tag1.
    E.g., the following XML instance is found (but shouldn't!):
    <a>
    <tag1>bla<tag3>bla</tag3></tag1>
    <tag4>bla<tag2/></tag4>
    </a>
    This seems to happen only for empty element tags. Is this a known bug and does anybody know a workaround?
    Thanks in advance for your help!
    Roman

    I am unable to reproduce the problem. Can you provide a copy and paste of an actual run, including create table, insert data, create index, and select, as I have done below?
    SCOTT@orcl_11g> select * from v$version
      2  /
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    PL/SQL Release 11.1.0.6.0 - Production
    CORE     11.1.0.6.0     Production
    TNS for 32-bit Windows: Version 11.1.0.6.0 - Production
    NLSRTL Version 11.1.0.6.0 - Production
    SCOTT@orcl_11g> create table my_table
      2    (co_xml     xmltype)
      3  /
    Table created.
    SCOTT@orcl_11g> insert into my_table values (
      2  xmltype ('<?xml version="1.0"?>
      3  <tag5>
      4    <tag1>bla<tag3>bla</tag3></tag1>
      5    <tag4>bla<tag2/></tag4>
      6  </tag5>'))
      7  /
    1 row created.
    SCOTT@orcl_11g> create index my_idx
      2  on my_table (co_xml)
      3  indextype is ctxsys.context
      4  parameters ('section group ctxsys.path_section_group')
      5  /
    Index created.
    SCOTT@orcl_11g> SELECT count(*)
      2  FROM   my_table t
      3  WHERE  contains (t.co_xml, 'hasPath (//tag1/tag2)') > 0
      4  /
      COUNT(*)
             0
    SCOTT@orcl_11g> SELECT count(*)
      2  FROM   my_table t
      3  WHERE  contains (t.co_xml, 'hasPath (//tag1/tag3)') > 0
      4  /
      COUNT(*)
             1
    SCOTT@orcl_11g>

  • Error in context binding for text property

    Hello experts,
    I receive this error in my WD4A application:
    The following error text was processed in the system XXX : Context binding for property TEXT of "T_MONTHTO"
    cannot be resolved: Node MAINVIEW.1.TEMPVAL2 does not contain any elements
    The error occurred on the application server sapxxxxx_XXX_00 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: RAISE_FOR of program CX_WDR_ADAPTER_EXCEPTION======CP
    Method: RAISE_BINDING_EXCEPTION of program CL_WDR_VIEW_ELEMENT_ADAPTER===CP
    Method: GET_BOUND_ELEMENT of program CL_WDR_VIEW_ELEMENT_ADAPTER===CP
    TEMPVAL2 has cardinality 0..1, selection 0..1, Inizialization Lead Selection false and the ST22 dump says:
    33
    34   if l_adapter->m_view_element is bound.
    35     l_component ?= l_adapter->m_view_element->view->if_wd_controller~get_component( ).
    36     l_view_name = l_adapter->m_view_element->view->name.
    37     l_view_element_id = l_adapter->m_view_element->id.
    38     l_component_name = l_component->component_name.
    39   endif.
    40
    41   if l_adapter->m_context_element is bound.
    42     l_path = l_adapter->m_context_element->get_path( ).
    43   endif.
    44
    >>   raise exception type cx_wdr_adapter_exception
    46     exporting
    47         textid          = textid
    48         previous        = previous
    49         component_name  = l_component_name
    50         view_name       = l_view_name
    51         view_element_id = l_view_element_id
    52         adapter_stack   = l_adapter_stack
    53         path            = l_path
    54         p1              = l_p1
    55         p2              = l_p2
    56         p3              = l_p3
    57         p4              = l_p4
    58         reason          = reason.
    59 endmethod.
    Could anybody please tell me why exactly this error is occuring?
    Many regards,
    Martin

    Hi Martin,
    I am getting the same error. can you please help me resolve this error.
    Error:
    Note
    The following error text was processed in the system RS2 : Adapter error in &VIEW_ELEMENT_TYPE& "VBELN" of view "Z_MYFIRST_WEBDYNPRO.MAIN": Context binding of property VALUE cannot be resolved: Node MAIN.1.NODE_VBAK does not contain any elements
    My Code is in the Method for the action is created for a button on MAIN VIEW
    METHOD onactionaction_find .
    wd_this->fire_to_alv_table_plg(  ).
      DATA: node_node_vbak TYPE REF TO if_wd_context_node,
            elem_node_vbak TYPE REF TO if_wd_context_element,
           stru_node_vbak TYPE if_main=>element_node_vbak .
    stru_node_vbak type wd_this->element_node_vbak.
    navigate from <CONTEXT> to <NODE_VBAK> via lead selection
    break dasarikb.
      node_node_vbak = wd_context->get_child_node( name =
    wd_this->wdctx_node_vbak ).
    get element via lead selection
      elem_node_vbak = wd_context->get_element(  ).
    get all declared attributes
      elem_node_vbak->get_attribute(
      exporting
      name = 'VBELN'
        IMPORTING
          value = stru_node_vbak ).
      DATA: ls_where(72) TYPE c,
            lt_where     LIKE TABLE OF ls_where,
            lt_vbak      TYPE STANDARD TABLE OF vbak.
    create where condition
      IF NOT stru_node_vbak-vbeln EQ ''.
        CONCATENATE 'VBELN = ''' stru_node_vbak-vbeln '''' INTO ls_where.
        APPEND ls_where TO lt_where.
      ENDIF.
      IF NOT stru_node_vbak-erdat EQ '00000000'.
        CONCATENATE 'ERDAT = ''' stru_node_vbak-erdat '''' INTO ls_where.
        IF stru_node_vbak-vbeln NE ''.
          CONCATENATE 'AND' ls_where INTO ls_where SEPARATED BY space.
        ENDIF.
        APPEND ls_where TO lt_where.
      ENDIF.
      SELECT *
             FROM vbak
             INTO TABLE lt_vbak
            WHERE (lt_where).
      DATA: node_node_alv TYPE REF TO if_wd_context_node,
            stru_node_alv TYPE if_main=>element_node_alv.
    navigate from <CONTEXT> to <NODE_ALV> via lead selection
      node_node_alv = wd_context->get_child_node( name =
    if_main=>wdctx_node_alv ).
    get all declared attributes
      node_node_alv->bind_table( lt_vbak ).
    ENDMETHOD.
    Thanks,
    Kiran

  • Pathfinder produces very wrong results. Long time Illy user. **URGENT**

    Running Mac 10.10.1 (newest Yosemite)
    Adobe CC
    PROBLEM #1
    Recently when performing a simple "minus front" with two objects, I get very wrong results. See image below. I created icons that are knocking out the BG behind it. Had no problems with the others until I got to the fork. I created the fork using rectangles, and the new direct select to create round corners feature. I can work around this problem by creating an opacity mask on the BG and pasting in the icon at full black. However, when I import that into inDesign, the fork still shows as it's original color. Ok fine. I can export from AI as a .png and avoid it. But that's a pain, and CC has already been pushing my buttons this week. And I'd rather just figure out the why.
    I also rasterized the fork icon in AI, then performed an image trace to vectorize it again - in hopes that this would be a magical fix. It was not. It ended up being a worse result than before, after using minus front.
    PROBLEM #2
    I found that if I alt-drag these elements, and then perform the minus front, I get very close to what is expected. However, this is where it gets really weird. Once I drag the newly created shape around my artboard, the area that had the minus front performed on it, begins to change. See the pictures below picture one for reference. What the eff. This is really confusing.
    Any help would be great. I am putting together a branding guidelines tonight for my client and this happens to be one of those little snags.
    Thanks
    Problem 1 picture - left side is after minus front
    Problem 2 pictures - after minus front, and moved around a few times

    You've got the Align-to-Pixel Grid turned on and are not using whole pixels for your objects.

  • Pageflow - data binding for collection size

    Assume {pageFlow.students} is a collection. What data binding to use to write the
    collection size to the jsp page? The following does not work
    <netui:label value="{pageFlow.headers.size}" />
    Thanks, Jack

    This is a very FAQ on the "taglibs-user" mailing list. The same issue comes up
    with using the JSTL, because the JSTL follows the same rules about what it can
    access.
    A reasonable general solution would be to write a simple class called "CollectionBean"
    (and similarly "MapBean"). Put it in a "utils" package. It's constructor takes
    a Collection (and a Map, respectively). It has two properties, named "collection"
    and "size" (the other would be "map" and "size"). Instead of storing Collections
    or Maps, you store CollectionBeans and MapBeans. About the only challenge would
    be properly naming the instance variables of type CollectionBean, so it isn't
    confusing. I'll leave that problem for you.
    "Jack Liu" <[email protected]> wrote:
    >
    Assume {pageFlow.students} is a collection. What data binding to use
    to write the
    collection size to the jsp page? The following does not work
    <netui:label value="{pageFlow.headers.size}" />
    Thanks, Jack

  • SQL job running DTEXEC.EXE via PowerShell step produces wrong characters in result tables. Running the same DTEXEC.EXE in PowerShell x86 window produces correct results.

    I've created a package in SSDT (Visual Studio 2012) to import DBF tables into MSSQL 2014 via a wizard.
    Source DBF files contain tables with Russian (Cyrillic) characters in records fields.
    Created package works fine, produces correct results (imports Cyrillic characters as needed) while:
    •debugging in VS2012
    •deploying package in SSISDB and running the package via PowerShell x86:
    &"c:\Program Files (x86)\Microsoft SQL Server\120\DTS\Binn\DTExec.exe" /Server "server\mssql2014" /ISServer "\SSISDB\import\Integration Services Project16\Package1.dtsx";
    But when I create a SQL Agent job with a single PowerShell step that contains the same command and run the job it produces wrong characters in resulting tables. So, the problem is in wrong code page (or encoding). The correct tables with records are
    produced and job runs without errors.
    I tried
    chcp 1251; # 855, 866 -- all of them
    &"c:\Program Files (x86)\Microsoft SQL Server\120\DTS\Binn\DTExec.exe" /Server "server\mssql2014" /ISServer "\SSISDB\import\Integration Services Project16\Package1.dtsx";
    in SQL Agent PowerShell step, but with no positive result.
    Anyone encountered such a behavior? How to fix it?
    v

    What if you run this package without PowerShell?
    Arthur My Blog

  • Size Limit of Result Set Exceeded in Advanced Analysis for Excel

    I am getting a "Size Limit of Result Set Exceeded" error when performing a drill-down in Advanced Analysis for Excel.  Is the limit 65,000 rows in Excel?  I was able to get a drill-down of 39,000 rows to work, but failed when I exceeded 60,000 rows.
    I am using Advanced Analysis for Excel v1 SP5 and Excel 2007.
    Thanks.

    Hi Everyone;
    I am running advanced analysis reports on HANA as datasource and I am getting the message Size Limit of Result Set Exceeded whenever I have a larger output. I have noticed that in the admin guide and in other SCN posts about this setting in Windows Registry:
    [HKEY_LOCAL_MACHINE\Software\SAP\AdvancedAnalysis\Settings\DataSource]
    "ShowBicsSample"="True"
    "ResultSetSizeLimit"="-1"
    But I am having hard time finding this setting in my windows registry; can someone help me understand why I don't have it in my registry? and how to find it and change this setting?
    FYI...I am using Office 2010.

Maybe you are looking for

  • Idoc Mapping

    Hello everybody, I have the next scenario Oracle DB-> XI-> Idoc PAYEXT,  now the problem is that I get the error in the message mapping that Mapping not sufficiently defined, my strcutures look fine, so is there a way to know all the required fields

  • Problems upgrading to mac os x 10.5.7

    I am trying to update from mac os x 10.5.4 to 10.5.7. I went on the apple site and downloaded 10.5.7 but then read that it would be better to download the combo. I did this and it took about 5 hours. When it was done, I double clicked it in my downlo

  • Variables in stored procedures

    Please help me I am trying to get some coding standards set up in the shop that I work in for the DBA group. The problem is that they feel that it is not important to put a prefix or a suffix to variable in a stored procedure. What is important to me

  • Position of WS-CAF versus BPEL?

    cross posting with BPEL forum: see Position of WS-CAF versus BPEL?

  • Is my Mac an early or mid? Hdmi with audio?

    I am going to purchase a 17" MacBook Pro model FC665LL/A I want to know if I will be able to play both audio and video thru my hdmi output. It mentions it will work with models. If not what are my options?