Re: Compiling permutations Analyzing permutation #1 error when I used smartgwt components inside a gwt project.

2009-05-16 Thread Google™ Web Toolkit Applications

I solved, the problem. I was using a previous version of gwt-1.5.3.
Thanks anyway

On 16 mayo, 16:09, vetal  wrote:
> Hello!
> What version of smartgwt you use?
> I use smartgwt-1.0b2 and don't get error like you
>
> On 16 май, 23:08, "ayo...@gmail.com"  wrote:
>
> > Hi, I trying to used smartgwt components inside an existing gwt
> > project, but when I call a class that uses smartgwt components I get
> > the following error:
>
> > Compiling permutations
> > Analyzing permutation #1
> > [ERROR] Errors in jar:file:/C:/Users/projectRoute/trunk/lib/smartGwt/
> > smartgwt.jar!/com/smartgwt/client/data/DataSource.java
> > [ERROR] Line 973: Unresolvable native reference to method 'getJsObj'
> > in type 'com.smartgwt.client.data.DSRequest'
> > [ERROR] Line 1022: Unresolvable native reference to method 'getJsObj'
> > in type 'com.smartgwt.client.data.DSResponse'
> > [ERROR] Line 1022: Unresolvable native reference to method 'getJsObj'
> > in type 'com.smartgwt.client.data.DSRequest'
> > [ERROR] Line 1342: Unresolvable native reference to method 'getJsObj'
> > in type 'com.smartgwt.client.data.Criteria'
> > [ERROR] Line 1397: Unresolvable native reference to method 'getJsObj'
> > in type 'com.smartgwt.client.data.Criteria'
> > [ERROR] Line 1458: Unresolvable native reference to method 'getJsObj'
> > in type 'com.smartgwt.client.data.Criteria'
> > [ERROR] Line 1477: Unresolvable native reference to method 'getJsObj'
> > in type 'com.smartgwt.client.data.Criteria'
> > [ERROR] Line 1491: Unresolvable native reference to method 'getJsObj'
> > in type 'com.smartgwt.client.data.Criteria'
> > [ERROR] Line 1501: Unresolvable native reference to method 'getJsObj'
> > in type 'com.smartgwt.client.data.Criteria'
>
> > Some body can tell what can I do. Thanks.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Compiling permutations Analyzing permutation #1 error when I used smartgwt components inside a gwt project.

2009-05-16 Thread Google™ Web Toolkit Applications

I solved, the problem. I was using a previous version of gwt-1.5.3.
Thanks anyway

On 16 mayo, 16:09, vetal  wrote:
> Hello!
> What version of smartgwt you use?
> I use smartgwt-1.0b2 and don't get error like you
>
> On 16 май, 23:08, "ayo...@gmail.com"  wrote:
>
> > Hi, I trying to used smartgwt components inside an existing gwt
> > project, but when I call a class that uses smartgwt components I get
> > the following error:
>
> > Compiling permutations
> > Analyzing permutation #1
> > [ERROR] Errors in jar:file:/C:/Users/projectRoute/trunk/lib/smartGwt/
> > smartgwt.jar!/com/smartgwt/client/data/DataSource.java
> > [ERROR] Line 973: Unresolvable native reference to method 'getJsObj'
> > in type 'com.smartgwt.client.data.DSRequest'
> > [ERROR] Line 1022: Unresolvable native reference to method 'getJsObj'
> > in type 'com.smartgwt.client.data.DSResponse'
> > [ERROR] Line 1022: Unresolvable native reference to method 'getJsObj'
> > in type 'com.smartgwt.client.data.DSRequest'
> > [ERROR] Line 1342: Unresolvable native reference to method 'getJsObj'
> > in type 'com.smartgwt.client.data.Criteria'
> > [ERROR] Line 1397: Unresolvable native reference to method 'getJsObj'
> > in type 'com.smartgwt.client.data.Criteria'
> > [ERROR] Line 1458: Unresolvable native reference to method 'getJsObj'
> > in type 'com.smartgwt.client.data.Criteria'
> > [ERROR] Line 1477: Unresolvable native reference to method 'getJsObj'
> > in type 'com.smartgwt.client.data.Criteria'
> > [ERROR] Line 1491: Unresolvable native reference to method 'getJsObj'
> > in type 'com.smartgwt.client.data.Criteria'
> > [ERROR] Line 1501: Unresolvable native reference to method 'getJsObj'
> > in type 'com.smartgwt.client.data.Criteria'
>
> > Some body can tell what can I do. Thanks.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



To deploy GWT1.6 app on my own local web server issue

2009-05-16 Thread bencoder

Dear all

I use EasyPHP, a kind of WAMP, to build my own local server (http://
localhost:80/).
Then, I create a application using Eclipse with GWT1.6 plug at
localhost/myAPP directory.
This application, myAPP, needs to request JSON data from json.php file
which locates at localhost/json directory.

I think I have to disable the embedded Tomcat server.
Hence, I open Run->Open Run Dialog... in Eclipse, and add -noserver
and -port 80 in Program arguments on Argrments tab.

After that, I run the app in host mode. But there is nothing to
appear, i.e. the http://localhost/myAPP.html is NOT found.
I have tried to add -startupUrl /myAPP.html in Program arguments, the
problem is still here.

Do any flags that I missed need to be added in Program arguments?


BR,
bencoder
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Problems with ImageBundle in IE8 when not in compatibility mode

2009-05-16 Thread Alex Epshteyn

BE CAREFUL when copying code from this page - Thomas Broyer's comment
has an error.

The correct meta tag to add is



be sure the first attribute is http-equiv, not name!

(wasted 20 minutes on this)

I can confirm that this tag fixes the problem with ImabeBundle.

