TableView with FocusChangeListener question field

I created a TableView and adds items.  On one point, I use a FocusChangeListener to get the read line for action.

It works for OS 7, especially because the simulator (9900) has a touch screen.  However, in an OS 6 non touch screen simulator (9650), the FocusChangeListener is not currently enabled.  Any item is moved to the update, it only selects the first.

I don't know if there is a place more to put the FocusChange.  I need to know which item is currently focused on, to the next screen or to place an order on this point.  I also wonder if the pill buttons are causing a problem with the TableView.

Here is a screenshot.

Here is the part that creates the TableView

// Create Table items
                soTableModel = new TableModel();
                soTableView = new TableView(soTableModel);
                soTableController = new TableController(soTableModel, soTableView, TableController.ROW_FOCUS);
                soTableView.setDataTemplateFocus(BackgroundFactory.createSolidTransparentBackground(Color.BLUE, 105));
                soTableView.setController(soTableController);
                // Create temporary Date holder and Formatter
                Date tmpDate;
                SimpleDateFormat shortFormat = new SimpleDateFormat(SimpleDateFormat.DATE_DEFAULT);
                shortFormat.applyPattern("MMM-dd H:mm a");

                // Add Tables items
                soCursor = ServiceOrderHeader.getServiceOrders(ServiceOrderType, ServiceOrderSortBy);
                while(soCursor.next())
                {
                    Row tmpRow = soCursor.getRow();
                    // Get Date and Format it
                    tmpDate = new Date(tmpRow.getLong(ServiceOrderHeader.REQ_START_DATETIME));
                    // Get Service Order ID
                    String tmpServiceOrderID = tmpRow.getString(ServiceOrderHeader.SERVICEORDERID);
                    if(soCursor.getPosition() == 0){
                        SelectedServiceOrder = tmpServiceOrderID;
                    }

                    // Get Site Name and check to see if it is longer than 30 characters, if so, truncate it
                    String finalSiteName = tmpRow.getString(ServiceOrderHeader.SITE_NAME);
                    if(finalSiteName.length() > 30){
                        finalSiteName = finalSiteName.substring(0, 27) + "...";
                    }

                    String tmpProduct = CodeSet.getValueByListKey("Service Order Product", "Service Order Product Restrict", tmpRow.getString(ServiceOrderHeader.SERVICE_PRODUCT), CodeSet.orderByKey);
                    if(tmpProduct.indexOf("Preventive") > 0) {
                        tmpProduct = "PM";
                    }

                    //Add the Strings to the table.
                    soTableModel.addRow(new Object[]
                           { ServiceOrderHeader.newStatus(tmpRow.getString(ServiceOrderHeader.SERVICEORDERID)),
                            ServiceOrderHeader.dirtyStatus(tmpRow.getString(ServiceOrderHeader.SERVICEORDERID)),
                            ErrorLog.hasError(tmpServiceOrderID),
                            tmpServiceOrderID,
                            tmpProduct,
                            tmpRow.getString(ServiceOrderHeader.SO_STATUS),
                            shortFormat.format(tmpDate).toString(),
                            Integer.toString(tmpRow.getInteger(ServiceOrderHeader.IBASE)),
                            Integer.toString(tmpRow.getInteger(ServiceOrderHeader.SITE_BP_NR)),
                            finalSiteName
                            }, false);
                }

                // Set the Table Style
                setStyle(soTableView, 3, 4);

                // add table to content display
                soContent.add(soTableView);

