CFGRID Binding Not Working in CF9

I'm having trouble with a CFGRID that works fine in CF8, but when trying to run it on CF9 I get no results and it's like the grid is loading forever. I did have to remove the cfajaximport I was using to get it to load at all, which is does now with the columns and the rest of the grid, but no rows. It's bound to a CFC and I know it works - this is happening to ALL my grids in CF9 now.
Here's what I've checked:
- CFIDE folder is mapped
- CFC is loaded
- firebug shows a ton of CSS errors from ext-all.css, but the GET request comes back with: {"QUERY":{"COLUMNS":["ID","PAGE","PAGETITLE","SECTION","EDITLINK"],"DATA":[[75,"\/about\/ index.cfm","About the Corporation","About",,"TOTALROWCOUNT":7}
No rows in the grid though. 
Grid Code:
                    <cfgrid name="contentGrid" format="html" pagesize="25" selectmode="row" striperowcolor="F0F0F0" striperows="yes" selectcolor="##666666"
                        bind="cfc:assets.cfc.common.getPagesGrid({cfgridpage},{cfgridpagesize},{cfgridsortcolumn}, {cfgridsortdirection})">
                        <cfgridcolumn name="ID" header="ID" width="50">
                        <cfgridcolumn name="section" header="Section" width="300">
                        <cfgridcolumn name="pageTitle" header="Page Title" width="300">
                        <cfgridcolumn name="editLink" header="" width="50">
                        </cfgrid>
Thanks for any help you can provide!

Yeah, I finally dumped the SQL value of the query that was being run in the bind and realized that the CF9 MySQL driver hates it when you try to CONCAT a text value and a numeric value, so the query wasn't working.  Using CAST in the query solved the query and then the grid started working again.

Similar Messages

  • Binding not working when returning to same page

    Hi, Im developing a portlet that access some data from MYSQL.
    I have a simple page with several textfields, all with bindings to a javabean object that is a property of SessionBean1 bean, so it is a Session Scope bean.
    In that page I put some buttons like next, prior, etc. to navigate between all registers of my DB. I added some code to event button like this:
    public String bnext_action() {
    // get sessionbean
    SessionBean1 SBean1 = (SessionBean1)getBean("SessionBean1");
    // navigate to next register in database
    // ProdBean is my property bean that get values from database
    // bindings are like this : text="#{SessionBean1.prodBean.codigo}
    SBean1.getProdBean().GetNextReg(SBean1.getModuloIdx());
    // set current register index
    SBean1.setModuloIdx(SBean1.getProdBean().getIndex());
    return null;
    The problem is that when I get next register of database, bindings are not reflecting new values, always holding first values. I tried to force things by setting values in pre-rendering face manually with setText method of textfields but nothing happens.
    As Im a newbie in Java yet I really don't undestand this, I have readed all JSF life cycle documention and portlet life cycle docs but couldn't find an answer. Why binding is not working?

    Thanks for this.  Unfortunately now I have tried with Standard actions the links do not work at all.  The links provided were created with spaces so contained within the links are lots of '%20'. e.g. :
    PCI%20DSS/UWE%20PCI-DSS%20Quick%20Reference%20guide.pdf
    for some reason when creating the links with standard actions, when the project is published the links have changed to contain 25s  e.g.
    PCI%2520DSS/UWE%2520PCI-DSS%2520Quick%2520Reference%2520guide.pdf
    no idea why this is happening.

  • CFGRID does not show data (CF9.0)

    Under development server, CFGRID show data , all is fine , correct. (CF9.0  version dev)
    Under production server , CFGRID does not show data, only a grey line (like a HR).
    How to debug this ?
    Thanks,

    Kindly check below to troubleshoot this issue:-
    Is there any difference between your CF production & developement server setting summary?
    Is there any browser script level difference between your both CF server?
    Are you getting any relevant logging error in your CF server application.log & exception.log?
    Run a very simple cfgrid running app to check, either getting issue with that too or not.

  • Value binding not working with rendered attribute

    In my jsf page i'm encountering problem with value binding it is not working for a h:inputText with rendered condition even when the rendered condition evaluates to true & the component is rendered.While trying to retrieve the value of the components with conditional rendering on submit i'm unable to retreive the value while on removing rendered condition the value binding is working perfectly
    <h:selectOneMenu id="DropDown" value="#pc_GeneralRequestInfo.objInfoDTO.State}" rendered="#pc_GeneralRequestInfo.objAddressRequestDetailsDTO.selectedAddressType == 'HOME'}">                    
    <f:selectItems value="#{pc_GeneralRequestInfo.statesList}" />
    </h:selectOneMenu>

    There is a { missing from the value attribute in the code you posted.                                                                                                                                                                                           

  • CFGrid onError not working correctly

    Hi All,
    I have a CFGrid, format type is 'html' and its bound to a javascript function to populate it.
    The javascript function in turn calls a cfc via ajax, which calls a back end and the grid gets populated. Works lovely, except if there is an exception in the back end and I don't have data. I have put the onError attribute in place in my grid but this seems to get called all the time, even if there is no error.
    If there is an error I am alerting the message and code and it just says undefined.
    Does ANYONE know how to get this working? I've googled but can't find anything on this specific issue.
    Any help would be much appreciated.
    Thanks,
    Orla

    Apparently this is a problem with the iPhone 3.1 OS not working with Ford Sync. I have a Ford Fusion and I have had problems ever since updating my iPhone to 3.0.
    From Ford:
    If your device has been updated to Apple firmware version 3.1 (or greater), then you will experience an INDEXING concern which may limit functionality of the device with SYNC, including longer indexing times (e.g., 30 minutes). Note: Earlier versions of the iPhone firmware are not affected. The Ford SYNC Team is aware and has been in communication with the Apple team regarding the concern. We will post an updated response once more information is known. We appreciate your patience and would like to offer the following recommendations for continued usage of SYNC and your device:
    -Use the AutoPlay feature. SYNC will still playback content on the device that is on the "Now Playing" list of the device. Media control will be limited to the Play, Pause, Next and Previous Track.
    -If the device supports Bluetooth Audio, connect to the device with SYNC BT Audio/Media Stream. Media control will be limited to Play, Pause, but can also be controlled directly on the device.
    -Use the Line In input to connect to the device headphone audio jack. The media will need to be controlled on the device directly.
    -Transfer unprotected contents to a USB flash drive. SYNC supports playback with full media control of iTunes formatted unprotected media.
    -Allow some additional time for the device to index.
    If you have any additional questions, you may also contact our SYNC Support team via chat, e-mail, or phone. Thanks.
    Source:
    http://boards.synccommunity.com/n/pfx/forum.aspx?tsn=1&nav=messages&webtag=fords yncmb&tid=1987

  • Some bidirectional binding not works

    Hello!
    Maybe I do something wrong, but bidirectional binding in thic simple code not works properly.
    package simple;
    import javafx.application.Application;
    import javafx.scene.GroupBuilder;
    import javafx.scene.Scene;
    import javafx.scene.SceneBuilder;
    import javafx.scene.control.CheckBox;
    import javafx.scene.control.CheckBoxBuilder;
    import javafx.scene.paint.Color;
    import javafx.stage.Stage;
    public class BiDiBug extends Application {
      CheckBox checkBoxResizable;
      public static void main(String[] args) {
        Application.launch(args);
      @Override
      public void start(Stage stage) {
         stage.setResizable(true);
        Scene scene  = SceneBuilder.create()
          .width(200)
          .height(100)
          .fill(Color.TRANSPARENT)
          .root(
            GroupBuilder.create()
                 .children(
                    checkBoxResizable = CheckBoxBuilder.create()
                      .selected(stage.isResizable())
                      .text("Is Stage resizable")
                      .build()
                  .build()
           .build();
        checkBoxResizable.selectedProperty()
                .bindBidirectional(stage.resizableProperty());
        // This code not works too:
        //stage.resizableProperty()
        //          .bindBidirectional(checkBoxResizable.selectedProperty());
        stage.setScene(scene);
        stage.show();
    }Is it bug or feature?

    The binding seems to work, in the sense that stage.resizable gets updated accordingly. Try adding the following:
        stage.resizableProperty().addListener(new ChangeListener<Boolean>() {
          @Override
          public void changed(ObservableValue<? extends Boolean> observable,
              Boolean oldValue, Boolean newValue) {
            System.out.printf("stage.resizable changed from %s to %s%n", oldValue, newValue);
        });and you'll see that the resizable property does indeed change when you check/uncheck the checkbox.
    On my setup (Mac OSX 10.7.5), under JavaFX 2.2.7, JDK 1.7.0_17, I observe the same behavior as you: the resize behavior of the stage does not correspond to the value of its property. The [url http://docs.oracle.com/javafx/2/api/javafx/stage/Stage.html#resizableProperty]Javadocs for stage.resizable do say "This is a hint which allows the implementation to optionally make the Stage resizable by the user." So in fairness, there is no guarantee given that changing this value will have the desired effect.
    Interestingly, under JavaFX 8, JDK 1.8.0 (early access, b80), your code works. However, the Javadocs for the stage.resizableProperty() in JavaFX 8 additionally state
    >
    Warning: Since 8.0 the property cannot be bound and will throw RuntimeException on an attempt to do so. This is because the setting of resizable is asynchronous on some systems or generally might be set by the system / window manager.
    so while bindBidirectional(...) seems to work, bind(...) does indeed throw a RuntimeException.
    Given all that, I would not try to bind to the resizable property at all. If you only need unidirectional binding, Shakir's solution above will work. If you genuinely need bidirectional binding (for example, if the stage's resizable property might be changed elsewhere in the application, and you need the checkbox to update accordingly), you can "do it by hand":
        checkBoxResizable.selectedProperty().addListener(new ChangeListener<Boolean>() {
          @Override
          public void changed(ObservableValue<? extends Boolean> obs,
              Boolean oldValue, Boolean newValue) {
            if (stage.isResizable() != newValue.booleanValue()) {
              stage.setResizable(newValue);
        stage.resizableProperty().addListener(new ChangeListener<Boolean>() {
          @Override
          public void changed(ObservableValue<? extends Boolean> obs,
              Boolean oldValue, Boolean newValue) {
            if (checkBoxResizable.isSelected() != newValue.booleanValue()) {
              checkBoxResizable.setSelected(newValue);
        }); which seems to work in all versions (again, on my system).

  • OUT Binding works fine, but INPUT Binding NOT WORKING at all

    Did you test your Bindable property works in Flex so you can see it change in another component in Flex?
    It doesn't look like you notify that xcText has been changed (and instead you modify the private variable behind it).
    You can try changing your mychange function to set xcText (instead of manually setting myvalue) which should dispatch a change event.
    Or you can try manually dispatch a change event (for the public property that has changed which is xcText in your case):
    var event:Event = PropertyChangeEvent.createUpdateEvent(this, "xcText", null, xcText);
    dispatch(event);
    Regards
    Matt

    thank you Matt as you've been always there for help,
    i know Adobe flex is not my job but i'm trying to add something to my experiences.
    and its good to know the Xcelsius SDK since we are Xcelsius proffessionals
    i fixed this issue, and i have only one more issue, is how to bind an Array to the Excel sheet.
    i modifyed my example and also i modified the property sheet as well, please have a look and tell me what i'm missing
    <?xml version="1.0" encoding="utf-8"?>
    <mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml" width="400" height="600">
         <mx:Script>
           <![CDATA[
                import mx.events.SliderEvent;
                import mx.controls.sliderClasses.Slider;
                import mx.binding.utils.*;
                import mx.events.PropertyChangeEvent;
              public var _myArray:Array = ["A1","A2","A3"];
    private function sliderChange(event:SliderEvent):void {
                    var currentSlider:Slider=Slider(event.currentTarget);
                    this._myArray.push("A"+currentSlider.value.toString());
                    this.value0 = this._myArray;
                    notifyArrayDataInputChanged();
                      public function set value0(value:Array):void{
                       this._myArray = value;
                      [Bindable ("propertyChange")]
                      [Inspectable(type="Array")]
                      public function get value0():Array{
                       return this._myArray;
                      public function notifyArrayDataInputChanged():void{
                        var event:Event = PropertyChangeEvent.createUpdateEvent(this, "value0", null,value0);
                        this.dispatchEvent(event);
                ]]>
         </mx:Script>
         <mx:HSlider id="hslider" width="368" height="50%" change="sliderChange(event)"/>
         <mx:ComboBox dataProvider="" width="363"></mx:ComboBox>
    </mx:VBox>

  • "public and remote" not working in CF9

    In CF8 setting the method-access-level for a particular destination to "public and remote" would expose CFC Methods labelled public to Flex applications. In CF9 that does not appear to be the case and possibly this is a bug.  Yes, I am aware of the change of location of this attribute in CF9 and what DOES work is method-access-level = "public", just not method-access-level = "public and remote".  If I set it to "public and remote" only methods with access="remote" are exposed.
    Has anyone encountered this? Is this a known issue?

    Hi,
    services-config.xml has the following line:
    <!-- allow "public and remote" or just "remote" methods to be invoked -->
    <method-access-level>public</method-access-level>
    You could previously put in "public and remote" and stipulate "public" access in your CFCs and Flex/Flash clients would be able to invoke those methods, but they could not be invoked by clients that used only "remote" access.  My desire was to restrict invocations to Flash/Flex clients, which can invoke "public" access methods.
    Now, in CF9, you cannot stipulate "public and remote" - it's either "public" or "remote".  It's not a big deal but it is a change in behavior, and requires that only "public" be stipulated in services.xml if you intend to expose only methods with an access level  of "public".  Stipulating "remote" in services.xml does not expose CFC methods of "public", but only methods with access="remote".  If you try to invoke a  CFC method with access="public" when your services.xml stipulates method-access-level = "remote" you'll get an error.
    Jeff

  • Active Directory binding not working

    Hi
    I'm trying to bind to my active directory at work.
    On tiger I used the following settings
    serverdomain.ad
    the servers name is machine
    Which worked fine.
    On leopard when I use either serverdomain.ad or machine.serverdomain.ad I get the following error message
    (loosely translated from swedish)
    An unknown combination of domain and treecollection was used. You should use a complete DNS-name for the domain and tree collection (i.e something.company.se)
    Does anyone know what I should use..the FQDN is machine.serverdomain.ad - shouldnt that work?

    The answer was dns.. my client was using the correct nameserver.
    The binding worked after that..although I'm not sure its autenticating as it should

  • Data binding not working

    For some reason I can't seem to get the XML data to bind
    properly. i am using one of the samples (see code listed below) and
    instead of getting the data I get something like {@id} -
    {firstname} {lastname} - {phone}.
    Any one any ideas what could be causing this.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1" />
    <title>Master/Detail Same Data Set</title>
    <script type="text/javascript"
    src="includes/xpath.js"></script>
    <script type="text/javascript"
    src="includes/SpryData.js"></script>
    <script type="text/javascript">
    var dsEmployees = new
    Spry.Data.XMLDataSet("employees-01.xml", "/employees/employee");
    </script>
    </head>
    <body>
    <span spryregion="dsEmployees">
    <select spryrepeatchildren="dsEmployees"
    onchange="dsEmployees.setCurrentRow(this.value)">
    <option spryif="{ds_RowNumber} == 0" value="{ds_RowID}"
    selected="selected">{username}</option>
    <option spryif="{ds_RowNumber} != 0"
    value="{ds_RowID}">{username}</option>
    </select>
    </span>
    <span sprydetailregion="dsEmployees">{@id} -
    {firstname} {lastname} - {phone} </span>
    </body>
    </html>

    Sorry about that Liam, I guess you're looking at the sample
    at this URL right?
    http://labs.adobe.com/technologies/spry/articles/data_set_overview/samples/data-framework- overview-sample-01.html
    The online source for that example was missed during the last
    update. I'll make sure it gets fixed.
    To get things working, change all spry* attributes to spry:*
    attributes. So for example, spryregion should be changed to
    spry:region, and spryrepeatchildren changed to spry:repeatchildren.
    Note that the source for this file in the zip you downloaded
    is all up to date. It's only the online versions that are out of
    sync.
    --== Kin ==--

  • A328 (dual sim) "Contact Binding" not working as expected

    Hi, fellows!
    On my A328 (dual SIM, Android 4.4.2) I wanted to use "Contact Binding" feature, so, in Settings -> All settings -> SIM management I put:
    Default Settings section:
    Voice call = Always ask
    (possible 3 options: SIM1 | SIM2 | Always ask)
    General Settings section:
    Contact binding: I've binded some contacts to SIM1 and rest to SIM2.
    However, whenever I make a call. a dialog pop-up asking what SIM to use; the SIM used to bind the contact is marked with a star symbol in the dialogue window.
    Please note that I tried to set voice call default to SIM2. When I called a contact binded to SIM2, there was no dialogue pop-up, so it worked as expected. But when I called a contact binded to SIM1, the dialogue pop-up.
    I expect that a contact binded to SIM1 to use SIM1 when I make a call, a contact binded to SIM2 to use SIM2, and a contact no assigned to pop-up the dialogue windows
    Any idea to get rid of the dialogue and use directly the contact binding I set?

    Binding works one way. This means that textInput.text changes
    to match the value of account.identifier, not the other way around.
    While I think it's theoretically possible to create a binding the
    other way (I haven't played with binding in ActionScript), it makes
    more sense to listen to the TextInput's change event to get changes
    to the text field.
    Or, you can create a model in the MXML and bind one its
    properties to the textinput's value. Look in the docs about the
    mx:Model tag for details.

  • CFGRID is not working in CF 9.0.1.274733

    Hello,
    I have problems with the tag cfgrid, locally works fine, but in the server in CF 9.0.1.274733 doesn't work, it displays:
    document.write("
    I think that is a server problem, but the hosting company tell me that is a code-related error.
    I appreciate if somebody can help me.
    Thank you
    The piece of .cfm code is this, it works fine locally in CF 8 but not in CF 9.0.1.274733
    <cfquery name="seeChains" datasource="ds1" username="***" password="***">
    SELECT *
    FROM chain
        </cfquery>
        <cfquery name="catalogueRFC" datasource="ds1" username="***" password="***">
    SELECT distinct rfc_c
    FROM chain
        </cfquery>
    <cfform name="chains" format="flash" width="100%" height="500">
      <cfformgroup type="panel" label="Our Chains">
    <cfselect query="catalogueRFC" queryposition="below" label="RFC" name="myselect1" value="rfc_c" display="rfc_c" width="200">
             <option value="All">All</option>
          </cfselect>
       <cfgrid name="listChains" query="seeChains" >
             <cfgridcolumn header="ID" name="idcadena" />
             <cfgridcolumn header="Nombre" name="nombre_c" />
             <cfgridcolumn header="RFC" name="rfc_c" />
             <cfgridcolumn header="Teléfono principal" name="telefono1_c" />
             <cfgridcolumn header="Teléfono alternativo" name="telefono2_c" />
             <cfgridcolumn header="Correo electrónico" name="correo_c" />      
          </cfgrid>
       </cfformgroup>
    </cfform>   

    Hi Adam, thak you for your response.
    Locally I don't get any error, it works fine.
    You can get a look to the .cfm in the server:
    http://www.retaileader.com.mx/sistemarl/ejemploOrdenaFiltraCadenas.cfm
    http://www.retaileader.com.mx/sistemarl/ejemplo2OrdenaFiltraCadenas.cfm
    The only message from the server is
    document.write("
    Really I don´t know whats wrong in the server.

  • CFGRID pagesize not working

    We're trying out the new feature in CF8, and I can't seem to
    get this one to work. The CFGRID tag has a pagesize attribute for
    HTML grids. This uses Ajax paging. I can't seem to get it to work.
    No matter what I do, all records appear on one page.
    Here is some simple code. Does this work for anyone else?

    The solution is to create a CFC and use the bind method for
    the data.
    Ben Forta has a great example here...
    http://www.forta.com/blog/index.cfm/2007/5/31/ColdFusion-Ajax-Tutorial-3-Live-Data-Grids

  • OAS 10.1.3 Deployment Problem: webapp Binding not working

    Hi
    I am having a problem with version 10.1.3 of the application server. I installed the instance this morning and deployed my EAR file (which contains a web application and 2 EJB Modules -- this application works just fine under 10.1.2 btw). The deployment proceeded just fine and my web application appears to be bound to a root context (/PA) in the default-web-application.xml.
    However, when I try to access the URL I get a 404 -- and the path it's trying to get to is http://server:8888/j2ee/PA. It seems to me that somehow the binding to /PA is not "active"
    A couple more relevant details:
    - The application is deployed to a new OC4J Instance I created --- not the home instance
    - For some reason that I cannot figure out, there does not seem to be an Oracle HTTP server in my AS Instance -- the java process itself is listening on port 8888. Notwithstanding my problem this seems to be working fine, but if someone could clarify why this is I would be grateful.
    I have tried an opmnctl stopall/startall -- same problem. I am probably missing something basic but haven't been able to find it. Can someone please shed some light on this?
    Thanks!
    Chris Sargent

    Thanks again Steve
    I have pasted the complete opmn.xml file below. I downloaded the default x86 Windows version of 10.1.3.x and I am pretty sure I installed it using default settings. The only configuration I did was to create a new OC4J Instance (PA) and attemp to deploy the application.
    I DO have a 10.1.2 AS instance installed on this machine as well. I suppose this could be interfering somehow?
    I appreciate your contunued assistance.
    Chris
    ---------------- opmn.xml -----------------------
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <opmn xmlns="http://www.oracle.com/ias-instance">
    <log path="$ORACLE_HOME\opmn\logs\opmn.log" comp="internal;ons;pm" rotation-size="1500000"/>
    <debug path="$ORACLE_HOME\opmn\logs\opmn.dbg" comp="internal" rotation-size="1500000"/>
    <notification-server>
    <port local="6100" remote="6201" request="6004"/>
    <ssl enabled="true" wallet-file="$ORACLE_HOME\opmn\conf\ssl.wlt\default"/>
    </notification-server>
    <process-manager>
    <process-modules>
    <module path="$ORACLE_HOME\opmn\lib\libopmnohs">
    <module-id id="OHS"/>
    </module>
    <module path="$ORACLE_HOME\opmn\lib\libopmnoc4j">
    <module-id id="OC4J"/>
    </module>
    <module path="$ORACLE_HOME\opmn\lib\libopmncustom">
    <module-id id="CUSTOM"/>
    </module>
    <module path="$ORACLE_HOME\opmn\lib\libopmniaspt">
    <module-id id="IASPT"/>
    </module>
    </process-modules>
    <ias-instance id="aeris10gv3.HENNESSEY" name="aeris10gv3.HENNESSEY">
    <environment>
    <variable id="TMP" value="C:\DOCUME~1\csargent\LOCALS~1\Temp"/>
    </environment>
    <module-data>
    <category id="start-parameters">
    <data id="routing-id" value="g_rt_id"/>
    </category>
    </module-data>
    <ias-component id="IASPT" status="disabled">
    <environment>
    <variable id="LD_LIBRARY_PATH" value="D:\product\10.1.3.1\OracleAS_1/lib" append="true"/>
    </environment>
    <process-type id="IASPT" module-id="IASPT" working-dir="D:\product\10.1.3.1\OracleAS_1/iaspt/bin">
    <port id="ajp" range="7501-7600"/>
    <process-set id="IASPT" numprocs="1"/>
    </process-type>
    </ias-component>
    <ias-component id="ASG" status="enabled" id-matching="true">
    <process-type id="ASG" module-id="CUSTOM">
    <environment>
    <variable id="OS" value="Windows_NT"/>
    </environment>
    <start timeout="600"/>
    <stop timeout="120"/>
    <process-set id="ASG" numprocs="1">
    <module-data>
    <category id="start-parameters">
    <data id="start-executable" value="D:\product\10.1.3.1\OracleAS_1\jdk\bin\java"/>
    <data id="start-args" value="-ms20m -Djava.library.path=D:\product\10.1.3.1\OracleAS_1\bin;D:\product\10.1.3.1\OracleAS_1\dsa\bin;D:\product\10.1.3.1\OracleAS_1\oui\lib\win32 -classpath D:\product\10.1.3.1\OracleAS_1\dsa\jlib;D:\product\10.1.3.1\OracleAS_1\dsa\jlib\duf.jar;D:\product\10.1.3.1\OracleAS_1\lib\dms.jar;D:\product\10.1.3.1\OracleAS_1\oui\jlib\OraInstaller.jar;D:\product\10.1.3.1\OracleAS_1\jlib\srvm.jar;D:\product\10.1.3.1\OracleAS_1\jlib\netcfg.jar;D:\product\10.1.3.1\OracleAS_1\lib\xmlparserv2.jar;D:\product\10.1.3.1\OracleAS_1\assistants\jlib\assistantsCommon.jar;D:\product\10.1.3.1\OracleAS_1\jdbc\lib\classes12.zip;D:\product\10.1.3.1\OracleAS_1\jdbc\lib\nls_charset12.zip;D:\product\10.1.3.1\OracleAS_1\jlib\share.jar;D:\product\10.1.3.1\OracleAS_1\opmn\lib\optic.jar;D:\product\10.1.3.1\OracleAS_1\j2ee\home\jazn.jar;D:\product\10.1.3.1\OracleAS_1\jlib\ldapjclnt10.jar oracle.duf.dufserver.DufServer D:\product\10.1.3.1\OracleAS_1\dsa\dsa.conf"/>
    </category>
    </module-data>
    </process-set>
    </process-type>
    </ias-component>
    <ias-component id="default_group">
    <process-type id="home" module-id="OC4J" status="enabled">
    <module-data>
    <category id="start-parameters">
    <data id="java-options" value="-Xrs -server -XX:MaxPermSize=128M -ms512M -mx1024M -XX:AppendRatio=3 -Djava.security.policy=$ORACLE_HOME/j2ee/home/config/java2.policy -Djava.awt.headless=true -Dhttp.webdir.enable=false -Doraesb.home=D:\product\10.1.3.1\OracleAS_1\integration\esb -Dhttp.proxySet=false -Doc4j.userThreads=true -Doracle.mdb.fastUndeploy=60 -Dorabpel.home=D:\product\10.1.3.1\OracleAS_1\bpel -Xbootclasspath^/p:D:\product\10.1.3.1\OracleAS_1\bpel/lib/orabpel-boot.jar -Dhttp.proxySet=false"/>
    </category>
    <category id="stop-parameters">
    <data id="java-options" value="-Djava.security.policy=$ORACLE_HOME/j2ee/home/config/java2.policy -Djava.awt.headless=true -Dhttp.webdir.enable=false"/>
    </category>
    </module-data>
    <start timeout="600" retry="2"/>
    <stop timeout="120"/>
    <restart timeout="720" retry="2"/>
    <port id="default-web-site" range="8888" protocol="http"/>
    <port id="rmi" range="12401-12500"/>
    <port id="rmis" range="12701-12800"/>
    <port id="jms" range="12601-12700"/>
    <process-set id="default_group" numprocs="1"/>
    </process-type>
    <process-type id="PADEV" module-id="OC4J" status="enabled">
    <module-data>
    <category id="start-parameters">
    <data id="java-options" value="-server -Djava.security.policy=$ORACLE_HOME/j2ee/PADEV/config/java2.policy -Djava.awt.headless=true -Dhttp.webdir.enable=false"/>
    </category>
    <category id="stop-parameters">
    <data id="java-options" value="-Djava.security.policy=$ORACLE_HOME/j2ee/PADEV/config/java2.policy -Djava.awt.headless=true -Dhttp.webdir.enable=false"/>
    </category>
    </module-data>
    <start timeout="600" retry="2"/>
    <stop timeout="120"/>
    <restart timeout="720" retry="2"/>
    <port id="default-web-site" range="12501-12600" protocol="ajp"/>
    <port id="rmi" range="12401-12500"/>
    <port id="rmis" range="12701-12800"/>
    <port id="jms" range="12601-12700"/>
    <process-set id="default_group" numprocs="1"/>
    </process-type>
    </ias-component>
    </ias-instance>
    </process-manager>
    </opmn>

  • Checkbox group selected property binding not working

    Hi,
    I've been through all the threads and tutorials relating to this problem and none of them help.
    The Situation
    I have a checkbox group which I have bound the items items property to a MySQL database (value field = int, display field = String). I have bound the Selected property to a sessionbean field which is an int[] array.
    I have a processValueChange event for my checkbox group which grabs the selected boxes values (ie the int value of the checkbox id). Based on these values it does some other processing.
    The Problem
    When the page loads everything is displayed ok. When I select a checkbox within the checkbox group the getSelected() method returns the int value of the selected checkbox and perform other processing as necessary... so far so good.
    However, when the page finishes processing and reloads the selected checkboxes are not ticked. I'm sure it has something to do with the Selected property of the checkboxgroup but I can't for the life of me work out why. For multiselect objects the Selected property must be bound to an array which I have done with my int[] array. I've tried preloading the array with default values (1, 2, etc) to mimic the int values from the database. I've tried changing the array to a boolean array but this throws exceptions. So basically i'm stuck.
    The Source
    Session Bean
        private int[] extras;
        public int[] getExtras() {
            return this.extras;
        public void setExtras(int[] extras) {
            this.extras = extras;
    Page JSP
    <ui:checkboxGroup binding="#{book_package.extras}"
                                                                                    converter="#{book_package.extrasConverter}" id="extras"
                                                                                    items="#{book_package.extrasDataProvider.options['extras.ExtrasID,extras.Name']}"
                                                                                    onClick="common_timeoutSubmitForm(this.form, 'table:tr:td:table:tr:td:table:tr:td:div:div:table:tr:td:extras');"
                                                                                    selected="#{SessionBean1.extras}" valueChangeListener="#{book_package.extras_processValueChange}"/>
    Page Java
        public void extras_processValueChange(ValueChangeEvent event) {
            // TODO: Replace with your code
            getSessionBean1().setExtrasTotal(0);
            try {
                int[] extra = (int[])extras.getSelected();
                int extrasId = 0;
                int extraPrice = 0;
                if (extra.length != 0) {
                    for (int i=0; i < extra.length; i++) {
                        extrasDataProvider.cursorFirst();
                        do {
                            extrasId = new Integer(extrasDataProvider.getValue("ExtrasId").toString()).intValue();
                            if (extrasId == extra) {
    extraPrice = getSessionBean1().getExtrasTotal() + new Integer(extrasDataProvider.getValue("Price").toString()).intValue();
    getSessionBean1().setExtrasTotal(extraPrice);
    break;
    } while (extrasDataProvider.cursorNext());
    } catch (Exception e) {
    log("Exception occurred!!", e);
    error("Error: "+e.getMessage());
    getSessionBean1().setTotalPrice(getSessionBean1().getPackagePrice() + getSessionBean1().getExtrasTotal());
    Any help appreciated.
    Thanks.

    ok, i found the problem. MySQL int value is treated as an Integer in Creator. I changed my SessionBean array from int[] to Integer[] and now it works properly... phew!!!

Maybe you are looking for

  • IPhoto Upgrade Problem Version 8.1.2 to iPhoto 9 (iLife 11)

    Hello, I have purchased the iPhoto upgrade from the Mac App Store ($15) and currently have iPhoto version 8.1.2 installed on my computer. I would have thought that the upgrade would have pushed or automatically upgraded my existing iphoto version; ho

  • Adobe Indesign and Photoshop not opening in Rosetta?

    Just bought a brand new iMac intel model and I've installed my 8 month old Adobe Creative suite that I used on my G5 iMac. Instalation went smoothly, but none of the apps open. I double click on them in usual way, I get two hops of the app icon on th

  • Trouble with ichat and photoboth

    On second install of family pack leopard 08, ichat and photo booth have only half of the effects installed on the second install,it left off all video backgrounds. First install has full package. I am afraid to reinstall as it may claim one of the fi

  • Why does OS X Finder recognize a folder as a file when it counts the number of files?

    When I select a folder in Finder and click cmd+i(or cmd+option+i), it shows the number of files in the folder. However, that number is weird for me, because they count a folder itself as a file. For example, when I have a single file in my Download f

  • EDI Settings

    Hi All can anyone tell me how EDI settings are done for Purchase orders and intercompany billing docs. Transaction codes would be of much help step by step.i think i know there are four Tcodes. WEL1 for logical address , WE20 for partner profiles and