Be sure to read http://msdn.microsoft.com/en-us/library/cc288325.aspx
for more info.  As it says, this meta tag must appear before any
element in in the  except  and/or other  tags.
(This makes sense, because the browser needs to process this tag prior
to interpreting the stylesheets).



On May 1, 8:38 am, Ken Kahn  wrote:
> Thanks to both of you. Fixed my problem as well.
>
> I noticed that the Rich Text sample in the GWT Showcase usesImageBundleand it 
> seems to work fine inIE8without compatibility
> mode. I have yet to find time to track down what is different in my
> case.
>
> -ken
>
> On Apr 30, 3:31 am, Dominik Steiner 
> wrote:
>
> > Thanks for the tip Thomas,
>
> > just to amend/aggragate something i found out that you have to add the
> > meta tag to the head section before any other elements and the meta
> > tag i added was
>
> > 
>
> > HTH
>
> > Dominik
>
> > On 15 Apr., 03:56, Thomas Broyer  wrote:
>
> > > On 14 avr, 18:41, "toont...@googlemail.com" 
> > > wrote:
>
> > > > Greetings,
>
> > > > Only inIE8with compatibility mode off do I see the images in the
> > > >ImageBundledisplayed in the right location but other images from the
> > > > bundle are displayed to the left of the displayed image. In other
> > > > words it isn't clipping the bundle to the left. In compatibility mode
> > > > it works fine and it works in IE7, FF3, Opera, and Safari.
>
> > > > This a problem in 1.6.4 and 1.5.3.
>
> > > Other things will break inIE8's"super standards" mode.
>
> > > > I've looked for previous discussions of this and found
>
> > > >http://groups.google.com/group/Google-Web-Toolkit/browse_thread/threa...
>
> > > > where Janie says "I'm trying to track down an issue with ImageBundles
> > > > that I'm having inIE8.  This email is not about that issue... ". But
> > > > then nothing more about this.
>
> > > > Suggestions?
>
> > > AskIE8to use the appropriate mode by including the corresponding
> > > HTTP response header or  to your HTML host page; e.g.
>
> > >    
>
> > > Seehttp://msdn.microsoft.com/en-us/library/cc288325(VS.85).aspx
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: NullPointerException in the StockWatcher on gwt-mac-1.6.4

2009-05-16 Thread Pavel

Hi Sumit,

I have solved the problem by updating Mac OS X to version 10.5.7.

Thank you,
Pavel
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: @gwt.TypeArgs gwt 1.6 specification documentation

2009-05-16 Thread Blessed Geek

I suppose the actual word is "hearsay" rather than "heresay".
Furthering my engagement in trivial semantics, so my other question
is, begging your pardon for indulging in technical jargon purism,

Is GWT "RPC" can really be called "RPC". If it can be called RPC, then
every time I time into my browser "http: //
something.something.something" I would be engaging in RPC, wouldn't I?

Perhaps, it is more accurately called Origin Servlet Call, because
unlike other/traditional RPC which could be authenticated call to
execute "real procedures" in "out-of-domain" servers, GWT RPC is
restricted to the origin server between web page client and origin
server.

Anyone has an opinion why GWT RPC could be called RPC without allowing
calling my normal use of browser loading from an http servlet/jsp
being called RPC.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



@gwt.TypeArgs gwt 1.6 specification documentation

2009-05-16 Thread Blessed Geek

Dear GWT team,

This may seem trivial but I think even if it is worth just a paragraph
or two, you should document the new requirements rather than just
referring to "unlike pre-gwt1.5, you have to used parameterised types"
in blogs and discussions.

Having proper documentation makes it "professional" too. I find it
difficult to ascertain the precise requirement when I have to google-
search for "@gwt.TypeArgs gwt 1.6 specification" and finding none but
some heresay/heresy from blogs and discussions.

Even your "what's new" says:
@gwt.TypeArgs pre-1.5 has been deprecated but unbelievably and
unacceptably give examples on how to use @gwt.TypeArgs using the
pre-1.5 patterns.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Label with ellipsis "..." support!

2009-05-16 Thread Jeff Chimene

On 05/10/2009 03:01 AM, LooneyLynn wrote:
>   }
>
>   public LabelEllipsis(
>   String InContent,
>   String InStyleName,
>   int InWidth,
>   int InMaxHeight,
>   HorizontalAlignmentConstant InAlign){
>   this(InContent, InStyleName, InWidth, InMaxHeight);
>
>   this.setHorizontalAlignment(InAlign);
>   }
>
>   @Override
>   protected void onLoad(){
>   setText(m_Content);
>   }
>
>



What's the purpose of InContent in the setText() method? It's never 
referenced...


>   @Override
>   public void setText(String InContent){
>   if(!isAttached())
>   return;
>
>   String OldContent = m_Content;
>
>   super.setText(m_Content);
>
>   int Height = getOffsetHeight();
>
>   if(Height>  m_MaxHeight){
>   float Ratio = (float)m_MaxHeight / (float)Height; //<  
> 1.0
>
>   m_Content = m_Content.substring(0,
>   Math.min(m_Content.length() - 4, 
> (int)(m_Content.length() *
> Ratio))) + "...";
>
>   super.setText(m_Content);
>
>   Height = getOffsetHeight();
>
>   if(Height<  m_MaxHeight){
>   // add chars until max height is reached
>   while(Height<  m_MaxHeight){
>   m_Content = OldContent.substring(0, 
> m_Content.length() - 2) +
> "...";
>
>   super.setText(m_Content);
>
>   Height = getOffsetHeight();
>   }
>
>   // remove last char
>   m_Content = m_Content.substring(0,
>   Math.min(m_Content.length() - 
> 4, m_Content.length() *
> m_MaxHeight)) + "...";
>
>   super.setText(m_Content);
>   }else if(Height>  m_MaxHeight){
>   // remove chars until max height is reached
>   while((Height>  m_MaxHeight)&&  
> (m_Content.length()>= 4)){
>   m_Content = m_Content.substring(0, 
> m_Content.length() - 4) +
> "...";
>
>   super.setText(m_Content);
>
>   Height = getOffsetHeight();
>   }
>   }
>   }
>   }
> }
> >
>


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Compiling permutations Analyzing permutation #1 error when I used smartgwt components inside a gwt project.

