Sorry, I understand now it's a strong requirement for you.
It's not an usual way of work and it's not strange that you found some
problems.
I haven't tried anything similar but I'll try to help a bit.
In hosted mode GWT uses Java and has direct access to the files.
In web mode the code is
The way to have dynamic internationalization is explained here:
http://code.google.com/intl/es-ES/webtoolkit/doc/1.6/DevGuideI18nAndA11y.html#DevGuideDynamicStringInternationalization
On May 22, 9:44 am, Magius antonio.diaz@gmail.com wrote:
Sorry, I understand now it's a strong requirement
You can create a RPC to ask the server what is the current user role.
You'll need to create a session when the user creates a new session
and then you can store inside some user data like the login,
profile, ...
For a stronger security, you'd have to validate in server RPCs that
the current
Security is a very complex and wide world.
It's not the same an application for a blog with basic security
that a back application with a very high security at the browser,
communication and server levels.
Usually it's enough using a hash D Peters said.
For enterprises, usually I have to use
AbsolutePanel is a simple DIV
On May 21, 2:48 pm, grigoregeorge grigoregeorge631...@gmail.com
wrote:
I have this 3 element:
Label label1=new Label(TEXT_1);
Label label2=new Label(TEXT_2);
TextBox selectPage=new TextBox();
I want to organize the elements of above in this maner:
div
I'm not sure if I understand you, do you want to create dynamically
new files (property or any other) inside a deployed war?
It's impossible, you don't know how the server manage the WAR files
(usually it decompresses it in a temporal folder), you'll need to
access to the deploy directory (using
Hi,
I think your 1st approach is the correct and that you don't need to
have 2 RPCs.
How many time takes the Grid loading (100x80 = 8000 cells)? Probably
some seconds.
While loading the new grid, the browser freezes and didn't repaint its
window (it's monothread).
Seems to be this the problem?
currentRow could be to update 1 row of the grid, or 1 row
of a new invisible grid,
On May 19, 12:08 pm, Suren nsurendi...@gmail.com wrote:
Hi Magius,
I am loading 100x80 cells in the beginning and updating the changed
cells in the during my refresh.
How many time takes the Grid loading
Have you try using a FormPanel with a TextBox inside?
It should be translated as a INPUT tag...
On May 19, 2:00 pm, JK samochad...@gmail.com wrote:
Hello,
My question is related to GWT widget - HTML rendering.
If I create the simplest HTML widget with html source inside:
add(new
If you encrypt the password at the client side, everybody can review
the javascript algorithm and break it.
If you establish an HTTPS connection, then the channel is secure and
you can transfer the password in clear or with a simple
transformation.
On May 19, 6:50 am, abhiram
Unfortunately I've never done, it usually setup by the client
administrators.
I think it's not complicated but depends on the server you are
planning to use
On May 19, 3:35 pm, abhiram wuntakal abhir...@gmail.com wrote:
Hi Magius,
Thanks a lot for that info. My next question, how do i make
You have to update the message (xx% loaded) and to call to
deferredCommand to go on with the load after the browser has repainted
the screen.
It's very similar to
http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/2bd8a812c0d7e21b?hl=en
On May 19, 12:48 pm, Suren
In a special case (using myGwt components) and for a special component
I needed to add an ID to the component and to specify the CSS by ID.
In general it works well using addStyleName. But the styles available
depends on the type of HTML component, I think the StackPanel is an
HTML TABLE.
On
You can (a) call to the server and receive a string formatted date or
(b) build the string using Date.getDay( ), Date.getMonth( ), ... and
an array with Sunday, Monday, ...
On May 19, 4:57 pm, Dalla dalla_man...@hotmail.com wrote:
I´m building an application where I need to print the day of
There are some predefined styles that GWT applies to each component
like '.gwt-StackPanel'.
I haven't tried this way.
GWT helps you with the HTML and javascript generation but CSS is a bit
hard to work with.
You can asign a CSS class to a component with 'w.setStyleName(aaa)'
and then define the
If you want to use the module A separatly you can create a C module
with the EntryPoint from A.
On May 13, 2:24 am, Ian Bambury ianbamb...@gmail.com wrote:
Have a module (*.gwt.xml) file for A that doesn't define an entry point and
inherit that in the module file for B
Ian
Have you add to the classpath 'proj2/src/'?
The compiler will need this sources to.
On May 12, 11:21 pm, Manu man...@gmail.com wrote:
Hi,
The scenario is I have two different source trees and I want to share
some classes between my projects. For example I have one set of files
on
In not 100% sure but I remember that the size is 0 until the component
is rendered.
In this moment the browser calculates the layout of the page.
And the browser executes first the js code, then update the DOM and
finally it repaint the page.
In this case, the final width and height are not
If you are using Eclipse, you can setup 'projectName/war/WEB-INF/
classes' as the default output folder
and the class files are compiled and placed in this folder
automatically.
'ant' is the best way but with Eclipse is fastest to test it
On May 11, 9:30 pm, Sumit Chandel
Another way, I created the report using RPC and then I 'window.opened'
a new window with the URL of a servlet and the proper ContentType.
The report was opened in a new window with Acrobat (PDF), Excel
(XLS), ...
On May 11, 7:44 pm, Sergio Silva sdcsi...@gmail.com wrote:
Just to let everyone
I created one using a flexTable and some buttons to forward,
backward, ...
I stored all the result in memory and loaded the table with the
current page results.
On May 12, 7:59 am, abbu minhaj.mis...@gmail.com wrote:
Hi everybody,
Here i have a FlexTable and a datalist which is getting
Have you tried duplicating the mapping entries for both modules?
servlet
servlet-nameUserService/servlet-name
servlet-class
com.test.UserServiceImpl
/servlet-class
/servlet
servlet-mapping
servlet-nameUserService/servlet-name
The imageBundle has a unique URL for all the images, in fact it's a
one big image made by all the little ones.
GWT loads the whole image but uses a clipper control to show only the
clip containing the image.
On Apr 15, 2:53 pm, Joe Hudson joe...@gmail.com wrote:
Hi,
I'm trying to use
I'm not a fanatic of paginated tables but I think this is the easiest
way.
I receive all the data in the GWT-client and show the information in a
paginated way.
Each time the user press next you anly have to replace the table
data with the next N records.
On Apr 2, 3:09 pm, Thomas Broyer
It's a bit unclear, the problem with a day is because the difference
of 4 hours?
One way to manage dates, when all the users are in the same timezone,
is to manage it as a String (mmdd for example). It's very clear
for all developpers in the project (specially for junior ones).
The best way
With IE you can use the IE Developer Toolbar. It's very helpful. I've
heard there a version for mozilla but i havn't used it.
Sometimes I had to add a specific ID to the widget, to overwrite the
element default style with my own styles.
On Mar 29, 7:22 pm, Arthur Kalmenson
I achieved to avoid the word wrap after a long session with google and
trying different things. And only for IE!
Tables are old elements of HTML with a lot of css-options to render.
I did several things, probably some of them are not needed, I expect
to not have forgot anyone.
In my widget
On Mar 25, 2:58 am, Thomas Broyer t.bro...@gmail.com wrote:
On 24 mar, 21:53, vroom_vroom slabarb...@gmail.com wrote:
Surprizingly, keeping all code the same with the exception of the
client side...and changing all that code to just:
Window.open(/exportExcel, _self, );
actually
I think you need to place some Struts stuff in the web.xml file.
On Mar 29, 8:34 am, nicopozo nicop...@gmail.com wrote:
Hi all,
I need some help, I'm working with GTW and using some Struts classes.
The thing is that when I compile the GWT code and run it on my server,
it works ok. But if I
Ummm, it seems complex.
The DialogBox it's a layer placed on top of the current window, but
it's part of the window and I don't know how to print only it (you
could manipulate the rest of the elements using css to not print them
but I think it not a good idea).
Probably the best approach is to
It works fine for me including the full package name.
For tomcat, in the module's xml I use the servlet name:
servlet path=/rpcCommon
class=giros.server.services.common.CommonServiceImpl/
In the web.xml for Weblogic I used the fullModuleNameWithDots/
servletName:
servlet
In general, It's as easy as to create a HttpSession in the
RemoteServiceServlet.
I've created an abstract BaseService that only accepts RPC calls when
the child Service NOT isSecured() OR when (the child Service
isSecured() AND there's a HttpSession previously stablished).
abstract public
That's true, the easiest way is to store all the posiblle information
in the client side. And in this way you application is more scalable.
Anyway, there are some information that I have to store in the server.
I have often 1 or 2 servlets for PDF/XLS/JPG generation that need to
shared some basic
I stored images in the filesystem.
At the client code, I use image1.setURL( /servlet/...) as 'stone'
describes above.
An HttpServlet receive it and sends the image (resized in my case).
It performs well.
On Mar 13, 10:08 am, stone stones...@gmail.com wrote:
use a servlet url for downloading
I had this problem some months ago.
I had several pages in the same project (GWT 1.4), sharing services,
code and images.
The first approach was to create several modules, but each module had
to be compiled separately.
The problem was that the whole compilation took num-modules times more
than a
I remenber to have read that GWT-RPC zips the data sent in some cases.
And your message has a PK mark, the same that for ZIP files.
If this is true the RPC message could be ok.
I cannot help wtith the rest. In the exception log there isn't any gwt
classes...
By the way, I migrated from GWT 1.4
?
On Fri, Mar 13, 2009 at 6:12 AM, Magius antonio.diaz@gmail.com wrote:
I had this problem some months ago.
I had several pages in the same project (GWT 1.4), sharing services,
code and images.
The first approach was to create several modules, but each module had
to be compiled separately
With GWT 1.4 + IE, there was a problem with ImageBundles.
For each image in the form, IE loaded in memory a copy off the whole
ImageBundle.
Then, when my app grows, a simple form with a few image-buttons used
200Mb, 300 Mb, 400 Mb...
It tought it was a memory leak until we found a great message
I've had the same problem some months ago.
I was developping a big application for a telco enterprise and most of
the application forms requiered loading several fields at the same
time during initialization.
For example, the create a route between servers form requieres to
load several drop-down
I've had the same problem in an application for a customer that uses
IE.
Finally I've decided to create a paged table to show only a few rows
in screen.
In this way it's faster to render the table.
It's a workaround, not really a solution, but it was acceptable for
the customer.
On Mar 5, 3:47
40 matches
Mail list logo