Re: OAuth2 Server tapestry implementation

2016-03-23 Thread abangkis
Yes, it was for educational purposes only. Regards On Wed, Mar 23, 2016 at 11:47 PM, Kalle Korhonen wrote: > I don't see a reason to do a plain servlet implementation if it's not for > educational reasons only. JAX-RS or even a Tapestry API would serve you > much better as an Oauth endpoint. >

Re: Hiding FormFragment via javascript

2016-03-23 Thread Dimitris Zenios
hendrk what version of tapestry are you using? On 23 Mar 2016 16:00, "Hendrik Grewe" wrote: > Hi @ list! > > I have a loop within a Form containing a formfragment per row. > The FormFragment is displayed within a (bootstrap) modal dialog, which > is opened by a click of a button in the current Ro

Re: Tapestry Grid Paging

2016-03-23 Thread Thiago H de Paula Figueiredo
On Wed, 23 Mar 2016 12:39:14 -0300, Nathan Quirynen wrote: Or the 'inPlace' parameter on true in the Grid component (http://tapestry.apache.org/5.3.7/apidocs/org/apache/tapestry5/corelib/components/Grid.html) Nathan beat me to it! (shakes fist) :D :p -- Thiago H. de Paula Figueiredo Tapest

Re: Tapestry Grid Paging

2016-03-23 Thread Thiago H de Paula Figueiredo
On Wed, 23 Mar 2016 11:34:04 -0300, john c wrote: We have a big form which does a tonne of data loading from databases and legacy systems. Now we want to add this small grid at the top with paging. Clicking a paging button will trigger a page refresh and the whole form to reload the data

Re: Tapestry Grid Paging

2016-03-23 Thread john c
Yea I got it working earlier using the inPlace parameter. Thanks. From: Nathan Quirynen To: users@tapestry.apache.org Sent: Wednesday, 23 March 2016, 11:39 Subject: Re: Tapestry Grid Paging Or the 'inPlace' parameter on true in the Grid component (http://tapestry.apache.org/5.3.7/a

Re: OAuth2 Server tapestry implementation

2016-03-23 Thread Kalle Korhonen
I don't see a reason to do a plain servlet implementation if it's not for educational reasons only. JAX-RS or even a Tapestry API would serve you much better as an Oauth endpoint. Kalle On Wed, Mar 23, 2016 at 1:13 AM, abangkis wrote: > Thanks Kalle. Yes, I've been following that. Turning the J

Re: Tapestry Grid Paging

2016-03-23 Thread Nathan Quirynen
Or the 'inPlace' parameter on true in the Grid component (http://tapestry.apache.org/5.3.7/apidocs/org/apache/tapestry5/corelib/components/Grid.html) On 23/03/16 16:37, Nathan Quirynen wrote: Did you set the zone that is surrounding your grid as the 'zone' parameter on the GridPager component

Re: Tapestry Grid Paging

2016-03-23 Thread Nathan Quirynen
Did you set the zone that is surrounding your grid as the 'zone' parameter on the GridPager component? http://tapestry.apache.org/5.3.7/apidocs/org/apache/tapestry5/corelib/components/GridPager.html On 23/03/16 15:34, john c wrote: We have a big form which does a tonne of data loading from dat

Re: Tapestry Grid Paging

2016-03-23 Thread john c
We have a big form which does a tonne of data loading from databases and legacy systems. Now we want to add this small grid at the top with paging. Clicking a paging button will trigger a page refresh and the whole form to reload the data again in addition to the grid data.  Obviously we don't w

Re: Hibernate call returns wrong day

2016-03-23 Thread Thiago H de Paula Figueiredo
On Tue, 22 Mar 2016 16:55:46 -0300, g kuczera wrote: Hi guys, Hi! binder.bind(UserDao.class, UserDaoImpl.class).scope(ScopeConstants.PERTHREAD); Why is it perthread-scoped? I've never seen a DAO which actually needed that. List birthDatesList = userDao.getSession().createSQLQuery("se

Re: Tapestry Grid Paging

2016-03-23 Thread Thiago H de Paula Figueiredo
On Tue, 22 Mar 2016 17:33:32 -0300, john c wrote: I have added rowsPerPage to add paging to a Tapestry Grid (that has a surrounding zone). When paging buttons are pressed it hits setupRender(). Is there a flag we can check to tell that a paging button was just clicked? No. Why do you n

Hiding FormFragment via javascript

2016-03-23 Thread Hendrik Grewe
Hi @ list! I have a loop within a Form containing a formfragment per row. The FormFragment is displayed within a (bootstrap) modal dialog, which is opened by a click of a button in the current Row of the loop. Fields within those formfragments are required. The problem arises if one opens the moda

Re: OAuth2 Server tapestry implementation

2016-03-23 Thread abangkis
Thanks Kalle. Yes, I've been following that. Turning the Jax-RS sample to a servlet one, before try to migrate it to tapestry. I Guess my knowledge on OAuth2, JAX-RS & Servlet isn't deep enough to quickly do it for now. I'll set aside a few weekends to learn more about it in the future :) On Wed,