Re: Customizing grid sorting

2008-05-21 Thread Waldo Mendoza
Dan Adams dan at ifactory.com writes: There are two situations we hit often in our applications: - disabling sorting for one specific column because it doesn't have a corresponding db column - not allowing sorting by any of the columns because the data is sorted explicitly In T4 with

Re: T5: accessing another page/component's message catalog

2008-04-24 Thread Waldo Mendoza
Adam Zimowski zimowski74 at gmail.com writes: Is there a way to access message catalog of some page or component from another page or component? I know of two ways to do this, but both are hacks IMHO: class SomePage { @Inject private Messages _messages; public getMessages() {

RE: T5: A component returning StreamResponse?

2007-10-10 Thread Waldo Mendoza
Hi there! Why not instead of a component the htmlFragment comes from a Page?, so in your javascript code, you can make a page request. For example, in my Main Page: class WizardPage { @Persist private String _currentPage; void onStepChanged(String toPage) { _currentPage =

RE: T5: A component returning StreamResponse?

2007-10-10 Thread Waldo Mendoza
/wizardpage.stepchanged/step2', { method: 'GET', onSuccess: function (t) { //really nothing to do here } }); From: Waldo Mendoza [mailto:[EMAIL PROTECTED] Sent: Wed 10/10/2007 11:44 AM To: Tapestry users Subject: RE: T5: A component returning StreamResponse

RE: [T5] navigation component

2007-07-17 Thread Waldo Mendoza
Hello Ognen! I have made some similar behavior for a past Tapestry version, i think 5.0.2, but the idea should be standard: 1.- Read the files inside the pages folder that is subfolder of tapestry.app-package init param, of course filtering with a FilenameFilter, instead of that you can

T5: Loop component fails

2007-02-13 Thread Waldo Mendoza
Hi there! Congratulations to howard, tapestry 5 it´s really amazing and fun. I have been trying the components that comes bundled with tapestry, and i got and exception with a Loop test. The template is: html xmlns:t=http://tapestry.apache.org/schema/tapestry_5_0_0.xsd; head titleLoop