Including Spiffy Ui into existing GWT ?

12 views
Skip to first unread message

almirena...@gmail.com

unread,
Nov 10, 2014, 6:31:33 AM11/10/14
to spif...@googlegroups.com
Hi Zack,

You wrote in response to a question by Vitaly,

"Hello Vitaly,

We have a whole page that shows you how to get started with Spiffy UI and it
walks you through the steps to integrate it with an existing project.

  http://www.spiffyui.org/?getStarted
"

I have read that page, and honestly find the guide incomprehensible. You begin talking about three different things altogether: (1) using the project creator, (2) creating project from scratch, and (3) "adapting" an existing GWT project to use Spiffy Ui. You go on then to talk about obtaining the "dependencies" with two methods (a) automatic and (b) manual. For the Automatic methods your talk about (a - i) Maven and (a - ii) Ant. These two methods have different xml entries altogether. I have tried Maven and it downloads only the Spiffy Ui jar file. The manual method (b) also provides the Spiffy Ui jar file. Nothing else that I can see. But you then talk about the 3rd party dependencies that are required also. Where do we get them? Does it matter what version they are? Shouldn't we get the 3rd party dependencies that are specific to the version of Spiffy Ui that we download using methods (a) or (b).?  Next you say we can add the dependencies to our project. But you started by talking about three different kinds of project (1), (2), and (3) above. Adding something to a project created from scratch will not be the same thing as "adapting" a GWT project. Your example looks like you are using the Ant notation, not sure if you are at this point still talking about obtaining the dependencies or about something else. Doesn't look like your example is relevant to GWT at all. This is very confusing. I cannot understand what you are talking about.

Assuming we have all the required jar files and assuming we have added all the jars files to our project you then go on about adding references to spiffyui javascript to our HTML file. Which HTML file? GWT projects may have a lot of UI Binder components, that specify HTML pages in .xml files. Do you mean to add the references there? or do you mean to add them somewhere else in a GWT project. There may be no HTML files in GWT projects at all, that I can see, though there are places where HTML script can be added.

The last line line in your guide about adding the  <inherits name="org.spiffyui.spiffyui" /> is understandable. But is seems to be the only place where you talk about GWT at all.

Is there are straightforward description with examples of how to add and use Spiffy Ui with GWT anywhere? I am not interested in anything else, and I don't use Maven or Ant that much either.
I think this is what Vitaly was looking for when he asked his question, he had probably already read your guide like me and got nothing out of it.

Thanks for any clarification.
Regards
Armida










Zack Grossbart

unread,
Nov 10, 2014, 6:57:55 AM11/10/14
to spif...@googlegroups.com
Hello Armida,

Thanks for taking a look at Spiffy UI.

I'm sorry that page wasn't clear. The truth is that there are a few different ways to add Spiffy UI to your project and this page is trying to cover all of them. Let me start with some simple questions:

1. What are you using to build your existing project? Ant, Maven, something else?

2. What is the main page of your existing project? When you access it what URL do you hit?

Thanks,
Zack
--
You received this message because you are subscribed to the Google Groups "Spiffy UI" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spiffy-ui+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages