Announcement

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

    Upload image file

    Hi,

    Whats the proper way to upload an image file when using datasource.
    I want to have tiles form the gwt showcase but with the possibility to upload an image

    #2
    Actually can somebody explain how to use that exemple from the showcase
    http://www.smartclient.com/smartgwt/...tiling_editing
    but in real life situation ,when most probably the image will be databound and the editing will include also image upload and editing.

    In the layout I have
    ......
    DetailViewerField image = new DetailViewerField("image");
    ......

    In the datasource I have bounded it to DataSourceImageFileField imageField;
    And of course have an error JavaScript object(3372)]): isc.DS.getDataSource(...).getFilenameField is not a function

    Comment


      #3
      If I understand right the way to do that is to make one mock frame and call the server to store the image and then the frame gets the response from the server.
      But how to bound this with the Datasource - how the date source will know that there is an image to visualize?

      Comment


        #4
        I am on an equivalent problem, have a look to this post, it helped me (i just have a problem when projet is compiled)

        http://forums.smartclient.com/forum/...-frame-servlet
        Last edited by Alinto; 12 Feb 2016, 05:21.

        Comment


          #5
          [edit] i made a mistake, i've changed the link

          Comment


            #6
            10x Alinto !
            I'm aware of this post, the problem is that is not related to datasource usage.
            I hope in two days I'll return to this issue and return back some info if I succeed ,I'm starting to think that with SmartGwt there are more issues than solutions.
            Cheers

            Comment

            Working...
            X