Re: Render Tapestry pages into a file

2006-07-31 Thread KE Gan
he cache what you mean... What cache are you refererring to? On 7/31/06, KE Gan <[EMAIL PROTECTED]> wrote: > > Jesse, thanks for the fast reply (as always :)) > > If I were to use the ResponseBuilder approach, that means Tapestry will > cache the pages. And since the pages

Re: Render Tapestry pages into a file

2006-07-31 Thread KE Gan
page render and do whatever you like with it. It's also something you can control with a hivemind contribution, so overriding the default html response renderer wouldn't be very hard either. http://tapestry.apache.org/tapestry4.1/ajax/ResponseBuilder.html On 7/30/06, KE Gan <[EMAIL P

Render Tapestry pages into a file

2006-07-30 Thread KE Gan
Hi, I am working on a Tapestry application that has over hundreds Tapestry HTML pages, all sharing one single Java class file. These Tapestry HTML pages are submitted by users from time to time ... so they are not immediately in the web application, and they may change from time to time. The thi

Re: Testing Tapestry application

2006-07-21 Thread KE Gan
can use it now, just don't ask for documentation yet ;) http://people.apache.org/repo/m2-snapshot-repository/org/apache/tapestry/tapestry-test/ On 7/20/06, KE Gan <[EMAIL PROTECTED]> wrote: > > Jesse, > > Thanks a lot for the pointers!! And eagerly looking forward for the

Re: Testing Tapestry application

2006-07-20 Thread KE Gan
basic base unit test classes in tapestry out into a new maven project that I've deployed, just haven't genereated a site for it yet with documentation. Eventually, people should be able to use the same testing resources tapestry developers do to test their own components/pages. On 7/

Testing Tapestry application

2006-07-20 Thread KE Gan
Hi, I have been coding Tapestry for a few months now. It is really nice to work with, especially with Hivemind tightly integrated ... hence I get to easily unit test my POJOs (domain objects, etc). However, I still have problem unit testing the Tapestry pages of the application. I did try to use

Re: Return with "html anchor" in listener

2006-07-11 Thread KE Gan
engine/EngineServiceLink.java?view=markup On 7/10/06, KE Gan <[EMAIL PROTECTED]> wrote: > > Shing, > > Thanks for the input. Actually, I am using exactly, the same code as you > have written. However, from the documentation, I cannot seems to find how > to > include an 'html ancho

Re: Return with "html anchor" in listener

2006-07-10 Thread KE Gan
ILink link = getExternalService().getLink(false, esp); Shing --- KE Gan <[EMAIL PROTECTED]> wrote: > Hi, > > Apology if I am repeating here ... So anyone know > how to return an ILink > with a html anchor (#) from a listener in Java class > (using the > ExternalService obj

Re: Return with "html anchor" in listener

2006-07-01 Thread KE Gan
Hi, Apology if I am repeating here ... So anyone know how to return an ILink with a html anchor (#) from a listener in Java class (using the ExternalService object) ? Thanks, appreciate if anyone can give some pointers. On 6/27/06, KE Gan <[EMAIL PROTECTED]> wrote: Hi, How do you

Re: alternate row colours in foreach

2006-06-28 Thread KE Gan
eachEntry is the component id used in HTML eg ... will generate a class attribute with alternating "even" and "odd" for each row. ... and so on. On 6/29/06, Peter Dawn <[EMAIL PROTECTED]> wrote: thanks for the info. but where should i specify the colours of the rows. and is

Re: alternate row colours in foreach

2006-06-27 Thread KE Gan
Peter, You can do something like this in the page specification ... ~KEGan On 6/28/06, Peter Dawn <[EMAIL PROTECTED]> wrote: this question has probably been asked a few times, so my apologies for being repetitive here. i have been able to get alternate row colours within my con

Return with "html anchor" in listener

2006-06-27 Thread KE Gan
Hi, How do you return an ILink with a html anchor (#) from a listener in Java class ? To elaborate, I have a Java class that listen to a Tapestry "Submit" component. In the listener I am returning an ILink using ExternalService and ExternalServiceParameter (post-redirect-get). My question is, ho

Re: Tapestry and Dojo and Tapestry 4.1

2006-06-26 Thread KE Gan
infrasturcture > to use Ajax toolkit other than dojo. > > Shing > > > --- KE Gan <[EMAIL PROTECTED]> wrote: > > > Thanks Shing, > > > > I have read about Tacos. From my understanding, The > > integration of Dojo into > > Tapestry4.1 and Tacos are

Re: Tapestry and Dojo and Tapestry 4.1

2006-06-26 Thread KE Gan
loword example in tacos wiki, at http://tacoscomponents.jot.com/WikiHome you might like take a look at that. Shing --- KE Gan <[EMAIL PROTECTED]> wrote: > Hi, > > I am finishing up (and launching) a project using > Tapestry 4.0.2 soon. I am > planning to incorporate

Tapestry and Dojo and Tapestry 4.1

2006-06-25 Thread KE Gan
Hi, I am finishing up (and launching) a project using Tapestry 4.0.2 soon. I am planning to incorporate some Ajax goodness into the next phase of the project. I understand that Tapestry 4.1 incorporate the Dojo Toolkit. I am kind of new to Dojo. Anyone know any example on using Tapestry with Doj