Re: use template in property files?

2015-03-29 Thread Dimitris Zenios
Hi You can do something else. change your property to copyright=@2013 %s. All Rights Reserved and from Java class do messages.format("copyright","xyz company") messages is a Message catalogue instance.You can get that object via @Inject private Messages messages Dimitris Zenios On Sun, Mar 29,

Re: dynamic css id

2015-03-29 Thread Dimitris Zenios
Hi Then create a method in your java class public String getMyId() and return your id Dimitris Zenios On Sun, Mar 29, 2015 at 5:56 PM, Angelo Chen wrote: > Hi, > > Say I have a html like this: > > < div id="myid"> > > that id is fixed to 'myid', I'd like to be able to change it to something

Re: Grid and initial sort mixin Tapestry 5.4-beta28

2015-03-29 Thread Dimitris Zenios
Anyone? On Sat, Mar 28, 2015 at 11:40 AM, Dimitris Zenios wrote: > Hello everyone > > I have a problem with a mixin that sets the first column sorted when sort > constraints is empty. > > The problem goes like that > > Without Mixin after > > Mixin SetupRender > 1.In order to get the first colum

use template in property files?

2015-03-29 Thread Angelo Chen
Hi, this is an entry in app.properties: copyright=@2013 xyz company. All Rights Reserved. is there a way to use something like this: copyright=@2013 ${company_name}. All Rights Reserved. and company_name can be stored somewhere else? Thanks, A.C.

dynamic css id

2015-03-29 Thread Angelo Chen
Hi, Say I have a html like this: < div id="myid"> that id is fixed to 'myid', I'd like to be able to change it to something else during run time, let's say getting the value from a page property, possible? Thanks, Angelo

Re: Passing hibernate session from one page to the next in a wizard form

2015-03-29 Thread Ilya Obshadko
Another solution to that is loading all lazy collections when you retrieve your object and before starting using in in a session. You can force it using Hibernate Criteria method setFetchMode ( "collectionName", FetchMode.JOIN ). On Fri, Mar 27, 2015 at 10:44 PM, George Christman wrote: > You ar