2009-05-16 Thread vetal

Hello!
What version of smartgwt you use?
I use smartgwt-1.0b2 and don't get error like you

On 16 май, 23:08, "ayo...@gmail.com"  wrote:
> Hi, I trying to used smartgwt components inside an existing gwt
> project, but when I call a class that uses smartgwt components I get
> the following error:
>
> Compiling permutations
> Analyzing permutation #1
> [ERROR] Errors in jar:file:/C:/Users/projectRoute/trunk/lib/smartGwt/
> smartgwt.jar!/com/smartgwt/client/data/DataSource.java
> [ERROR] Line 973: Unresolvable native reference to method 'getJsObj'
> in type 'com.smartgwt.client.data.DSRequest'
> [ERROR] Line 1022: Unresolvable native reference to method 'getJsObj'
> in type 'com.smartgwt.client.data.DSResponse'
> [ERROR] Line 1022: Unresolvable native reference to method 'getJsObj'
> in type 'com.smartgwt.client.data.DSRequest'
> [ERROR] Line 1342: Unresolvable native reference to method 'getJsObj'
> in type 'com.smartgwt.client.data.Criteria'
> [ERROR] Line 1397: Unresolvable native reference to method 'getJsObj'
> in type 'com.smartgwt.client.data.Criteria'
> [ERROR] Line 1458: Unresolvable native reference to method 'getJsObj'
> in type 'com.smartgwt.client.data.Criteria'
> [ERROR] Line 1477: Unresolvable native reference to method 'getJsObj'
> in type 'com.smartgwt.client.data.Criteria'
> [ERROR] Line 1491: Unresolvable native reference to method 'getJsObj'
> in type 'com.smartgwt.client.data.Criteria'
> [ERROR] Line 1501: Unresolvable native reference to method 'getJsObj'
> in type 'com.smartgwt.client.data.Criteria'
>
> Some body can tell what can I do. Thanks.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: how to make gwt eclipse plugin compiler see other projects

2009-05-16 Thread Tim McCormack

On May 15, 9:15 pm, "Donald.W.Long" 
wrote:
> First lets look at the depent project.
>
> You must create this project as a GWT project.

But then I can't choose the package name I want, correct? It'll be
something.client, right?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Compiling permutations Analyzing permutation #1 error when I used smartgwt components inside a gwt project.

2009-05-16 Thread ayo...@gmail.com

Hi, I trying to used smartgwt components inside an existing gwt
project, but when I call a class that uses smartgwt components I get
the following error:

Compiling permutations
Analyzing permutation #1
[ERROR] Errors in jar:file:/C:/Users/projectRoute/trunk/lib/smartGwt/
smartgwt.jar!/com/smartgwt/client/data/DataSource.java
[ERROR] Line 973: Unresolvable native reference to method 'getJsObj'
in type 'com.smartgwt.client.data.DSRequest'
[ERROR] Line 1022: Unresolvable native reference to method 'getJsObj'
in type 'com.smartgwt.client.data.DSResponse'
[ERROR] Line 1022: Unresolvable native reference to method 'getJsObj'
in type 'com.smartgwt.client.data.DSRequest'
[ERROR] Line 1342: Unresolvable native reference to method 'getJsObj'
in type 'com.smartgwt.client.data.Criteria'
[ERROR] Line 1397: Unresolvable native reference to method 'getJsObj'
in type 'com.smartgwt.client.data.Criteria'
[ERROR] Line 1458: Unresolvable native reference to method 'getJsObj'
in type 'com.smartgwt.client.data.Criteria'
[ERROR] Line 1477: Unresolvable native reference to method 'getJsObj'
in type 'com.smartgwt.client.data.Criteria'
[ERROR] Line 1491: Unresolvable native reference to method 'getJsObj'
in type 'com.smartgwt.client.data.Criteria'
[ERROR] Line 1501: Unresolvable native reference to method 'getJsObj'
in type 'com.smartgwt.client.data.Criteria'

Some body can tell what can I do. Thanks.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: i need help regarding linking two pages

2009-05-16 Thread Jim

The following is an example I use in GWT mail:

// Add a click handler that displays a ContactPopup when it is
clicked.
link.addClickHandler(new ClickHandler() { //Similar to Your 
login
page
public void onClick(ClickEvent event) {
mailApp.removeRightPanelWidgets();

if (contactInput == null) {
contactInput = new ContactInput(); 
//ContactInput extends
Composite. That is similiar to your Welcome page
}
mailApp.addWidgetIntoRightPanel(contactInput);  
//Where do you put
your Welcome page.

//You
don't need the following code if there is no RPC
ContactPK contactPK = 
(ContactPK)contact.getPrimaryKey();
mailService.getContact(contactPK, new 
AsyncCallback() {

public void onFailure(Throwable caught) 
{
caught.printStackTrace();
}

public void onSuccess(Contact result) {
contactInput.setContact(result);
}
});
}
});

Please go to http://www.gwtorm.com/gwtMail.jsp to download source
code.

Jim
http://www.gwtorm.com for GWT ORM
http://code.google.com/p/dreamsource-orm/

