Re: moveable areas as in iGoogle?

2013-04-11 Thread Olivier TURPIN
There's also GQuery & its plugin with Droppable & Draggable  widgets
http://code.google.com/p/gwtquery-plugins/

Olivier.

Le mercredi 10 avril 2013 12:33:33 UTC+2, Magnus a écrit :
>
> Hi,
>
> how can one realize such moveable areas, which can be placed with drag & 
> drop at predefined positions, such as in iGoogle?
>
> Is there a tutorial?
>
> Thanks
> Magnus
>

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




Re: Should I use HTML5 canvas just to create my own slideshow reader ?

2012-06-11 Thread Olivier TURPIN
Hello 

Transition can easily be done with CSS3 (but also need modern browser), 
check this project it could give you some ideas :)

https://github.com/pyricau/rockslide

Olivier.


Le vendredi 8 juin 2012 06:29:00 UTC+2, regnoult axel a écrit :
>
> Hello,
>
> I am trying to develop my own slideshow reader (you just see the albums 
> fotos in the full screen mode and slide them).
> I started using HTML5 canvas but just because it was more "modern" but IE8 
> does not support HTML5 canvas. So my question is :  "Should I use HTML5 
> canvas to do my slideshow (I will need a caroussel and animation between 
> images) ?" Could you argue your answer (because maybe HTML5 canvas are more 
> interesting to do more complicated things) ?
>
> Thanks you,
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/D21Yjx5_vGsJ.
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: Is there any way to remove the sort arrow decorator in a header of a CellTable?

2012-03-11 Thread Olivier TURPIN
Hello Xavier

You should take a look at Header class (in 
com.google.gwt.user.cellview.client package) by extending it you'll have 
access to the Template in use, maybe you can declare your own or just 
override render method  and inject your code to the SafeHtmlBuilder

@Override
public void render(Context context, SafeHtmlBuilder sb) {
// do what you want with the builder
// sb.append();
}


Olivier.
Le samedi 10 mars 2012 12:35:51 UTC+1, Xavier S. a écrit :
>
> Hello Jose,
> Thanks for your answer!
> I wasn't aware of the CellTable.Resources classes, it seems to fit my 
> needs. But (there's always a but :) ).
> The generated html code for that sort arrow is the following :
>
>> > style="left:0px;margin-top:-4px;position:absolute;top:50%;line-height:0px;">
>> http://127.0.0.1:/main/clear.cache.gif"; style="width: 11px; height: 
>> 7px; background: url(data:image/png;base64,SOMEBASE64CODE) no-repeat 0px 
>> 0px;" border="0">
>> 
>
>
> And I would like to change it to something like this :
>
>> 
>>
> 
>
> 
>
>
> So mostly change the  tag by a  one where I can use twitter 
> bootstrap css icons and maybe change the top style arg of the enclosing div.
>
> Is there any way to do it with GWT?
>
> Thanks again and best regards,
>
> Xavier
>
>
> On Saturday, March 10, 2012 6:15:45 AM UTC+1, JoseM wrote:
>>
>> You can control what to show for that with the CellTable Resources. You 
>> would have to pass in your own resources to the CellTable constructor that 
>> overrides the sort style to display what you want. 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/QRfhQR0C6Y0J.
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-RPC Portlets Liferay

2010-12-02 Thread Olivier TURPIN
Hello,

There is some resources about GWT-APP management on liferay's forum :
http://www.liferay.com/web/guest/community/forums/-/message_boards/message/461945

http://www.liferay.com/web/guest/community/wiki/-/wiki/Main/How+to+build+a+GWT+Portlet+in+Liferay

I think that there is a gwt sample with the demo bundle, did you try
it ?

Maybe you've got some troubles with contextpath (N.B i'm not a Liferay
expert...°)

Olivier


