Re: Passing blocks as component parameters

2013-12-01 Thread Kristian Marinkovic
Yes it is possible. Usually you use a Delegate component to render a Block. Cheers Kris Am 01.12.2013 23:53 schrieb "Boris Horvat" : > Is there any way to pass a block as a parameter and then to render it? > > I have checked a tree component and I have seen it renders it manually. Is > there any

Re: grid is showing this column -> _persistence Should Refresh Fetch Group

2013-12-01 Thread Chris Mylonas
Weaving!! I've run into a problem with weaving before, thanks for the tip. grid + exclude = thank you Lance Cheers Chris On Fri, Nov 29, 2013 at 3:04 AM, Lance Java wrote: > I'm assuming this is also a problem in beaneditor / beandisplay. > On 28 Nov 2013 12:07, "Dimitris Zenios" > wrote: >

Re: Tapestry5 and nodejs app coexist

2013-12-01 Thread Chris Mylonas
Angelo, It's not a tapestry specific question so you will probably have better luck elsewhere with your question. I've got PHP and tapestry stuff reading the same DB - none of it is "managed" by the persistence provider. You could expose the data via webservices so your data is still managed - i

Passing blocks as component parameters

2013-12-01 Thread Boris Horvat
Is there any way to pass a block as a parameter and then to render it? I have checked a tree component and I have seen it renders it manually. Is there any way to achieve this by simply passing few parameters around? Cheers -- Sincerely *Boris Horvat*

How does Tapestry SelectModelFactory pick the id

2013-12-01 Thread Boris Horvat
Hi everyone, I am confused by the SelectModelFactory and how it picks an id. I have a code public SelectModel getModel() { return modelFactroy.create(listOfMyObjects, "name"); } This class has the id filed that is used by the hibernate and the name which I use as a label in this

Re: [T5.4] AjaxFormLoop - is it working?

2013-12-01 Thread Michał Gruca
Hi all, I've been able to build a component based on divs with AjaxLoopForm. It's working fine, however I've had recently change request to the whole thing and I was pushed to make it work on tables. So here I am again on starting point. In the end I don't intend to use AjaxLoopForm (at least I do

Re: [ANN] Tapestry 5.4 alternative datepicker

2013-12-01 Thread Balázs Palcsó
Hi, I am trying to use this component with org.joda.time.DateTime and I get the following error: Parameter 'translate' of component job/Post:bidsdeadline is bound to null. This parameter is not allowed to be null. If I apply this solution http://programmerslounge.blogspot.co.uk/2013/07/error-para

Tapestry5 and nodejs app coexist

2013-12-01 Thread Angelo Chen
Hi, got an existing T5 app running with Hibernate and 2nd level cache, now I'd like to make some nodejs apps accessing the same database, what will be a better approach to this? it seems that there might be some inconsistencies in the database, any thoughts on this? Thanks, A.C.