I believe you need to use the add(Widget, x, y) method on root panel
when you add it in the first place so that it sets it as position
absolute. Why not just use the alt text on an image(setTitle)? It is
a lot less work and is accessable, meaning the alt text is what screen
readers look to in
Most large corporations in the US still use IE6 as the primary browser
and XP as the primary OS. My company just recently approved the
regular use of FF, but you must request it and it is several versions
behind the latest. Chrome is regularly rejected. Some computers on
our network have IE7,
http://www.w3schools.com/TAGS/att_input_accept.asp
On Jul 20, 2:01 pm, Paachu binu...@gmail.com wrote:
Hi,
I need to upload one csv file into my application. I am using
FileUpload compontent to upload the File. But when I use FileUpload,
the FileUploadDialog displayed All files.. I need
Depends on your definition of session and if you are using container
managed security and if that is the case it can depend on your
server. The default session manager for glassfish uses cookies,
therefore as long as the user has cookies enabled they will be able to
maintain a session as long as
It is not possible to convert POJO to XML without using some sort of
library, but Jersey does have the ability to do JSON. I use JAXB to
generate my server side classes and JAX-RS to marshal to XML and JSON
depending on the Accepts header. This is fairly easy to do using a
services context
like i have a txt file that contains json array, inside the
array has many json object, i just need to randomly pick any one of
the json object in that array and send it to client app.
does the jersey project thingy able to do that?
On Jul 15, 2:39 am, lineman78 linema...@gmail.com wrote:
I
SmartGWT is only a GWT wrapper on a javascript library so it is
expected that you would have this problem. If you can stand the
licensing, GXT is supposed to be a pure GWT implementation of their
javascript library, so unused portions of the library are not
included. Due to licensing I have not
Look at the history api
On Jul 14, 4:16 pm, Ahmed Shoeib ahmedelsayed.sho...@gmail.com
wrote:
Hi all ,
i face a problem With Navigation .
now i have multiple panel added to the RootPanel ( clear the panel and
add the next panel )
now i want to support next back for these panels
how i
means.
On Jul 15, 12:10 pm, David Vree david.h.v...@gmail.com wrote:
I don't want to hijack your thread, but I am new to this and am
wondering why you don't use GWT-RPC to do the client/server
communication?
On Jul 15, 12:40 pm, lineman78 linema...@gmail.com wrote:
It is not possible
Are you running in the embedded server?
On Jul 15, 2:05 pm, David Vree david.h.v...@gmail.com wrote:
I have tried to use the Eclipse debugger with the sample application
in hosted mode, so I know it works. But in my own application (a
multi-module maven project) the stop point I put on
://127.0.0.1:/index.html?gwt.codesvr=127.0.0.1:9997
When I put that URL in the browser the app runs. But no stopping from
within Eclipse!
On Jul 15, 8:38 pm, lineman78 linema...@gmail.com wrote:
Are you running in the embedded server?
On Jul 15, 2:05 pm, David Vree david.h.v...@gmail.com
I believe this is expected behavior, even gmail does this if you have
https turned on. What is keeping you from using https for loading the
js? The browser doesn't know that the request you are sending doesn't
contain any sensitive data, therefore this is a desired behavior as
usually there is
I use overlay types via the javascript JSON.parse method for the
client side, which is available in newer browsers and you need to
include json2.js for older browsers(eval is also an alternative). For
server side, I suggest using the Jersey project with a JSON context
provider as shown here:
There are a few options. There is the new IE developer toolbar:
http://www.microsoft.com/downloads/details.aspx?familyid=e59c3964-672d-4511-bb3e-2d5e1db91038displaylang=en
The other option is to compile detailed and get the line number and
browse to it using VIM(don't use notepad, large files
devices, provided they that they do caching of decent sized components
(seehttp://www.yuiblog.com/blog/2010/06/28/mobile-browser-cache-limits/
).
I'd just whish that Google had picked another icon than the red skull
and bones.
On 14 jul, 20:30, lineman78 linema...@gmail.com wrote:
I
As far as I can tell, there is no official way to do this, and there
is no way to do it in CSS due to the layout being set directly on the
elements. I have developed a bit of a workaround but this could be
broken by subsequent GWT releases as they make changes to the way the
tab panel lays itself
Please be more specific on the form of communication you would like to
do and how you are handling the DNS for having 2 servers handling
requests(i.e. different subdomains, ports, etc.). Remember, because
of the SOP you can only make data requests to the same server and port
the page originated
:
fieldset table tbody {
align: left;
}
any advise plz
Thankx and Regards
Vik
Founder
www.sakshum.com
www.sakshum.blogspot.com
On Thu, Jul 8, 2010 at 9:40 PM, lineman78 linema...@gmail.com wrote:
IE seems to be inheriting the align=center from the parent td. the
simple way
May I also suggest that you look at an approach based on GWT exporter
so you can make calls between the modules directly. I have been
playing around with making a GWT based plugable portal architecture
based on this approach and have been partially successful in my
limited experimentation.
On
You will need to implement it in html and hide it once the application
loads. You might have to move the script tag out of the head to the
bottom of the body to allow it to paint the page before fetching.
On Jul 9, 2:44 pm, gourineni rakesh rg...@msstate.edu wrote:
Hi,
I am using gwt 2.0.3
in the library
and have it implement EntryPoint to get the shared CSS loaded?
To answer the other follow-up questions, I am deploying each app as a
separate war file. All of the styles are set through code, so the
class names can be obfuscated.
John
On Jul 8, 6:25 pm, lineman78 linema
IE seems to be inheriting the align=center from the parent td. the
simple way is to add align=left on the form table, but you could add
it to each cell individually using the cell formatter. Depending on
the GWT panels you are using there are multiple different ways to
solve this. Essentially
There are many possible solutions for the generic problem you face.
You will need to be more specific about your final deployment
architecture if you would like a more specific answer of which is
best. Are these GWT apps all going to be deployed within the same
WAR? EAR? Separate EARs? Is the
The easiest way to convert between JSON and GWT objects is to use
overlay objects. Unfortunately, there is no type checking by doing
this, but you get the best performance. Now, if you need to support
older versions of IE you will need to include json2.js in your
project, but you can use the
Looks like you are using client side code on the server. You need to
make sure you have a clear understanding of how you are handling
communications. It looks to me that you have JSNI is a server class.
Remember, anything that has a nitave method cannot be loaded by the
server unless that native
If it is an obvious problem in your code, you should be seeing memory
leaks in all browsers(which I believe you said you have). If that is
the case, you should be able to use the Speed Tracer plugin for
chrome. It tells you how many instances of which objects are being
created so that you can
I am having a problem where I have changed to standards mode in order
to use layout panels, but it seems to have broken decorated popup
panel in IE(the popup shows, but the rest of the screen turns white
behind it). I have taken a very rough look with Firebug Lite and
didn't see anything obvious
with border images.
However, images inccrease download time.
And CSS3 allows to apply rounded corner (-o/-moz/-webkit/-border-
radius)
Without a modern browser you still have to take 9 box.
Stefan Bacherthttp://gwtworld.de
On Jun 14, 7:57 pm, lineman78 linema...@gmail.com wrote:
Does anyone
Does anyone know if there is a way to theme the new layout-based
panels? I.E. TabLayoutPanel to look like DecoratedTabPanel. I know
that they limited the amount of style classes involved in the new tab
panel, so I cannot figure out a way to retrofit the DecoratedTabPanel
styles to the
See GWT Exporter. This allows you to inject unobfuscated javascript
functions so you can call them through JSNI from the other module. If
you don't want to include exporter, all you have to do is inject the
functions through JSNI on module load. DISCLAIMER: this is untested,
you might have to
I have had difficulty finding this and figure it must be something
stupid I can't find, but how do you create a widget from an element
already in the DOM so you can get eventing, or one not in the DOM so
you can add it to a panel?
--
You received this message because you are subscribed to the
Use the @external annotations in your css.
On Apr 20, 3:52 pm, Vaibhav vkaka...@gmail.com wrote:
If I want to change DatePicker object look and feel with ClientBundle
how can I do this? How can I override gwt standard stylesheet of other
gwt objects using ClientBundle?
--
You received this
The underlying class is not using deferred binding, therefore your
replace-with is never considered. In order for deferred binding to
work, you must use GWT.create(); What I would suggest you do is do
your own request builder implementation. There are many ways you can
do this, but to do
I suggest using container managed security so that you don't have to
deal with most of this. I have implemented a GWT-based form login,
but it required some hackery because of the way tomcat/glassfish
handle redirecting for form login using request dispatching, therefore
causing your
I remember having this problem with IE6 on older versions of GWT, I'm
not sure it is fixed as since OOPHM I don't use IE anymore.
On Apr 14, 12:25 pm, Simon Botting simon.bott...@enbuenosaires.com
wrote:
Hi,
The following exception is thrown for around 5% of the requests that
are made through
I have noticed the same issue. I know that javascript runs single
threaded, but I believe that the gif animation should run on a
seperate thread. Have you run this experiment on browsers that use a
different threading model like the newer version of Chrome (soon
coming to FF). Just because
I have had not problems with the following changes to the default
settings:
Server Tab: Uncheck Run built-in server
GWT Tab: Change the url to the URL of the html file associated with
the module.
(http://localhost:8080/ams/index.html)
There should be no need to modify the
I don't see why you would need this. Whenever you use RootPanel is
adds it directly to the document body. I suggest using firebug to
debug this problem and check out the html directly. Make sure you or
one of your inherited modules is not calling
Window.enableScrolling(false);.
I would suggest using jersey services with a custom services context
resolver. Put the following file in the same package as your jersey
services and replace **SerializableObject** with all of your root
elements. Then check out the getting started guide on
jersey.dev.java.net
@Provider
public
I am trying to write a generator to handle JSON overlay types for me,
but have run into a problem in hosted mode. I have an object that
contains an array of JSOs so i do JavaScriptObject jso =
messages.getMessages[0]; and I get the following problem:
java.lang.ClassCastException:
using JSONP ?
- Abdullah
On Tue, Apr 6, 2010 at 1:47 AM, lineman78 linema...@gmail.com wrote:
You should switch your project over to use JSONP. I was able to do so
with minimal headaches assuming you can add the capability server
side. I developed a solution based on the code posted here
You can use the GWT Exporter project to create interfaces between them
all and include the modules separately. I have been playing with a
similar path, but unfortunately am unable to share the code.
Essentially each sub-module populates an Element and the underlying
software asks for that element
I would think this would be easier:
public static final native JavaScriptObject deepCopy(JavaScriptObject
obj) /*-{
return eval('{'+JSON.stringify(obj)+'}');
}-*/;
I haven't tested the above code, but it should work.
On Apr 4, 8:51 pm, Dean Huffman huffman.d...@gmail.com wrote:
Since it
You should switch your project over to use JSONP. I was able to do so
with minimal headaches assuming you can add the capability server
side. I developed a solution based on the code posted here:
http://www.gwtsite.com/how-to-access-web-services-with-gwt/
By using JSONP you will never have to
I am using the UIBinder sample code that is generated by eclipse and I
have run into one minor problem. The CSS is not being injected. Here
is the code:
!DOCTYPE ui:UiBinder SYSTEM http://dl.google.com/gwt/DTD/xhtml.ent;
ui:UiBinder xmlns:ui=urn:ui:com.google.gwt.uibinder
ui:style
I just compiled this and the problem seems to only exist in hosted
mode.
On Apr 5, 2:25 pm, lineman78 linema...@gmail.com wrote:
I am using the UIBinder sample code that is generated by eclipse and I
have run into one minor problem. The CSS is not being injected. Here
is the code:
!DOCTYPE
with RESTLET based web services using JSON. I want to
understand:
If I use FormPanel in GWT then how can I pass the parameters and Form
data using POST ?
Does any one have a sample code ?
Thanks,
Deep
On Apr 2, 4:19 am, lineman78 linema...@gmail.com wrote:
You have to be more specific
It should work... assuming myFunction in your first JSNI method is
actually a call to desktopShare I can only see one problem in this
code. desktopShare is a static method and as such doesn't require the
instance when making the JSNI call. Just remove the x before the @.
On Apr 1, 2:28 am,
You have to be more specific on how you want to send the data. Are
you using Jersey for your REST implementation. Are you restricting it
to XML, or are you capable of doing JSON. If you can do JSON it is
very nice cause GWT has a direct loading method that has low
overhead. If you want to use
of the whole application. To avoid interferences,
each module loads into its own iframe. I wrote a messaging system that
allow each module to communicate with each other (JSON serialization,
auto-discovery of other modules...).
Olivier
On 31 mar, 03:10, lineman78 linema...@gmail.com wrote:
I
it.
--Sri
On 31 March 2010 21:48, lineman78 linema...@gmail.com wrote:
Yeah, there is 1 problem I have with your solution and a separate
issue your solution doesn't address. The problem I have with your
solution is that iFrames can't inherit size. One behavior I like is
that you can
the module.
Hope that helps.
Neil Olsonhttp://www.intertech.com/blog
On Mar 30, 8:23 pm, lineman78 linema...@gmail.com wrote:
You cannot use source code from a java project in GWT directly. All
GWT code must be in the client path of a module. i.e.
sura.ticketcheck.bo.Instancia
I know this is a common request of people trying to make pluggable
applications. It seems that every time someone comes up with a
solution to this problem the GWT team changes the way the core linkers
work and break the solution. I was wondering if anyone knows a way to
dynamically load a module
You cannot use source code from a java project in GWT directly. All
GWT code must be in the client path of a module. i.e.
sura.ticketcheck.bo.Instancia is not part of a GWT module. There is
one workaround I have gotten to work(only once, so no guarantee).
1) Create a file BoModule.gwt.xml in
);
-jason
On Dec 29, 2009, at 6:39 PM, Ian Bambury wrote:
Why would you want to run it twice? What effect are you trying to produce?
Ian
http://examples.roughian.com
2009/12/30 lineman78 linema...@gmail.com
Can someone please tell me if it is possible to load the same module
twice
Can someone please tell me if it is possible to load the same module
twice. If so, how? I have tried including the script tag twice,
which used to work in older versions of gwt, but no longer works. I
was thinking that once it is loaded you could call the onModuleLoad
function manually, but
I have been having an issue with my project setup running in --
noServer since 1.6.? that I'm hoping you could help me with. I am
getting the error
17:01:38.826 [ERROR] [dashboard] Unable to find 'dashboard.gwt.xml'
on your classpath; could be a typo, or maybe you forgot to include a
classpath
Is code splitting available yet in some sort of semi-finished form. I
am about to start a rather large portlet project that is going to have
several main applications (known as components to those familiar with
Joomla) and would like to defer the loading of each of the components
until that area
Is there any way to tell the compiler not to put the files in a folder
named after the package name. i.e., if my module is
com.google.test.TestApp and I compile with -war www, it puts all the
files under ./www/com.google.test.TestApp. I was wondering if there
is a way to get it to just put all
Hello all,
I am currently working with using JAX-RS to retrieve data from my
server in JSON format, and the default marshaller adds the '@' symbol
to the beginning of variable names for attributes. I am using the
method of casting the JSON to a JavaScriptObject using the eval(json)
function.
I have been working on integrating GWT into a Liferay portlet and am
having one major problem. When I drop the code on the page the screen
goes blank, in debugging this I have been able to determine the
problem through my access logs. Even though the context of the
portlet is /GWTTest, it tries
I believe that if you use container managed security for your entire
GWT app it will require authentication to access the servlets too. In
fact I just tested it and that is correct(FROM ACCESS LOG:
'127.0.0.1 matt 06/Mar/2009:18:17:36 + POST /SEESuite/
rssParser HTTP/1.1 200 3082' notice
:
http://code.google.com/p/google-web-toolkit-incubator/wiki/LoginSecur...
On Mar 6, 1:20 pm, lineman78 linema...@gmail.com wrote:
I believe that if you use container managed security for your entire
GWT app it will require authentication to access the servlets too. In
fact I just tested
. Is there
any drawbacks about using ssl? Also in addition to that Acegi seems
like a good way to go. I just read an article about setting that up,
it seems a little bit complicated, but I believe after painful set up
I'll be able to add another page to my resume:)
On Mar 6, 2:25 pm, lineman78 linema
I am using the com.google.gwt.i18n.client.DateTimeFormat.parse method
to parse data from thmy RSS feed. I am having a problem because we
want all of our RSS feed dates to be in GMT-00:00 and it is throwing
an error when my current time zone(GMT-07:00) is on Dec 01 and the
dateTime it is parsing
101 - 165 of 165 matches
Mail list logo