On 2 déc, 15:05, Ani  wrote:
> Hello,
>
> I'm new on portlets and LifeRay world. I have a GWT-RPC ap and i'd
> like to use it in a portlet, and see it in LifeRay, but when i try to
> add the portlet, i get the following error:
>
> Error:
> The call failed on the server; see server log for details
>
> In localhost."date".log i see:
> org.apache.catalina.core.StandardHostValve custom
> FINA: Processing ErrorPage[errorCode=404, location=/errors/404.jsp]
>
> Could you help me with this issue?
>
> Than you very much in advance por any kind of information you can give
> me about this, because i was not able to find much, and the one i've
> found, didn't help me, as i continue getting the same error.
>
> Regards,
> Ana

-- 
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-tool...@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: vertical alignment inside a FlowPanel

2010-11-25 Thread Olivier TURPIN

Hi magnus

vertical-align works only on inline elements, FlowPanel / SimplePanel
(div elements) are 'block' types, i don't know exactly what you're
trying to achieve but bottom alignment can be painful sometimes...

if you don't care about IE6/7 you can have a try with :

#mainContainer{
vertical-align:bottom;
display:table-cell;
}



Olivier.

-- 
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-tool...@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: Is there a alternative way of debugging under Linux

2010-09-29 Thread Olivier TURPIN
I'm running my projects under Ubuntu 64-bit (with FF plugin as the
plugin for Chrome is not available)

as mentioned by Thomas, when needed, i start a VM on Windows to
complete tests with IE (for this purpose the -bindAddress parameter
could be interesting so as to override default 127.0.0.1 address)


Olivier.


On 29 sep, 12:30, Thomas Broyer  wrote:
> On Sep 29, 9:38 am, Oskar Hannesson  wrote:
>
> > I recently switched from Windows to Linux/Ububtu as my main developer
> > platform and are quite pleased with the change.
> > However I’m having problem running GWT 2.0 apps in debug mode since
> > the lack of the Linux version of GWT Developer plugin for Chrome and
> > Firefox.
>
> Well, there's a plugin for Firefox (up to 3.6.x) on Linux (32bit). If
> you're running 64bit Linux, I've read (in the issue tracker) that you
> should be able to compile the plugin quite easily (I'm on Windows, but
> others on the team are developing on Ubuntu too and haven't expressed
> any issue (yet?)).
>
> > The only brake points that works are in the server code.
> > Is there any way to debug the client code without the GWT Developer
> > plugin for Chrome/Firefox?
> > Is it perhaps possible to use the old hosted mode browser found in GWT
> > 1.7?
>
> If you're ready for such radical options, then maybe you'd find it
> simpler to run Windows in a virtual machine to run the browser: your
> DevMode stays on Linux, the browser plugin communicates with the
> DevMode through the "virtual network" between the VM and the Linux OS

-- 
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-tool...@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: Expose custom GWT widgets via JavaScript

2010-09-23 Thread Olivier TURPIN
Maybe gwt-exporter can give you some ideas

http://code.google.com/p/gwt-exporter/
http://code.google.com/p/gwtchismes/wiki/Tutorial_ExportingGwtLibrariesToJavascript_en


Olivier.

On 22 sep, 22:30, gabriel  wrote:
> I'm looking for a good pattern or example of building custom GWT
> widgets and then exposing them via a JavaScript api.  I've seen a lot
> of examples on how to wrap JavaScript libraries in GWT but not a lot
> on the reverse.  I have seen the basic examples in the documentation
> on exposing simple function calls, but I want to expose an entire
> widget.  Any ideas?  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-tool...@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 encoding problem

2010-09-22 Thread Olivier TURPIN
Hilco gave the right answer, that's a maven log

you've got to tell Maven to use UTF-8 during processing (otherwise it
will fallback to system encoding : ) :


  ...
  
UTF-8
  
  ...




Olivier.
On 21 sep, 16:26, Thomas Van Driessche
 wrote:
> Hi,
>
> I have a problem that my values out of my properties files are not
> well displayed on the page in utf8.
>
> This is already done:
> 
> 
> And the files in eclipse are saved using UTF-8.
>
> I tried to watch the files in the war file (build using maven), but i
> can't seem to find them back there?
> Because when i build i get the following warning:
>
> [WARNING] Using platform encoding (Cp1252 actually) to copy filtered
> resources,
> i.e. build is platform dependent!
>
> Can this be a cause?
>
> kind regards

-- 
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-tool...@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: Speed-Optimization of an application (RPCs, Architecture)

2010-09-02 Thread Olivier TURPIN
in a near future if you need to play with command pattern you could
find some interesting hints with thoses articles :
- Tutorial explaining the basics of gwt-dispatch :
http://borglin.net/gwt-project/?page_id=283
- Nice articles about batching with gwt-dispatch (by the M. David
Chandler)
http://turbomanage.wordpress.com/2010/07/16/dispatchqueue/
http://turbomanage.wordpress.com/2010/07/12/caching-batching-dispatcher-for-gwt-dispatch/

PS it's always good to keep in mind browser's limitation but the
limitation of '2 connection /server' tend to move to more ajaxfriendly
values with the newest version of FF, IE ...

Browser HTTP/1.1HTTP/1.0
IE 6,7  2   4
IE 86   6
Firefox 2   2   8
Firefox 3   6   6
Safari 3,4  4   4
Chrome 1,2  6   ?
Chrome 34   4
Opera 9.63,10.00alpha   4   4
source :
http://www.stevesouders.com/blog/2008/03/20/roundup-on-parallel-connections/


PS N°2 maybe the user won't hit the 2nd or 3rd tab, you should
consider calling RPC only if needed

On 1 sep, 14:45, Fabian  wrote:
> Hi Tanguy,
>
> thank you for your answer. I think for my app it is too late to switch
> to this kind of using commands and due to that having the chance to
> batch them. (since i have only a few days to finish it). I will
> consider it in my next apps.
>
> Thanks for telling me, that fewer rpc calls are better than more rpc
> calls (considering same amount of data), didn't find this information
> anywhere!
>
> I think for my app i will just wait until the first rpc send the data
> from the server to the first tab, and then start the other rpcs. That
> should be good enough for my app this time.
>
> Greetings,
> Fabian

-- 
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-tool...@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: What are some of the most valuable frameworks in your project?

2010-09-01 Thread Olivier TURPIN
Well i tried mvp4g in late 2009, GWTP and GUIT were not available...
only gwt-presenter.
So i made proof of concept with both frameworks and i really like the
way mvp4g did. Simple configuration, annotation facilities for
binding, splitability, nice support... and i like the fact that there
is no 1 million concepts and features that i won't use (as I prefer
'raw' GWT than getting into swartGwt and GXT for same reasons)

On 30 août, 21:07, Jeff Larsen  wrote:
> Thanks everyone for your responses they've been a huge help.
>
> I noticed a lot of people using gwtp and no mention of MVP4G. What
> made your decision to go with gwtp instead of mvp4g?
>
> On Aug 29, 2:14 pm, Ikari  wrote:
>
> > Gin and Guice for dependency injection. GWT-presenter as realization
> > of MVP pattern, GWT-dispatch for client-server communication. So far
> > that's fine.

-- 
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-tool...@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: accents problem

2010-05-18 Thread Olivier Turpin
Hello Laurent,

Did you check :
- eclipse workspace settings (UTF-8 vs ISO)?
- JVM file encoding ?
- Apache (if used) default caracter encoding ?

what's the response/request header encoding ?

Is your trouble only on your csv file ?

On 18 mai, 10:46, laurent  wrote:
> I've a problem when i try to print accents.My application parse a csv
> file with the persons(first-lastName).Some having like
> Véronique,Benoît,...
> With Eclipse, doing click-droit, 'properties', 'Resources', i change
> to iso-8859-1.It's the same for firefox but never doing. I've a
> printing with a question mark inside a little square.
>
> Thanks for your request
>
> --
> 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-tool...@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group 
> athttp://groups.google.com/group/google-web-toolkit?hl=en.

-- 
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-tool...@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.