Re: How to return a specific Page instance with an activation context?

2010-05-19 Thread Pete Poulos
a lot of experience developing web applications and I don't know how to measure this sort of thing to know if it's something that i need to be concerned with or not. Thanks, Pete Poulos - To unsubscribe, e-mail: users-unsub

Re: How to return a specific Page instance with an activation context?

2010-05-19 Thread Pete Poulos
>> I considered this, but the documentation for SessionState makes it >> sound like it is a very heavy handed solution, > > Why? Just curious. :) >From an implementation perspective... * I would need to create a class to wrap the message since I don't like the idea of using the String type for an

Re: How to return a specific Page instance with an activation context?

2010-05-19 Thread Pete Poulos
Hi Thiago, Thanks for your quick reply. > Instead of using @Persist, why not creating a class to hold the message and > use it as @SessionState? Just remember to clear the field with the message > after it is requested. I considered this, but the documentation for SessionState makes it sound li

Re: How to return a specific Page instance with an activation context?

2010-05-19 Thread Pete Poulos
So... I just tried the following and it worked, so I guess I answered my own question. Sorry for troubling you folks. private Object deleteItem( long id, String page, String context ) { itemDao.delete( id ); Component comp = componentSource.getPage( page ); if( comp instanceof F

How to return a specific Page instance with an activation context?

2010-05-19 Thread Pete Poulos
nkSource.createPageRenderLinkWithContext( comp, context ) : pageLinkSource.createPageRenderLink( comp ) ; } Thanks, Pete Poulos - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

Re: Problems using upload inside an ajax zone

2009-10-06 Thread Pete Poulos
n? Thanks, Pete Poulos On Mon, Oct 5, 2009 at 8:35 PM, Toby Hobson wrote: > Its about 12 months since I used Tapestry but if I remember correctly file > uploads and ajax don't play well together ... it's not specific to T5, ajax > and multipart forms just don't work togeth

Problems using upload inside an ajax zone

2009-10-05 Thread Pete Poulos
some sort? Here is some sample code to reproduce the problem. Thanks, Pete Poulos .tml file http://tapestry.apache.org/schema/tapestry_5_1_0.xsd"; xmlns:p="tapestry:parameter">

Re: BeanDisplay not showing some props

2009-08-22 Thread Pete Poulos
ing a public setter for that value and see if it shows up. I am still learning Tapestry so I'm sorry I can't help further than that. Cheers, Pete Poulos On Sat, Aug 22, 2009 at 11:24 AM, Martin Torre Castro wrote: > >   Oks, Sebastian, this is the class of 'incid'. Here

Cross Field Validation

2009-08-22 Thread Pete Poulos
Have I overlooked something? Is there some other way to accomplish this? With the current implementation it seems like my only real option is to use: form.recordError( "Passwords do not match" ); and not decorate the fields at all... Thanks, Pete Poulos

Re: How to implement paginated search results

2009-07-18 Thread Pete Poulos
Thanks for the reply Thiago, I have a question about this item: >> Page Context >> Store the search criteria in the page context (by encoding it into a >> string representation?). It seems like a large number of sites store >> their search criteria into the pages URL in one manner or another, >>

How to implement paginated search results

2009-07-18 Thread Pete Poulos
Hi, I have a search page where users enter in a set of search criteria and are then redirected to a search results page. I don't want to display all of results in one page, so I am working on implementing a paginated navigation bar along the top of the page which looks something like the followin

Re: Is AjaxFormLoop example working for you?

2009-07-16 Thread Pete Poulos
Both versions work for me. I am on Win XP. No proxy. Cookies are enabled. On Thu, Jul 16, 2009 at 6:08 PM, Geoff Callender wrote: > Everyone, > > Please try this quick experiment. I am trying to figure out why it works for > some people and not for others. > > The experiment is: go to the followin

Looking Authentication and Security recommendations

2009-07-16 Thread Pete Poulos
Hi, I'm very new to web development in general and tapestry in particular, but I really like what I've seen/used so far. I have a java swing development and haven't had to use/deal with many issues web pages deal with. Having said that, I am looking for recommendations on APIs or approaches for

How should missing page context be handled?

2009-07-15 Thread Pete Poulos
lets say I have a view product page which expects the product id in its context. The URL for this might look like "http://app-root/product/view/12345";. What is the best way to detect if the user modifies their URL to "http://app-root/product/view"; without the context? The only way I've found i

Re: T5: What is NOT beautiful about Tapestry?

2009-04-29 Thread Pete Poulos
I am currently learning tapestry and while I agree with the concept of "Convention over Configuration," as newbie I would really like to see all of the conventions clearly documented in one location. As it is right now I feel that I have to hunt around for them and I am worried that there are conv