I put the FocusChangeListener on article 3, which is the field ID so.

  public static void setStyle(DataView tableView, int rows, int columns)
    {
        DataTemplate soDataTemplate = new DataTemplate(tableView, rows, columns)
        {
            /**
             * @see DataTemplate#getDataFields(int)
             */
            public Field[] getDataFields(int modelRowIndex)
            {
                TableModel theModel = (TableModel) getView().getModel();
                Object[] data = (Object[]) theModel.getRow(modelRowIndex);
                Field[] fields = new Field[data.length];
                for(int i = 0; i < data.length; i++)
                {
                    if(data[i] instanceof Bitmap)
                    {
                        fields[i] = new BitmapField((Bitmap) data[i]);
                    }
                    else if(data[i] instanceof String)
                    {
                        switch(i){
                            case 3:
                                fields[i] = new bhHeaderField(String.valueOf(data[i]), Field.FOCUSABLE, Color.BLACK, Color.WHITE);
                                fields[i].setFocusListener(serviceOrderFocusListener);
                                break;
                            case 5:
                                fields[i] = new bhHeaderField(String.valueOf(data[i]), Field.NON_FOCUSABLE, Color.WHITE, Color.RED);
                                break;
                            case 6:
                                fields[i] = new bhHeaderField(String.valueOf(data[i]), Field.NON_FOCUSABLE, Color.WHITE, CustomUi.bhColor);
                                break;
                            default:
                                fields[i] = new LabelField(data[i], LabelField.NON_FOCUSABLE);
                                break;
                        }
                    }
                    else
                    {
                        fields[i] = (Field) data[i];
                    }
                }

                return fields;
            }
        };
        // Create Image Width and Height, since image is a square
        int imgWidthHeight = appAttributes.IMAGE_WIDTH
            + (CustomUi.cellStyle.getBorder() == null ? 0 : CustomUi.cellStyle.getBorder().getTop()
            + CustomUi.cellStyle.getBorder().getBottom()) + (CustomUi.cellStyle.getMargin() == null ? 0 : CustomUi.cellStyle.getMargin().top
            + CustomUi.cellStyle.getMargin().bottom);
        // Create Row settings
        // First Row
        soDataTemplate.setRowProperties(0, new TemplateRowProperties(Font.getDefault().getHeight() +
                (CustomUi.cellStyle.getBorder() == null ? 0 : CustomUi.cellStyle.getBorder().getTop() + CustomUi.cellStyle.getBorder().getBottom()) +
                (CustomUi.cellStyle.getMargin() == null ? 0 : CustomUi.cellStyle.getMargin().top + CustomUi.cellStyle.getMargin().bottom)));
        // Second Row
        soDataTemplate.setRowProperties(1, new TemplateRowProperties(Font.getDefault().getHeight() +
                (CustomUi.cellStyle.getBorder() == null ? 0 : CustomUi.cellStyle.getBorder().getTop() + CustomUi.cellStyle.getBorder().getBottom()) +
                (CustomUi.cellStyle.getMargin() == null ? 0 : CustomUi.cellStyle.getMargin().top + CustomUi.cellStyle.getMargin().bottom)));
        // Third Row
        soDataTemplate.setRowProperties(2, new TemplateRowProperties(Font.getDefault().getHeight() +
                (CustomUi.cellStyle.getBorder() == null ? 0 : CustomUi.cellStyle.getBorder().getTop() + CustomUi.cellStyle.getBorder().getBottom()) +
                (CustomUi.cellStyle.getMargin() == null ? 0 : CustomUi.cellStyle.getMargin().top + CustomUi.cellStyle.getMargin().bottom)));
        // Create Column Settings
        // First Column
        soDataTemplate.setColumnProperties(0, new TemplateColumnProperties((int) Math.floor(imgWidthHeight)));
        // Second Column
        soDataTemplate.setColumnProperties(1, new TemplateColumnProperties((int) Math.floor((Display.getWidth() - imgWidthHeight) * .25)));
        // Third Column
        soDataTemplate.setColumnProperties(2, new TemplateColumnProperties((int) Math.floor((Display.getWidth() - imgWidthHeight) * .45)));
        // Fourth Column
        soDataTemplate.setColumnProperties(3, new TemplateColumnProperties((int) Math.floor((Display.getWidth() - imgWidthHeight) * .30)));

        // Add Region (cell) properties
        // First Image Cell, expands columns 1 and row 1
        soDataTemplate.createRegion(new XYRect(0, 0, 1, 1), CustomUi.cellStyle);
        // Second Image Cell, expands columns 1 and row 2
        soDataTemplate.createRegion(new XYRect(0, 1, 1, 1), CustomUi.cellStyle);
        // Third Image Cell, expands columns 1 and row 3
        soDataTemplate.createRegion(new XYRect(0, 2, 1, 1), CustomUi.cellStyle);

        // First Data Cell, expands columns 2,3,4 and row 1
        soDataTemplate.createRegion(new XYRect(1, 0, 3, 1), CustomUi.cellStyle);
        // Second Data Cell, expands column 4 and row 1
        soDataTemplate.createRegion(new XYRect(3, 0, 1, 1), CustomUi.cellStyle);
        // Third Data Cell, expands column 1 and row 2
        soDataTemplate.createRegion(new XYRect(1, 1, 1, 1), CustomUi.cellStyle);
        // Fourth Data Cell, expands column 2 and row 2
        soDataTemplate.createRegion(new XYRect(2, 1, 1, 1), CustomUi.cellStyle);
        // Fifth Data Cell, expands column 3 and row 2
        soDataTemplate.createRegion(new XYRect(3, 1, 1, 1), CustomUi.cellStyle);
        // Sixth Data Cell, expands column 1 and row 3
        soDataTemplate.createRegion(new XYRect(1, 2, 1, 1), CustomUi.cellStyle);
        // Seventh Data Cell, expands column 2,3 and row 3
        soDataTemplate.createRegion(new XYRect(2, 2, 2, 1), CustomUi.cellStyle);

        //Apply the template to the view
        soDataTemplate.useFixedHeight(true);
        soTableView.setDataTemplate(soDataTemplate);
    }

