Import Balsamiq mockups as Smart GWT screens

Nightly builds of SmartGWT 3.1d and SmartClient 8.3d now include an import tool that allows you to take Balsamiq mockups and transform them into a runnable, interactive screen backed by clean, clear code. You can then extend the screen into a real application by adding event handling and data binding, without losing any of the work you put into creating the original Balsamiq mockup.

Download the latest nightly at smartclient.com/builds, then take a look at the Balsamiq Import chapter - search for “Balsamiq” in the SmartClient Reference, or look at the “Balsamiq Import” chapter in com.smartgwt.client.docs for SmartGWT. This chapter explains the different ways to use the tool, how to move from an imported mockup to a final application, and so forth.

Here are a couple sample mockups you can try if you don’t already have some on hand (or you’re just trying to verify the tool is installed correctly):

If you have trouble with the importer, please create a new thread and add your Balsamiq BMML files as an attachments. If possible, please post BMML files that represent the minimum mockup that will reproduce a given problem - this will help us fix issues faster.

Note also that while the docs currently say this will be included in Pro Edition, this has not yet been finalized, although it is definite that it will be included in Power Edition.

A quick overview of some of the capabilities of the importer follows - these are excerpts from the Balsamiq Import chapter mentioned above, which you should definitely read before using the tool.

Enjoy!

Sorry to be thick about this, BUT…

I downloaded the 4/13/12 Eval, unzipped it, navigate to
…\smartgwtee-3.0p\doc\javadoc\com\smartgwt\client\docs...

No Balsamiq chapter? Jumps from AutoTest.html to BaseLine.html.

Please advise, thanks.

3.1d not 3.0p

Can imported Mockups run client-side without java servlet?

I use the LGPL version but am prepared to upgrade to PRO for this feature alone. Documentation points to need for a servlet implementation present for this to work. Working on a UI served by embedded C++ web servers this is a blocker for me.

Yes, imported mockups can be used at runtime without the Java platform on the server. Take the Component XML and convert it to JavaScript files using the techniques in the Component XML overview, then load it with loadScreen().

Screenloader can’t find ScreenName.ui.xml file

I created our project by using the samples builtInDS project. I have tried putting the Screen.ui.xml file in the shared\ui folder and tried putting the shared\ui folder in various places such as under the war folder
and under the war\builtinds folder. No matter where I put it the screenloader can’t find the file. Looking at the Console output, I see the HTTP GET try to access the ScreenName.ui.xml file and the Status 404 returned indicating file not found.

The Component XML documentation indicates the shared\ui folder should be placed under webroot. I think this folder is parallel to the sc folder.

Can anyone tell me what I’m doing wrong?

Your placement sounds correct, and you can look at the EE Showcase for working samples. Make sure the file name is spelled correctly and has correct letter case. We can’t really help further without code to look at and server logs of the attempt.