On May 16, 3:38 pm, "J.Sunil Kumar"  wrote:
> Hi,
>        i am creating two pages for example 1)login.java page -having
> username , password and  submit button
>
>                                                             2) after
> clicking the submit button i need to open welcome.java page
>
>                         how i can do this.plz mention step by step.i am not
> talking about RPC in gwt is there any other option?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



i need help regarding linking two pages

2009-05-16 Thread J.Sunil Kumar
Hi,
   i am creating two pages for example 1)login.java page -having
username , password and  submit button

2) after
clicking the submit button i need to open welcome.java page


how i can do this.plz mention step by step.i am not
talking about RPC in gwt is there any other option?

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Eclipse & GWT: How to include source from other projects?

2009-05-16 Thread Tim McCormack

On May 16, 9:10 am, Alyxandor 
wrote:
> Your com.example.web and com.example.shared approximations aren't
> actually in the same package, are they?

Not the same Project, no.

> Think of the gwt.xml module definition files as GWT's way of saying
> "import com.example.*;" when the .gwt.xml is in the com.example
> package.  If you don't understand, just post the actual package names,
> and I'll draw out a directory tree.

I've posted a screenshot of the current directory tree: 
http://imgur.com/2u4ux.png

Part of the problem is that these are under source control and are in
development by a number of people who aren't going to have the same
absolute path to the workspace.

> Making the IDE happy doesn't
> matter to GWT, as it needs it's own import rules {since you can build
> with ant as well, and it has no idea what your IDE settings are}.

Yeah, I can make the IDE happy very easily, but I've been unable to
find decent documentation on how to define import/dependency rules for
GWT.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Getting started with gwt 1.6 and Intellij 8

2009-05-16 Thread Jim

1. go to http://www.eclipse.org/downloads/ to download the latest
version of Eclipse. I recommend "Eclipse IDE for Java EE Developers".
2. follow http://code.google.com/eclipse/docs/getting_started.html to
install Google Eclipse Plugin.
3. Use Google Eclipse Plugin to create a simple application with RPC,
which just take you less than 10 minutes.
4. Or You can download the GWT mail from http://www.gwtorm.com/gwtMail.jsp.
It is a RPC-database application modified from the distributed Google
Mail Application.


Jim
http://code.google.com/p/dreamsource-orm/ for GWT ORM.

On May 16, 9:53 am, Rakesh  wrote:
> hi all,
>
> I'm trying to learn GWT (well Ext GWT top be precise) and have lots of
> issues using Intellij.
>
> Firstly, I purchased a book but the examples are based on Eclipse. I'm
> trying to translate for Intellij but running into issues the main one
> being that Intellij doesn't seem to want to create all the directories
> for you. There is a demo on the Jet brains site but its out of date as
> the GWT Studio plug in has been deprecated. The new 'facet' system
> doesn't create a sample app. I did find a menu item when I created a
> new gwt project that said 'Sample App' but it said i needed version
> 1.5 of GWT or later but I am using 1.6
>
> To top it all, I saw posts by the Jetbrains people to say 'proper'
> support will be available in Intellij 9!!!
>
> Bottom line, is it easier to just use Eclipse? Or is there some
> staright forward resource out there which will show me how to create a
> gwt app in Intellij 8?
>
> Frustrated!!!
>
> R
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Eclipse & GWT: How to include source from other projects?

2009-05-16 Thread Tim McCormack

On May 15, 5:16 pm, Rajeev Dayal  wrote:
> So, it seems that you client project needs access to classes in your
> Java-only project (the shared classes). Why is this? Are these classes that
> need to be used for GWT RPC?

There are two main projects. One is a big ol' database, which is all
regular Java. The second is a GWT project that serves as a front-end
to the database. The GWT front-end makes requests to the database
through object streams over sockets, and the objects they send back
and forth need to be instances of shared classes.

The DB core does not know about the front-end GUI stuff, and vice
versa.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: SIGSEGV in Ubuntu java 6 out the Wazoo!

2009-05-16 Thread Alyxandor

Sweet!  DANKE!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: History implementation and Kitchen sink example

2009-05-16 Thread imgnik

and one more thing, i cannot find the onHistoryChanged in the showcase
app.

why is this so ? and why is it not needed?

On May 16, 6:45 pm, imgnik  wrote:
> I don't understand how did the History.fireCurrentHistoryState()
> works.
>
> when i press the "back" button what actually happen?
>
> can someone advise me ?
>
> On May 16, 12:32 pm, 0710  wrote:
>
> > Isee! thanks sumit. will check it out the showcase!
>
> > On May 13, 7:05 pm, Sumit Chandel  wrote:
>
> > > Hiimgnik,
> > > That's right, the Mail sample application doesn't support history, 
> > > however,
> > > the Showcase sample application, as mentioned in my last post, does.
>
> > > You can find the online Showcase sample application demo 
> > > here:http://gwt.google.com/samples/Showcase/Showcase.html
>
> > > The source code for the application will be in the samples/ directory of
> > > your GWT distribution.
>
> > > Hope that helps,
> > > -Sumit Chandel
>
> > > On Wed, May 13, 2009 at 6:31 AM,imgnik wrote:
>
> > > > i mean the online demo herehttp://gwt.google.com/samples/Mail/Mail.html
>
> > > > On May 13, 3:26 pm,imgnik wrote:
> > > > > Thank you for your reply Sumit.
>
> > > > > I check out the Mailbox app. Tried the online demo here but it doesn't
> > > > > seems to have history management as stated.
>
> > > > > I tried looking for the history class in mailbox source code but
> > > > > cannot find.
>
> > > > > did anyone else have this problem?
>
> > > > > regardsytbryan
> > > > > On May 12, 1:01 am, Sumit Chandel  wrote:
>
> > > > > > Hiytbryan,
> > > > > > The KitchenSink sample application, previously used in GWT 1.4 and
> > > > prior to
> > > > > > showcase the GWT widgets, has been replaced by the more 
> > > > > > appropriately
> > > > named
> > > > > > Showcase sample application that serves the same purpose. You 
> > > > > > should be
> > > > able
> > > > > > to find the Showcase sample application in your GWT distribution, 
> > > > > > which
> > > > also
> > > > > > supports browser history.
>
> > > > > > If the Showcase sample application isn't enough to get you started 
> > > > > > on
> > > > the
> > > > > > History implementation for your application, please feel free to 
> > > > > > post
> > > > up
> > > > > > about any difficulties you encounter on the forum.
>
> > > > > > Hope that helps,
> > > > > > -Sumit Chandel
>
> > > > > > On Fri, May 8, 2009 at 7:49 AM,ytbryan wrote:
>
> > > > > > > hi all,
>
> > > > > > > I have problem implementing history on my gwt application.
>
> > > > > > > i wanted to download thekitchensink but cannot find it in the
> > > > > > > website or the gwt distribution. can someone kindly give me the 
> > > > > > > link
> > > > > > > to download the source code?
>
> > > > > > > many thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: History implementation and Kitchen sink example