And here's the FocusChangeListener

   private static class ServiceOrderFocusListener implements FocusChangeListener
    {
        public void focusChanged(Field field, int eventType) {
            if(eventType == FOCUS_GAINED){
                if(field.isFocusable()) {
                    SelectedServiceOrder = field.toString();
                    appAttributes.isEditableSO = ServiceOrderHeader.isEditable(SelectedServiceOrder);
                    Dialog.inform("Selected Service Order : " + SelectedServiceOrder);
                    System.out.println("Selected Service Order : " + SelectedServiceOrder);
                }
            }
        }
    }
    static ServiceOrderFocusListener serviceOrderFocusListener = new ServiceOrderFocusListener();

I found TableView.getRowNumberWithFocus ();

So, instead of putting a FocusChangeListener on this point, I just get the current line being focused on the table.  The, I call the data slider and set the position; Cursor.position (CurrentRow);  to get the straight line of the cursor in order to obtain the appropriate data.

Here is an example that is called when the button to find the information of the inventory for the part.  I get the current line, get the same data as that used to fill in the data.  Place the cursor to the selected position and retrieve columns that I have to go down on my request.

int currentRow = resultsTableView.getRowNumberWithFocus();
                 try {
                     Cursor partResults = PartSearch.getPartSearch(CurrentOrderBy, CurrentRowLimit, CurrentRowOffset);
                     partResults.position(currentRow);
                     Row thisRow = partResults.getRow();
                     CurrentSAPNumber = thisRow.getString(PartSearch.SAP_PART_NUMBER);
                     CurrentPartName = thisRow.getString(PartSearch.PART_NAME);

                 } catch (DatabaseException dbe) {
                     SDApp.handleException(dbe, "Search Inventory Command(dbe)");
                 } catch (DataTypeException dte) {
                     SDApp.handleException(dte, "Search Inventory Command(dbe)");
                }

Tags: BlackBerry Developers

