CF11 - CFGRID & CFSELECT binding issue

We just upgraded to CF11 and one of our apps had pieces stop functioning. We have figured out most of it, however one of our cfgrids is having issues. When the page is loaded the cfgrid hits the CFC that is specified in the bind settings (passes in the default employee ID of 0 and returns no data). When we select an employee name from the dropdown menu, we receive a 400 error saying the page can't be found. When the select is changed, it looks like it reverts to the root path instead of the cfc specific in the bind argument. Does anyone have any idea on the direction we should go to fix this? The exact same code works on CF8... but is completely broken on CF11.
Thanks for your help.

BKBK Sorry for the confusion... we set an array for the arguments, below is the full block of code.
<cfform id="evaluation" name="evaluation">
<div style="height:30px; margin-top:10px;">
<div style=" margin-right:10px; float:left;">
<cfselect name="employee" query="EmployeeList" value="affiliateID" display="empName" queryPosition="below">
<option value="0" selected="selected">--- Select an employee ---</option>
</cfselect>
</div>
</div>
    <cfset args = structNew()>
<cfset args.name = "ExistingEvals">
<cfset args.format = "html">
<cfset args.bindOnLoad = "true">
<cfset args.bind = "cfc:empEval.getCompletedEvals({cfgridpage},{cfgridpagesize},{cfgridsortcolumn},{cfgridso rtdirection},{employee})">
<cfset args.stripeRows = true>
<cfset args.selectColor = "##D9E8FB">
<cfset args.selectmode = "row">
<cfset args.selectOnLoad = "false">
<cfset args.autowidth = "no">
<cfset args.width = "335px">
    <cfset args.pageSize = "6">
<cfset args.height = "200px">
<div style=" margin-top:5px;">
<cfgrid name="employeeEvals" attributeCollection="#args#">
<cfgridcolumn name="empAffiliateID" display="no">
<cfgridcolumn name="FY" display="no">
<cfgridcolumn name="evaluationID" display="no">
<cfgridcolumn name="typeID" header="Eval Type" display="yes" width="75">
<cfgridcolumn name="FY" header="Fiscal Year" display="yes" width="90">
<cfgridcolumn name="Status" header="Status" display="yes" width="125">
<!---<cfgridcolumn name="Date" header="Date" display="yes">--->
</cfgrid>

