If you don't want module B to inherit module A, then create a new module that
sits alongside A that includes AbcDTO and have B inherit that.
Paul
On 29/02/12 21:34, Deepak Singh wrote:
Hi All,
I have the following scenario.
In GWT application, i have two seperate modules, not inherited one
Hi, thanks both for the answers. OK maybe use the POJOs in client code
will not be a good idea, but my idea was to generate POJOs on the
server side and passing to the GWT client through RPC. Do you think it
is feasible ?
On Feb 29, 9:42 am, saida dhanavath dhana@gmail.com wrote:
Hi,
As
AFAIK, GWT's RTL is based on the locale. Did you try setting the locale to
an RTL one?
E.g.
extend-property name=locale value=he /
set-property name=locale value=he /
set-property-default name=locale value=he /
On Wednesday, February 29, 2012 4:32:56 PM UTC+1, danit wrote:
Hi,
I am trying
What sort of content are you getting back?
Would a RequestBuilder be right thing for you?
(http://code.google.com/webtoolkit/doc/latest/DevGuideServerCommunication.html
# HTTP client types )
Am 1. März 2012 06:04 schrieb jayalakshmi jahagirdar
jayalakshmi.jahagir...@gmail.com:
Hi all,
I am
Have a look at the Showcase sample's code for the tree view on the left:
http://code.google.com/p/google-web-toolkit/source/browse/trunk/samples/showcase/src/com/google/gwt/sample/showcase/client/Showcase.java#97
On Wednesday, February 29, 2012 9:51:51 PM UTC+1, Shaun Tarves wrote:
It does, but
Thanks for the reply
I am making use of RPC call.I get back XML response.My server side code is
what i pasted in previous mail. Similarly i need some modification so that
i can post the request as well.Right now i am able to get XML response
from RESTful web service.
Thanks
On Thu, Mar 1,
ok. But will it be a good practice if module B inherits module A for just
to use a single class AbcDTO ?
Thanks
Deepak
On Thu, Mar 1, 2012 at 1:58 PM, Paul Robinson ukcue...@gmail.com wrote:
If you don't want module B to inherit module A, then create a new module
that sits alongside A that
I've knocked up a quick example of what I was meaning, I think it
works for all the cases you described. I'd be interested in how your
app is different -
https://github.com/chrisprice/menubodyexample/blob/master/src/com/scottlogic/cprice/menubodyexample/client/menu/Menu.java
(n.b. the instanceof
RequestFactory uses the name of the classes and methods to lookup
obfuscated tokens to send over the wire (and the reverse, when processing
the response from the server), so you have to keep your RF interfaces
(services and proxies) names untouched, or change the class and method
names –as
Hello,
GWT logging can be en-/disabled using
set-property name=gwt.logging.enabled value=FALSE/
in the projects .gwt.xml file.
How can the value of gwt.logging.enabled be read in code?
Thank you.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit
You may also want to
read:
https://groups.google.com/d/topic/google-web-toolkit/dTwvMbxlFgI/discussion
Its not directly related to your problem but as you are firing place
changes by listening on the selection model it could happen that your UI
may gets inconsistent. This can happen if you
Like I said, you can create another module that includes just the things that
should be shared and inherit that in B (and possibly in A as well).
You may find you prefer to put all the shared things in their own package so
it's cleaner and easy to see what's what.
Paul
On 01/03/12 09:41,
I'm getting an exception when adding an item to a that seems to be an
internal thing ListBox. I'm using gwt from trunk compiled yesterday
29.02.2012. Anyone knows what's wrong there? Works perfectly on
Chrome, Firefox, even on my buddy's IPad. Just not in IE8 couldnt try
IE9 yet, but version 8 is
@Thomas - In the example you pointed me to, what prevents this from
essentially creating an infinite loop? OnSelectionChange fires a new
history event. The history handler responds, gets info and changes the
selection, which would in turn fire a new history event. No?
@Chris - I think it's the
In my example this is caught by the following in
SingleSelectionManager, which traps setting the selected value to be
itself -
Hello,
I'm asking you What do mean by generating POJO at server?
what I am assuming is it's not a dynamic POJO generation I mean at runtime,
If this is the your answer, Yes it is not possible to pass POJO objects
through GWT RPC mechanism, because you know, GWT RPC generates some
serialization
It still seems like an extra event at the very least. User selects, which
fires selection change, which fires new place, which then reselects the
item (the loop ends here since there no selection change would be fired
given that the item is already selected).
BUT, in the case of history movement
http://code.google.com/codesearch#T04cSGC7sWI/trunk/user/src/com/google/gwt/place/shared/PlaceController.javaq=placecontroller%20goto%20package:http://google-web-toolkit%5C.googlecode%5C.coml=148
On Thu, Mar 1, 2012 at 2:38 PM, Shaun Tarves sh...@tarves.net wrote:
It still seems like an extra
Hi - I'm attempting to convert my GWT app to build with maven. The first
issue I've his is that the compiler does not seem to like the
@WithTokenizers I have in my PlaceHistoryMapper - at least that's what I
think is failing and if I comment those out the application will compile.
Do I need
On Thursday, March 1, 2012 3:23:01 PM UTC+1, Shaun Tarves wrote:
@Thomas - In the example you pointed me to, what prevents this from
essentially creating an infinite loop? OnSelectionChange fires a new
history event. The history handler responds, gets info and changes the
selection, which
Hi Thomas/Chris -
Thanks for the responses. I was missing the part about the build-in check
for Place equality. Any idea how the equality check is implemented?
For example, if my Place has 2 fields - an integer and a string, is it
implicitly true that 2 places are equal if those values are the
Maven defaults to Java 1.4 source and target. You have to tell it to use
Java 5 or Java 6.
See
http://maven.apache.org/plugins/maven-compiler-plugin/examples/set-compiler-source-and-target.html
See also
http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html#source
So you can
See the highlighted line in the link I posted, or here's the code -
public void goTo(Place newPlace) {
log().fine(goTo: + newPlace);
if (getWhere().equals(newPlace)) {
log().fine(Asked to return to the same place: + newPlace);
return;
}
String warning =
I saw that...I meant in my specific Place class. Is it best practice to
explicitly implement my own equals() method even if the standard
Object.equals would suffice?
Do you see any advantage?
Furthermore, how does this relate to the cachedActivityMapper? I read in a
post on this board somewhere
Provide a correct equals()/hashcode() implementation in your places as
mentioned in JavaDoc for Place.java.
If you don't do so, CachingActivityMapper wont cache anything because it
also does an oldPlace.equals(newPlace) to see if it can return the cached
activity.
-- J.
Am Donnerstag, 1.
What you are asking for is feasible doing what Sai described but I think it
would be better for you to use ValueProxy with the @ProxyFor annotation,
that is easier than creating a POJO just for the client side and then
writing code to convert your server POJO to another client specific POJO.
Hi Guys,
thanks for the input!
Finally I figured it out using the phenomenal writeCapture-library
(see: https://github.com/iamnoah/writeCapture/wiki). I linked it from
my module.gwt.xml-file and wrote a simple native method:
public static native void domWrite(String div, String src) /*-{
On the server you can use httpclient:
http://hc.apache.org/httpcomponents-client-ga/tutorial/html/fundamentals.html#d5e169
On Thursday, March 1, 2012 4:35:10 AM UTC-5, jayalakshmi wrote:
Thanks for the reply
I am making use of RPC call.I get back XML response.My server side code is
what
Thanks, but I already have that set to 1.6.
On Thursday, March 1, 2012 10:32:08 AM UTC-5, Thomas Broyer wrote:
Maven defaults to Java 1.4 source and target. You have to tell it to use
Java 5 or Java 6.
See
On Thursday, March 1, 2012 4:54:04 PM UTC+1, Jens wrote:
Provide a correct equals()/hashcode() implementation in your places as
mentioned in JavaDoc for Place.java.
If you don't do so, CachingActivityMapper wont cache anything because it
also does an oldPlace.equals(newPlace) to see if
ton123123,
The intent is to prevent CSS namespace pollution. It is common
practice to use a makeshift namespace for your CSS selectors so as not
to break existing CSS selectors. Say for example you had a rule for
.closeButton . If anyone else used that selector in their module,
you might be
Hi,
I have a very strange problem with RequestFactory. I have a hierarchy of
embedded proxies :
QuoteRequestProxy
|_ PropertyInfoProxy
|_ LocationProxy
Everything was working fine, until I tried to create a new proxy from the
client :
QuoteRequestContext ctx =
OK, I got it, explaining the problem gave me the insight I needed.
My QuoteRequestProxy.setProperty() method got mixed with the method
generated by RequestFactory. I changed the method name, and it worked.
Le vendredi 2 mars 2012 00:46:15 UTC+1, Mikael Couzic a écrit :
Hi,
I have a very
I have a series of custom components constructed using uibinder. The custom
components can embed other custom components also built using uibinder. The
components render perfectly but custom components which require events to
be sunk are not getting sunk. This is because the components extend
Setting the session as a static member variable is going to cause you
all sorts of concurrency problems, even if it was a non-static member
you'll have the same issues since the same servlet is used to service
every HTTP request. There's really no reason for it.
If your server side is java,
What if you just implement HasWidgets and pass those method calls on down to
the root panel of your UiBinder which can be an HTMLPanel.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this discussion on the web visit
Hi all,
I'm programming with GWT and I would like to use Hibernate as
persistence framework .. But I have a problem when I make an action
that I perform the operation of the log (I click on the button) come
out the following errors:
00:00:11,621 [ERROR] Line 20: No source code is available for
Hi,
this seems to be a simple question, but maybe I miss something basic
here. I try to understand why the ListBox in the following layout
always has a fixed height of 1.5 items:
ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder'
xmlns:g='urn:import:com.google.gwt.user.client.ui'
I am using cookies for login ! Which would you prefer ? Session or cookies ?
On Thursday, 1 March 2012 12:10:38 UTC+5:30, Maverick wrote:
Write a service on Server side which extends RemoteServiceServlet.
Create an object of type HttpSession as a member.
Write methods to serAttribute and
I am sorry. I found this page surfing the web, I hope this is a good point
to ask this.
I have a problem using loading indicators in DataGrid. What is the right
way to set to the DataGrid the state of LOADING or LOADED? I didn't find
any resource whatsoever anywehere. The support for this is
there is a TablayoutPanel tabLayoutPanel, and FocusPanel SSearchDetailResult
there is a button in the first tab of tabLayoutPanel and when press that
button, I want the focuspanel tab is selected, so I write
[code]
SSearchDetailResult sSearchDetailResult = new SSearchDetailResult();
GWT has a class called Tree. It also has TreeMenuItems.
Use REGEX and iterate over nodes and make it a Tree object.
It will give a Tree structure in UI.
If you just want to convert your string to Tree structure, its plain
java. Nothing to do with GWT.
On Mar 1, 1:02 am, Deepan
42 matches
Mail list logo