Re: gmail like file upload
Gmail works with flash disabled suggesting it doesn't use Flash. Probably there's some Flash progress indicator but I don't use and see that. 2010/6/11 Johan Compagner > Gmail is by the way not ajax but a flash application. > There is an opensource flash app i think on sourceforge that does pretty > much the same as gmail. > > > - Original message - > > > > I want to have gmail like file upload in my application , I want to > > have ajax multi file upload , please suggest me . > > -- > > View this message in context: > > > http://apache-wicket.1842946.n4.nabble.com/gmail-like-file-upload-tp2251270p2251270.html > > Sent from the Wicket - User mailing list archive at Nabble.com. > > > > - > > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > > For additional commands, e-mail: users-h...@wicket.apache.org > > > >
Re: Asynchronous DataStore queries on GAE with Twig-persist and other DataStore related problems
That would mean that I use only my extended WebPage... Would that be executed on AJAX calls? I would want to execute prepareQuery on all objects that will be updated through AJAX. Joe: Yes I know. I've written about cursors in my first post. 2010/4/27 Igor Vaynberg > page.onbeforerender() might work. > > -igor > > On Tue, Apr 27, 2010 at 12:34 PM, Piotr Tarsa > wrote: > > OK. To simplify question - I want to have method prepareQuery(DataStore > > dataStore) in my own IModel subinterface and before page rendering I > would > > want to execute that method for every model. Where should I do that? Is > > there some place in RequestCycle where I could do that? > > > > 2010/4/26 Piotr Tarsa > > > >> Hello, > >> > >> I want to use Wicket with GAE and exploit all GAE features but some > >> problems arise. > >> > >> 1. I'm looking for a good solution for asynchronous simulteanous queries > in > >> Wicket. DataStore has a functionality of asynchronous queries so I would > >> want to be able to fire various queries before rendering anything and > then > >> return the actual model objects when rendering particular component. I > think > >> of an Interface (or, better, abstract class) extending IModel with an > >> additional method, name it prepareModel() which would run the > asynchronous > >> query, so getObjet would just wait for the query to finish and then > return > >> the result (this way total time spend of waiting for DataStore queries > will > >> be at most equal to slowest query). DataStore entities are organized > into > >> Entity Groups where there are ancestors and descendants. So sometimes to > >> find an object I must first find the ancestor. So I would want to fire > the > >> prepareModel() for parent components first. > >> > >> 2. DataStore doesn't support joins internally and it's queries are > limited > >> to 1000 results (this means that GQL COUNT will never return value > higher > >> than 1000 even if there's more that 1000 entities that mets the > >> requirements). Instead DataStore provides cursors to retrieve more than > 1000 > >> results and GAE devs recommends using separate sharded counters instead > of > >> GQL COUNT's (of course if the result would never exceed 1000 then we > shall > >> use normal GQL COUNT). Are there any components (repeaters) in Wicket > that > >> supports that approach? > >> > >> 3. I think that Wicket should be able to store pages from PageMap > >> independently. This way we could store pages in separate entities in > >> datastore (DataStore doesn't have schemas, one can store entities of any > >> form as every kind) so fewer bytes would be transmitted to and from > >> DataStore (Http Sessions are kept in MemCache and DiskStore). > >> > >> 4. How to inject an DataStore object in Models that will be testing > >> friendly? > >> > > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >
Re: Asynchronous DataStore queries on GAE with Twig-persist and other DataStore related problems
OK. To simplify question - I want to have method prepareQuery(DataStore dataStore) in my own IModel subinterface and before page rendering I would want to execute that method for every model. Where should I do that? Is there some place in RequestCycle where I could do that? 2010/4/26 Piotr Tarsa > Hello, > > I want to use Wicket with GAE and exploit all GAE features but some > problems arise. > > 1. I'm looking for a good solution for asynchronous simulteanous queries in > Wicket. DataStore has a functionality of asynchronous queries so I would > want to be able to fire various queries before rendering anything and then > return the actual model objects when rendering particular component. I think > of an Interface (or, better, abstract class) extending IModel with an > additional method, name it prepareModel() which would run the asynchronous > query, so getObjet would just wait for the query to finish and then return > the result (this way total time spend of waiting for DataStore queries will > be at most equal to slowest query). DataStore entities are organized into > Entity Groups where there are ancestors and descendants. So sometimes to > find an object I must first find the ancestor. So I would want to fire the > prepareModel() for parent components first. > > 2. DataStore doesn't support joins internally and it's queries are limited > to 1000 results (this means that GQL COUNT will never return value higher > than 1000 even if there's more that 1000 entities that mets the > requirements). Instead DataStore provides cursors to retrieve more than 1000 > results and GAE devs recommends using separate sharded counters instead of > GQL COUNT's (of course if the result would never exceed 1000 then we shall > use normal GQL COUNT). Are there any components (repeaters) in Wicket that > supports that approach? > > 3. I think that Wicket should be able to store pages from PageMap > independently. This way we could store pages in separate entities in > datastore (DataStore doesn't have schemas, one can store entities of any > form as every kind) so fewer bytes would be transmitted to and from > DataStore (Http Sessions are kept in MemCache and DiskStore). > > 4. How to inject an DataStore object in Models that will be testing > friendly? >
Asynchronous DataStore queries on GAE with Twig-persist and other DataStore related problems
Hello, I want to use Wicket with GAE and exploit all GAE features but some problems arise. 1. I'm looking for a good solution for asynchronous simulteanous queries in Wicket. DataStore has a functionality of asynchronous queries so I would want to be able to fire various queries before rendering anything and then return the actual model objects when rendering particular component. I think of an Interface (or, better, abstract class) extending IModel with an additional method, name it prepareModel() which would run the asynchronous query, so getObjet would just wait for the query to finish and then return the result (this way total time spend of waiting for DataStore queries will be at most equal to slowest query). DataStore entities are organized into Entity Groups where there are ancestors and descendants. So sometimes to find an object I must first find the ancestor. So I would want to fire the prepareModel() for parent components first. 2. DataStore doesn't support joins internally and it's queries are limited to 1000 results (this means that GQL COUNT will never return value higher than 1000 even if there's more that 1000 entities that mets the requirements). Instead DataStore provides cursors to retrieve more than 1000 results and GAE devs recommends using separate sharded counters instead of GQL COUNT's (of course if the result would never exceed 1000 then we shall use normal GQL COUNT). Are there any components (repeaters) in Wicket that supports that approach? 3. I think that Wicket should be able to store pages from PageMap independently. This way we could store pages in separate entities in datastore (DataStore doesn't have schemas, one can store entities of any form as every kind) so fewer bytes would be transmitted to and from DataStore (Http Sessions are kept in MemCache and DiskStore). 4. How to inject an DataStore object in Models that will be testing friendly?
Re: Serious problem with swapping two items in a list (GAEJ/ JDO)
It doesn't work out of the box, because it creates copy of a list. That list is backed by JDO and attached to PersistenceManager, so cloning it makes straightforward persistence impossible. I also want to make instant changes, ie. when I click "Move Down" I expect the items be swapped in database before page reload (and the entire form revalidated before swapping). 2010/1/8 Igor Vaynberg > it usually helps to describe the problem > > but out of curiousity is this applicable? > http://wicketinaction.com/2008/10/building-a-listeditor-form-component/ > > -igor > > On Fri, Jan 8, 2010 at 2:42 PM, Piotr Tarsa wrote: > > Hello, > > > > I've tried virtually everything. I'm looking for someone who has > experience > > with GAEJ. > > > > Running site is at: http://data-compression.appspot.com/ > > Source code (need wicket-guice): > http://code.google.com/p/data-compression/ > > > > Page address: > > http://data-compression.appspot.com/Administration/HomePagePanel > > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >
Re: Serious problem with swapping two items in a list (GAEJ/ JDO)
I want to swap two elements in a ListView. The problem is that I want to persist all changes on every request (with validation etc). List should be ordered by a special field (I called it "position"). I've taken various different approaches, always used ListView as a basis, not RepeatingView. I had different results but the list never worked properly. I'll look deeper at your article tommorow. 2010/1/8 Igor Vaynberg > it usually helps to describe the problem > > but out of curiousity is this applicable? > http://wicketinaction.com/2008/10/building-a-listeditor-form-component/ > > -igor > > On Fri, Jan 8, 2010 at 2:42 PM, Piotr Tarsa wrote: > > Hello, > > > > I've tried virtually everything. I'm looking for someone who has > experience > > with GAEJ. > > > > Running site is at: http://data-compression.appspot.com/ > > Source code (need wicket-guice): > http://code.google.com/p/data-compression/ > > > > Page address: > > http://data-compression.appspot.com/Administration/HomePagePanel > > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >
Serious problem with swapping two items in a list (GAEJ/ JDO)
Hello, I've tried virtually everything. I'm looking for someone who has experience with GAEJ. Running site is at: http://data-compression.appspot.com/ Source code (need wicket-guice): http://code.google.com/p/data-compression/ Page address: http://data-compression.appspot.com/Administration/HomePagePanel
Re: Help me with setting up Ubuntu, NetBeans, Maven2, Wicket, Jetty and Google App Engine
Can you share your pom files? Just to know how other people deals with GAE. Also settings and profiles files would be helpful. 2009/11/7 Pieter Degraeuwe : > unfortunately, there are no public maven repositories that contain the > needed artifacts. I did install them all manually in my local repo... > If you are interested I can send you my pom (but that'll be monday, since I > can't access my pc right now...) > > > pieter > > On Sat, Nov 7, 2009 at 3:52 PM, Piotr Tarsa wrote: > >> Hi, >> >> I am trying to develop Wicket application (site about my research in >> Data Compression Algorithms) to Google App Engine using NetBeans and >> Maven2. >> >> I need an up-to-date pom.xml files with short dependencies, ie. the >> ones I saw had a long list of dependencies. >> >> Currently I've found two unsatisfactory solutions: >> http://gae-j-maven.appspot.com/ >> http://code.google.com/p/maven-gae-plugin/ >> >> Do you know something better? I need to have access to Google App >> Engine features like DataStore, MemCache etc. >> >> I've set netbeans.deploy=false so NetBeans doesn't ask for deploying >> server (besides, I am using embedded Jetty to run that, so the >> question was weird), but sadly, now NetBeans doesn't open new browser >> window and doesn't stop Jetty before another run command. >> >> Do you think that using Maven2 with that project makes sense? Maybe I >> should make regular NetBeans project... >> >> - >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> > > > -- > Pieter Degraeuwe > Systemworks bvba > Belgiëlaan 61 > 9070 Destelbergen > GSM: +32 (0)485/68.60.85 > Email: pieter.degrae...@systemworks.be > visit us at http://www.systemworks.be > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Help me with setting up Ubuntu, NetBeans, Maven2, Wicket, Jetty and Google App Engine
Well, I'm playing with GAE and Wicket for couple of days and I see that without official Maven2 support, developing using it gives too much trouble for me. I've downloaded http://kenai.com/projects/nbappengine/pages/Home (NetBeans support for Google App Engine) and it's very convenient. I've found a temporary solution (till the official Maven2 support for GAE will be present): - create regular project (Choose project -> Java Web -> Web Application) with Google App Engine as a server and select Wicket Framework, - create Maven2 project (using wicket-archetype-quickstart) and add your favorite dependencies, - click Show dependency graph, then switch to classpath tab select appropriate library and click Create Library button, - add created libraries to regular (non-maven) project, - repeat previous two steps when new dependencies are added or some are updated in Maven2 project, - develop using regular project, I will see how this solution will work for me. 2009/11/7 Piotr Tarsa : > OK. I will be grateful for any help. > > 2009/11/7 Pieter Degraeuwe : >> unfortunately, there are no public maven repositories that contain the >> needed artifacts. I did install them all manually in my local repo... >> If you are interested I can send you my pom (but that'll be monday, since I >> can't access my pc right now...) >> >> >> pieter >> >> On Sat, Nov 7, 2009 at 3:52 PM, Piotr Tarsa wrote: >> >>> Hi, >>> >>> I am trying to develop Wicket application (site about my research in >>> Data Compression Algorithms) to Google App Engine using NetBeans and >>> Maven2. >>> >>> I need an up-to-date pom.xml files with short dependencies, ie. the >>> ones I saw had a long list of dependencies. >>> >>> Currently I've found two unsatisfactory solutions: >>> http://gae-j-maven.appspot.com/ >>> http://code.google.com/p/maven-gae-plugin/ >>> >>> Do you know something better? I need to have access to Google App >>> Engine features like DataStore, MemCache etc. >>> >>> I've set netbeans.deploy=false so NetBeans doesn't ask for deploying >>> server (besides, I am using embedded Jetty to run that, so the >>> question was weird), but sadly, now NetBeans doesn't open new browser >>> window and doesn't stop Jetty before another run command. >>> >>> Do you think that using Maven2 with that project makes sense? Maybe I >>> should make regular NetBeans project... >>> >>> - >>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >>> For additional commands, e-mail: users-h...@wicket.apache.org >>> >>> >> >> >> -- >> Pieter Degraeuwe >> Systemworks bvba >> Belgiëlaan 61 >> 9070 Destelbergen >> GSM: +32 (0)485/68.60.85 >> Email: pieter.degrae...@systemworks.be >> visit us at http://www.systemworks.be >> > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Help me with setting up Ubuntu, NetBeans, Maven2, Wicket, Jetty and Google App Engine
OK. I will be grateful for any help. 2009/11/7 Pieter Degraeuwe : > unfortunately, there are no public maven repositories that contain the > needed artifacts. I did install them all manually in my local repo... > If you are interested I can send you my pom (but that'll be monday, since I > can't access my pc right now...) > > > pieter > > On Sat, Nov 7, 2009 at 3:52 PM, Piotr Tarsa wrote: > >> Hi, >> >> I am trying to develop Wicket application (site about my research in >> Data Compression Algorithms) to Google App Engine using NetBeans and >> Maven2. >> >> I need an up-to-date pom.xml files with short dependencies, ie. the >> ones I saw had a long list of dependencies. >> >> Currently I've found two unsatisfactory solutions: >> http://gae-j-maven.appspot.com/ >> http://code.google.com/p/maven-gae-plugin/ >> >> Do you know something better? I need to have access to Google App >> Engine features like DataStore, MemCache etc. >> >> I've set netbeans.deploy=false so NetBeans doesn't ask for deploying >> server (besides, I am using embedded Jetty to run that, so the >> question was weird), but sadly, now NetBeans doesn't open new browser >> window and doesn't stop Jetty before another run command. >> >> Do you think that using Maven2 with that project makes sense? Maybe I >> should make regular NetBeans project... >> >> - >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> > > > -- > Pieter Degraeuwe > Systemworks bvba > Belgiëlaan 61 > 9070 Destelbergen > GSM: +32 (0)485/68.60.85 > Email: pieter.degrae...@systemworks.be > visit us at http://www.systemworks.be > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Help me with setting up Ubuntu, NetBeans, Maven2, Wicket, Jetty and Google App Engine
Hi, I am trying to develop Wicket application (site about my research in Data Compression Algorithms) to Google App Engine using NetBeans and Maven2. I need an up-to-date pom.xml files with short dependencies, ie. the ones I saw had a long list of dependencies. Currently I've found two unsatisfactory solutions: http://gae-j-maven.appspot.com/ http://code.google.com/p/maven-gae-plugin/ Do you know something better? I need to have access to Google App Engine features like DataStore, MemCache etc. I've set netbeans.deploy=false so NetBeans doesn't ask for deploying server (besides, I am using embedded Jetty to run that, so the question was weird), but sadly, now NetBeans doesn't open new browser window and doesn't stop Jetty before another run command. Do you think that using Maven2 with that project makes sense? Maybe I should make regular NetBeans project... - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Help me with setting up Ubuntu, NetBeans, Maven2, Wicket, Jetty and Google App Engine
Hi, I am trying to develop Wicket application (site about my research in Data Compression Algorithms) to Google App Engine using NetBeans and Maven2. I need an up-to-date pom.xml files with short dependencies, ie. the ones I saw had a long list of dependencies. Currently I've found two unsatisfactory solutions: http://gae-j-maven.appspot.com/ http://code.google.com/p/maven-gae-plugin/ Do you know something better? I need to have access to Google App Engine features like DataStore, MemCache etc. I've set netbeans.deploy=false so NetBeans doesn't ask for deploying server (besides, I am using embedded Jetty to run that, so the question was weird), but sadly, now NetBeans doesn't open new browser window and doesn't stop Jetty before another run command. Do you think that using Maven2 with that project makes sense? Maybe I should make regular NetBeans project... - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org