Re: Dealing with session time-outs

2005-04-03 Thread Paul Ferraro
The EngineServiceLink object which is responsible for generating service urls uses the following method to encode session ids into the url: http://jakarta.apache.org/tapestry/doc/api/org/apache/tapestry/IRequestCycle.html#encodeURL(java.lang.String) I suspect that the issue has to do with the use

Re: A large page, and got a large page class?

2005-04-03 Thread liigo
在 Mon, 04 Apr 2005 09:55:16 +0800,Kent Tong <[EMAIL PROTECTED]> 写道: liigo hotpop.com> writes: A large page, and got a large page class? What makes you think so? A large page full of components and listeners and geter/seter, so the paga calss would become large, Maybe i'm error?

Re: Dealing with session time-outs

2005-04-03 Thread Rob Bugh
Taking Paul's lead I decided to add the session id to the redirect URL, see code below, and this works, which begs several questions. How is the session id normally preserved between calls to the ApplicationServlet (doGet or doPost)? And why did my original redirect not work? Can I use the

RE: java.util.ConcurrentModificationException

2005-04-03 Thread David Leangen
Wow! That was a really fast reply! Thanks! Ok, that makes sense. I'll give that a try. Thanks for the insight. Dave > -Original Message- > From: Viktor Szathmary [mailto:[EMAIL PROTECTED] > Sent: 4 April 2005 11:27 > To: Tapestry users; [EMAIL PROTECTED] > Subject: Re: java.util.Conc

Re: java.util.ConcurrentModificationException

2005-04-03 Thread Viktor Szathmary
Hi, You have a Foreach that iterates thru your collection. The remove listener is invoked inside the Foreach. You will want to change your loop so it operates on a clone of the data, like so: viktor On Apr 3, 2005 10:23 PM, David Leangen <[EMAIL PROTECTED]> wrote: > > Hi, Kent, > > Thanks

RE: java.util.ConcurrentModificationException

2005-04-03 Thread David Leangen
Hi, Kent, Thanks for the reply. (Comments below) > > I have a table in which I use a Foreach to add rows. > > > > When I click on one of the buttons in the table, I am getting a > > java.util.ConcurrentModificationException (full stack trace below). > > The collection is being modified while an

Re: Forced page rendering to get XML-data

2005-04-03 Thread Kent Tong
Why not generate the XML data using plain old Java without Tapestry? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: A large page, and got a large page class?

2005-04-03 Thread Kent Tong
liigo hotpop.com> writes: > > A large page, and got a large page class? What makes you think so? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: How to handle multiple instances of a page with different data in the same session, at the same time ?

2005-04-03 Thread Kent Tong
web.de> writes: > if the user opens the page to display data object A, after that opens > another instance of the same page with data object B, goes back to A > and does something with this instance (i.e. forcing a page reload or > changing the tab page), the data of object B is displayed in pag

Re: java.util.ConcurrentModificationException

2005-04-03 Thread Kent Tong
David Leangen canada.com> writes: > > I have a table in which I use a Foreach to add rows. > > When I click on one of the buttons in the table, I am getting a > java.util.ConcurrentModificationException (full stack trace below). The collection is being modified while an iterator is iterating o

Re: Modifying values of getters/setters

2005-04-03 Thread Todd O'Bryan
Give it a try, but I think OGNL only looks for get, set, and is methods when you give it a property. Since show isn't one of those three, you have to write it out and also put the parentheses to let it know it's a method call and not a property. Todd On Apr 3, 2005, at 10:19 AM, Ed Greenberg wr

RE: partial page rendering demo

2005-04-03 Thread Denis Souza
This is really great! Well done! I did get a javascript error, though (in ie6). It happened after I opened a few the details for a few countries and hid them all again, but that's probably just a minor bug. I took a look at the other Tacos components on that url and while I was at it, I thought of

Re: Spindle and upgrading tapestry

2005-04-03 Thread Michael Henderson
Hi, Latest version of Spindle uses Tapestry 3.0.3 not 3.0. If you want to use Tapestry 3.1 i'm not sure that Spindle will support that just yet. Mike - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: Spindle and upgrading tapestry

2005-04-03 Thread Thomas Meier
Just add the new jar to the build path and in the tab "order and export" move it before the tapestry entry. I suppose you can hack the plugin.xml as well... Alternatively you can set up your own library in the eclipse settings and just replace the tapestry library in you project build path with

Spindle and upgrading tapestry

2005-04-03 Thread Ed Greenberg
Using Eclipse 3 and Spindle, I note that the Tapestry 3.0 jar is bound into the Spindle plugin.xml. How can I use a newer Tapestry? Am I supposed to edit plugin.xml, or is just putting the new Tapestry jar higher on the classpath than the spindle plugin? Tnx, --

Re: Modifying values of getters/setters

2005-04-03 Thread Ed Greenberg
--On Saturday, April 02, 2005 2:02 AM -0500 Todd O'Bryan <[EMAIL PROTECTED]> wrote: Not by using the property notation. But OGNL will let you call a method. Just use: value="ognl:showComponent()" It has the disadvantage that it doesn't look like an OGNL property call, but the advantage that you c