Unable to bind dates in DateNavigator

Trying to pick a variable from the context to bind startsWith or firstSelectedDate for the DateNavigator control - but the property gets masked as MM/DD/YYY. 
For example,  in view MAIN I created a context root attribute caklled 'START_DATE" but instead of setting the property as "MAIN.START_DATE" as expected  it sets it as "S/TA/MAIN".
Is there something else needed to set the property as a context variable and not an actual date?  Has anyone else seen this problem?

>
Mike Russell wrote:
> Hey Baskaran,
>
> There is something else wrong.  I have created the 2 attributes correctly and given them default values.  It's when I try to bind the attribute to the property is the strangeness. 
>
> When I ckick the bind button on the startWth property a "Choose Context Element" pops up and highlights only the attributes that I created - which means they are the correct type - but after I choose the attribute it populates the property binding wth the garbled date format for the attribute.
>
> After you bound your attribute to the property does it display the property value as "<view>.<atribute>" or the defaulted date?
Hi Mike,
the property value is just as you said "NA.T_.V_DA" strange.. that is what i meant harmless bug.
My view name is V_DAT_NAV, attribute name is start_date, after binding the name appears as above.
Now i understand what the documents described about "no binding needed" something like that. You can very well enter a actual date over there like 01012010.
Anyway.. i guess you understand now what is going on !!
Actually i misunderstood your first post, i thought that you have problem at runtime. That is why i posted that it is working fine.
Now I do understand that posted regarding the design time appearance of the binding value.
Edited by: Baskaran Senthivel on Jan 25, 2011 9:26 PM

