Hi
I am also dealing with this problem now, trying to find some example
for authentication for EJB + GWT .. and since I am total newbie to
security topics, I would also appreciate some advise:)
@Thomas I was thinking about using all those new 2.1 classes like
UserInformation etc... but I have rea
thanks Thomas, however maybe you misunderstand my meaning? i'd like to do
the *parse and fetch Bs* when the user just want to see only one A(the
detail view), but if the user want to see a list of As, i should not parse
and fetch B, because it's too heavy.
--
You received this message because
Hi Raymond,
I've taken a stab at this in the listwidget sample project. I wanted the
view screen to be its own Place for bookmarking, so I created a
HyperlinkCell and use utility methods in RequestFactory and
PlaceHistoryMapper to create a URL from an ID / Place. Here's the relevant
code from List
Yes Y2i, you are right, there is no requirement that getAllAs(start, size)
should call getA(id), , but from the debug, *i did see when i call findAllAs(), it also
call findA(id). *i don't know why either.
About the DB design, yes, should be m:n, thanks for your correction.
--
You received thi
Also, you may want to have a look at https://github.com/chirino/resty-gwt.
It automates JSON<-->POJO mapping to REST-style services using a GWT
generator.
AutoBeans could certainly be used for JSON<-->POJO mapping, as
RequestFactory uses both AutoBeans and JSON under the covers. However, the
Reque
http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/gwt/user/cellview/client/CellList.html
http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/gwt/user/cellview/client/CellTable.html
http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/gwt/user/cellvie
Hello all,
This is my first post and I have a question for the grroup. I need to
do a proyect with JPA (with Hibernate), and I'd like to use the
RequestFactory on GWT. The question is if there is any implemented
Servlet (or any extension of RequestFactoryServlet) that sends the
orm,s to the GWT cl
Here is some of my code:
public abstract class Message extends JavaScriptObject implements
Serializable { // does it need to be serializable?
protected Message() {}
public final native String getType() /*-{ return this.type; }-*/;
public final native Long getTimeLeft() /*-{
I noticed today that although the Widget Gallery at
http://code.google.com/webtoolkit/doc/latest/RefWidgetGallery.html
still mentions CellList, CellTable, and CellBrowser, the links that
should go to the Javadoc for these don't work anymore. I tried going
up a level in the javadoc to
http://googl
Hello,
I have a question for the forum. I need to do a proyect with JPA (with
Hibernate) to manage the model, and I'd like to use SmartGWT LGPL as
view. The question is if there is any implemented Servlet for free
that sends the orm,s to the SmartGWT client, to populate the
DataSource of the side
i insert multiple similar own-widget(MYCustomWidget) into div in
uibinder (HOLDER_IN_UIBINDER)
//programically adding multiple MYCustomWidget ; each mycustomwidget
is "li" element
Before i'm using below code to retrieve value for each MYCustomWidget,
I use jquery to change the sequence of ea
how can I see what the generated code looks like ?
what generated code you are talking about ?
--
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 t
Thanks. That explains it. I wish the release notes were available
for it.
On Jan 14, 4:46 pm, Chris Conroy wrote:
> the gecko user agent was deleted. (it referred to Firefox 2, which is
> ancient). gecko1_8 is Firefox 3+
>
> On Fri, Jan 14, 2011 at 4:41 PM, omsrobert wrote:
> > From GWT 2.1.0
On Saturday, January 15, 2011 10:44:25 PM UTC+1, zixzigma wrote:
>
> wow it worked.
>
> I had the same problem two days asgo , not calling ensureInjectede,
> but in that case I was calling MyResources from the JavaCode.
> here doing it in UiBinder, did not know where to put it.
> Thank You !
Alternatively, you can add !important to you CSS styles to ensure they take
precedence.
.myStyle {
backgound: blue !important; // Takes precedence because it is important
}
.myStyle {
backgound: red;
}
.myStyle {
backgound: green; // Takes precedence over red because it appears after,
but bl
Google App Engine's primary DB is BigTable DataStore,
which is NOT a Relational Database.
they are introducing a new hosted SQL DB for business.
I don't think SQL is available at the moment.
DataStore: http://code.google.com/appengine/docs/java/datastore/overview.html
AppEngine for Business (SQ
The following works for me:
/** An HTML anchor that can wrap an arbitrary widget (for example, a GWT
*Image object).
*
* (c) 2009 Allen I Holub.
*/
public class WidgetAnchor extends HTMLPanel
{
public WidgetAnchor( String href, Widget contents )
{this( href, "", contents );
Hi everyone,
My app connects to a MySQL DB on an external server! When tested in
hosted mode this works fine! However, when I deploy the app via the
Google App Engine the DB connection fails when trying to connect!
Does anyone have any proposed solutions?
Thanks,
Ross
--
You received this mes
g:InlineHyperLink, g:HyperLink and g:Anchor cannot contain an element
if I'm correct.
do you know how we can then wrap an image inside a hyperlink,
other than the approach below?
Home
--
You received this message because you are subscribed t
Perhaps you forgot to update your gwt.xml files?
http://code.google.com/p/gwt-java-math/wiki/GettingStarted
>From Richard.
On Jan 15, 2:33 am, smriti sharma wrote:
> Richard,
>
> I have upgraded the application to gwt-math-2.1.jar, but the issue
> persists. I am still receiving the same error me
Lets say we are using a list of HyperLinks to create a Navigation Bar/
Menu.
each Link takes us to a new Place.
when we go to a new place,
the Link for this new place needs to be highlighted to signal it is
active
so basically
Link#1Link#2Link#3 Link#4 Link#5
they all have a default s
wow it worked.
I had the same problem two days asgo , not calling ensureInjectede,
but in that case I was calling MyResources from the JavaCode.
here doing it in UiBinder, did not know where to put it.
Thank You !
which of the methods you suggested you think is better ?
@UiField MyResources res
If CellTable's default styles get in your way, you'll have to replace them
with yours: create an interface extending CellTable.Resources and override
the cellTableStyle() method to assign it a new @Source in which you'll put
your own styles. Then, GWT.create() that new interface and give it to
On Saturday, January 15, 2011 10:12:09 PM UTC+1, zixzigma wrote:
>
> you can see the code below,
> the code displays the image (homeIcon),
> but the css style is not applied (to my link for example)
>
[...]
> I am not calling ensureInjected anywhere, could it be that ?
>
Yes.
> where should
In addition to Y2i's response, there's also the possibility to do the "parse
the field and get the Bs" from within the A.getBs() accessor; so only when
the client asks for "bs" they will be fetched, lazily, whether it's a getA
or getAllAs service method, or any other.
--
You received this mess
the warning message in the IDE is "Unknown CSS class 'css.foo' "
and that arguments of method UiObject.setStyleName and attributes styleName
in ui.xml does not refer to a CSS class.
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
T
you can see the code below,
the code displays the image (homeIcon),
but the css style is not applied (to my link for example)
public interface MyResources extends ClientBundle {
@Source("style.css")
Style css();
@Source("homeIcon.png")
ImageResource homeIcon();
public interface Style e
On Saturday, January 15, 2011 3:33:35 PM UTC+1, Y2i wrote:
>
> If you put these selectors into a tag of *.ui.xml file they
> will not work because the rules will be obfuscated.
...unless you use an @external rule to tell GWT not to obfuscate them:
http://code.google.com/webtoolkit/doc/late
I applied to A4A some time ago but nothing...
--
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+unsub
On Saturday, December 11, 2010 2:01:28 PM UTC-8, zixzigma wrote:
>
> is it possible to use 2.1.1 RequestFactory/AutoBean to convert POJO to
> JSON and viceversa
> when interacting with a RESTful Web Service ?
>
> the common practice with GWT client-server communication is
> to have packages:
On Saturday, January 15, 2011 10:05:39 AM UTC+1, coelho wrote:
>
> According to Thomas Broyer
>
> ---
> The first thing to do is to declare a servlet mapping for the
> RequestFactoryServlet at path /gwtRequest (this is the defa
I applied to Adsense for Ajax last May when it was introduced at
Google I/O. To date I have received no response whatsoever. Pretty
disheartening. Has anyone on this group received AFA access ?
On Dec 30 2010, 3:48 pm, Matthew Hill wrote:
> Interesting. Thank you very much, David.
--
You rec
very valid questions. A good number of gwt developers at some stage will
face similar questions. I would appreciate if someone could share their
experiences and findings pertaining to the questions zixzigma has brought
up.
--
You received this message because you are subscribed to the Googl
Hi,
I tried to stye a row in a Celltable with .setRowStyles in which I add
the class "SERVERROUNDTRIP"
I can find the new attached class in the generated html output.
The Problem is, in the generated HTML file there is a
I am getting ->
"GWTTestCase can not be found in source packages. Check the
inheritance chain from your module; it may not be inheriting a
required module or a module may not be adding its source path entries
properly.
ExampleGWTTest.java /Contacts/test/com/google/gwt/sample/contacts/test
line
But may be you renamed com.mckinnon.ross.server.DataTableServiceImpl and
didn't modify web.xml to reflect that?
It's strange that jetty does not complain about all other servlets except
this one...
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolki
There is no requirement that getAllAs(start, size) should call getA(id):
getAllAs(start,
size) can be implemented in any way on the server.
http://code.google.com/webtoolkit/doc/latest/DevGuideRequestFactory.html#impl
As to the DB design: if A keeps list of Bs in a string field, may be the
rela
No I have not altered web.xml.
the servlet-class tags match where the classes are located.
Thanks
userServlet
com.mckinnon.ross.server.UserServiceImpl
userServlet
/reqmanager/user
reqServlet
com.mckinnon.ross.server.ReqServiceImpl
reqSe
jetty couldn't find com.mckinnon.ross.server.DataTableServiceImpl
Did you also rework web.xml?
--
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 th
Is using CSS a strict requirement? What about using *size* property?
http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/gwt/user/client/ui/DockLayoutPanel.html
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to th
Hi there,
Ive been reworking my GWT app and an error has occurred. I have no
idea what has caused it and the error messages aren't very useful.
Has anyone came across this before?
Thanks,
Ross
Starting Jetty on port
[WARN] EXCEPTION
java.lang.ClassNotFoundException:
com.mckinnon.ross.se
Hi,
I am trying to integrate RequestBuilder with Editor framework, but
can't manage to organize code properly, and to extend everything that
i need.
I was looking into SimpleBeanEditorDriver and
RequestFactoryEditorDriver source code, but all I found is interface
definitions, and I still can't get
hi All:
As we know the reality has never been perfect, i am working on a legacy
system with bad designed DB tables and i can't modify the tables for some
reason, i can only read. On perfect situation, Entity A has a list of Entity
B (both mapped as MySql table with 1:n relationship), when on
Thanks, that sorted it.
On Jan 13, 8:52 pm, zixzigma wrote:
> http://groups.google.com/group/google-web-toolkit/browse_thread/threa...
--
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-toolki
Hi all,
I'm trying to change the heights of the various north/south panels in
a dock layout panel using CSS. But I cannot for the life of me figure
out how.
Any help ?
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group
On Saturday, January 15, 2011 4:41:55 AM UTC+1, zixzigma wrote:
>
> from GWT documentation on UiBinder [1]
> in the code fragment below,
>
> is this a typo, do we need to use "Sprite" or "Spriter" ?
> Sprite userPictureSprite();
>
> That's a typo, it should be a String. It will be the obfuscated
What does com.my.app.widgets.logoname.Resources look like?
--
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-
If you put these selectors into a tag of *.ui.xml file they will
not work because the rules will be obfuscated. The selectors need to go to
your application's CSS file:
http://code.google.com/webtoolkit/doc/latest/DevGuideUiCss.html#widgets
Create a CSS file (mystyles.css), put it side by side
Thanks for the advise. After using getTop().resolveClientType this
open up further compilications, not least a circular dependency in the
layers. However, the next problem was intergrating this with a custom
Locator, which resolves the domain class with the BaseProxy and not
the actual proxy for th
Done!
Just a side note and slightly off topic and I hope you forgive me but every
time I have to do one of these large, multi file code changes in a Web
application I break into a sweat. I can't even begin to count the number of
times I thought I had captured all the places in my html, javascript
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 optio
According to Thomas Broyer
---
The first thing to do is to declare a servlet mapping for the
RequestFactoryServlet at path /gwtRequest (this is the default, it can be
changed). That's all you have to do on the server side.
-
52 matches
Mail list logo