[appengine-java] Re: Debate sobre will-it-play-in-app-engine

2009-10-20 Thread Steve B.

I recently got velocity working with my own webapp. There was a wrinkle 
that had something to do with logging - I do not recall the details 
since it is now fixed. I use velocity to allow users to define email 
templates (as oppose to using the servlet to create html pages). Not 
sure if this matches your scenario.

If you try it and have issues just post the errors and I will at least 
look at my code for what could be different.

Steve B.

mangrar wrote:
 What about apache Velocity template engine? does it work?
  
 
 


--~--~-~--~~~---~--~~
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] How to reset the datastore

2009-09-15 Thread Steve B.

I seem to recall this question passing through the group before. But now 
I cannot find the answer (if there was one) in the maillist or in 
documentation...

I would like to purge all data from my datastore on the App Engine. (I 
do this locally by deleting the 2 files in 
/WEB-INF/appengine-generated.) Is there a way to do this in bulk? Or do 
I need to use the Admin Console and delete one table at a time?

TIA,

Steve B.

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

2009-09-11 Thread Steve B.

I do not know if this is a bug or if it is already documented somewhere 
(I could not find this info when I searched):

I just ran into a problem where session data worked fine in my local dev 
environment, but failed when I deployed to the App Engine.

In the AppEngine logs I found a Runtime error 
java.io.NotSerializableException. Seems that my Objects needed to 
implement java.io.Serializable.

Just thought I would pass that along in case you ran into the same 
issue. It was not obvious (to me) as the log entries were only 
level.warning.

Steve B.


Jason (Google) wrote:
 To use sessions, you first have to enable them: 
 http://code.google.com/appengine/docs/java/config/appconfig.html#Enabling_Sessions
 
 Once sessions are enabled, you work with them the same way you work with 
 sessions in other J2EE environments.
 
 - Jason
 
 On Wed, Sep 9, 2009 at 4:18 AM, zahid zhdis...@gmail.com 
 mailto:zhdis...@gmail.com wrote:
 
 
 Dear sir
 currently we are making an application host on GAE . So i have proble
 to mentain session give me any example of this
 best regard
 zahid
 
 
 
  


--~--~-~--~~~---~--~~
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: User Registration, Login, Logout Module?

2009-09-10 Thread Steve B.

I am setting up the project on code.google.com under project sebcms. I 
am preparing the code for upload now - I need to strip out some private 
info I hard-coded for testing and the like. I should have source 
uploaded by this evening.

Keep in mind that I have yet to add the workflow where users can 
register themselves - I expect it will be pretty simple and only require 
code I have already created under the admin interface. Also, I need to 
wire-up the email stuff.

As far as your scenario of counting urls per user, it should be a simple 
matter of creating an interceptor, which updates a count (a field which 
you would have to add) in the user table.

Anyway, I will let you know when the code is there for you.

Steve B.


TiagoP wrote:
 Could you share the login/register code?
 
 BR
 
 On Sep 9, 9:34 pm, Steve B. sb...@cnicorp.com wrote:
 I do not know if anyone else is working on this, but I have begun work
 on my own java-based cms. You can see me devsite at:

 http://sebcms.appspot.com

 Logins (until someone breaks it ;) ):

 member/member
 admin/admin  (adds admin link to top navigation)

 I am still in the early stages of development and was going to share
 this when I had more done, but if anyone is interested I will share it
 as opensource.

 Currently I have some major holes which I list as my next items on the
 home page. As this is repeated development of software I created in the
 past (and because I have the underpinnings relatively set) I expect to
 complete these items quickly. However, I am learning AppEngine as I go
 so there may be some stumbling yet to come.

 Steve B.

 TiagoP wrote:
 That would be very helpful for me aswell.
 Unfortunately, I'm not aware of anything like that.
 On Sep 9, 11:18 am, davekor dave...@gmail.com wrote:
 Hi,
 I was wondering if anyone knows of a java-based (non-google) user
 registration module that can be plugged into a GAE application?
 Preferably something that handles the following functions:
 1. User registration with capchta (Name, password, email)
 2. Sending and confirmation of verification email
 3. Login/logout registered users.
 4. Compatible with Google App Engine for Java
 4. Open source (optional)
  
 
 


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