[google-appengine] [Permissions] No invitation has been sent to user

2011-11-23 Thread hadf
Hi,

I would like to add viewer permission to a user. To do so, I sent an
invitation to this user, using the permissions form. But this user
hasn't received any email invitation, so that the permission granted
is still in pending status.

The admin and the user to be added are associated to the same Google
Apps account, and Google App Engine service has been added to all
these users.

Can you help me. Thank you.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[appengine-java] Image size is not properly detected by shadowbox.js or clearbox.js

2011-08-05 Thread hadf
Hello,

I want to diplay my images in a lightbox like shadowbox or clearbox.
These scripts work fine with a static image file, but not with dynamic
serving resource like a Servlet or ImageService, so that the frame in
wich the image is displayed doesn't fit the image.

Does someone has encountered this problem yet ?

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] [Objectify] logical constraints and null values

2011-07-04 Thread hadf
Hello,

Two questions :

How can I filter a query with logical constraints (or, and) ? (where
attribut = foo1 or attribut = foo2)
And furthermore, how can I filter a query with null or non null
values ? (where attribut is null / where attribut is not null)

Thank you for your help :)

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: [Objectify] logical constraints and null values

2011-07-04 Thread hadf
Thanks guys :)

On 4 juil, 23:10, Bruno Fuster brunofus...@gmail.com wrote:
 jMotta,

 You can make OR queries using lists.
 The datastore will run one query for each parameter and then join the
 results for you.

 Like I said: ofy.query(Obj.class).filter(name in, Arrays.asList(name1,
 name2)).list();

 works like a champ :)

 Regards,









 On Mon, Jul 4, 2011 at 6:01 PM, jMotta jayrmo...@gmail.com wrote:
  Until where I know, there is no feature to accomplish the OR, AND is
  implicit when you add more filters.

  IS NULL is equals to .filter(attr, null);
  IS NOT NULL is equals to .filter(attr != null);

  If you find something about doing OR, let us know! :)

  *Jayr Motta*
  Software Developer
  *
  *
  I'm  on 
  BlackBeltFactory.comhttp://www.blackbeltfactory.com/ui#!User/jmotta/ref=jmotta
  !

  On Mon, Jul 4, 2011 at 5:30 PM, hadf hadrien.for...@gmail.com wrote:

  Hello,

  Two questions :

  How can I filter a query with logical constraints (or, and) ? (where
  attribut = foo1 or attribut = foo2)
  And furthermore, how can I filter a query with null or non null
  values ? (where attribut is null / where attribut is not null)

  Thank you for your help :)

  --
  You received this message because you are subscribed to the Google Groups
  Google App Engine for Java group.
  To post to this group, send email to
  google-appengine-java@googlegroups.com.
  To unsubscribe from this group, send email to
  google-appengine-java+unsubscr...@googlegroups.com.
  For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.

   --
  You received this message because you are subscribed to the Google Groups
  Google App Engine for Java group.
  To post to this group, send email to
  google-appengine-java@googlegroups.com.
  To unsubscribe from this group, send email to
  google-appengine-java+unsubscr...@googlegroups.com.
  For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.

 --
 Bruno Fuster

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Are GAE servers multicore ?

2011-04-30 Thread hadf
Hello,

Are GAE servers multicore ? I mean, do we have gain of performance
when using mutithreading ?

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Session and load balancing

2011-04-20 Thread hadf
I would like to know if GAE insures that requests attached to the same
HttpSession are redirected on the same server instance, considering
that it may not because of load balancing.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: Session and load balancing

2011-04-20 Thread hadf
This is not needed and we can manage with session store, but
developpers must be informed not to use static attributes, given that
they are shared between server instances. If not, developments that
works locally may not in production context.

On 20 avr, 20:36, Nick Rudnik nrud...@gmail.com wrote:
 Why would this be needed? The session implementation stores its data outside
 of a specific jvm so every instance has access to all sessions. It is a very
 excellent design decision not to have to connect a user to a single instance
 for the life of a session. Instances can come and go as they please without
 affecting any existing sessions.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: Problem with refreshing static files

2010-10-22 Thread hadf
Arggg !!

I thougth the problem was due to the browser cache, but even if I
delete it, my application steel use the old version of my css.

I don't understand, because if I connect to the URL of the stylesheet,
I can see the last version.

On 21 oct, 21:28, hadf hadrien.for...@gmail.com wrote:
 Ok, I found the reason of my problem. The cache is the browser cache.

 http://code.google.com/intl/fr/appengine/docs/java/config/appconfig.h...

 On 21 oct, 21:09, hadf hadrien.for...@gmail.com wrote:

  Mmmhh I thought it works fine with appserver command, but I have the
  same problem finally.

  On 21 oct, 19:42, hadf hadrien.for...@gmail.com wrote:

   I have a CSS file main.css in my war directory. I've modified it, but
   the trouble is that when I execute my project in Eclipse as a
   WebApplication, the server delivers the old version of the file. All
   works fine with the appserver command.

   I searched in the workspace, and even in my hole homedir, but there is
   a single file main.css. If the server delivers an old version, is
   there a cache directory ? But where it is ? And how to refresh this
   cache ? I tried to clean the project in Eclipse, but with no result. I
   had the same problem few weeks ago with the web.xml file.

   Can you help me please.



-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: Problem with refreshing static files

2010-10-22 Thread hadf
Sorry, it's OK, the problem was due to my CSS.

On 22 oct, 13:04, hadf hadrien.for...@gmail.com wrote:
 Arggg !!

 I thougth the problem was due to the browser cache, but even if I
 delete it, my application steel use the old version of my css.

 I don't understand, because if I connect to the URL of the stylesheet,
 I can see the last version.

 On 21 oct, 21:28, hadf hadrien.for...@gmail.com wrote:

  Ok, I found the reason of my problem. The cache is the browser cache.

 http://code.google.com/intl/fr/appengine/docs/java/config/appconfig.h...

  On 21 oct, 21:09, hadf hadrien.for...@gmail.com wrote:

   Mmmhh I thought it works fine with appserver command, but I have the
   same problem finally.

   On 21 oct, 19:42, hadf hadrien.for...@gmail.com wrote:

I have a CSS file main.css in my war directory. I've modified it, but
the trouble is that when I execute my project in Eclipse as a
WebApplication, the server delivers the old version of the file. All
works fine with the appserver command.

I searched in the workspace, and even in my hole homedir, but there is
a single file main.css. If the server delivers an old version, is
there a cache directory ? But where it is ? And how to refresh this
cache ? I tried to clean the project in Eclipse, but with no result. I
had the same problem few weeks ago with the web.xml file.

Can you help me please.



-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] [Eclipse Plugin] Problem with refreshing static files

2010-10-21 Thread hadf
I have a CSS file main.css in my war directory. I've modified it, but
the trouble is that when I execute my project in Eclipse as a
WebApplication, the server delivers the old version of the file. All
works fine with the appserver command.

I searched in the workspace, and even in my hole homedir, but there is
a single file main.css. If the server delivers an old version, is
there a cache directory ? But where it is ? And how to refresh this
cache ? I tried to clean the project in Eclipse, but with no result. I
had the same problem few weeks ago with the web.xml file.

Can you help me please.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: Problem with refreshing static files

2010-10-21 Thread hadf
Mmmhh I thought it works fine with appserver command, but I have the
same problem finally.

On 21 oct, 19:42, hadf hadrien.for...@gmail.com wrote:
 I have a CSS file main.css in my war directory. I've modified it, but
 the trouble is that when I execute my project in Eclipse as a
 WebApplication, the server delivers the old version of the file. All
 works fine with the appserver command.

 I searched in the workspace, and even in my hole homedir, but there is
 a single file main.css. If the server delivers an old version, is
 there a cache directory ? But where it is ? And how to refresh this
 cache ? I tried to clean the project in Eclipse, but with no result. I
 had the same problem few weeks ago with the web.xml file.

 Can you help me please.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: Problem with refreshing static files

2010-10-21 Thread hadf
Ok, I found the reason of my problem. The cache is the browser cache.

http://code.google.com/intl/fr/appengine/docs/java/config/appconfig.html#expiration

On 21 oct, 21:09, hadf hadrien.for...@gmail.com wrote:
 Mmmhh I thought it works fine with appserver command, but I have the
 same problem finally.

 On 21 oct, 19:42, hadf hadrien.for...@gmail.com wrote:

  I have a CSS file main.css in my war directory. I've modified it, but
  the trouble is that when I execute my project in Eclipse as a
  WebApplication, the server delivers the old version of the file. All
  works fine with the appserver command.

  I searched in the workspace, and even in my hole homedir, but there is
  a single file main.css. If the server delivers an old version, is
  there a cache directory ? But where it is ? And how to refresh this
  cache ? I tried to clean the project in Eclipse, but with no result. I
  had the same problem few weeks ago with the web.xml file.

  Can you help me please.



-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: Join selection between two entities in JPA