2009-05-16 Thread imgnik

I don't understand how did the History.fireCurrentHistoryState()
works.

when i press the "back" button what actually happen?

can someone advise me ?


On May 16, 12:32 pm, 0710  wrote:
> Isee! thanks sumit. will check it out the showcase!
>
> On May 13, 7:05 pm, Sumit Chandel  wrote:
>
> > Hi imgnik,
> > That's right, the Mail sample application doesn't support history, however,
> > the Showcase sample application, as mentioned in my last post, does.
>
> > You can find the online Showcase sample application demo 
> > here:http://gwt.google.com/samples/Showcase/Showcase.html
>
> > The source code for the application will be in the samples/ directory of
> > your GWT distribution.
>
> > Hope that helps,
> > -Sumit Chandel
>
> > On Wed, May 13, 2009 at 6:31 AM, imgnik  wrote:
>
> > > i mean the online demo herehttp://gwt.google.com/samples/Mail/Mail.html
>
> > > On May 13, 3:26 pm, imgnik  wrote:
> > > > Thank you for your reply Sumit.
>
> > > > I check out the Mailbox app. Tried the online demo here but it doesn't
> > > > seems to have history management as stated.
>
> > > > I tried looking for the history class in mailbox source code but
> > > > cannot find.
>
> > > > did anyone else have this problem?
>
> > > > regardsytbryan
> > > > On May 12, 1:01 am, Sumit Chandel  wrote:
>
> > > > > Hiytbryan,
> > > > > The KitchenSink sample application, previously used in GWT 1.4 and
> > > prior to
> > > > > showcase the GWT widgets, has been replaced by the more appropriately
> > > named
> > > > > Showcase sample application that serves the same purpose. You should 
> > > > > be
> > > able
> > > > > to find the Showcase sample application in your GWT distribution, 
> > > > > which
> > > also
> > > > > supports browser history.
>
> > > > > If the Showcase sample application isn't enough to get you started on
> > > the
> > > > > History implementation for your application, please feel free to post
> > > up
> > > > > about any difficulties you encounter on the forum.
>
> > > > > Hope that helps,
> > > > > -Sumit Chandel
>
> > > > > On Fri, May 8, 2009 at 7:49 AM,ytbryan wrote:
>
> > > > > > hi all,
>
> > > > > > I have problem implementing history on my gwt application.
>
> > > > > > i wanted to download thekitchensink but cannot find it in the
> > > > > > website or the gwt distribution. can someone kindly give me the link
> > > > > > to download the source code?
>
> > > > > > many thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: SIGSEGV in Ubuntu java 6 out the Wazoo!

2009-05-16 Thread Vitali Lovich
OpenJDK worked fine for me.

Also, the newer Sun JDKs work fine too - there's
instructionsaround on how
to convert the Sun package into a debian package.

sudo apt-get install java-package
fakeroot make-jpkg .bin
sudo dpkg -i sun-*.deb
sudo update-alternatives --config java
sudo update-alternatives --config javac

On Sat, May 16, 2009 at 11:17 AM, Alyxandor <
a.revolution.ultra.b...@gmail.com> wrote:

>
> Hey all,
>
> I've been having a slight problem plaguing me of late, and thought to
> post this solution for anyone else experiencing the same issue.
> There's already a few bugs filed for variations of this, but they're a
> little different, on older builds of GWT, so rather than doing +1 on
> an old bug report, I thought I'd post on a fresh thread here in case
> anyone searches this forum for the problem.
>
> The server is running at http://localhost:7711/
> #
> # An unexpected error has been detected by Java Runtime Environment:
> #
> #  SIGSEGV (0xb) at pc=0x0625665c, pid=11193, tid=2419309456
> #
> # Java VM: Java HotSpot(TM) Server VM (10.0-b23 mixed mode linux-x86)
> # Problematic frame:
> # V  [libjvm.so+0x25665c]
> #
> # An error report file with more information is saved as:
> # /home/x/xGwt/xCore/war/hs_err_pid11193.log
> #
> # If you would like to submit a bug report, please visit:
> #   http://java.sun.com/webapps/bugreport/crash.jsp
> # The crash happened outside the Java Virtual Machine in native code.
> # See problematic frame for where to report the bug.
> #
>
> look familiar?
>
> I'm running Ubuntu 8.04, x686, w/ GWT 1.6.4 and Appengine 1.2.0 {1.2.1
> won't upload yet} and I only get this message when I try to run my app
> under Java 6; it'll go in Java 5, but I used to be running it in 6 and
> everything was fine.  Well, I'd get a SIGSEGV once in a while, but it
> wasn't too bad.  My box is running 4G RAM, eclipse is set to 1G, and
> I'm running w/ Xmx768M...  I tried upping the Xmx, decreasing it,
> running in ant {through IDE and terminal}, but that does the same
> thing with "java returned 134" at the end.
>
> This isn't critical, because I don't use anything in the 1.6 API on
> the server side, but it WAS frustrating.  For extra clarity, this
> project has just over 500 source files, and I'm using gwtquery +
> incubator, generic 24-24 headers {only mods are vbox support and rt
> audio}, eclipse 3.4, 64bit architecture, running 32-bit headers and
> sun java 1.6.0.7 / 1.5.0.16  {Ubuntu doesn't support newest sun
> JDKs}...  I looked around and apparently this can be solved by using
> openJDK 1.6.0.11, but I've had...  issues... with openJDK in the
> past.  If anyone has a better solution than going back to 1.5, or can
> confirm openJDK, I'd love to hear it!
>
>
> PS - On a random sidenote, earlier this morning I was greeted by
> strange crashes in IE6 when trying to animate opacity on clipped
> ImageBundle images; works fine on normal elements, but not the
> clippers...
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



