Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    problem with PickerIcon.Picker

    this code compiles with smartgwt version 2.6.1


    Code:
    private DynamicForm getImageForm() {
    
    // IMAGE DynamicForm creation...
    
    imageForm = new DynamicForm();
    
    imageForm.setWidth("100%");
    
    imageForm.setHeight(1);
    
    imageForm.setCellPadding(5);
    
    imageForm.setLayoutAlign(Alignment.CENTER);
    
    imageForm.setTitleOrientation(TitleOrientation.TOP);
    
    
    
    
    
    PickerIcon addSeparatorPicker = new PickerIcon(new PickerIcon.Picker("commandLayout/add.png"), new FormItemClickHandler() {
    
    
    
    public void onFormItemClick(FormItemIconClickEvent event) {
    
    uploadForm.setVisible(true);
    
    uploadLayout.setVisible(true);
    
    }
    
    });


    with smartgwt 2.12 it gives this error :

    project\src\it\client\gui\view\ticker\summary\TickerSummary.java:294: error: cannot find symbol

    [javac] PickerIcon addSeparatorPicker = new PickerIcon(new PickerIcon.Picker("commandLayout/add.png"), new FormItemClickHandler() {

    [javac] ^

    [javac] symbol: class Picker

    [javac] location: class PickerIcon



    the only clue I have is that the "Picker" inner class defined at the end of this PickerIcon.java doesn't seem presend in the LGPL smartgwt, could that be possible :

    https://github.com/isomorphic-softwa...ickerIcon.java


    could anyone have a clue ?
    could this be missing from LGPL jar somehow :

    public static class Picker {
    private String url;

    public Picker(String url) {
    this.url = url;
    }
    }
    }
    Last edited by ulamteller; 25 Sep 2025, 04:05.

    #2
    There's no such thing as SmartGWT 2.6.1, you may be thinking GWT.

    There's also not a SmartGWT 12.2, just 12.1.

    We're not really sure if this is AI-generated slop since it doesn't make much sense, but, just briefly:

    1) the release notes explain backcompat issues, which are extremely rare

    2) PickerIcon still exists in the latest APIs so it would not be a backcompat issue, but you may have corrupted your environment somehow

    https://smartclient.com/smartgwt/jav...ickerIcon.html

    Comment


      #3
      what do you call this ? smartgwt ?
      https://github.com/isomorphic-softwa...ickerIcon.java

      Comment


        #4
        That is SmartGWT but your versions continue to make no sense.

        Actual builds of SmartGWT should be obtained from smartclient.com.

        Comment

        Working...
        X