2010-10-18 Thread hadf
Thank you for your response SebaGra.

:'(

On 18 oct, 13:47, SebaGra seba...@gmail.com wrote:
 As far as I know, join's are not available in GAE.
 Take a look at this:

 http://code.google.com/appengine/docs/java/datastore/relationships.html

 2010/10/18 hadf hadrien.for...@gmail.com

  I have two entities :

  @Entity
  public class Modele {
     private Long id;
     private Long marque;

     [...]
  }

  @Entity
  public class Marque {
     private Long id;
     private String label;

     [...]
  }

  My entities are not directly associated because I don't want to use
  Key ids.

  I want to retrieve Modele by label Marque. So I tried this request :
  select modele from Modele modele, Marque marque
     where modele.marque = marque.id
     and marque.label = :marque

  But I have a NullPointerException :
  java.lang.NullPointerException
         at

  org.datanucleus.store.appengine.query.DatastoreQuery.getSortProperty(DatastoreQuery.java:
  788)
         at

  org.datanucleus.store.appengine.query.JoinHelper.executeJoinQuery(JoinHelper.java:
  64)
     [...]

  Can you help me to write my request please.

  --
  You received this message because you are subscribed to the Google Groups
  Google App Engine for Java group.
  To post to this group, send email to
  google-appengine-j...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Many to many relation ship

2010-10-06 Thread hadf
Hello,

I read that many to many relation ship must resolved by using sets of
Key.
But what I don't understand is how do I specify the type the Key is
referencing.
I mean that if I have a many to many relation ship between Car and
User, how jpa or jdo knows that Car is associated to User ?

public class Car {
@OneToMany
private SetKey users; //this relation ship is untyped
}

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] appcfg doesn't update my static file

2010-10-03 Thread hadf
I try to update my application with appcfg command. The trouble is
that appcfg doesn't update a static file so that my application uses
an older version.

I don't know if it the reason of the problem, I updated my application
from a first directory, and now I try again from another directory.
But the appengine-web.xml references the same application id.

My static file is loaded only when init the main Servlet of my app.
But I think that the new version of my app is in a different context
so that the file is loaded again.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: Libraries in /war/WEB-INF/lib not in the classpath

2010-10-01 Thread hadf
Actually, my librarie contains a servlet, but it is not called when I
request the url-pattern, so I have a 404 Error. It works fine in a
Eclipse Web Project, but not in Google Web Application Project.

On 1 oct, 05:22, Didier Durand durand.did...@gmail.com wrote:
 Hello, what do you mean not loaded ? You get exceptions ?
 didier

 On Sep 30, 10:38 pm, hadf hadrien.for...@gmail.com wrote:

  Thanks for your help didier.

  That's what I did. I put my jar in the /war/WEB-INF/lib directory and
  added it to the Eclipse build-path. But my jar is not loaded at
  runtime.

  On 30 sep, 14:17, Didier Durand durand.did...@gmail.com wrote:

   Hi,

   You have to do both

   - 1) put in the war so that you have the runtime code when you run on
   Google App Engine
   - 2) put them in your classpath so that your IDE can use the
   definitions that they contain when compiling your own class

   regards
   didier

   On Sep 30, 1:01 pm, hadf hadrien.for...@gmail.com wrote:

Hello,

I added libraries in the /war/WEB-INF/lib directory, but they are not
in the classpath.
If I add them in the project eclipse build-path, they are not
accessible at runtime.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Wildcard seem not working in url-pattern

2010-09-26 Thread hadf
Hello,

I want to define a servlet like this :

servlet
servlet-nametest/servlet-name
servlet-classfr.hadf.test.servlet.Test/servlet-class
/servlet
servlet-mapping
servlet-nametest/servlet-name
url-pattern/*/url-pattern
/servlet-mapping

But wildcard doesn't work when url-pattern is root / as defined in my
web.xml
So that my servlet is not requested when i request an url like http://
foo.appspot.com/foo
but only if i request http://foo.appspot.com/;

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Does JSF Session Bean are supported ?

2010-09-02 Thread hadf
I'm a newbie in JSF and AppEngine technology. I've created a simple
form which redirect to a summary page that displays the form data. The
trouble is that form data is lost during redirect as if session beans
were not supported. So I would like to know how to deal with session
data.

Here is my JSF config :
managed-bean
managed-bean-nameuser/managed-bean-name
managed-bean-classfr.hadf.test.login.User/managed-bean-class
managed-bean-scopesession/managed-bean-scope
/managed-bean

And my AppEngine config :
sessions-enabledtrue/sessions-enabled

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.