Announcement

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

    Question about SmartGwt, balsamiqMockups and custom UI classes

    Hi, i wold like to know if there is a way to re-use a GWT java UI class in balsamiq mockups Ui Designer.

    For example:
    i'm building a new application. There is some components that i want to extend and add new properties, like a button (exetendedButton).
    I when draw it in Mockups, save as xml, and import it to my java code... there is a way to link my modified component (exetendedButton) with the generated xml ?

    #2
    In 3.1 it's possible to set additional properties in Balsamiq that appear in the generated Component XML - see the section "Setting IDs & Custom Properties" in the Balsamiq Import overview.

    It's also possible to use custom classes in *SmartClient* but not yet for SmartGWT (due to limitations of GWT with respect to Java reflection). However, this capability is coming to SmartGWT in 4.x releases as well.

    Comment


      #3
      Originally posted by Isomorphic View Post
      In 3.1 it's possible to set additional properties in Balsamiq that appear in the generated Component XML - see the section "Setting IDs & Custom Properties" in the Balsamiq Import overview.

      It's also possible to use custom classes in *SmartClient* but not yet for SmartGWT (due to limitations of GWT with respect to Java reflection). However, this capability is coming to SmartGWT in 4.x releases as well.
      Thank you for the quick answer Isomorphic :D

      I would like to know just 3 more things:

      1- Can I do that (custom classes) with Visual Builder for GWT ?
      2- There is a estimate date for this functionality in 4.x release ? I have downloaded: SmartGWT 4.0d EnterpriseEval 2013-02-24.
      3 - What is the best pratics to bind a dynamic loaded screen (i'm using RPCManager.cacheScreens) with a presenter... you know i need deal with clickhandlers and other things..

      Thank you very much.

      Comment


        #4
        1. No, not in 3.1 (some GWT limitation regarding Java reflection)

        2. It's actually there now, but there are some known bugs that happen only in development mode that are still being worked on

        3. Take a look at the Component XML examples in the Showcase.

        Note we don't generally recommend using the GWT "Presenter" pattern, because it produces a huge amount of unnecessary scaffolding when tackling simple use cases - see for example the way that it turns a simple login dialog into dozens of separate classes and interfaces.

        Comment


          #5
          Originally posted by Isomorphic View Post
          1. No, not in 3.1 (some GWT limitation regarding Java reflection)

          2. It's actually there now, but there are some known bugs that happen only in development mode that are still being worked on

          3. Take a look at the Component XML examples in the Showcase.

          Note we don't generally recommend using the GWT "Presenter" pattern, because it produces a huge amount of unnecessary scaffolding when tackling simple use cases - see for example the way that it turns a simple login dialog into dozens of separate classes and interfaces.
          Hi, i'm using smartGWT 4.0

          1- I did not find the Component XML samples in Showcase can you show me link or in witch session those sample are located please?

          thank you

          Comment


            #6
            You need to look in the Showcase that comes with your 4.0 build. The online Showcase shows 3.1 samples.

            Comment


              #7
              Originally posted by Isomorphic View Post
              You need to look in the Showcase that comes with your 4.0 build. The online Showcase shows 3.1 samples.
              True,

              I'm seeing SmartGWT 4.0d EnterpriseEval 2013-02-24 ShowCase.

              In all ui.xml tabs, the source code are not shown;

              I'm downloading the last build ( http://smartclient.com/builds/SmartGWT/4.0d/EnterpriseEval/2013-02-27) to test if this problem persist.

              Comment


                #8
                Originally posted by Isomorphic View Post
                It's also possible to use custom classes in *SmartClient* but not yet for SmartGWT (due to limitations of GWT with respect to Java reflection). However, this capability is coming to SmartGWT in 4.x releases as well.
                Originally posted by Isomorphic View Post
                2. It's actually there now, but there are some known bugs that happen only in development mode that are still being worked on

                Hi, I'm with last SmartGWT in 4.x, can you show me some sample of this functionality please?

                Thank you very much

                Comment


                  #9
                  It works the same as for SmartClient - you set "constructor" to a fully-qualified Java class name that is a subclass of the SmartGWT widget that would normally be created (eg <ListGrid> creates a com.smartgwt.client.widgets.grid.ListGrid instance, so your class needs to subclass this).

                  Feel free to play around with it, but again, there are known bugs - we won't be there to walk you through them, because we're fixing them instead.

                  Comment


                    #10
                    Originally posted by Isomorphic View Post
                    It works the same as for SmartClient - you set "constructor" to a fully-qualified Java class name that is a subclass of the SmartGWT widget that would normally be created (eg <ListGrid> creates a com.smartgwt.client.widgets.grid.ListGrid instance, so your class needs to subclass this).

                    Feel free to play around with it, but again, there are known bugs - we won't be there to walk you through them, because we're fixing them instead.
                    Sure, I'm aware about eventual upcoming bugs, and I can help with reporting them.

                    In showcase, Component XML, session: #addingHandlers
                    How can i use this "constructor" (lets use SAVE BUTTON) with my customSaveButton component?

                    Can you please put a sample code here?

                    Thanks

                    Comment


                      #11
                      Thanks for the offer of help, but, these are known bugs, not bugs we need help finding.

                      If you try to use this feature right now, you are just going to run straight into known bugs.

                      We are going to focus on fixing these bugs rather than pointlessly helping you run right into a wall we know is there :)

                      We'd recommend just waiting for the announcement of when this feature is ready to use.

                      Comment


                        #12
                        Originally posted by Isomorphic View Post
                        Thanks for the offer of help, but, these are known bugs, not bugs we need help finding.

                        If you try to use this feature right now, you are just going to run straight into known bugs.

                        We are going to focus on fixing these bugs rather than pointlessly helping you run right into a wall we know is there :)

                        We'd recommend just waiting for the announcement of when this feature is ready to use.
                        Thank you very much Isomorphic,
                        I think i will start developing without this feature and after add it to my project.

                        There is a estimate date for this release ? 1, 3 or 6 months approximately?

                        Thanks

                        Comment


                          #13
                          Fixes to make this particular feature usable should land in 4.0d builds well before one month.

                          Comment


                            #14
                            Originally posted by Isomorphic View Post
                            Fixes to make this particular feature usable should land in 4.0d builds well before one month.
                            Thank you very much Isomorphic.
                            All my questions were answered.

                            --- End of Thread ---

                            Comment

                            Working...
                            X