Similar Messages

  • CF11 cfgrid with binding.

    CF11 cfgrid with binding not work like with CF10.  Example
    bind="cfc:focasaDBAccess.getInfo({cfgridpage},
    {cfgridpagesize},
    {cfgridsortcolumn},
    {cfgridsortdirection},
    {internet},{agentur})">
    This dont work. Only with one additional arguments. Either "internet" or "agentur". With CF10 this work with much more additional arguments.
    Thanks
    Detlef
    how does cf11 cfgrid binding works with additional arguments
    at least eight or more.
    Thanks for support
    Detlef

    I have verified what you observed. You should report it as a ColdFusion 11 bug.

  • Cfwindow cfselect binding issue

    In my CFWindow I have a couple of dependent dropdowns that is built by cfselect bind operation. The CFwindow opens using a Javascript on click of a link. In my parent window I have several links each opens the same cfwindow (same codebase) and I put diffrent window name while poping up the window to avoid caching issue. Now when I open the first cfwindow all cfselect drop downs and binding works fine. Then I close that cfwindow using the [X] button in the cfwindow and again opens another cfwindow (same code base) the cfselect binding doesn't work. It work only when I refresh the parent window and then click on to open another cfwindow it works fine. Apreciate your help

    The problem is the windows have different names.  I had a similar issue on a page I had that called two different CFWindows on the same parent page.  Both had different names, and both used the onclick to call a JS function(two different JS functions), that used ColdFusion.Windows.Create.  Even though I set destroyOnClose = true and had code to close and destroy the windows, for some reason it was causing issues on the binds.  Everything but the binds worked. The page has three different edit windows on it and only the two that have binding broke.   I am using CF 9.  For this fix to work you need to know the name of the window.  However, by using this method, you most likely would not have to use dynamic window names, because the window will be destroy on the onclick.  For your example I would just use the same window name.  Then put the try catch code below at the top of the function.  But if you have different window names opening on the same parent page, it's best to give each one a try catch of it's own.  I hope this makes sense.
    This might help:  http://www.coldfusionjedi.com/index.cfm/2008/9/26/Ask-a-Jedi-Another-CFWINDOW-Example
    In my Javascript I have these lines at the beginning
              try { ColdFusion.Window.destroy('WindowName1',true); }
                   catch(e){}
             try { ColdFusion.Window.destroy('WindowName2',true); }
                   catch(e){}
             Then i have the code to create my window.  I put this line of code in both Javascript functions.

  • Attachment binding issue in workflow

    Hi All,
    I have used FM 'SAP_WAPI_ATTACHMENT_ADD ' in method of my workflow. Here after executing this FM i m getting id of the attachment for this workitem. But now i need to assign this to  '_Attach_Objects' of workflow container. so please help me for this binding issue. which i need to bind from method to> task to> workflow. so from next step onwards in workflow i will get that attachment.
    Smit Shah

    Hi,
    1) In the T.code SWO1, you have to create a custom method for the BO, there execute that method and check whether it working fine
    2) Then goto  T.code PFTC and Create a Task (Task no. will generate automatically), then call this method and generate the binding
    3) Goto  T.code SWDD and call that Task by assigning that Task no. and assign the binding
    Then test your workflow.
    For the Binding see this [link|http://help.sap.com/saphelp_nw04/helpdata/en/c8/bfc39b0fc57a49a0291378f8be0cd6/frameset.htm].
    Regards,
    Surjith

  • Cfgrid and binding to a webservice on another server

    i want to use cfgrid to bind to a CF webservice on another server via http. Is this possible and if so, what is the proper code? Ive already tried
    bind="http://notthesameserver.com/webservices/service.cfc"
    Any help would be greatly appreciated.
    GK

    nvm, i figured it out. sample below...
    bind="url:http://www.someurl.com/someserver/soemfunction()"
    thanks gk

  • A data-binding issue with a combo box.

    Hi,
    Iu2019m having a data-binding issue with a combo box.  The field it is bound to is an integer.  The valid values in the combo box are 1, 2, and 3.  If I add a record when it is set to 1 or 2, the value gets stored correctly.  If I add a record when it is set to 3, it is stored as 1.  However, I can bring up the record just added on the form, change it to 3, and click u201CUpdateu201D and it is saved correctly as 3.  If I change it so that the valid values are 4, 5, and 6, it saves a 1 regardless of what is selected in the combo box.  It looks like the combo box is correctly bound for updates but not for adds.  The table is a master type UDO.  Any ideas?  Iu2019m somewhat committed to the field being an integer.  I'm using 2007A PL47.
    Thanks,
    Mike
    Edited by: Mike Angelastro on Jul 1, 2009 2:43 PM

    I tried a few things on my own.  The result is that I decided that it was not a good idea to use a combo box bound to an integer (numeric) field.  I donu2019t think the SDK can handle it.  The reason it was an integer field in the first place is that before I changed it to a combo box it was a group of two option buttons.  Option buttons use an integer (numeric) field.  This worked just fine until I added a third option; the SDK didnu2019t handle the third option correctly when adding records.  I thought that using a combo box instead would fix that.  I was wrong; the problem remained.  So I decided to use a character (alphanumeric) field instead.  This works just fine.
    So here is my advice:  Never use option buttons if they need to be bound to the database; a combo box will actually work better when bound to the database.  But use a character (alphanumeric) field.
    Edited by: Mike Angelastro on Jul 5, 2009 9:15 PM

  • [svn:cairngorm3:] 17187: Fixed binding issue on the source property of the contact's picture

    Revision: 17187
    Revision: 17187
    Author:   [email protected]
    Date:     2010-08-04 13:44:35 -0700 (Wed, 04 Aug 2010)
    Log Message:
    Fixed binding issue on the source property of the contact's picture
    Modified Paths:
        cairngorm3/trunk/samples/insync/insync-modularExtended-contacts/src/insync/contacts/prese ntation/ContactForm.mxml

    Revision: 17187
    Revision: 17187
    Author:   [email protected]
    Date:     2010-08-04 13:44:35 -0700 (Wed, 04 Aug 2010)
    Log Message:
    Fixed binding issue on the source property of the contact's picture
    Modified Paths:
        cairngorm3/trunk/samples/insync/insync-modularExtended-contacts/src/insync/contacts/prese ntation/ContactForm.mxml

  • [svn:cairngorm3:] 17186: Fixed binding issue on the source property of the contact's picture

    Revision: 17186
    Revision: 17186
    Author:   [email protected]
    Date:     2010-08-04 13:43:41 -0700 (Wed, 04 Aug 2010)
    Log Message:
    Fixed binding issue on the source property of the contact's picture
    Modified Paths:
        cairngorm3/trunk/samples/insync/insync-basic/src/insync/presentation/ContactForm.mxml

    Revision: 17186
    Revision: 17186
    Author:   [email protected]
    Date:     2010-08-04 13:43:41 -0700 (Wed, 04 Aug 2010)
    Log Message:
    Fixed binding issue on the source property of the contact's picture
    Modified Paths:
        cairngorm3/trunk/samples/insync/insync-basic/src/insync/presentation/ContactForm.mxml

  • CFGRID with bind to CFC for an incorrect JAVAScript

    Hi,
    I am using CF11 with SQL server 2012 & IIS8.0 on windows server 2012.
    When I am using a CFGRID bind to a CFC and passing 2 or more than 2 parameters from a FORM, it fails for an incorrect JavaScript.
    Using the below code:
    <cfgrid attributeCollection="#args#"
    bind="cfc:MaintenanceMenuComponent.getLookUpData({cfgridpage},{cfgridpagesize},{cfgridsortcolum n},{cfgridsortdirection},{appl},{search})"
           onchange="cfc:MaintenanceMenuComponent.editLookUpData({cfgridaction},{cfgridrow},{cfgridchanged})"
           onerror="errorHandler" bindOnLoad="true">
    Getting Result:
    JavaScript Error for:
    SyntaxError: missing ; before statement
    ...id'] = 'applid,appl,,value;'search,search,,value';var _cf_gridDataModel = Ext.cr...
    I have checked the Adobe blog and found that this type of bug (Bug ID# 3759630) is already reported and fixed in ColdFusion 11 Update 1 (Suggested by Anit Kumar Panda Ref: https://bugbase.adobe.com/index.cfm?event=bug&id=3759630).
    I have sent update request to '[email protected]' but did not receive any update from them yet.
    As this update is still not available on Adobe site, can anyone send me that link of the update or let me know if there any workarounds.
    Thanks in advance

    MAHI,
    The issue exists and is fixed. The fix would be made available in a future udpate. The error you are reporting seems different, though.
    The bind attribute appears to have a typo. Shouldn't "{cfgridsortcolum n}" just be "{cfgridsortcolum}", or is that intended?
    The email address that you wrote to for the fix seems correct. Can you pls. resend the request.

  • Anyone using cfselect bind for 3 related fields?

    I have a form that a user needs to select the office from
    which will then populate the activity fields in the next drop down
    box and then he will pick the activity which would select the
    various dates that activity is run on. He would then pick from the
    date in the third box and submit. Unfortunatly, I'm only able to
    get 2 of the cfselect tags to bind correctly. Or if I could display
    two items in one box that would be a good workaround but that fails
    also. I've looked all over the livedocs and forums and haven't
    found using 3 or more. The error I get when I run the code with 3
    on the page is "Error invoking CFC /cmpts.cfc: Error executing
    database query." and also "Error invoking CFC/cmpts.cfc: The org_ID
    argument passed to the getCategoryArg function is not of type
    numeric." -It is numeric but I tried changing it anyway to "array",
    and "any" but then the error message reads "not of type array". If
    I comment out the last one it runs fine or if I comment out the
    first one (I'm removing the arguments passed in the cmpts.cfc code
    as well) and this runs fine. Below is my code. (Oh and even though
    the return value is data for all three in the cfc- using the same
    name works for 2 and I copied this straight from the livedocs so I
    didn't think that was the issue)
    Any suggestions? Thanks, Wendy
    <cfform name="test" method="POST"
    action="dumptest.cfm">
    <cfselect name="officeId"
    bind="cfc:cmpts.getOffices()"
    display="shortname"
    value="org_id"
    bindonload="true" />
    <!---based on the office select the activity --->
    <cfselect name="Activity"
    bind="cfc:cmpts.getCategoryArg({officeId})"
    display="title"
    value="id"
    />
    <!--- based on activity select the date --->
    <cfselect name="date"
    bind="cfc:cmpts.getdate({Activity})"
    display="date"
    value="date" />
    <input type="Submit" value="Submit">
    </cfform>
    <!--- cmpts.cfc below
    ------------------------------------------>
    <cfcomponent>
    <cffunction name="getOffices" access="remote"
    returntype="query" hint="Get's the Officename and id">
    <cfset var data="">
    <cfquery datasource="dsn1" name="data">
    select org_id,shortname
    from all_offices
    Where org_id <> ''
    order by shortname
    </cfquery>
    <cfreturn data>
    </cffunction>
    <cffunction name="getCategoryArg" access="remote"
    returntype="query" hint="Get's the category titles">
    <cfargument name="org_id" type="numeric"
    required="Yes">
    <cfset var data="">
    <cfquery datasource="dsn" name="data">
    Select a.id,a.title,b.org_id,convert(varchar,b.date,101) AS
    date
    from km_activities a,km_work b
    Where b.org_id= '#trim(ARGUMENTS.org_id)#'
    and a.id =b.act_id
    Order by a.id
    </cfquery>
    <cfreturn data>
    </cffunction>
    <cffunction name="getdate" access="remote"
    returntype="query" hint="Get date of activities to update">
    <cfargument name="id" type="any" required="Yes">
    <cfset var data="">
    <cfquery datasource="dsn" name="data">
    Select convert(varchar,date,101) AS date,office_id,act_id
    from km_work
    Where act_id = '#trim(ARGUMENTS.id)#'
    Order by date
    </cfquery>
    <cfreturn data>
    </cffunction>
    </cfcomponent>

    Hello
    This file is created when a folder or project is downloaded from the Dimensions Server using JDeveloper. If you create a dimensions connection and then using the versioning navigator (View -> Team -> Version Navigator) open the connection and navigate to the folder you want to work on. Select the folder and use the context menu "Download" to download the folder.
    Dave

  • SQL query / binding issues on my web page

    This may or maynot be the place to ask, but maybe someone can
    tell me what
    to look at...
    I created a page some time back.. and its displays a few
    fields of data
    based on the id passed to it..
    This works fine, but now that we are trying to improve the
    site a little,
    they want some additonal information displayed
    on the page.. so those changes were made about 2 weeks ago...
    now that some
    of the newer records contain the data
    they want displayed, some data is not displaying.. or it will
    display and
    other fields ( that were displaying before ) are now
    missing.. the web page hasnt been touched in 2 weeks.. if we
    execute the
    store procedure within SQL and within our web program
    it always returns the correct data.. but the fields that i
    have binded to
    the page are taking on a life of there own...
    Not sure if anyone has had this problem, but its getting
    annoying.. when i
    execute this within SQL it returns all the values requested.
    If i execute it
    within dreamweaver to show me what results i will get back it
    works there..
    but after i bind the fields to my page and view it only some
    or all my
    fields do not display any data... but if i play around with
    the order of my
    select statement below i can get some fields to display and
    other
    disappear... and i dont ever touch my webpage again...
    Can anyone shed some light on this issue? Or is there a
    better way to
    display my results so that what i get back with my query will
    always
    display....
    here is my stored procedure that im calling
    SET NOCOUNT ON;
    SELECT
    c.cfname,c.clname,c.cid,h.termcode,h.hiredate,h.lastdate,h.cdateh,
    h.cdatet,h.startdate,h.managername,h.termby,
    availsun1,availsun2,availmon1,availmon2,availtue1,availtue2,
    availwed1,availwed2,availthur1,availthur2,availfri1,availfri2,
    availsat1,availsat2,h.comby,ssn_dash = dbo.SSN_dash(cssn),
    Home = dbo.PhoneNumber_complete_format(chphone),
    Mobile = dbo.PhoneNumber_complete_format(cmphone),
    Other = dbo.PhoneNumber_complete_format(cophone),
    Jobtitle =
    case
    when c.st = '90' then
    (select top 1 j.jobtitle from has.dbo.JobCodes j where j.hjob
    = h.jobid and
    j.hlocation = 'DC')
    else
    (select top 1 j.jobtitle from has.dbo.JobCodes j where j.hjob
    = h.jobid and
    j.hlocation <> 'DC')
    end,
    (Select T.term_reason
    From has.dbo.termcodes T, has_arc.dbo.EmpTermHistory H
    where T.term_val = H.termcode and h.cid = @cid) as
    TermReason,
    Days = @day,
    Months = @month,
    Years = @year
    FROM has_arc.dbo.EmpCandidate C, has_arc.dbo.EmpTermHistory H
    WHERE C.cid = @cid AND C.cid = H.cid
    END
    ASP, SQL2005, DW8 VBScript

    And when it says read the columns left to right... i would
    imagine that
    means my select statement should select the columns in the
    order of which
    they are in the tables?
    so in my case.. if HomePhone is last column in my table it
    should be the
    last in the select statement?
    ASP, SQL2005, DW8 VBScript
    "Daniel" <[email protected]> wrote in message
    news:[email protected]...
    > Now when you say TEXT type.. your refering to the data
    types i have setup
    > in the database? correct
    >
    > Within the database the fields that im querying are
    pretty much all
    > varchar a few are date and one int
    >
    >
    >
    >
    > --
    > ASP, SQL2005, DW8 VBScript
    > "Joris van Lier" <[email protected]> wrote in
    message
    > news:[email protected]...
    >>
    >>
    >> "Daniel" <[email protected]> wrote in message
    >> news:[email protected]...
    >>> This may or maynot be the place to ask, but
    maybe someone can tell me
    >>> what
    >>> to look at...
    >>>
    >>> I created a page some time back.. and its
    displays a few fields of data
    >>> based on the id passed to it..
    >>> This works fine, but now that we are trying to
    improve the site a
    >>> little,
    >>> they want some additonal information displayed
    >>> on the page.. so those changes were made about 2
    weeks ago... now that
    >>> some
    >>> of the newer records contain the data
    >>> they want displayed, some data is not
    displaying.. or it will display
    >>> and
    >>> other fields ( that were displaying before ) are
    now
    >>> missing.. the web page hasnt been touched in 2
    weeks.. if we execute the
    >>> store procedure within SQL and within our web
    program
    >>> it always returns the correct data.. but the
    fields that i have binded
    >>> to
    >>> the page are taking on a life of there own...
    >>>
    >>> Not sure if anyone has had this problem, but its
    getting annoying.. when
    >>> i
    >>> execute this within SQL it returns all the
    values requested. If i
    >>> execute it
    >>> within dreamweaver to show me what results i
    will get back it works
    >>> there..
    >>> but after i bind the fields to my page and view
    it only some or all my
    >>> fields do not display any data... but if i play
    around with the order of
    >>> my
    >>> select statement below i can get some fields to
    display and other
    >>> disappear... and i dont ever touch my webpage
    again...
    >>>
    >>> Can anyone shed some light on this issue? Or is
    there a better way to
    >>> display my results so that what i get back with
    my query will always
    >>> display....
    >>>
    >>> here is my stored procedure that im calling
    >>> SET NOCOUNT ON;
    >>> SELECT
    >>>
    c.cfname,c.clname,c.cid,h.termcode,h.hiredate,h.lastdate,h.cdateh,
    >>> h.cdatet,h.startdate,h.managername,h.termby,
    >>>
    availsun1,availsun2,availmon1,availmon2,availtue1,availtue2,
    >>>
    availwed1,availwed2,availthur1,availthur2,availfri1,availfri2,
    >>> availsat1,availsat2,h.comby,ssn_dash =
    dbo.SSN_dash(cssn),
    >>> Home = dbo.PhoneNumber_complete_format(chphone),
    >>> Mobile =
    dbo.PhoneNumber_complete_format(cmphone),
    >>> Other =
    dbo.PhoneNumber_complete_format(cophone),
    >>> Jobtitle =
    >>> case
    >>> when c.st = '90' then
    >>> (select top 1 j.jobtitle from has.dbo.JobCodes j
    where j.hjob = h.jobid
    >>> and
    >>> j.hlocation = 'DC')
    >>> else
    >>> (select top 1 j.jobtitle from has.dbo.JobCodes j
    where j.hjob = h.jobid
    >>> and
    >>> j.hlocation <> 'DC')
    >>> end,
    >>> (Select T.term_reason
    >>> From has.dbo.termcodes T,
    has_arc.dbo.EmpTermHistory H
    >>> where T.term_val = H.termcode and h.cid = @cid)
    as TermReason,
    >>> Days = @day,
    >>> Months = @month,
    >>> Years = @year
    >>>
    >>> FROM has_arc.dbo.EmpCandidate C,
    has_arc.dbo.EmpTermHistory H
    >>> WHERE C.cid = @cid AND C.cid = H.cid
    >>> END
    >>>
    >>>
    >>> --
    >>> ASP, SQL2005, DW8 VBScript
    >>
    >>
    >> Are any of these fields by chance of TEXT type (or
    other Binary Large
    >> OBject type)?
    >> In this case there are certain limitations the text
    fields must be the
    >> last in your SQL statement and may only
    >> be retrieved ONCE reliably.
    >>
    >> <%
    >> Dim myTextVar
    >> myTextVar = Recordset.Fields.Item("TEXTFIELD").value
    >> %>
    >> <% If NOT IsNull(myTextVar) Then%>
    >> <%=(Replace(myTextVar, chr(13),
    "<BR>"))%>
    >> <% End If ' NOT IsNull(myTextVar) %>
    >>
    >> Here's an excerpt from the Microsoft Site
    >>
    >> When dealing with BLOB fields from Microsoft SQL
    Server, you must put
    >> them
    >> to the right of non-BLOB columns in the resultset.
    To be safe, you should
    >> also read the columns in left-to-right order, so if
    you have two BLOB
    >> columns as the last two columns in your resultset,
    read the first one and
    >> then the second. Do not read them in the reverse
    order.
    >> MS:
    http://support.microsoft.com/support/kb/articles/q175/2/39.asp
    >>
    >> Joris van Lier
    >
    >

  • SQL query / binding issues within dreamweaver

    Not sure if anyone has had this problem, but its getting
    annoying.. when i
    execute this within SQL it returns all the values requested.
    If i execute it
    within dreamweaver to show me what results i will get back it
    works there..
    but after i bind the fields to my page and view it only some
    or all my
    fields do not display any data... but if i play around with
    the order of my
    select statement below i can get some fields to display and
    other
    disappear... and i dont ever touch my webpage again...
    Can anyone shed some light on this issue? Or is there a
    better way to
    display my results so that what i get back with my query will
    always
    display....
    here is my stored procedure that im calling
    SET NOCOUNT ON;
    SELECT
    c.cfname,c.clname,c.cid,h.termcode,h.hiredate,h.lastdate,h.cdateh,
    h.cdatet,h.startdate,h.managername,h.termby,
    availsun1,availsun2,availmon1,availmon2,availtue1,availtue2,
    availwed1,availwed2,availthur1,availthur2,availfri1,availfri2,
    availsat1,availsat2,h.comby,ssn_dash = dbo.SSN_dash(cssn),
    Home = dbo.PhoneNumber_complete_format(chphone),
    Mobile = dbo.PhoneNumber_complete_format(cmphone),
    Other = dbo.PhoneNumber_complete_format(cophone),
    Jobtitle =
    case
    when c.st = '90' then
    (select top 1 j.jobtitle from has.dbo.JobCodes j where j.hjob
    = h.jobid and
    j.hlocation = 'DC')
    else
    (select top 1 j.jobtitle from has.dbo.JobCodes j where j.hjob
    = h.jobid and
    j.hlocation <> 'DC')
    end,
    (Select T.term_reason
    From has.dbo.termcodes T, has_arc.dbo.EmpTermHistory H
    where T.term_val = H.termcode and h.cid = @cid) as
    TermReason,
    Days = @day,
    Months = @month,
    Years = @year
    FROM has_arc.dbo.EmpCandidate C, has_arc.dbo.EmpTermHistory H
    WHERE C.cid = @cid AND C.cid = H.cid
    END
    ASP, SQL2005, DW8 VBScript

    Can anyone help shed some light on this?
    ASP, SQL2005, DW8 VBScript
    "Daniel" <[email protected]> wrote in message
    news:ff3ud8$10k$[email protected]..
    > Not sure if anyone has had this problem, but its getting
    annoying.. when i
    > execute this within SQL it returns all the values
    requested. If i execute
    > it within dreamweaver to show me what results i will get
    back it works
    > there.. but after i bind the fields to my page and view
    it only some or
    > all my fields do not display any data... but if i play
    around with the
    > order of my select statement below i can get some fields
    to display and
    > other disappear... and i dont ever touch my webpage
    again...
    >
    > Can anyone shed some light on this issue? Or is there a
    better way to
    > display my results so that what i get back with my query
    will always
    > display....
    >
    > here is my stored procedure that im calling
    > SET NOCOUNT ON;
    > SELECT
    >
    c.cfname,c.clname,c.cid,h.termcode,h.hiredate,h.lastdate,h.cdateh,
    > h.cdatet,h.startdate,h.managername,h.termby,
    >
    availsun1,availsun2,availmon1,availmon2,availtue1,availtue2,
    >
    availwed1,availwed2,availthur1,availthur2,availfri1,availfri2,
    > availsat1,availsat2,h.comby,ssn_dash =
    dbo.SSN_dash(cssn),
    > Home = dbo.PhoneNumber_complete_format(chphone),
    > Mobile = dbo.PhoneNumber_complete_format(cmphone),
    > Other = dbo.PhoneNumber_complete_format(cophone),
    > Jobtitle =
    > case
    > when c.st = '90' then
    > (select top 1 j.jobtitle from has.dbo.JobCodes j where
    j.hjob = h.jobid
    > and j.hlocation = 'DC')
    > else
    > (select top 1 j.jobtitle from has.dbo.JobCodes j where
    j.hjob = h.jobid
    > and j.hlocation <> 'DC')
    > end,
    > (Select T.term_reason
    > From has.dbo.termcodes T, has_arc.dbo.EmpTermHistory H
    > where T.term_val = H.termcode and h.cid = @cid) as
    TermReason,
    > Days = @day,
    > Months = @month,
    > Years = @year
    >
    > FROM has_arc.dbo.EmpCandidate C,
    has_arc.dbo.EmpTermHistory H
    > WHERE C.cid = @cid AND C.cid = H.cid
    > END
    >
    >
    > --
    > ASP, SQL2005, DW8 VBScript
    >

  • XML JAXB Binding issue

    Hi All
    Im using Webservices in which i need to Bind my XML to Java objects and reverse. Im trying to use JAXB (1.0) Ref Imp from SUN as binding framework. The problem which im facing is that for elements like:
    <xs:element name="inputRequests">
    <xs:complexType>
    <xs:sequence>
    <xs:element maxOccurs="unbounded" name="inputData" type="data" />
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    JAXB genetrates:
    1. InputRequest - Interface
    2. InputRequestImpl - Class
    3. InputRequestType - Interface
    4. InputRequestTypeImpl - Class
    in InputRequestType it has generated a getter method
    public java.util.List getInputData();
    but no setter method for 'inputData'.
    Can any one help on that how we can set a sequence element in JAXB classes. I even used JAXB 2.0, but faced same issue...
    No Setter for a LIST :-(((

    That method, getInputData() is returning a reference to a List Object that is already instantiated. Once you retrieve the reference, you can invoke all the methods in the List interface, but if there is a way to reassign the reference to refer to a different list, I'm not aware of one.
    I believe that limitation is necessary my the nature of JAXB. A JAXB Object, in your case a List, is guaranteed to be marshaled and unmarshaled to XML, if you redefine the reference to some arbitrary List, how could JAXB guarantee its functionality?
    I may be way off base here, I'm no JAXB expert by any means.
    Rather than redefining the reference to a different List, you have to manipulate the List
    ...getInputData().clear();
    ...getInputData().addAll(myRequestList);Right?

  • Binding issue in 12.1.2?

    Our application is running on 11.1.2.4 just fine.
    I migrated it over to 12.1.2 yesterday and I noticed that when I was executing dynamic SQL to build out my VO that when it goes to set up the binding it throws an exception:
    ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RENDER_RESPONSE 6
         javax.el.ELException: java.lang.NullPointerException
    at javax.el.BeanELResolver.getValue(BeanELResolver.java:310)
    at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:176)
    at      com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:203)
    at com.sun.el.parser.AstValue.getValue(AstValue.java:138)
    at com.sun.el.parser.AstValue.getValue(AstValue.java:183)
    at      com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:224)
    at org.apache.myfaces.trinidad.bean.FacesBeanImpl.getProperty(FacesBeanImpl.java:73)
    at
    Here is the code that doesn't work:
    <pre jivemacrouid="_13764864521421785" ___default_attr="plain" jivemacro="code" class="jive_text_macro jive_macro_code jivemacrouid_13764864521421785">
    <af:table value="#{bindings.DynamicSOVO1.collectionModel}" var="row"
                              rows="#{bindings.DynamicSOVO1.rangeSize}" summary="xxx"
                              emptyText="#{bindings.DynamicSOVO1.viewable ? 'No data to display.' : 'Access Denied.'}"
                              fetchSize="#{bindings.DynamicSOVO1.rangeSize}" rowBandingInterval="0"
                              filterModel="#{bindings.DynamicSOVO1Query.queryDescriptor}"
                              queryListener="#{bindings.DynamicSOVO1Query.processQuery}" filterVisible="true" varStatus="vs"
                              selectedRowKeys="#{bindings.DynamicSOVO1.collectionModel.selectedRow}"
                              selectionListener="#{bindings.DynamicSOVO1.collectionModel.makeCurrent}" rowSelection="single"
                              id="t1" autoHeightRows="5" styleClass="AFStretchWidth"
                              rendered="true" columnStretching="column:c6" width="900px"                         
                              binding="#{pageFlowScope.SOSearchBean.soTable}"
                              partialTriggers="::cbSOSearch">
                        <af:column sortProperty="#{bindings.DynamicSOVO1.hints.ORDER_NUMBER.name}" filterable="true" rowHeader="unstyled"
                                   sortable="true" headerText="Order #" id="c1" width="60">
                            <af:outputText value="#{row.ORDER_NUMBER}" id="ot12"/>
                        </af:column>
    When I have the <af:column> without the binding to the DynamicSOVO1 it works fine and displays correctly. When I bind it then it throws the error

    I resolved the issue. I guess it just need to be binded again.

  • Container binding issue

    Hi All,
       I have modified a SAP workflow and seem to have problems ppassing sata between steps, The first step I use object CA_WRTOFF method Write-off. This completes a write off. After this step variable DOCUMENTNUMBER is filled with the created document number.
    In the next step I want to display the document, I use object CA_DOC method display. The main parameter it neeeds is document number. I try to use the generate binding. It will pass &CA_DOC& to &_WI_OBJECT_ID&. from workflow to step, both these objects contain document number.
    However when I look in SWEL at the display document step &_WI_OBJECT_ID&. says no instaance under value? How can I populate this value. I try to manually add document number to the binding but am told I cannot use &_WI_OBJECT_ID&.  as a target. I have CA_DOC set as inport and export. Any idea's?? I am on a 4.6 system
    Thanks

    Hi First of all thanks for your patience,
       Second I seem to have passed the document number but it still is not actually passing to the document number field in trans FPE3 (I mentiooned FP08 in error before, that is ultimately my goal which I will clarify)
    Ok here is what I am trying to accomplish
    The original SAP wrtoff workflow CA_WRTOFF activates with event FP04 create writeoff, my company does not like the fact that when it goes to an approver the writeoff is held in limbo. This allows others access to the write off amount. So they have asked me to restructure the workflow.
    The event link as above is CA_WRTOFF with event trigger approval required as above, the first thing I do in the workflow is complete the writeoff with object CA_WRTOFF method writeoff. I then send a user decision to the approver asking if he wants to display document, accept write-off, reverse write-off. I use CAA_DOC display for the display as CA_WRTOFF does not have document number associated with it.
    In the last few moments I changed my binding in the display to coyp all elements except system, this has passed the document number to the display container. When the approver clicks on the display item it brings him to transaction FPE3 but does not populate the document number in FPE3. So the real issue is to have the display method take the approver to FPE3 and fill in the document number so all the approver has to do is hit enter.
    Again thanks for your time and patience, Much appreciated. I am an ABAPPER but quite new to work flows.
    George

Maybe you are looking for