Similar Questions

  • TableView with CheckBox question

    Hey,.

    I have a table in which my first column is a checkBox column. The code for the tableview is:
    public HBox fetchIncomingHistoryTable(String initialDate, String finalDate) throws Exception
         {
              HBox hBox = new HBox();
              hBox.setAlignment(Pos.CENTER);
              ObservableList<StockVO> data = FXCollections.observableArrayList();
              
              data = incomingStockService.fetchIncomingStockDetails(initialDate, finalDate);
              
              
              TableView<StockVO> table = new TableView<StockVO>();
               table.setEditable(false);
               table.setMinSize(600, 300);
               table.setStyle("-fx-background-color: transparent;");
               
               TableColumn date = new TableColumn("Date");
               date.setMinWidth(150);
               date.setCellValueFactory(
               new PropertyValueFactory<StockVO, String>("date"));
               
               TableColumn invoiceId = new TableColumn("Invoice Id");
               invoiceId.setMinWidth(150);
               invoiceId.setCellValueFactory(
               new PropertyValueFactory<StockVO, String>("invoiceId"));
               
               TableColumn itemName = new TableColumn("Item Name");
               itemName.setMinWidth(150);
               itemName.setCellValueFactory(
               new PropertyValueFactory<StockVO, String>("itemName"));
               
               TableColumn typeName = new TableColumn("Type");
               typeName.setMinWidth(150);
               typeName.setCellValueFactory(
               new PropertyValueFactory<StockVO, String>("typeName"));
               
               TableColumn quantity = new TableColumn("Quantity");
               quantity.setMinWidth(150);
               quantity.setCellValueFactory(
               new PropertyValueFactory<StockVO, String>("quantity"));
               
               TableColumn checkColumn = new TableColumn("Select");
               checkColumn.setMinWidth(60);
               checkColumn.setCellValueFactory(new PropertyValueFactory<StockVO, Boolean>("check"));
               
               checkColumn.setCellFactory(new CellFactories().cellFactory);
               
               
               table.setItems(data);
               
              table.getColumns().addAll(checkColumn, date, invoiceId, itemName, typeName, quantity);
              hBox.getChildren().addAll(table);
              return hBox;
         }
    The stackVO is:
    public class StockVO 
    {
         private String invoiceId;
         private String date;
         private String itemName;
         private String typeName;
         private Integer quantity;
         private Boolean check;
         
    //getters and setters
    }
    where the check is for the checkBox control.

    The call of cellfactory is:
    public class CellFactories {
             
             
             
              Callback<TableColumn<StockVO, Boolean>, TableCell<StockVO, Boolean>> cellFactory = new Callback<TableColumn<StockVO, Boolean>, TableCell<StockVO, Boolean>>() {
    
                @Override
                public TableCell<StockVO, Boolean> call(final TableColumn<StockVO, Boolean> param) {
                    final CheckBox checkBox = new CheckBox();
                    final TableCell<StockVO, Boolean> cell = new TableCell<StockVO, Boolean>() {
    
                        
                         
                         @Override
                        public void startEdit() {
                            super.startEdit();
                            if (isEmpty()) {
                                return;
                            }
                            checkBox.setDisable(false);
                            checkBox.requestFocus();
                        }
                        @Override
                        public void cancelEdit() {
                            super.cancelEdit();
                            checkBox.setDisable(true);
                        }
                        public void commitEdit(Boolean value) {
                            super.commitEdit(value);
                            checkBox.setDisable(true);
                        }
                        @Override
                        public void updateItem(Boolean item, boolean empty) {
                            super.updateItem(item, empty);
                            if (!isEmpty()) {
                                checkBox.setSelected(item);
                            }
                        }
                         
                    };
                    cell.setGraphic(checkBox);
                    cell.setContentDisplay(ContentDisplay.GRAPHIC_ONLY);
                    cell.setEditable(true);
                    return cell;
                }
            };
         }
    table I receive are visible in the following link:

    [Pic for my opinion table | http://i45.tinypic.com/6gbxhj.jpg]

    I have just 1 data in my list, but why do I see all the boxes?

    Remove the (checkBox) cell.setGraphic line (which puts the box in the cell without condition) and replace the updateItem (...) method for

    public void updateItem(Boolean item, boolean empty) {
      super.updateItem(item, empty);
      if (isEmpty()) {
        setGraphic(null);
      } else {
        setGraphic(checkBox);
        checkBox.setSelected(item);
      }
    }
    

    But I think you can also do

    checkColumn.setCellFactory(CheckBoxTableCell.forTableColumn(checkColumn));
    

    and then you do not have your plant cell custom at all.

  • TableView with dynamic and updatable columns

    Hello!!

    Im trying to encode a TableView with dynamic columns and I saw a lot of examples like this: create columns dynamically

    But none who would work for my needs.

    Its very simple:

    I got a list of customers, and each has a list of purchases.

    A purchase has a string "buyDetail" and a Date for the ship.

    My TableView need the first column with the name of the client, and a column more for each day of existing ships.

    We do not know previously days that will be used.

    If the sum is greater than 100, for example, I need to be able to apply different styles.

    Example:

    Customer 02/01/2015 03/01/2015 09/01/2015
    Morgan$400 (buyDetail)0$100
    Luis00$20
    Steven$1000
    Hulk0$5$32

    I can't use the properties because I don't know how to buy will have to each customer.

    My best test (only for the first column) was next, but I can't buy it updated if I change the value in the cell:

    I did not try to write other code columns because I feel that I don't hurt really...

    This shows the names of Customer´s, but I can't manage if data modification.

    table = new TableView<Customer>();
    ObservableList<Customer> lista = FXCollections.observableList(registros);
    
    table.setItems(lista);
    
    TableColumn<Customer, Customer> customerNameColumn = new TableColumn<Customer, Customer>("");
      customerNameColumn.setCellValueFactory(new Callback<CellDataFeatures<Customer, Customer>, ObservableValue<Customer>>() {
      public ObservableValue<Customer> call(CellDataFeatures<Customer, Customer> p) {
      return new SimpleObjectProperty(p.getValue());
      }
      });
    
      customerNameColumn.setCellFactory(column -> {return new TableCell<Customer, Customer>() {
      @Override
      protected void updateItem(Customer item, boolean empty) {
      super.updateItem(item, empty);
    
      if (item == null || empty) {
      } else {
      setText(item.getName());
      //APPLY STYLE
      }
      }
      };
      });
    
      table.getColumns().addAll(customerNameColumn);
    

    Post edited by: user13425433

    The columns are available already update default... If you happen to use JavaFX properties for the value of the source.

    The core of you're your question lies in your cellValueFactory.

    Here we have only the cellValueFactory for the name, not for the other columns. So I'll take the name for example, and you have to adapt to the other columns.

    But if you do something like this to your cellValueFactory:

    new SimpleObjectProperty(p.getValue().getName());
    

    Then the name can never be updated if it modifies the client instance: there is no "link" between the name and the property used by the table.

    We have therefore 3 test case:

    • If the name is a property of JavaFX and you do something like:
    TableColumn customerNameColumn = new TableColumn("Customer");
    customerNameColumn .setCellValueFactory(new PropertyValueFactory<>("name"));
    

    Then, if the name change pending Customer-> value in the table automatically changes.

    It also works the other way around: If the table is editable, and the name property is not unalterable-> the value of the changes of names in the Customer instance follows the table has been changed.

    • Now, if your name is not a property of JavaFX but a Java Bean observable property instead (this means that you can register and unregister an instance of Java Bean PropertyChangeListener to this property), you can do:
    TableColumn customerNameColumn = new TableColumn("Customer");
    customerNameColumn.setCellValueFactory(new Callback, ObservableValue>() {
        @Override
        public ObservableValue call(TableColumn.CellDataFeatures p) {
            final Customer t = p.getValue();
            try {
                return JavaBeanStringPropertyBuilder.create().bean(t).name("name").build();
            } catch (NoSuchMethodException ex) {
                // Log that.
                return null;
            }
        }
    });
    

    In this way, you have created a JavaFX property that is bound to an observable property Java Bean.

    Same as above, it works both ways when possible.

    • The latter case is that your name is neither a JavaFX property or a Java Bean-> you can not update unless you happen to create a kind of observer/listener that can update the property with the most recent value.

    Something like that:

    TableColumn customerNameColumn = new TableColumn("Customer");
    customerNameColumn.setCellValueFactory(new Callback ObservableValue>() {
      public ObservableValue call(CellDataFeatures p) {
        final Customer t = p.getValue();
        final SimpleStringProperty result = new SimpleStringProperty ();
        result.setvalue(t.getName());
        t.addNameChangeListener(new NameChangeListener() {
          @Override
          public void nameChanged() {
            result.setvalue(t.getName());
          }
        });
        return result;
      }
    });
    

    If you don't do something like that, the value of the table will never change when the name changes in the instance because the table does not change.

    Now, you will need to apply this theory to your price columns. I hope that I was clear enough to help you.

  • Blue square with a question mark instead of a picture

    I'm on Messages to use with your Mac - Apple Support.

    Instead of pictures (or), I get a blue square with a question mark in it.

    This does not happen with all Web sites, but I wonder why it's happening with an Apple site, and how I can see the photos.

    It sounds like a broken image link.

    Post a screenshot if you can, so that we can confirm. The page seems OK after a glance. Command + shift + 4 then do slide on the affected area, add the image to the desktop to this site via the camera icon.

    If you have browser extensions, disable them and repeat the test. Also try a different web browser if possible to see if it is the scale of the system or only Safari. Is - this Safari you use?

  • What is the yellow square with a question mark on the page OPTIONS of FireFox? Have a peak.

    There is a yellow square with a question mark on the FireFox OPTIONS / settings page.
    If the mouse enters it, it reacts like it is something to click, but no indication that it is.
    Is it supposed to be there and if so, why?
    He has a POINT of MARK BLACK inside the small SQUARE of YELLOW.
    Any help is appreciated.

    This is the help screen. Press the key.

  • In support, forum, signed in, where can I associate with the questions I ask myself? Years back, could get the RSS feed for the question. Always available?

    Where can I associate with my questions about my account? The search for user name does not work. A few years back, you could subscribe to an RSS feed for a question, yours or others. Is - this past, if so, why? How can you save the question, without saving your question text in a document and copy and paste into search? Version of FF 19.0.2.

    Thank you.

    Your messages will now appear in your profile: https://support.mozilla.org/en-US/user/225440

    You can also use the old method of "My Contributions" link: https://support.mozilla.org/questions?filter=my-contributions

    Is that it?

  • Mac Pro does not.  It has a box with a question mark?

    My Mac Pro has stopped working all of a sudden.  We stop for the night and the next day, we got a box with a question mark?  Any ideas?

    Hope this helps.

    OS X: on OS X Recovery - Apple Support

  • I get a folder with a question mark symbol when I turn on

    I'm giving my daughter my MacBook Pro retina (2013) so I'll try to get it to the factory settings.  I tried reloading ElCapitan and downloaded for half an hour and then says that the download failed.  This happened twice, and now all I get is a folder with a question mark symbol.  What should I do?

    Hey! Take a look at these articles Support from Apple and try basic troubleshooting steps.

    If a flashing question mark appears when you start your Mac - Apple Support

    On the screens, you see when you start your Mac - Apple Support

  • Safari on my MacBook Pro retina 9.0.3 15-inch Version 10.11.3 do not show images on some Internet sites. They appear for a fraction of a second then disappear with a question mark in the Center. The same sites work fine on Chrome and Firefox.

    Safari on my MacBook Pro retina 9.0.3 15-inch Version 10.11.3 do not show images on some Internet sites. They appear for a fraction of a second then disappear with a question mark in the Center. The same sites work fine on Chrome and Firefox.

    I suggest you only begin by taking the measures recommended in this support article.

  • Problem with challenge Questions/Force Password reset

    Problem with challenge Questions/Force Password reset

    We have integrated the IOM - OAM 11g R2 PS1. When a new user is created through the console of the IOM and tried to login for the first time in the console of the IOM.

    -Accessible via Direct / url of the Web server on port 7777 (by OAM), framework for change of password is visible and challenging questions setting frame is not visible. In this case, I'm not able to reset the password due to errors (popup appears with "Houston-29000 unexpected exception caught:" error). Paste the contents of the log below:

    NOTE: ANY CUSTOMIZATIONS PERFORMED ON ISSUES CHALLENGE *.

    oracle.iam.ui.platform.exception.OIMRuntimeException: Houston-29000: Unexpected exception caught: java.lang.NullPointerException, msg = null

    at oracle.iam.ui.authenticated.firstlogin.model.am.FirstLoginAMImpl.changePassword(FirstLoginAMImpl.java:261)

    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.adf.model.binding.DCInvokeMethod.invokeMethod(DCInvokeMethod.java:657)

    at oracle.adf.model.binding.DCDataControl.invokeMethod(DCDataControl.java:2143)

    at oracle.adf.model.bc4j.DCJboDataControl.invokeMethod(DCJboDataControl.java:3114)

    at oracle.adf.model.binding.DCInvokeMethod.callMethod(DCInvokeMethod.java:261)

    at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1635)

    at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2150)

    at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:740)

    at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:402)

    at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:252)

    at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:210)

    at oracle.iam.ui.platform.utils.FacesUtils.executeOperationBinding(FacesUtils.java:176)

    at oracle.iam.ui.platform.utils.FacesUtils.executeOperationBindingFromActionListener(FacesUtils.java:123)

    at oracle.iam.ui.authenticated.firstlogin.bean.FirstLoginValidatorBean.setPassword(FirstLoginValidatorBean.java:376)

    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 com.sun.el.parser.AstValue.invoke(AstValue.java:187)

    at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:297)

    at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1256)

    at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)

    at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)

    at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)

    to oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$ 1.run(ContextSwitchingComponent.java:92)

    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)

    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)

    at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1018)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:386)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)

    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:227)

    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)

    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)

    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.adf.view.page.editor.webapp.WebCenterComposerFilter.doFilter(WebCenterComposerFilter.java:117)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:446)

    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:446)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)

    Any help.

    Thank you.

    I solved this problem, the problem is due to Bug ID # 17008132.

    Thank you.

  • First, I'm joining the forum with a question CS4 and CS5 Suite for Mac. Can someone tell me why it is NOT a place to submit a question as it is here?

    First, I'm joining the forum with a question CS4 and CS5 Suite for Mac. Can someone tell me why it is NOT a place to submit a question as it is here?

    Creative Suites Mac forum seems to be closed, so moved that Creative Suites Windows the Forum of Creative Suites "base".

    Then... Post your question and someone may be able to help... is your question about the installation of the old software on a new Mac?

    IF El Capitan Mac read below

    CS6 and previous programs have not been tested and will not be updated to run on Mac El Capitan

    -which means you are trying to use CS6 and earlier at YOUR risk of having problems

    -You can get CS6 and previous programs to install and run, or you can not (some do, some don't)

    -IF not, Details of the message from the error messages and a person may be able to help (just not Adobe)

    This information is a MUST to install old programs on Mac El Capitan

    -You can't get the same error message, but here are some links that CAN help with old programs

    -Java https://helpx.adobe.com/dreamweaver/kb/dreamweaver-java-se-6-runtime.html can help

    Install CS5 on Mac 10.11 https://forums.adobe.com/thread/2003455 can help (also for others than CS5)

    -also a TEMPORARY security change https://forums.adobe.com/thread/2039319

    -http://mac-how-to.wonderhowto.com/how-to/open-third-party-apps-from-unidentified-developer s-mac-os-x-0158095 /

    -the guardian https://support.apple.com/en-au/HT202491

  • CC Desktop App for the Government concerning: the end user administrator came back with 2 questions. Since the Bank has its workstations (computers) in a network segments separated physically (Internet and Intranet), are they correctly assuming that:

    Desktop adobe Creative Cloud for government applications :end user administrator came back with 2 questions. Since the Bank has its workstations (computers) in a network segments separated physically (Internet and Intranet), are they correctly assuming that:

    1. They will be able to download and activate the installation package through CC e package on Internet workstation and transfer with a USB flash drive on a workstation Intranet , hence they can deploy desktop applications to end-user desktops CC?
    2. The deployment of renewal process will work the same as above?

    Government accounts https://forums.adobe.com/thread/1483694 can help

    or

    Since this is an open forum, not Adobe support... you must contact Adobe personnel to help

    Chat/phone: Mon - Fri 05:00-19:00 (US Pacific Time)<=== note="" days="" and="">

    Don't forget to stay signed with your Adobe ID before accessing the link below

    Creative cloud support (all creative cloud customer service problems)

    http://helpx.Adobe.com/x-productkb/global/service-CCM.html

    or

    http://forums.Adobe.com/community/download_install_setup/creative_suite_enterprise_deploym ent

    Creator of Enterprise Cloud https://forums.adobe.com/thread/1489872 License Restrictions

  • How can I send a PDF (contract) with electronic signature fields to a client which sends the document to its legal service for execution?

    How can I send a PDF (contract) with electronic signature fields to a client which sends the document to its legal service for execution? The last time that I sent him one he simply passed on to its legal group but it infiltrates automated email (text pending signature) even after its Legal Department has run.

    Hey bje59649739,

    Please check that no signature field is empty in the document to be signed.

    You can send the document yet keep identification of the signer's email (under: label) for the Legal Department to get the completely signed document.

    Let me know if this helps.

    Kind regards

    Ana Maria

  • I need to create a PDf form with specific editable fields, including the ability to insert an electronic signature and to be able to save the completed form. What version of adobe supports this?

    I need to create a PDF form with specific editable fields, including the ability to insert an electronic signature and to be able to save the completed form. What version of adobe supports this?

    subscription dc Acrobat or purchase, Plans and prices | Adobe Acrobat DC

  • Select the checkbox in the column header everything inside TableView with CheckBoxTableCell

    Hello

    I have a TableView with a column filed with the box and a listener "changed" in the template class 'Code '. I also have a 'Select all' check box in the header of this column that call the method "handleSelectAllCheckbox()". But him 'select all' does not work!

    I'm really grateful for the help.

    Here is my code:

    Concerning

    import java.net.URL;
    import java.text.DateFormat;
    import java.text.SimpleDateFormat;
    import java.util.ResourceBundle;
    import javafx.beans.property.SimpleBooleanProperty;
    import javafx.beans.property.SimpleStringProperty;
    import javafx.beans.value.ChangeListener;
    import javafx.beans.value.ObservableValue;
    import javafx.collections.FXCollections;
    import javafx.collections.ObservableList;
    import javafx.event.ActionEvent;
    import javafx.event.EventHandler;
    import javafx.fxml.FXML;
    import javafx.fxml.Initializable;
    import javafx.scene.control.CheckBox;
    import javafx.scene.control.TableCell;
    import javafx.scene.control.TableColumn;
    import javafx.scene.control.TableView;
    import javafx.scene.control.TitledPane;
    
    
    
    
    import javafx.scene.control.cell.PropertyValueFactory;
    import javafx.util.Callback;
    
    
    
    
    public class FXMLController implements Initializable {
    
    
        private CodeService codeService = new CodeServiceImpl();
        @FXML
        private TableView<Code> codeTableView;
        @FXML
        private TableColumn codeNomCol;
        @FXML
        private TableColumn codeAbregeCol;
        @FXML
        private TableColumn codeSelectCol;
        // The table's data
        private ObservableList<Code> dataCode;
    
    
        // ---------- ---------- ---------- ---------- ----------
        @Override
        public void initialize(URL url, ResourceBundle rb) {
            this.initCodeTableView();
            this.initColumnsSize();
        }
    
    
        /**
         *
         */
        private void initCodeTableView() {
            
            this.codeNomCol.setCellValueFactory(new PropertyValueFactory<Code, String>("nom"));
            this.codeAbregeCol.setCellValueFactory(new PropertyValueFactory<Code, String>("abrege"));
            //this.codeSelectCol.setCellValueFactory(new PropertyValueFactory<Code, String>("selected"));
    
    
            this.codeSelectCol.setCellValueFactory(new PropertyValueFactory("selected"));
            this.codeSelectCol.setCellFactory(new Callback<TableColumn<Code, Boolean>, TableCell<Code, Boolean>>() {
                @Override
                public TableCell<Code, Boolean> call(TableColumn<Code, Boolean> arg0) {
                    return new CheckBoxTableCell<Code, Boolean>();
                }
            });
            
            // Header CheckBox
            CheckBox cb = new CheckBox();
            cb.setUserData(this.codeSelectCol);
            cb.setOnAction(handleSelectAllCheckbox());
            this.codeSelectCol.setGraphic(cb);       
    
    
            this.codeTableView.getItems().clear();
            this.dataCode = FXCollections.observableArrayList((List<Code>) this.codeService.listCodes());
            this.codeTableView.setItems(this.dataCode);
        }
    
    
        /**
         * 
         * @return 
         */
        private EventHandler<ActionEvent> handleSelectAllCheckbox() {
    
    
            return new EventHandler<ActionEvent>() {
                @Override
                public void handle(ActionEvent event) {
                    CheckBox cb = (CheckBox) event.getSource();
                    TableColumn column = (TableColumn) cb.getUserData();
                    if (cb.isSelected()) {
                        for (Code c : dataCode) {
                            System.out.println("Nom: " + c.getNom() + " Selected: " + c.getSelected());
                            c.setSelected(new SimpleBooleanProperty(Boolean.TRUE));
                        }
                     } else {
                        for (Code c : dataCode) {
                            System.out.println("Nom: " + c.getNom() + " Selected: " + c.getSelected());                        
                            c.setSelected(new SimpleBooleanProperty(Boolean.FALSE));
                        }
                    }
    
    
                }
            };
        }
    
    
        /**
         *
         */
        private void initColumnsSize() {
            this.codeNomCol.setMinWidth(300);
            this.codeAbregeCol.setMinWidth(200);
            this.codeSelectCol.setMinWidth(50);
        }
    
    
    
    
    
    
    }
    

    The line

    c.setSelected(new SimpleBooleanProperty(Boolean.TRUE));
    

    bad air.

    It should be

    c.setSelected(true);
    

    This suggests that your class model Code is wrong: it should be built according to the model of properties JavaFX (see tutorial):

    public class Code {
         private final BooleanProperty selected ;
         public Code(boolean selected) {
              this.selected = new SimpleBooleanProperty(this, "selected", selected);
         }
         public final boolean getSelected() {
              return this.selected.get();
         }
         public final void setSelected(boolean selected) {
              this.selected.set(selected);
         }
         public final BooleanProperty selectedProperty() {
              return selected ;
         }
    }
    

    (And similarly for the other properties).

    The problem is that when you change the selected property, the individual check boxes in the column of the table are respecting the old instances of BooleanProperty changes, not the new instance you just created.

Maybe you are looking for