SIGSEGV in Ubuntu java 6 out the Wazoo!

2009-05-16 Thread Alyxandor

Hey all,

I've been having a slight problem plaguing me of late, and thought to
post this solution for anyone else experiencing the same issue.
There's already a few bugs filed for variations of this, but they're a
little different, on older builds of GWT, so rather than doing +1 on
an old bug report, I thought I'd post on a fresh thread here in case
anyone searches this forum for the problem.

The server is running at http://localhost:7711/
#
# An unexpected error has been detected by Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x0625665c, pid=11193, tid=2419309456
#
# Java VM: Java HotSpot(TM) Server VM (10.0-b23 mixed mode linux-x86)
# Problematic frame:
# V  [libjvm.so+0x25665c]
#
# An error report file with more information is saved as:
# /home/x/xGwt/xCore/war/hs_err_pid11193.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

look familiar?

I'm running Ubuntu 8.04, x686, w/ GWT 1.6.4 and Appengine 1.2.0 {1.2.1
won't upload yet} and I only get this message when I try to run my app
under Java 6; it'll go in Java 5, but I used to be running it in 6 and
everything was fine.  Well, I'd get a SIGSEGV once in a while, but it
wasn't too bad.  My box is running 4G RAM, eclipse is set to 1G, and
I'm running w/ Xmx768M...  I tried upping the Xmx, decreasing it,
running in ant {through IDE and terminal}, but that does the same
thing with "java returned 134" at the end.

This isn't critical, because I don't use anything in the 1.6 API on
the server side, but it WAS frustrating.  For extra clarity, this
project has just over 500 source files, and I'm using gwtquery +
incubator, generic 24-24 headers {only mods are vbox support and rt
audio}, eclipse 3.4, 64bit architecture, running 32-bit headers and
sun java 1.6.0.7 / 1.5.0.16  {Ubuntu doesn't support newest sun
JDKs}...  I looked around and apparently this can be solved by using
openJDK 1.6.0.11, but I've had...  issues... with openJDK in the
past.  If anyone has a better solution than going back to 1.5, or can
confirm openJDK, I'd love to hear it!


PS - On a random sidenote, earlier this morning I was greeted by
strange crashes in IE6 when trying to animate opacity on clipped
ImageBundle images; works fine on normal elements, but not the
clippers...

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Getting started with gwt 1.6 and Intellij 8

2009-05-16 Thread Rakesh

hi all,

I'm trying to learn GWT (well Ext GWT top be precise) and have lots of
issues using Intellij.

Firstly, I purchased a book but the examples are based on Eclipse. I'm
trying to translate for Intellij but running into issues the main one
being that Intellij doesn't seem to want to create all the directories
for you. There is a demo on the Jet brains site but its out of date as
the GWT Studio plug in has been deprecated. The new 'facet' system
doesn't create a sample app. I did find a menu item when I created a
new gwt project that said 'Sample App' but it said i needed version
1.5 of GWT or later but I am using 1.6

To top it all, I saw posts by the Jetbrains people to say 'proper'
support will be available in Intellij 9!!!

Bottom line, is it easier to just use Eclipse? Or is there some
staright forward resource out there which will show me how to create a
gwt app in Intellij 8?

Frustrated!!!

R

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Something is worong with my app in GWT 1.6

2009-05-16 Thread Alyxandor

Like dean said, just getting your php scripts present won't let you
run php scripts in hosted mode.  Even if you deploy to a php-enabled
server, requesting .php returns text, namely, the php source.

If you don't want to run caucho, you could try another somewhat
underhanded approach...  Use the Google plugin with appengine; even if
you can't / don't want to upload to appengine, it gives you the power
of UrlFetch, which lets you tell the server to request files from
somewhere else {namely, your production php server}, and send them
back with whatever content type you want.  You'll have to build a
servlet which you can put at serverscript/server.php, which takes all
of the parameters you want to send your real php, use UrlFetch to send
those parameters to your php server, and return the results {text,
xml, whatever} back to your client side using RPC.  Actually, so long
as you want only want text from your php, you can skip RPC and use
HttpRequest.  It's kind of like using cURL for Java ;-)

If you aren't familiar with servlets, just google: "appengine
UrlFetch"...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: GWT Hibernate issue

2009-05-16 Thread Raul

Hi Jim

Thanks for your reply.

I want to mention that I have already spent a lot of energy in
configuring hibernate. So wont wanna go for Leeonsoft for the time
being.

The main problem I am getting now is:



