Re: Doubt about implementing Ajax request

2006-09-20 Thread Jesse Kuhnert
Yes it does. Your post looked complicated enough that I figured you already knew that and ran into other issuesIt's fairly trivial to do what you want with all of the built in components if you read the documentation provided for them. Just don't go trying to modify a table. No matter how gre

Re: Doubt about implementing Ajax request

2006-09-20 Thread Daniel Castro
Thanks :) I will look :) But I thought tapestry 4.1 would have some features for ajax submit already implemented. On 9/20/06, Karthik N <[EMAIL PROTECTED]> wrote: you should look at the excellent Tacos framework to help you on this. It makes Ajax with Tapestry a breeze, thanks to some great w

Re: java.io.NotSerializableException - tapestry property

2006-09-20 Thread Jesse Kuhnert
Is it a parameter that is being serialized? You haven't provided the full stack trace so it's impossible to say why...(Other than the obvious that some user defined object you are using isn't java.io.Serializable ;) ) On 9/21/06, Peter Dawn <[EMAIL PROTECTED]> wrote: i think your output file i

Re: java.io.NotSerializableException - tapestry property

2006-09-20 Thread Peter Dawn
i think your output file is missing. the fill you are trying to write to does not exist. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

java.io.NotSerializableException - tapestry property

2006-09-20 Thread Josh Joy
Hi All, Dumb question...I'm getting a java.io.NotSerializableException stack Trace: * java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1081) * java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302) * java.util.ArrayList.writeObject(ArrayList.java:569)

Initialise IRequestCycle

2006-09-20 Thread Peter Dawn
guys, i am trying to save some information into a session variable. i am using something like this, cycle.getRequestContext().getSession().setAttribute(output, status); now my issue is that i am not passing the cycle variable within my method. and if i create a new one, it says that i havent ini

Re: Doubt about implementing Ajax request

2006-09-20 Thread Karthik N
you should look at the excellent Tacos framework to help you on this. It makes Ajax with Tapestry a breeze, thanks to some great work done. http://tacos.sourceforge.net/ in addition, if need be, you can look at Dojo and DWR to help you with Ajax. On 9/21/06, Daniel Castro <[EMAIL PROTECTED]>

Re: Custom Components

2006-09-20 Thread Karthik N
I personally pass the objects as parameters. One thing we find is that we "set out" planning to use a Custom component for one page alone, but very soon there are so many uses and variants, that it's always preferable for the component to be loosely coupled with the service layer. Which in other

Re: How to listent for the Request Cycle End

2006-09-20 Thread James Carman
With this approach, you don't need a custom engine. It really works just like a servlet filter. > I have used a custom engine for displaying images as is described in > "Enjoy > Web development with Tapestry". Is there an alternative (better) way of > doing this? > > Cheers, > > On 9/20/06, James

Custom Components

2006-09-20 Thread jake123
Hi, I have a question about best practice on how to design custom component. I will write custom components for our application that will be used only in our application. Is it a good idear to let the custom component access my session object and from that call my service layer to ask for some obj

Re: Dynamic columns

2006-09-20 Thread Steve Shucker
Just use an ognl expression for the "columns" attribute of the table. Never underestimate the coolness of the terniary operator. -Steve [EMAIL PROTECTED] wrote: Anybody know a simple way to dynamically add a column to a table (using Contrib:Table)? I want a table to have a new column with

Re: How to listent for the Request Cycle End

2006-09-20 Thread Hajaansh
I have used a custom engine for displaying images as is described in "Enjoy Web development with Tapestry". Is there an alternative (better) way of doing this? Cheers, On 9/20/06, James Carman <[EMAIL PROTECTED]> wrote: To plug into the WebRequestServicerPipeline, you implement the WebRequestS

Dynamic columns

2006-09-20 Thread [EMAIL PROTECTED]
Anybody know a simple way to dynamically add a column to a table (using Contrib:Table)? I want a table to have a new column with a "Delete" link if the user is an admin. I have it working if I by always including the Delete column and the Delete links only appear for admins, but I want the colum

Re: How to send or save into a file a tapestry page

2006-09-20 Thread Hajaansh
By the way is this possible without having a http request (or cycle)? Would you then need to generate a cycle object? Cheers, On 9/19/06, Stephane Decleire <[EMAIL PROTECTED] > wrote: > > Here it is : > > > http://mail-archives.apache.org/mod_mbox/jakarta-tapestry-user/200503.mbox/[EMAIL PR

Doubt about implementing Ajax request

2006-09-20 Thread Daniel Castro
Guys, please help me, if possible. I have a page with a search form, and those form fields are used as parameteres for a search query (SQL). There are two content holders, that are div tags with specified ids, to hold the ajax return of the search and ajax return of the search details. Those con

RE: How to listent for the Request Cycle End

2006-09-20 Thread James Carman
To plug into the WebRequestServicerPipeline, you implement the WebRequestServicerFilter interface: public class MyFilter implements WebRequestServicerFilter { } Then, in your hivemodule.xml you plug it into the pipeline: That's off the top of my head, but you get the idea. This basically

Re: How to listent for the Request Cycle End

2006-09-20 Thread Dobrin Ivanov
I do not know about this custom Engine classes changes (frowned)... is there some information about this topic? .. and also the other one with the pipelines/WebRequestServicerPipeline/interceptors? --- James Carman <[EMAIL PROTECTED]> wrote: > You can plugin to the webrequest servicer pipeli

Re: changes to @EventListener

2006-09-20 Thread Jesse Kuhnert
Yeah, that would definitely have to be an option. On 9/20/06, James Carman <[EMAIL PROTECTED]> wrote: Could you override that default behavior if you wanted and tell it not to submit the form? -Original Message- From: Jesse Kuhnert [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 2

RE: changes to @EventListener

2006-09-20 Thread James Carman
Could you override that default behavior if you wanted and tell it not to submit the form? -Original Message- From: Jesse Kuhnert [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 20, 2006 12:47 PM To: Tapestry users Subject: changes to @EventListener I was thinking that it makes a lo

Very strange performance problem - II

2006-09-20 Thread Rui Pacheco
Hi all I've been complaining about an application that slows down misteriously. By my detecting, I think the site starts to slowdown as soon as I click a couple of links created with @PageLinks. I've created them in a pretty standard way, but every time I click on one of them, the site slows dow

changes to @EventListener

2006-09-20 Thread Jesse Kuhnert
I was thinking that it makes a lot more sense to detect whether or not a component being "targeted" is a form component and automatically submit that form dynamically when the event happens. What do you think? -- Jesse Kuhnert Tapestry/Dojo/(and a dash of TestNG), team member/developer Open sou

Re: Tapestry 4.1 roadmap ?

2006-09-20 Thread Jesse Kuhnert
Impossible to predict. We will be adding a lot of new functionality / upgrading dojo / tons of new components in preparation for the upcoming theajaxexperience.com show so there may still be a few changes to the "core" API during that development period. Once that is done I'd say we can probably

Re: Tapestry 4.1 roadmap ?

2006-09-20 Thread Ed Ross
That's been there for some time. Is there any way to map how close the current 4.1 (unstable) is to the planned 4.1. Also - when will 4.1 go from unstable to RC or beta? thx On 9/19/06, Robin Ericsson <[EMAIL PROTECTED]> wrote: On 9/19/06, Stephane Decleire <[EMAIL PROTECTED]> wrote: > Hi >

tapestry in IDEA

2006-09-20 Thread marzieh morovvatpasand
hi how i can deploy a tapestry sample in intellij idea IDE? when i run a tapestry project in idea, i occure with this exception that i dont know , what i was doing: *** org.apache.hivemind.ApplicationRuntimeException : Unable to create class $Runnable_10dc5ff93d2: j

Re: tapestry-acegi anon svn

2006-09-20 Thread andyhot
I think it is [EMAIL PROTECTED] James Carman wrote: > I would, but I have no idea how to go about raising the issue with them. > Does anyone know of a support email address or something like that for > JavaForge? > > -Original Message- > From: Robin Ericsson [mailto:[EMAIL PROTECTED

RE: tapestry-acegi anon svn

2006-09-20 Thread James Carman
I would, but I have no idea how to go about raising the issue with them. Does anyone know of a support email address or something like that for JavaForge? -Original Message- From: Robin Ericsson [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 20, 2006 9:20 AM To: Tapestry users Subje

Re: tapestry-acegi anon svn

2006-09-20 Thread Robin Ericsson
On 9/20/06, Karthik N <[EMAIL PROTECTED]> wrote: I have the same issues with tapernate SVN. It's been more than a month but no luck!! :-( Has anyone raised this to Javaforge? -- regards, Robin - To unsubscrib

Re: How to listent for the Request Cycle End

2006-09-20 Thread James Carman
You can plugin to the webrequest servicer pipeline. > Ummm... you could do that too. You're correct that it would avoid the > visit-from-session inelegant bit. It would be conceptually similar to > the servlet filter approach. The downside would be that custom Engine > classes are frowned upon

Re: How to listent for the Request Cycle End

2006-09-20 Thread Bryan Lewis
Ummm... you could do that too. You're correct that it would avoid the visit-from-session inelegant bit. It would be conceptually similar to the servlet filter approach. The downside would be that custom Engine classes are frowned upon as Tapestry goes forward. I'm not sure there is an Engine.ge

Re: How to listent for the Request Cycle End

2006-09-20 Thread Dobrin Ivanov
Hi, Thanks Bryan, this looks like a hack:) What do you think if I override the Engine's method: public void service(WebRequest request, WebResponse response) throws IOException { super.service(request, response); // insert code here } Is this a bad approach? --- Bryan Lewis <[EMAIL PROT

Re: BeanForm for TP3?

2006-09-20 Thread D&J Gredler
I don't have plans to backport it to Tap3, mainly because I don't use Tap3 and because I don't have any experience using Tap3. There has been some interest from others on this list in doing a backport (search the list), so you might want to get together to tackle it. It's Apache2-licensed, so not

Re: Re: Re: Very long URLs problem.

2006-09-20 Thread Martin Strand
It is possible, I implemented my own persistence strategy which uses DataSqueezer and it was pretty straightforward. You'll need a persistence scope as well - look at the Form persistence in the wiki to see how you should wire things together. This "squeeze" strategy combined with the HibernateS

Re: EventListener and PropertySelection

2006-09-20 Thread Jani Lindqvist
when i changed the initialization from @InitialValues to finishLoad(...) it started working. It really is amazingly simple to make this kind of functionality with EventListener. On 9/19/06, Jani Lindqvist <[EMAIL PROTECTED]> wrote: Hello, should the model of component B be persisted or set a

Re: tapestry-acegi anon svn

2006-09-20 Thread Karthik N
I have the same issues with tapernate SVN. It's been more than a month but no luck!! :-( On 9/20/06, Robin Ericsson <[EMAIL PROTECTED]> wrote: Hi, Couldn't find a specific list for tapestry-acegi so I post this here. I can't seem to access the anonymous svn repository. All I can find is tha

tapestry-acegi anon svn

2006-09-20 Thread Robin Ericsson
Hi, Couldn't find a specific list for tapestry-acegi so I post this here. I can't seem to access the anonymous svn repository. All I can find is that I should use anonymous/anon, but that doesn't seem to work. Any ideas/news on this? Searches on google indicates it's been a problem earlier as we