Searching search component

2012-10-01 Thread o782438
I am looking for a search component for my hibernate articles. Is there such already implemented or if not what do you think should I go for apache lucene and with it create some decent component for my search need? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Searchin

Re: LUCENE SEARCH component

2012-10-01 Thread Kalle Korhonen
Incidentally I'm just working on full text search in Tynamo's tapestry-model trunk. The approach Lance mentions works fine. However, I'm currently looking into migrating to ElasticSearch. HibernateSearch only offers result coercion to entities, not much else. Kalle On Mon, Oct 1, 2012 at 12:58 A

Re: onValidate get list of fields containing validation errors.

2012-10-01 Thread Lance Java
Luckily, most of tapestry is coded to interfaces. In this instance, tapestry requires an instance of ValidationTracker and not the concrete ValidationTrackerImpl. So, you can use the delegate pattern instead of inheritance. eg: public ValidationTracker getMyTracker() { final ValidationTracker

Re: onValidate get list of fields containing validation errors.

2012-10-01 Thread George Christman
Yes I seen that, that's why I was asking if he had any other ideas. -- View this message in context: http://tapestry.1045711.n5.nabble.com/onValidate-get-list-of-fields-containing-validation-errors-tp5716549p5716580.html Sent from the Tapestry - User mailing list archive at Nabble.com. --

Re: onValidate get list of fields containing validation errors.

2012-10-01 Thread Ray Nicholus
You can't override any methods in that class as it has a final modifier. On Mon, Oct 1, 2012 at 8:18 AM, George Christman wrote: > Hi Lance, I'm seeing the following compiling error "cannot inherit from > final > ValidationTrackerImpl". Any thoughts? > > > > -- > View this message in context: > h

Re: onValidate get list of fields containing validation errors.

2012-10-01 Thread George Christman
Hi Lance, I'm seeing the following compiling error "cannot inherit from final ValidationTrackerImpl". Any thoughts? -- View this message in context: http://tapestry.1045711.n5.nabble.com/onValidate-get-list-of-fields-containing-validation-errors-tp5716549p5716578.html Sent from the Tapestry - U

Re: Label component usage

2012-10-01 Thread Thiago H de Paula Figueiredo
On Mon, 01 Oct 2012 01:55:52 -0300, Ken in Nashua wrote: Folks, Hi! I am using the Label component to model some space maintainers in between the postions of components. kinda like filling up empty table columns ? You're using the Label component for the wrong purpose. The correct o

Re: Regarding Mouse Events in Tapestry?

2012-10-01 Thread Lance Java
The solution will depend on if you are using the default clientside library (prototype) or if you are using tapestry-jquery. It also depends on whether you need to fire a serverside event or not. Take a look at the onEvent mixin example in JumpStart for inspiration [1]. In this example a serversid

Re: LUCENE SEARCH component

2012-10-01 Thread Lance Java
Although I've not used it, hibernate does have lucene integration (http://docs.jboss.org/hibernate/search/3.3/reference/en-US/html/search-query.html#search-query-lucene-api) Tapestry creates a proxy around hibernate's session and users on this list have reported that Search.getFullTextSession(sess

Re: onValidate get list of fields containing validation errors.

2012-10-01 Thread Lance Java
You could pass your own implementation of ValidationTracker to the form. ... public ValidationTracker getMyTracker() { return new ValidationTrackerImpl() { public void recordError(Field field, String errorMessage) { flagError(field); // TODO: implement this super

Re: block delegate usage

2012-10-01 Thread Ivan Khalopik
use block:autoPagingContent instead of block:components.autoPagingContent On Mon, Oct 1, 2012 at 7:40 AM, Ken in Nashua wrote: > > Hi Folks, > > I am modeling a gallery in a template. This worked beautiful in T4. > > But for T5 I have the following: > > > Gallery.TML (without showing all the co

Re: Label component usage

2012-10-01 Thread Ivan Khalopik
Label component is used in addition to t5 Field component, so for parameter is required and Field with defined identifier should exist. In case if you need just an html label element you can use html tag . As I understand in your code snippet you need something like with some styling: to To ma