INFO org.hibernate.
impl.SessionFactoryObjectFactory - Not binding factory to JNDI, no
JNDI name configured
java.lang.UnsupportedOperationException:
Not supported by BasicDataSource
at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection
(BasicDataSource.java:899)
at
org.hibernate.connection.DatasourceConnectionProvider.getConnection
(DatasourceConnectionProvider.java:89)



Well I think if I get a clue for this I will be a step ahead...









On May 15, 8:38 pm, Jim  wrote:
> You have to explicitly throw any exceptions in all service methods.
>
> Jimhttp://www.gwtorm.comFor GWT 
> ORMhttp://code.google.com/p/dreamsource-orm/downloads/list
>
> On May 15, 9:52 am, Raul  wrote:
>
> > Hello all,
>
> > At present I am trying to integrate GWT Hibernate and MySQL in
> > Tomcat5. I am using Hibernate to access my database in a servlet as
>
> > public class DBConnectionImpl extends RemoteServiceServlet implements
> > DBConnection {
> >        private Session session;
>
> >         public DBConnectionImpl() {
> >                 try {
> >                         session = 
> > HibernateUtil.getSessionFactory().openSession();
> >                 } catch (Exception ex) {
> >                         ex.printStackTrace();
> >                 }
> >         }
>
> > }
>
> > I have configured all the necessary Hibernate requirements like
> > hybernate.cfg.xml, web.xml, context.xml and all necessary java
> > classes.
>
> > But when I want to connect with my database through a rpc call it
> > shows me error like:
>
> > May 15, 2009 7:00:44 PM org.apache.catalina.core.ApplicationContext
> > log
> > SEVERE: Exception while dispatching incoming RPC call
> > com.google.gwt.user.server.rpc.UnexpectedException: Service method
> > 'public abstract com.duke.irb.client.data.User
> > com.duke.irb.client.dao.DBConnection.authenticateUser
> > (java.lang.String,java.lang.String)' threw an unexpected exception:
> > java.lang.UnsupportedOperationException: Not supported by
> > BasicDataSource
> >         at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure
> > (RPC.java:360)
> >         at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse
> > (RPC.java:546)
> >         at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall
> > (RemoteServiceServlet.java:166)
> >         at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost
> > (RemoteServiceServlet.java:86)
> >         at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
> >         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> >         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
> > (ApplicationFilterChain.java:269)
> >         at org.apache.catalina.core.ApplicationFilterChain.doFilter
> > (ApplicationFilterChain.java:188)
> >         at org.apache.catalina.core.StandardWrapperValve.invoke
> > (StandardWrapperValve.java:213)
> >         at org.apache.catalina.core.StandardContextValve.invoke
> > (StandardContextValve.java:174)
> >         at org.apache.catalina.core.StandardHostValve.invoke
> > (StandardHostValve.java:127)
> >         at org.apache.catalina.valves.ErrorReportValve.invoke
> > (ErrorReportValve.java:117)
> >         at org.apache.catalina.core.StandardEngineValve.invoke
> > (StandardEngineValve.java:108)
> >         at org.apache.catalina.connector.CoyoteAdapter.service
> > (CoyoteAdapter.java:174)
> >         at org.apache.coyote.http11.Http11Processor.process
> > (Http11Processor.java:874)
> >         at org.apache.coyote.http11.Http11BaseProtocol
> > $Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:
> > 665)
> >         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket
> > (PoolTcpEndpoint.java:528)
> >         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt
> > (LeaderFollowerWorkerThread.java:81)
> >         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
> > (ThreadPool.java:689)
> >         at java.lang.Thread.run(Unknown Source)
> > Caused by: java.lang.UnsupportedOperationException: Not supported by
> > BasicDataSource
> >         at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection
> > (BasicDataSource.java:899)
> >         at 
> > org.hibernate.connection.DatasourceConnectionProvider.getConnection
> > (DatasourceConnectionProvider.java:89)
> >         at org.hibernate.jdbc.ConnectionManager.openConnection
> > (ConnectionManager.java:446)
> >         at org.hibernate.jdbc.ConnectionManager.getConnection
> > (ConnectionManager.java:167)
> >         at org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:142)
> >         at org.hibernate.transaction.JDBCTransaction.begin
> > (JDBCTransaction.java:85)
> >         at org.hibernate.impl.SessionImpl.beginTransaction(S

Re: Eclipse & GWT: How to include source from other projects?

2009-05-16 Thread Alyxandor

You need a gwt.xml module in the Common package, anywhere below the
code you want to include.  These files don't need an EntryPoint in the
java source, they just need to be present.  You can even leave the
source + classes {you MUST have source, classes aren't enough} in
their jar, just create the same base package from Common in your
Client project, add a .gwt.xml module with nothing in it {maybe
inherit ...google.user} and inherit that in the Client module.

Your com.example.web and com.example.shared approximations aren't
actually in the same package, are they?

Think of the gwt.xml module definition files as GWT's way of saying
"import com.example.*;" when the .gwt.xml is in the com.example
package.  If you don't understand, just post the actual package names,
and I'll draw out a directory tree.  ...Making the IDE happy doesn't
matter to GWT, as it needs it's own import rules {since you can build
with ant as well, and it has no idea what your IDE settings are}.

G'luck!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



DisclosurePanel not working properly in Firefox

2009-05-16 Thread Nim

Hi All,
I m using DisclosurePanel  and setting some text on it.But
when i click on it ,other text field in same widget become blank ,and
once i close DisclosurePanel  text field get populated again.

Its working fine with IE

Please help me out,thanks in advance.

--Nimish
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: History implementation and Kitchen sink example

2009-05-16 Thread 0710

Isee! thanks sumit. will check it out the showcase!

On May 13, 7:05 pm, Sumit Chandel  wrote:
> Hi imgnik,
> That's right, the Mail sample application doesn't support history, however,
> the Showcase sample application, as mentioned in my last post, does.
>
> You can find the online Showcase sample application demo 
> here:http://gwt.google.com/samples/Showcase/Showcase.html
>
> The source code for the application will be in the samples/ directory of
> your GWT distribution.
>
> Hope that helps,
> -Sumit Chandel
>
> On Wed, May 13, 2009 at 6:31 AM, imgnik  wrote:
>
> > i mean the online demo herehttp://gwt.google.com/samples/Mail/Mail.html
>
> > On May 13, 3:26 pm, imgnik  wrote:
> > > Thank you for your reply Sumit.
>
> > > I check out the Mailbox app. Tried the online demo here but it doesn't
> > > seems to have history management as stated.
>
> > > I tried looking for the history class in mailbox source code but
> > > cannot find.
>
> > > did anyone else have this problem?
>
> > > regardsytbryan
> > > On May 12, 1:01 am, Sumit Chandel  wrote:
>
> > > > Hiytbryan,
> > > > The KitchenSink sample application, previously used in GWT 1.4 and
> > prior to
> > > > showcase the GWT widgets, has been replaced by the more appropriately
> > named
> > > > Showcase sample application that serves the same purpose. You should be
> > able
> > > > to find the Showcase sample application in your GWT distribution, which
> > also
> > > > supports browser history.
>
> > > > If the Showcase sample application isn't enough to get you started on
> > the
> > > > History implementation for your application, please feel free to post
> > up
> > > > about any difficulties you encounter on the forum.
>
> > > > Hope that helps,
> > > > -Sumit Chandel
>
> > > > On Fri, May 8, 2009 at 7:49 AM,ytbryan wrote:
>
> > > > > hi all,
>
> > > > > I have problem implementing history on my gwt application.
>
> > > > > i wanted to download the kitchen sink but cannot find it in the
> > > > > website or the gwt distribution. can someone kindly give me the link
> > > > > to download the source code?
>
> > > > > many thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: GWT capabilities for Dummies...

2009-05-16 Thread Salvador Diaz

Hi,

1. Yes, read the following section of the developer's guide:
http://code.google.com/webtoolkit/doc/1.6/DevGuideServerCommunication.html#DevGuideRemoteProcedureCalls
2. Here's the GWT widgets showcase: 
http://gwt.google.com/samples/Showcase/Showcase.html
3. See answer 1
4. Yes, there are several ways to do that, for a sample just google
gwt +spring
5. GWT RPCs are normal java servlets on normal java servlet containers
so you can do everything your servlet container allows you to.

Hope that helps,

Salvador

On May 16, 1:45 am, Jim  wrote:
> 1. Yes. Please seehttp://www.gwtorm.com/mail/Mail.htmlfor RPC-
> database application.
> 2. Yes. Each HTML element such as checkbox, you have a GWT object.
> 3. Yes.
> 4. Yes. You can find source code 
> inhttp://dreamsource-orm.googlecode.com/files/mail_1.0.0_04202009.jar.
> 5. It is up to server configuration.
>
> Jimhttp://www.gwtorm.comFor GWT 
> ORMhttp://code.google.com/p/dreamsource-orm/downloads/list
>
> On May 15, 6:15 pm, "diego.hopeman" 
> wrote:
>
> > Hello,
>
> > I regularly work on Java web applications and made basic experiences
> > with DWR, YUI and Scriptaculous for RPC and Ajax functionalities.
> > Frankly, I don't really like them and would love to drop them and use
> > GWT instead - if it can do what I need.
>
> > 1. Often, I have to operate with ugly string arrays to communicate
> > between Javascript and Server. Does GWT overcome this drawback? Can I
> > work with real objects instead?
>
> > 2. Can I conveniently handle DOM-operations like trees or menus with
> > GWT?
>
> > 3. Can I completely drop DWR and call my Java Server methods via GWT?
>
> > 4. Can I easily integrate GWT into a Spring environment?
>
> > 5. Can I access files on the server via GWT RPC?
>
> > It would be really great, if you could answer some of these questions.
>
> > Regards,
>
> > Diego
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Something is worong with my app in GWT 1.6

2009-05-16 Thread bencoder

Thank you, Jones.

I think that I can accept solution B that I mentioned above. The root
cause of this problem is just different file directory structure from
GWT 1.5.
If I follow solution B, the *.php files directory is actually outside
of application when it is deployed to a web server.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: How to handle colliding IMPORT statements

2009-05-16 Thread Dean S. Jones

This is normal Java, the only way to disambiguate is to use full
package qualification.

On May 15, 7:26 pm, Jeff Chimene  wrote:
> Hi,
>
> I realize this is probably a Java question, but:
>
> How does one handle colliding import statements?
>
> For example:
>
>      import com.google.gwt.user.client.Element;
>
> Forces me to write:
>
>      public static void parseBodyInfo(com.google.gwt.xml.client.Element
> item) {
>          if (item.hasChildNodes()) {
>              NodeList n = item.getElementsByTagName("point");
>              String name = null;
>              String side = null;
>              String indic = null;
>              for (int i = 0; i < n.getLength(); i++) {
>                  name = ((com.google.gwt.xml.client.Element)
> n.item(i)).getAttribute("name");
>                  side = ((com.google.gwt.xml.client.Element)
> n.item(i)).getAttribute("side");
>                  indic = ((com.google.gwt.xml.client.Element)
> n.item(i)).getChildNodes().item(0).toString();
>                  new Note(name + ((null == side) ? "" : ("_" + side)),
> indic);
>              }
>          }
>      }
>
> Is this just normal Java? What am I missing here? To use Note(), I want
> parseBodyInfo to be a friend of the enclosing class
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---