Similar Messages

  • Restful service unable to insert data using PL/SQL.

    Hi all,
    Am running: AL 2.01 standalone mode on OEL 4.8 in VM box A.
    Oracle database 10.2.0.4 with Apex 4.2.0.00.27 on OEL4.8 in VM box B.
    Able to performed oracle.example.hr Restful services with no problem.
    Unable to insert data using AL 2.0.1 but works on AL 1.1.4.
    which uses the following table (under schema: scott):
    create table json_demo ( title varchar2(20), description varchar2(1000) );
    grant all on json_demo to apex_public_user; and below procedure ( scott's schema ):
    CREATE OR REPLACE
    PROCEDURE post(
        p_url     IN VARCHAR2,
        p_message IN VARCHAR2,
        p_response OUT VARCHAR2)
    IS
      l_end_loop BOOLEAN := false;
      l_http_req utl_http.req;
      l_http_resp utl_http.resp;
      l_buffer CLOB;
      l_data       VARCHAR2(20000); 
      C_USER_AGENT CONSTANT VARCHAR2(4000) := 'Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)';
    BEGIN
      -- source: http://awads.net/wp/2005/11/30/http-post-from-inside-oracle/
      -- Ask UTL_HTTP not to raise an exception for 4xx and 5xx status codes,
      -- rather than just returning the text of the error page.
      utl_http.set_response_error_check(false);
      -- Begin the post request
      l_http_req := utl_http.begin_request (p_url, 'POST', utl_http.HTTP_VERSION_1_1);
      -- Set the HTTP request headers
      utl_http.set_header(l_http_req, 'User-Agent', C_USER_AGENT);
      utl_http.set_header(l_http_req, 'content-type', 'application/json;charset=UTF-8');
      utl_http.set_header(l_http_req, 'content-length', LENGTH(p_message));
      -- Write the data to the body of the HTTP request
      utl_http.write_text(l_http_req, p_message);
      -- Process the request and get the response.
      l_http_resp := utl_http.get_response (l_http_req);
      dbms_output.put_line ('status code: ' || l_http_resp.status_code);
      dbms_output.put_line ('reason phrase: ' || l_http_resp.reason_phrase);
      LOOP
        EXIT
      WHEN l_end_loop;
        BEGIN
          utl_http.read_line(l_http_resp, l_buffer, true);
          IF(l_buffer IS NOT NULL AND (LENGTH(l_buffer)>0)) THEN
            l_data    := l_data||l_buffer;
          END IF;
        EXCEPTION
        WHEN utl_http.end_of_body THEN
          l_end_loop := true;
        END;
      END LOOP;
      dbms_output.put_line(l_data);
      p_response:= l_data;
      -- Look for client-side error and report it.
      IF (l_http_resp.status_code >= 400) AND (l_http_resp.status_code <= 499) THEN
        dbms_output.put_line('Check the URL.');
        utl_http.end_response(l_http_resp);
        -- Look for server-side error and report it.
      elsif (l_http_resp.status_code >= 500) AND (l_http_resp.status_code <= 599) THEN
        dbms_output.put_line('Check if the Web site is up.');
        utl_http.end_response(l_http_resp);
        RETURN;
      END IF;
      utl_http.end_response (l_http_resp);
    EXCEPTION
    WHEN OTHERS THEN
      dbms_output.put_line (sqlerrm);
      raise;
    END; and executing in sqldeveloper 3.2.20.09 when connecting directly to box B as scott:
    SET serveroutput ON
    DECLARE
      l_url      VARCHAR2(200)   :='http://MY_IP:8585/apex/demo';
      l_json     VARCHAR2(20000) := '{"title":"thetitle","description":"thedescription"}';
      l_response VARCHAR2(30000);
    BEGIN
      post( p_url => l_url, p_message =>l_json, p_response => l_response);
    END;which resulted in :
    anonymous block completed
    status code: 200
    reason phrase: OK
    with data inserted. Setup using 2.0.1
       Workspace : wsdemo
    RESTful Service Module:  demo/
              URI Template:      test
                    Method:  POST
               Source Type:  PL/SQLand executing in sqldeveloper 3.2.20.09 when connecting directly to box B as scott:
    SET serveroutput ON
    DECLARE
      l_url      VARCHAR2(200)   :='http://MY_IP:8585//apex/wsdemo/demo/test';
      l_json     VARCHAR2(20000) := '{"title":"thetitle","description":"thedescription"}';
      l_response VARCHAR2(30000);
    BEGIN
      post( p_url => l_url, p_message =>l_json, p_response => l_response);
    END;which resulted in :
    status code: 500
    reason phrase: Internal Server Error
    Listener's log:
    Request Path passes syntax validation
    Mapping request to database pool: PoolMap [_poolName=apex, _regex=null, _workspaceIdentifier=WSDEMO, _failed=false, _lastUpdate=1364313600000, _template=/wsdemo/, _type=BASE_PATH]
    Applied database connection info
    Attempting to process with PL/SQL Gateway
    Not processed as PL/SQL Gateway request
    Attempting to process as a RESTful Service
    demo/test matches: demo/test score: 0
    Choosing: oracle.dbtools.rt.resource.templates.jdbc.JDBCResourceTemplateDispatcher as current candidate with score: Score [handle=JDBCURITemplate [scopeId=null, templateId=2648625079503782|2797815111031405, uriTemplate=demo/test], score=0, scope=SecurityConfig [constraint=none, realm=NONE, logonConfig=LogonConfig [logonForm=null, logonFailed=null]], originsAllowed=[], corsEnabled=true]
    Determining if request can be dispatched as a Tenanted RESTful Service
    Request path has one path segment, continuing processing
    Tenant Principal already established, cannot dispatch
    Chose oracle.dbtools.rt.resource.templates.jdbc.JDBCResourceTemplateDispatcher as the final candidate with score: Score [handle=JDBCURITemplate [scopeId=null, templateId=2648625079503782|2797815111031405, uriTemplate=demo/test], score=0, scope=SecurityConfig [constraint=none, realm=NONE, logonConfig=LogonConfig [logonForm=null, logonFailed=null]], originsAllowed=[], corsEnabled=true] for: POST demo/test
    demo/test is a public resource
    Using generator: oracle.dbtools.rt.plsql.AnonymousBlockGenerator
    Performing JDBC request as: SCOTT
    Mar 28, 2013 1:29:28 PM oracle.dbtools.common.jdbc.JDBCCallImpl execute
    INFO: Error occurred during execution of: [CALL, begin
    insert into scott.json_demo values(/*in:title*/?,/*in:description*/?);
    end;, [title, in, class oracle.dbtools.common.stmt.UnknownParameterType], [description, in, class oracle.dbtools.common.stmt.UnknownParameterType]]with values: [thetitle, thedescription]
    Mar 28, 2013 1:29:28 PM oracle.dbtools.common.jdbc.JDBCCallImpl execute
    INFO: ORA-06550: line 1, column 6:
    PLS-00103: Encountered the symbol "" when expecting one of the following:
       begin case declare exit for goto if loop mod null pragma
       raise return select update while with <an identifier>
       <a double-quoted delimited-identifier> <a bind variable> <<
       close current delete fetch lock insert open rollback
       savepoint set sql execute commit forall merge pipe
    The symbol "" was ignored.
    ORA-06550: line 2, column 74:
    PLS-00103: Encountered the symbol "" when expecting one of the following:
       begin case declare end exception exit for goto if loop mod
       null pragma raise return select update while with
       <an identifier> <a double-quoted delimited-id
    java.sql.SQLException: ORA-06550: line 1, column 6:
    PLS-00103: Encountered the symbol "" when expecting one of the following:
       begin case declare exit for goto if loop mod null pragma
       raise return select update while with <an identifier>
       <a double-quoted delimited-identifier> <a bind variable> <<
       close current delete fetch lock insert open rollback
       savepoint set sql execute commit forall merge pipe
    The symbol "" was ignored.
    ORA-06550: line 2, column 74:
    PLS-00103: Encountered the symbol "" when expecting one of the following:
       begin case declare end exception exit for goto if loop mod
       null pragma raise return select update while with
       <an identifier> <a double-quoted delimited-id
            at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:447)
            at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396)
            at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:879)
            at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:505)
            at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:223)
            at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:531)
            at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:205)
            at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatement.java:1043)
            at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1336)
            at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3612)
            at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3713)
            at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:4755)
            at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1378)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at oracle.ucp.jdbc.proxy.StatementProxyFactory.invoke(StatementProxyFactory.java:242)
            at oracle.ucp.jdbc.proxy.PreparedStatementProxyFactory.invoke(PreparedStatementProxyFactory.java:124)
            at oracle.ucp.jdbc.proxy.CallableStatementProxyFactory.invoke(CallableStatementProxyFactory.java:101)
            at $Proxy46.execute(Unknown Source)
            at oracle.dbtools.common.jdbc.JDBCCallImpl.execute(JDBCCallImpl.java:44)
            at oracle.dbtools.rt.plsql.AnonymousBlockGenerator.generate(AnonymousBlockGenerator.java:176)
            at oracle.dbtools.rt.resource.templates.v2.ResourceTemplatesDispatcher$HttpResourceGenerator.response(ResourceTemplatesDispatcher.java:309)
            at oracle.dbtools.rt.web.RequestDispatchers.dispatch(RequestDispatchers.java:88)
            at oracle.dbtools.rt.web.HttpEndpointBase.restfulServices(HttpEndpointBase.java:412)
            at oracle.dbtools.rt.web.HttpEndpointBase.service(HttpEndpointBase.java:162)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
            at com.sun.grizzly.http.servlet.ServletAdapter$FilterChainImpl.doFilter(ServletAdapter.java:1059)
            at com.sun.grizzly.http.servlet.ServletAdapter$FilterChainImpl.invokeFilterChain(ServletAdapter.java:999)
            at com.sun.grizzly.http.servlet.ServletAdapter.doService(ServletAdapter.java:434)
            at oracle.dbtools.standalone.SecureServletAdapter.doService(SecureServletAdapter.java:65)
            at com.sun.grizzly.http.servlet.ServletAdapter.service(ServletAdapter.java:379)
            at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:179)
            at com.sun.grizzly.tcp.http11.GrizzlyAdapterChain.service(GrizzlyAdapterChain.java:196)
            at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:179)
            at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:849)
            at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:746)
            at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1045)
            at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:228)
            at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
            at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
            at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
            at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
            at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
            at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
            at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
            at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
            at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
            at java.lang.Thread.run(Thread.java:662)
    Error during evaluation of resource template: ORA-06550: line 1, column 6:
    PLS-00103: Encountered the symbol "" when expecting one of the following:
       begin case declare exit for goto if loop mod null pragma
       raise return select update while with <an identifier>
       <a double-quoted delimited-identifier> <a bind variable> <<
       close current delete fetch lock insert open rollback
       savepoint set sql execute commit forall merge pipe
    The symbol "" was ignored.
    ORA-06550: line 2, column 74:
    PLS-00103: Encountered the symbol "" when expecting one of the following:
       begin case declare end exception exit for goto if loop mod
       null pragma raise return select update while with
       <an identifier> <a double-quoted delimited-idPlease advise.
    Regards
    Zack

    Zack.L wrote:
    Hi Andy,
    Sorry, forgot to post the Source that's use by both AL1.1.4 and AL2.0.1.
    Source
    begin
    insert into scott.json_demo values(:title,:description);
    end;
    it's failing during the insert?
    Yes, it failed during insert using AL2.0.1.
    So the above statement produces the following error message:
    The symbol "" was ignored.
    ORA-06550: line 2, column 74:
    PLS-00103: Encountered the symbol "" when expecting one of the following:
    begin case declare end exception exit for goto if loop mod
    null pragma raise return select update while with
    <an identifier> <a double-quoted delimited-idThis suggests to me that an unprintable character (notice how there is nothing between the double quotes - "") has worked its way into your PL/SQL Handler. Note how the error is reported to be a column 74 on line 2, yet line 2 of the above block should only have 58 characters, so at a pure guess somehow there's extra whitespace on line 2, that is confusing the PL/SQL compiler, I suggest re-typing the PL/SQL handler manually and seeing if that cures the problem.

  • What's with the "unable to bind"?

    I have a list that originally was created in Flash Catalyst.  I modified the repeating item component to have the text bound to data.label to accomodate my data source:
    <s:RichText d:userLabel="0" fontFamily="Helvetica" color="0x252525" fontSize="12" kerning="off" whiteSpaceCollapse="preserve" y="4" x="5" text="{data.label}">
    My data source is an array collection of objects, each object with a label and data:
    <mx:ArrayCollection>
    <mx:source>
    <fx:Object label="No insulation" data="0"/>
    <fx:Object label="Fiberglass Batts" data="4.30"/>
    <fx:Object label="Vermiculite" data="2.4"/>
    <fx:Object label="Rock/Mineral Wool" data="4"/>
    <fx:Object label="Urea-formaldehyde foam" data="4.5"/>
    <fx:Object label="Balsam Wool" data="3"/>
    <fx:Object label="Cotton Batts" data="4"/>     
    </mx:source>
    </mx:ArrayCollection>
    It seems to work fine except for the warning:
    warning: unable to bind to property ’label’ on class ’Object’ (class is not an IEventDispatcher)
    From past experience, perhaps I need to cast data.label, but as what?

    Hi Handycam,
    This warning shows up when you try binding to an object that doesn't implement IEventDispatcher.
    Object does not implement IEventDispatcher so any time you bind to a property of that object you will get a warning.
    If you define a subclass of EventDispatcher with the properties you want:
    MyBindableObject.as:
    package {
      import flash.events.EventDispatcher;
      public class MyBindableObject extends EventDispatcher {
        [Bindable] public var label:String;
        [Bindable] public var data:Number;
    And then replace the objects in your ArrayCollection with instances of MyBindableObject then the warnings should go away.
    SampleList.mxml:
    <s:Application
        xmlns:fx="http://ns.adobe.com/mxml/2009"
        xmlns:s="library://ns.adobe.com/flex/spark"
        xmlns:local="*">
        <s:List>
            <s:ArrayCollection>
                <local:MyBindableObject label="No insulation" data="0"/>
                <local:MyBindableObject label="Fiberglass Batts" data="4.30"/>
                <local:MyBindableObject label="Vermiculite" data="2.4"/>
                <local:MyBindableObject label="Rock/Mineral Wool" data="4"/>
                <local:MyBindableObject label="Urea-formaldehyde foam" data="4.5"/>
                <local:MyBindableObject label="Balsam Wool" data="3"/>
                <local:MyBindableObject label="Cotton Batts" data="4"/> 
            </s:ArrayCollection>
        </s:List>
    </s:Application>
    Message was edited by: Shongrunden (adding sample code for SampleList.mxml)

  • Oracle: Expanded non LONG bind data supplied after actual LONG or LOB colum

    I am getting this error message when I try to insert clob into oracle table.
    ORA-24816: Expanded non LONG bind data supplied after actual LONG or LOB column. This error message is kind of misleading. For this error message, I should reorder the list of columns which means that the column with LONG RAW should come at end. So I reordered the list to make the LONG RAW column come at end. But I was still getting this error message. So I found out that data that needs to be inserted into the clob is causing this error.
    Here is my code for inserting clob.
                        byte[] bytes1 = .....
                        statement.setAsciiStream(index, new ByteArrayInputStream(bytes1), bytes1.length);I don't know what is wrong with this code. I have been using this for a while and now it is throwing an exception.
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:743)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:213)
         at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:952)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1160)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3285)
         at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3390)
    I am using JDK5 and Oracle 10g driver.
    Please help me.

    I have these columns,
    ROW_DESC - Char
    Table_id - Char
    Blob_desc - Char
    Blob1 - Blob
    LOB_DATE - Date
    CLOB1_DESC - Char
    CLOB1 - Clob
    CHAR_25_Col - Char
    VBIN_400_Col - Long Raw.
    But what I noticed is that the one causing the problem is not actually Long Raw column. "CLOB1" is the one causing a problem. The database is configured as unicode (AL32UTF8). When I tested it against another database with non-unicode, it works fine with same table description. So somehow it is unable to bind unicode large clob data.
    I ran into this problem while I was inserting data from the source table to the target table.
    Here is how I read from the resultset.
                        InputStream inputStream = resultSet.getAsciiStream(index + 1);
                        if (inputStream == null) {
                            return null;
                        ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
                        byte[] buffer = new byte[1024];
                        int length;
                        do {
                            length = inputStream.read(buffer);
                            if (length > 0) {
                                outputStream.write(buffer, 0, length);
                        } while (length > 0);
                        byte[] resultBytes = outputStream.toByteArray();Here is how I bind parameters.
                        statement.setAsciiStream(index, new ByteArrayInputStream(resultBytes), resultBytes.length);If i use "((OraclePreparedStatement) statement).setStringForClob", then it works, but it will impact the performance, because I need to convert the clob to string.
    is there any way to do it without converting to string object?
    Thanks.

  • ORA-20001: Unable to bind :MI verify length of item is 30 bytes or less.

    Hi,
    I am trying to build a dynamic SQL statement with a date format including HH:MI
    and get the following error:
    1 error has occurred
    Function returning SQL query: Query cannot be parsed within the Builder. If you believe your query is syntactically correct, check the generic columns checkbox below the region source to proceed without parsing.
    (ORA-20001: Unable to bind :MI verify length of item is 30 bytes or less. Use v() syntax to reference items longer than 30 bytes. ORA-01006: bind variable does not exist)
    Code:
    if v('P46_DATE_SEARCH1') IS NOT NULL
    then
    w:=w ||' AND (to_date(I.DATE_BILLED,'''DD-MON-YY HH:MI''')'||
    ' BETWEEN trunc(to_date('''||
              v('P46_DATE_SEARCH1')||''')) AND trunc(to_date('''||
              v('P46_DATE_SEARCH2')||''')) )';
    --          :P46_DATE_SEARCH1||''')) AND trunc(to_date('''||
    --          :P46_DATE_SEARCH2||''')) )';
    end if;
    Any help would be appreciated...
    Bill

    Try
    if v('P46_DATE_SEARCH1') IS NOT NULL
    then
    w := w || q'!AND (to_date(I.DATE_BILLED,'DD-MON-YY HH!'||':'||q'!MI')
                 BETWEEN trunc(to_date(
                 v('P46_DATE_SEARCH1'))) AND trunc(to_date(
                 v('P46_DATE_SEARCH2'))))!';
    -- :P46_DATE_SEARCH1||''')) AND trunc(to_date('''||
    -- :P46_DATE_SEARCH2||''')) )';
    end if;ops, Scott was faster than I. :C)
    Message was edited by:
    Felipe Bertaglia

  • Unable to bind ":OB_SCHEMA"

    I am getting this when I try to view a table in the Object Browser. Data view seems to work ok, as do all the other sub-headings. Only the Table view is affected. Using FireFox. It was working fine earlier in the day for dev.
    Couldn't find anything in Google search, nothing in this forum. Any ideas?
    Unable to bind ":OB_SCHEMA"
    report error:
    ORA-01008: not all variables bound

    And the error persists - for just one table or for any table using table view since the error occured for the first time?
    My first guess is that your database has got the shared_pool messed up some way. Try alter system flush shared_pool as dba, if you have one. If it's not the shared pool, it could also be the buffer cache. Try flushing it as well.
    I don't know how to trace which item(s) cause this "messing up". We had such strange errors (though not exactly the one you had) and got it fixed that way.
    -Udo

  • Unable to bind to property

    Here is a snippit from my main.MXML.
    <mx:DataGrid id="StructGrid"
    dataProvider="{ArrayofStructs}" x="322" y="293" editable="true"
    itemEditEnd="processData1(event);">
    <mx:columns>
    <mx:DataGridColumn headerText="Name" dataField="NAME"
    />
    <mx:DataGridColumn headerText="Last Name"
    dataField="LASTNAME" />
    <mx:DataGridColumn headerText="Age" dataField="AGE" />
    <mx:DataGridColumn headerText="Sex" dataField="SEX"
    itemEditor="valueObjects.HumanSex" sortable="false">
    <mx:itemRenderer>
    <mx:Component>
    <mx:Text selectable="false" width="100%"
    text="{data.SelectedSEX}"/>
    </mx:Component>
    </mx:itemRenderer>
    </mx:DataGridColumn>
    </mx:columns>
    </mx:DataGrid>
    Here is my HumanSex.mxml:
    <mx:VBox xmlns:mx="
    http://www.adobe.com/2006/mxml"
    width="400" height="300">
    <mx:ComboBox id="comboBox"
    selectedItem="{data.SelectedSEX}">
    <mx:dataProvider>
    <mx:String>Male</mx:String>
    <mx:String>Female</mx:String>
    <mx:String>Other</mx:String>
    </mx:dataProvider>
    </mx:ComboBox>
    </mx:VBox>
    Why do I keep getting this waring when I am running in
    Debug?
    unable to bind to property 'SelectedSEX' on class 'Object'
    (class is not an IEventDispatcher)

    You're referencing a property SelectedSEX on an object called
    'data'. Where is this property defined? I don't see it in your
    snippet.
    Tim

  • After applying BM3.8.5_ir1: "IKESetupSocket: Unable to bind socket!", IKE not loading

    Hello,
    I just applied the Interim Release 1 BM3.8.5 and rebootet the server after at
    least several months of uptime when the patch files were applied - so it might be
    related to 385_ir1; Or something went wrong during the last months of uptime that
    way; that a reboot just caused the trouble to be revealed.
    Well, on the next reboot after applying BM3.8.5_ir1 I got this on the IKE screen:
    -------------------------- IKE SCREEN ----------------------------------
    3-19-2008 12:53:41 pm IKESetupSocket: Unable to bind socket!
    [snip empty lines]
    <Press any key to close screen>
    -------------------------- IKE SCREEN ----------------------------------
    At this state these TCP NLMs were loaded:
    TCP.NLM
    Loaded from [SYS:SYSTEM\] on Mar 19, 2008 12:35:40 pm
    (Address Space = OS)
    Novell TCP/IP Stack - Transport module (Domestic)
    Version 6.91.05 October 25, 2007
    Copyright 1994-2007 Novell, Inc. All rights reserved. Patent pending.
    TCPIP.NLM
    Loaded from [SYS:SYSTEM\] on Mar 19, 2008 12:35:40 pm
    (Address Space = OS)
    Novell TCP/IP/IPSec Module (Domestic) NICI Enabled
    Version 6.91.10 October 25, 2007
    Copyright 1994-2007 Novell, Inc. All rights reserved
    Patent pending Portions Copyright 1986-1995, RSA Data Security, Inc.
    BSDSOCK.NLM
    Loaded from [SYS:SYSTEM\] on Mar 19, 2008 12:35:40 pm
    (Address Space = OS)
    Novell BSDSOCK Module (Domestic)
    Version 6.91.04 October 25, 2007
    Copyright 1994-2007 Novell, Inc. All rights reserved.
    As it's a socket error I thought that applying the latest TCP patch might help
    out:
    TCP681K, another reboot, but no change at all.
    As IKE isn't loading server side all VNP functions are not operational.
    PKIDIAG is without errors, if these certificates should interact with IKE as well
    (I honestly have to state, that I don't know, if or if not these Certs interact
    with IKE ...)
    Anybody a quick solution? Otherwise I'll try to backrev to BM3.8.5 and the prior
    TCP version.
    Thanks for any input.
    Regards, Rudi.
    IT-Beratung Rudolf Thilo
    Schweinfurter Str. 131
    97464 Niederwerrn
    t: +49 (0)9721/6464840
    f: +49 (0)9721/6464841
    m: +49(0)171/685 9 685

    Hello,
    after investigating in a totally wrong direction for many hours <doh!> I finally
    back-rev.ed the lib files from c:\nwserver\!backup.lib and
    sys:system\!backup.lib, after that was done the IKE had no trouble any more.
    In the load sequence of the server's reboot NMAS had a load error that pointed in
    that direction... (several DS*.NLMs in the LIB patch files)
    I have a looger screen save file of both, a "trouble boot" and a clean boot after
    removing the patch files. What I missed was to draw a config.txt of the trouble
    state. :(
    Quite interesting is the fact, that after may be 30 - 60 Minuntes of uptime the
    BM had difficulties to access the C: drive:
    ----------------------------Logger Screen ------------------------------------
    NetWare Configuration File Transfer Cache to DOS Error: 0x4
    Registry rolling back to last known good registry file.
    ----------------------------Logger Screen ------------------------------------
    Then no NLMs could be loaded any more at all: Neither DOS side, nor sys:system or
    from anywhere else. Funny fact: With the already loaded toolbox a "DIR" was
    presenting everything absolutely normal, DOS and SYS: side....
    Well, the NBM-Rule-Container is restored now from tape, the filters.txt is as it
    was before (seveal reboots) and with my 2nd. BM install I was painfully
    remembered that there can be just one BM per container <grrr> ;) (nice design...)
    Patches applied when the trouble showed up
    NW6.5SP6
    BM3.8SP5
    plus the hotfixes available till Dec 2007
    Finally I applied these (many hours ago >-O~ )
    LIBCSP6B
    NWLIB6K
    WSOCK6N
    TCP681K
    BM3.8.5_ir1
    .... in the timed order they were given to the public (I didn't check right now,
    the order above isn't necessarily the right order I used.)
    If someone should be interested in the logger.txt of both states, they are too
    large for *one* posting here, drop me an email.
    Regards, Rudi.
    IKESetupSocket: Unable to bind socket!
    IKE not loading any more
    NMAS error in boot sequence
    Error accessing registry files,
    NLM load from all search paths impossible
    IT-Beratung Rudolf Thilo
    Schweinfurter Str. 131
    97464 Niederwerrn
    t: +49 (0)9721/6464840
    f: +49 (0)9721/6464841
    m: +49(0)171/685 9 685

  • "Unable to Bind" warnings

    My app seems to work fine, but in debug mode I get a series
    of warnings, such as:
    warning: unable to bind to property 'title' on class 'XML'
    (class is not an IEventDispatcher)
    I am using this property in a itemRenderer, a canvas which
    includes a Text object:
    <mx:Text id="item" text="{XML(data.@title)}" width="100%"
    />
    Am I doing it wrong?

    You are close. Change your binding expression to:
    text="{XML(data).@title}"
    See the difference in the parens?
    What you really want to do is "cast" (really convert) "data"
    which is a non-bindable "Object" to the XML which it really
    contains. It is not helping to cast the "@title", because data is
    still an object.
    XML IS bindable.
    Tracy

  • Unable to display data in BI publisher Report

    Hi,
    We are developing BI publisher reports in siebel 8.1.1.
    We are able to preview data perfectly with the rtf which we developed and by loading sample data file generated based on integration object.
    we uploaded the template file into the application associated with the integration object and generated xliff and tagged it to a view.
    When we navigated to that view and trying to run the report. the report is generating but unable to view data in that report .
    on checking siebel log we found the below error....
    ObjMgrLog     Error     1     000000024b97169c:0     2010-03-10 20:24:01     (bcfile.cpp (5808)) SBL-SVC-00185: Error occurred while deleting file 'Error occurred while deleting file 'C:\Siebel81\Client\Local\files\S_XMLP_REPOUTPT_17XF-3PM_.SAF'.'.
    did anyone of you faced this kind of issue....?
    Please help .
    Maneesh

    Thanks for you reply,
    Our scenario is this report is basically a dissconnected mode report... we are developing these reports for mobile clients.
    We dint face this kind of issue while developing other reports.
    So please let us know if you have any idea on why we are facing this issue.
    Regards,
    Maneesh

  • Unable to capture data from drop down list in custom added field in migo tcode at item level

    Hi guys,
    need bit help in resolving query related to custom added field in Tcode migo.
    i have added a field in migo at item level ,in this i have used drop down list
    to get data but unable to capture data from drop down list.gown through
    many blogs in scn but unable to resolve.
    Please help me out in this.
    Thanks,
    Umakant.

    Hi,
    U can use following code to fill the list box
    write this code in PBO
    In layout editor please select listbox in dropdown attribute of input field and put some fctcode attribute
    TYPE-POOLS vrm.
      DATA values TYPE vrm_values WITH HEADER LINE.
      TABLES: <ur custom Database table>.
      clear values, values[].
      SELECT * FROM <ur custom Database table>.
        values-text = <TABLE FIELD TO DISPLAY IN DROPDOWN> .
        values-key = <TABLE KEY FIELD TO DISPLAY IN DROPDOWN>.
        APPEND values.
      ENDSELECT.
      CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING
          id              = '<SCREEN INPUT FIELD NAME>'
          values          = values[]
        EXCEPTIONS
          id_illegal_name = 1
          OTHERS          = 2.
    Also please define the following before accessing the listbox value
    data: <listbox input field name> type <table field name>,
            <inputfield name where text to display> type string  in top include
    In PAI, select the text from the table into <inputfield name where text to display>  depending on value selected which will be called when enter key is pressed or any vale is selected

  • OraRRP Error with "Unable to copy data file;Error code 2, check disk space"

    Hi,
    Some users get this message -"Unable to copy data file;Error code 2, check disk space" when run report with orarrp, but most users do not get it.
    I check free space at both server and client side, they are very sufficient.
    I also checked directory exists for REPORTXX_TMP variable.
    My user call reports via URL (rwservlet) and it occur for all reports.
    How I can solve this problem?
    Thanks in advance.
    Tawatchai R.

    Hi,
    have the same problem now. One user has temporarily problems to download .rrpa files via URL (rwservlet) request. Error code: -"Unable to copy data file;Error code 2, check disk space". Did you get a solution??
    Thanks in advance. Axel

  • DropDrown unable to get data in ALV

    Hi,
    I'm trying to put an dropdown by key (or index) into an ALV but I'm unable to get data in the dropdown. Can someone please help me with this?
    I was watching this threads on topics at the forum, but I can not solve this problem.
    Copy my code.
      DATA: lr_col                            TYPE REF TO cl_salv_wd_column,
                 lr_dropdown                  TYPE REF TO cl_salv_wd_uie_dropdown_by_key,
                 l_cmp_usage                TYPE REF TO if_wd_component_usage,
                 l_alv_model                   TYPE REF TO cl_salv_wd_config_table,
                 l_ref_interfacecontroller  TYPE REF TO iwci_salv_wd_table.
      l_cmp_usage = wd_this->wd_cpuse_doc_measure( ).
      IF l_cmp_usage->has_active_component( ) IS INITIAL.
        l_cmp_usage->create_component( ).
      ENDIF.
      l_ref_interfacecontroller = wd_this->wd_cpifc_doc_measure( ).
      l_alv_model = l_ref_interfacecontroller->get_model( ).
      l_alv_model = l_ref_interfacecontroller->get_model( ).
      l_alv_model->if_salv_wd_table_settings~set_read_only( abap_false ).
      lr_col = l_alv_model->if_salv_wd_column_settings~get_column(
        id = 'VALEUR_DIFF' ).
      CREATE OBJECT lr_dropdown
        EXPORTING
          selected_key_fieldname = 'VALEUR_DIFF '.
      lr_col->set_cell_editor( lr_dropdown ).
      DATA:
      lo_nd_ctx_tab TYPE REF TO if_wd_context_node,
      lo_ndinfo_ctx_tab TYPE REF TO if_wd_context_node_info,
      lt_value_set TYPE TABLE OF wdr_context_attr_value,
      ls_value_set TYPE wdr_context_attr_value.
      ls_value_set-value = '01'.
      ls_value_set-text = 'One'.
      APPEND ls_value_set TO lt_value_set.
      ls_value_set-value = '02'.
      ls_value_set-text = 'Two'.
      APPEND ls_value_set TO lt_value_set.
      lo_nd_ctx_tab = wd_context->get_child_node( 'DOC_MEASURE' ).
      lo_ndinfo_ctx_tab = lo_nd_ctx_tab->get_node_info( ).
      lo_ndinfo_ctx_tab->set_attribute_value_set(
        name = 'VALEUR_DIFF' value_set = lt_value_set ).
      DATA: lt_valueset TYPE TABLE OF wdr_context_attr_value,
                ls_valueset TYPE wdr_context_attr_value,
                lr_node TYPE REF TO if_wd_context_node,
                lr_nodeinfo TYPE REF TO if_wd_context_node_info.
      lr_node = wd_context->get_child_node( 'DOC_MEASURE' ).
      lr_nodeinfo = lr_node->get_node_info( ).
      lr_nodeinfo->set_attribute_value_set(
      EXPORTING
        name = 'VALEUR_DIFF'
        value_set = lt_valueset
    Thanks.
    Matías.

    Hi,
    In your code, you are trying to do set_attribute_value_set twice. If you read your code carefully, you are setting the values once using lt_value_set where you have correctly filled the values. But after this, you are again trying using lt_valueset without filling any values. This is why your previous value-list gets overwritten and you see nothing in the dropdown. Remove the following lines in your code and it will work fine.
    DATA: lt_valueset TYPE TABLE OF wdr_context_attr_value,
    ls_valueset TYPE wdr_context_attr_value,
    lr_node TYPE REF TO if_wd_context_node,
    lr_nodeinfo TYPE REF TO if_wd_context_node_info.
    lr_node = wd_context->get_child_node( 'DOC_MEASURE' ).
    lr_nodeinfo = lr_node->get_node_info( ).
    lr_nodeinfo->set_attribute_value_set(
    EXPORTING
    name = 'VALEUR_DIFF'
    value_set = lt_valueset
    Please get back if you are facing any more issues.
    Regards,
    Nithya

  • Unable to Load data in Planning

    Hi,
    I am receiving this error when ever i am trying to load data.
    Launch error message:
    "An error occurred while running the specified calc script. Check the log for details."
    and some times
    "You will be unable to update data when essbase in archive mode"
    But i have checked the essbase, no "Back up process" is running.
    Can Anyone advice me what's the issue..i am restarting the server everytime to fix the issue but not sure how i need to rectify it with out restarting the server.
    Regards
    Saravanakumar.Vijay

    I take it you are running a script that loads data and then executes a rule/calc
    "An error occurred while running the specified calc script. Check the log for details."
    This refers to a calc/rule that has been run
    "You will be unable to update data when essbase in archive mode"
    This means that the database is still in archive mode, you can use Maxl to take it out of archive mode.
    e.g. Alter database app.db end archive;
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Unable to save data in record working time

    Hi All,
    I am working on ESS portal , when I try to record & save working time in portal , it throw an error message as 'Unable to save data'.
    Can you plz assist me on this.
    Usefull answers will be awarded.
    Thanks,
    Nilima

    Hi ALL,
    I'm too facing the same problem....usefull answers will be awarded.

Maybe you are looking for

  • How to Update multiple items in other list using event handler?

    Hi All, If i update a item in a list, then i should update multiple items in another list need to be update. How to achive using event receivers?

  • Script access for loaded SWFs in Flash CS3

    In ActionScript 2 I would do the following: var loader:MovieClipLoader=new MovieClipLoader(); var listener:Object=new Object(); loader.addListener(listener); listener.onLoadInit=function(m:MovieClip) { m.something="12345"; loader.loadClip("foo.swf",p

  • How to view changes in PO?

    Hi Gurus, Please let me know, how to view changes or amendments in PO? Please revert asap. Thank You

  • Showing my own styleClass in Property inspector styleClass combo

    I have created my own styleSheets with my own new class and I'd like to select it in the styleClass combo into Property inspector. Is there any way of achieving it? Thanks Carlos

  • Error Opening PDF on Citrix Server

    I have version 8.1.2 Acrobat Reader. I have same version installed on 4 Citrix servers. I opened a PDF on 2 of the 4 severs and get a file could not be opened, file might be corrupted or the file or email may have not decode properly. The same file w