OAuth tapestry+scribe

2011-05-20 Thread green-creeper
Hello! I'm new to Typestry. Now i have OpenID auth as discribed http://wiki.apache.org/tapestry/Tapestry5HowToSpringSecurityAndOpenId here I need to make an OAuth authentication (google, facebook, twitter) I've choosen the Scribe lib. Using this https://github.com/fernandezpablo85/scribe-java/w

Re: OAuth tapestry+scribe

2011-05-20 Thread Thiago H. de Paula Figueiredo
On Fri, 20 May 2011 05:28:35 -0300, green-creeper wrote: Hello! Hi! I'm new to Typestry. Welcome! Now i have OpenID auth as discribed http://wiki.apache.org/tapestry/Tapestry5HowToSpringSecurityAndOpenId here I need to make an OAuth authentication (google, facebook, twitter) Have

BeanEditForm - small problem

2011-05-20 Thread toejoe
Hello I can not get over thisprobably basic problem. Render queue error in SetupRender[Gume:guma.editor]: Exception instantiating instance of com.projekat.alpha1.entities.Guma (for component 'Gume:guma.editor'): Error invoking constructor com.projekat.alpha1.entities.Guma(int, String, String, Dat

Re: BeanEditForm - small problem

2011-05-20 Thread Thiago H. de Paula Figueiredo
On Fri, 20 May 2011 11:15:42 -0300, toejoe wrote: Hello Hi! Try this: void onPrepare() { if (guma == null) { guma = new Guma(...); } } I can not get over thisprobably basic problem. Render queue error in SetupRender[Gume:guma.editor]: Exception instanti

Re: BeanEditForm - small problem

2011-05-20 Thread toejoe
Thank You for the reply. However, suggested solution did not work, but your proposal gave me the idea. I deleted all constructors from entity class. Bean edit form is now working! This is the first time I created entity classes with the wizard. :( Cheers -- View this message in context: http://

Re: Classloader problems with Tapestry and Runtime Dynamic types

2011-05-20 Thread Dan Weber
On 05/19/2011 04:50 PM, Thiago H. de Paula Figueiredo wrote: > What are you trying to do with these generated types and what exactly > is failing? Tapestry's classloader just changes classes that are in > controlled pages (pages, components, mixins, base). Anything else is > not touched (changed) b

Re: Classloader problems with Tapestry and Runtime Dynamic types

2011-05-20 Thread Thiago H. de Paula Figueiredo
On Fri, 20 May 2011 13:27:23 -0300, Dan Weber wrote: Hi Thiago, Hi! One of the big benefits of tapestry in how I use it is to be able to dynamically generate bean forms from dynamically generated types. Due to the fact that tapestry uses its own classloader hierarchy (esp. limited at javas

Re: Classloader problems with Tapestry and Runtime Dynamic types

2011-05-20 Thread Dan Weber
On 05/20/2011 11:17 AM, Thiago H. de Paula Figueiredo wrote: > On Fri, 20 May 2011 13:27:23 -0300, Dan Weber wrote: > >> One of the big benefits of tapestry in how I use it is to be able to >> dynamically generate bean forms from dynamically generated types. Due >> to the fact that tapestry uses

Re: Classloader problems with Tapestry and Runtime Dynamic types

2011-05-20 Thread Robert Zeigler
It's directly integrated in trunk (5.3) Robert > I'm using tapestry 5.2.5. I saw plastic, but it didn't look like it was > integrated, is it? > > Dan > > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > F

Re: Classloader problems with Tapestry and Runtime Dynamic types

2011-05-20 Thread Thiago H. de Paula Figueiredo
On Fri, 20 May 2011 14:27:32 -0300, Dan Weber wrote: I'm using tapestry 5.2.5. I saw plastic, but it didn't look like it was integrated, is it? It's integrated into T5.3-SNAPSHOT. You can use Plastic in a standalone manner too. -- Thiago H. de Paula Figueiredo Independent Java, Apache Ta

how can I clear the page context?

2011-05-20 Thread Ray Nicholus
...so that the context is not included after the page initially loads when I, say, refresh the page via the browser's refresh button? In other words, how can I load a page with context parameters once and then discard them so subsequent refreshes oft hat page do not use these parameters?

Re: about select model

2011-05-20 Thread Vangel V. Ajanovski
On 05/20/2011 02:24 AM, Thiago H. de Paula Figueiredo wrote: If you're using tapestry-hibernate, the ValueEncoder is automatically added for every of your mapped entity classes. It's implementation is simple: it uses the primary key field of the object and converts it to a String and vice-versa

Re: how can I clear the page context?

2011-05-20 Thread Rich M
You can use the public String onPassivate() function in a Page class to alter the context URL posted to the client browser. For example, I like to use it to beautify the URL so its not the more code-y page name it normally would be, and also to mask page names from the user so they cannot viol

Re: how can I clear the page context?

2011-05-20 Thread Josh Canfield
> You can use the public String onPassivate() function in a Page class to > alter the context URL posted to the client browser. I think the OP wants to change the URL for the original GET request. In that case you're going to need to redirect to the page with no context parameters. Try returning t