If you don't want to modify the JDOQL query, then you should be able to
filter using a conditional in the loop. Something like:
if (g.getAuthor().getEmail().equals(user.getEmail())) {
  // ...
}

Does this work? Is this what you're trying to do?

- Jason

On Tue, Oct 20, 2009 at 4:07 AM, Jefferson <wkeffer...@gmail.com> wrote:

>
> Hello everybody I am using the example that is in the Guestbook
> googlecode, I'm trying to get him to catch all the messages that are
> in the name of the User logged in, I could not do this with an if and
> not modifying the sql file in guestbook.jsp
>
> Any solution?
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to