Re: T5: FileUpload and time out

2008-07-10 Thread Angelo Chen
Hi, probably I did not make my original question clear, the UploadExample works, however, there are situations that we got a time out exception, how to track this exception in the following example? thanks for the help, Angelo Angelo Chen wrote: > > Hi, > > following sample works, but how to

specify background color of "dialogUnderlay" div

2008-07-10 Thread Nils Preusker
Hi, I'm working with Tapestry 4.1.1 and I'm using client side validation. Is it possible to specify the background color of the "dialogUnderlay" div somewhere? Kind regards, Nils

Re: AW: AW: AW: AW: Strange behavior of special characters

2008-07-10 Thread Sebastian Altmann
Thank you i will have a look at this. At the moment we don't have the time to deal with this problem, but since yesterday we have a clue what is the problem and probably will be able to resolve this next few days. I will inform you when i can say exactly what went wrong. Andreas Andreou wrote:

[T5Components] multiple palettes on page

2008-07-10 Thread Moritz Gmelin
Hi, I am trying to put multiple palette components on a page to edit multiple lists at the same time. It seems that only the last palette actually writes its data correctly in the list. Is there a known issue when using multiple palettes on a page? Regards Moritz

Re: [T5] Rendering a block a component received as parameter

2008-07-10 Thread Tobias Wehrum
Hi Josh, thanks, this works great! I think I understand the rendering process now a little bit better, so a Delegate would have been fine too - thank you, Howard. I just didn't understand how to render that Delegate before, since it is a component too. (I hope I now understand it correctly th

Re: T5: Different behavior of Palette Component in FireFox, Safari and IE

2008-07-10 Thread Martin Grotzke
Hi, we experience exactly the same issue: with FF3 the palette submits the form, with FF2 this is not the case. Max, when you submit the issue in jira please send a ping here, so that I can vote :) Cheers, Martin On Wed, 2008-07-09 at 18:23 +0200, Maximilian Weißböck wrote: > Palette Component

[T5] Read informal parameters

2008-07-10 Thread Tobias Wehrum
Hi everyone, is there any way to read the informal parameters a component received? componentResources.getBlockParameter makes it easy for blocks - but how can I do it with strings, for example? Furthermore, is there maybe any way to get a list of the informal parameters? I looked in the sou

Re: T5: Different behavior of Palette Component in FireFox, Safari and IE

2008-07-10 Thread Yunhua Sang
What version of T5 are you guys using? I think there was a jira about it and it has been fixed already. see. https://issues.apache.org/jira/browse/TAPESTRY-2507 - Palette component forces an unwanted form submit under FireFox 3 Yunhua On Thu, Jul 10, 2008 at 5:44 AM, Martin Grotzke <[EMAIL PROT

Re: T5: Different behavior of Palette Component in FireFox, Safari and IE

2008-07-10 Thread Yunhua Sang
Sorry the link was wrong, it should be https://issues.apache.org/jira/browse/TAPESTRY-2490 On Thu, Jul 10, 2008 at 7:37 AM, Yunhua Sang <[EMAIL PROTECTED]> wrote: > What version of T5 are you guys using? > > I think there was a jira about it and it has been fixed already. see. > > https://issues.

Displaying image on T5 page

2008-07-10 Thread Yeeswara Nadapana (HCL Financial Services)
Hi, I am new to Tapestry. Using Tapestry 5.0.10 with my application. I need to display a chart image on my application using dynamic data. I am using JFreeChart for that. But, I couldn't get the way to display the image on my page. I have to display the image while rendering the page, not

Re: Displaying image on T5 page

2008-07-10 Thread Sven Homburg
add to your page template: further informations you find here http://tapestry.apache.org/tapestry5/tapestry-core/guide/assets.html 2008/7/10 Yeeswara Nadapana (HCL Financial Services) < [EMAIL PROTECTED]>: > > Hi, > > > > I am new to Tapestry. Using Tapestry 5.0.10 with my application. I need

Re: Displaying image on T5 page

2008-07-10 Thread Lance Java
This should help http://wiki.apache.org/tapestry/Tapestry5HowToCreatePieChartsInAPage 2008/7/10 Yeeswara Nadapana (HCL Financial Services) < [EMAIL PROTECTED]>: > > Hi, > > > > I am new to Tapestry. Using Tapestry 5.0.10 with my application. I need > to display a chart image on my application usi

RE: Displaying image on T5 page

2008-07-10 Thread Yeeswara Nadapana (HCL Financial Services)
Hi Sven, This will only work when the mychart.jpg already exists at that specified path. But, as per my requirement I have to generate the JPG dynamically and show it on the page. I got a reference at http://wiki.apache.org/tapestry/Tapestry5HowToCreateASimpleGraphComponen t But, it doesn't help

Re: Displaying image on T5 page

2008-07-10 Thread Massimo Lusetti
On Thu, Jul 10, 2008 at 2:45 PM, Yeeswara Nadapana (HCL Financial Services) <[EMAIL PROTECTED]> wrote: > But, it doesn't help much with my requirement. Have you tried to help yourself and search through the ML's archive... at least? -- Massimo http://meridio.blogspot.com -

Routing and REST

2008-07-10 Thread Ryan.Bergman
Greetings, I am new to tapestry and I have a few questions about what is and is not possible within the Tapestry framework. Im helping to spearhead a new project for my company to determine the feasability and cost of a new platform for our product. Tapestry seems like a perfect fit for t

Re: Routing and REST

2008-07-10 Thread Massimo Lusetti
On Thu, Jul 10, 2008 at 3:33 PM, Ryan.Bergman <[EMAIL PROTECTED]> wrote: > > Greetings, > > I am new to tapestry and I have a few questions about what is and is > not possible within the Tapestry framework. Im helping to spearhead a new > project for my company to determine the feasability and

Re: T5: Different behavior of Palette Component in FireFox, Safari and IE

2008-07-10 Thread Martin Grotzke
Hi Yunhua, really good news! We're using 5.0.11... Thanx for the hint, cheers, Martin On Thu, 2008-07-10 at 07:37 -0400, Yunhua Sang wrote: > What version of T5 are you guys using? > > I think there was a jira about it and it has been fixed already. see. > > https://issues.apache.org/jira/bro

[T5] Fixed param on PageLink

2008-07-10 Thread Fabio Kreusch
Hello again! Is there a way to do fixed parameters with a PageLink component? Visualise > test > I don't want it to look for a getTesting method, I want that "testing" is passed as the parameter itself. How can I do it? -- Fabio Kreusch [EMAIL PROTECTED]

[T5Components] multiple palettes on page

2008-07-10 Thread Moritz Gmelin
Hi, I am trying to put multiple palette components on a page to edit multiple lists at the same time. It seems that only the last palette actually writes its data correctly in the list. Is there a known issue when using multiple palettes on a page? Regards Moritz -- Dipl.-Inform. Moritz

Re: [T5] Fixed param on PageLink

2008-07-10 Thread Tobias Wehrum
Hi Fabio, just use the literal binding: context="literal:testing">Visualise test (See http://tapestry.apache.org/tapestry5/tapestry-core/guide/parameters.html "Binding Expressions" for further reference. Standard for "context" is "prop", as you can see here: http://tapestry.apache.org/tape

Re: [T5] Fixed param on PageLink

2008-07-10 Thread Filip S. Adamsen
Hi, context="'testing'">Visualise test or context="literal:testing">Visualise test It's all in the docs. :) -Filip Fabio Kreusch skrev: Hello again! Is there a way to do fixed parameters with a PageLink component? Visualise test I don't want it to look for a getTesting method, I

[T5] Semi static content

2008-07-10 Thread Fabio Kreusch
Hello all again! I'm trying to do a simple content management system. The point is, the system I'm working on has many semi-static pages. The designers do the contents, and a little bit is dynamic, something like: Sample Page > Blablabla blabla ${currentTime} blablabla And there are many of thi

T5: what part of tapestry adds Jsessionid

2008-07-10 Thread Britske
partially related to a post I send a couple of days ago, but perhaps this explains better what I'm trying to do. I'm trying to strip the jSessionId from displaying in the url if: 1. user doesn't have cookies (otherwise it won't display anyway) 2. user is not logged in. I wanted to implement t

[T5] is there any way to use actionlink to call submit from outside of FORM?

2008-07-10 Thread Tan [EMAIL PROTECTED]
hi, i have an actionlink outside the form. like below ... and, is there any way to call from actionlink to call submit from the FORM? thank you. Regards, Cyber - To unsubscribe, e-mail: [

Re: Routing and REST

2008-07-10 Thread Massimo Lusetti
On Thu, Jul 10, 2008 at 6:10 PM, <[EMAIL PROTECTED]> wrote: > Is there a routing class in tapestry that can be manipulated? like routs.rb > in RoR? Which would allow me to manipulate the URL->tapestry bindings? Not at all. You have other paths to reach the same (maybe similar) goal. -- Massim

Re: Routing and REST

2008-07-10 Thread Howard Lewis Ship
Currently the logic necessary to do what you want is part of Tapestry internals (non public, subject to change). I would approach this problem using an override of the LinkFactory service (internal) combined with an in-Tapestry filter to extract the client name from the URL and perhaps a little ex

Re: Routing and REST

2008-07-10 Thread Fernando Padilla
This request sounds a little open ended, and I think you can do everything you need with Webapp Filters and Tapestry Filters/Services, you just have to spend the time to learn them and think outside the box a little bit. Our project is using T5 for Facebook and OpenSocial applications so ther

Re: T5: what part of tapestry adds Jsessionid

2008-07-10 Thread Howard Lewis Ship
All the jsessionid functionality is provided by the servlet container, not by Tapestry. And it does exactly what you are suggesting ... except that its not about the user being logged in, its about the user have a session. On Thu, Jul 10, 2008 at 8:52 AM, Britske <[EMAIL PROTECTED]> wrote: > > pa

Re: T5: FileUpload and time out

2008-07-10 Thread Josh Canfield
Hey Angelo, It'd be helpful to see the exception that you're talking about. Josh On Thu, Jul 10, 2008 at 12:11 AM, Angelo Chen <[EMAIL PROTECTED]> wrote: > > Hi, > > probably I did not make my original question clear, the UploadExample > works, > however, there are situations that we got a time

Re: T5: what part of tapestry adds Jsessionid

2008-07-10 Thread Britske
yeah I realize that JSessionId is there for the session, but I want to build functionality into a dispatcher that strips this jsessionid from the request if a user is not logged in (logged in in my app means that a User-instance exists in the ASM) and if the user has cookies disabled. The ration

Re: [T5] is there any way to use actionlink to call submit from outside of FORM?

2008-07-10 Thread Josh Canfield
> > is there any way to call from actionlink to call submit from the FORM? > thank you. > You can either submit the form, or follow the actionlink. If you want the action to be performed when the form is submitted then add the functionality/method call to one of the form event handlers. Then you

Re: T5: what part of tapestry adds Jsessionid

2008-07-10 Thread Fernando Padilla
What most people do is to use a normal Webapp Filter to strip jsessionid from ever being added to the urls.. If you override the HttpServletResponse.encode*Url methods to simply return the url and not let the container add the jsession id to it. This means that sessions will only work for use

Re: T5: what part of tapestry adds Jsessionid

2008-07-10 Thread Josh Canfield
I had a similar issue with my site and instead took the route of not creating the session for users that don't need it. I had to override the tapestry Form component so it only stored the validation tracker when there were errors and implement a session persistence that didn't create a session if

Re: Displaying image on T5 page

2008-07-10 Thread Robert Zeigler
Hi Yeeswar, I recently had exactly the same requirement, and solved it in the same way referenced in the wiki page. So then I rewrote my solution as a "DisplayChart" component, which takes a chart as a parameter and handles the rest of the work for you. A few notes/comments, though: 1) In

Re: T5: what part of tapestry adds Jsessionid

2008-07-10 Thread Robert Zeigler
Just turn your ServletFilter into a RequestFilter. You can use ApplicationStateManager in RequestFilters now. (See, for example: http://code.google.com/p/tapestry5-cayenne/source/browse/trunk/tapestry5-cayenne-server/src/main/java/com/googlecode/tapestry5cayenne/services/CayenneRequestFilter.java

T5: RequestDispatcher to include Tapestry5 Pages

2008-07-10 Thread Dude.Checkitout
Trying to include Tap5 pages from another J2EE War Servlet/JSP. Using RequestDispatcher to include the tapestry5 page. It keeps complaining that the tap5 page does not exist. If I try the same URL in browser, it works fine. There were some threads in the forum about this. But nothing worked.

Re: T5: what part of tapestry adds Jsessionid

2008-07-10 Thread Britske
Tha's an interesting route, i"ll have a look at it, Thanks. joshcanfield wrote: > > I had a similar issue with my site and instead took the route of not > creating the session for users that don't need it. > > I had to override the tapestry Form component so it only stored the > validation tr

Re: [T5] is there any way to use actionlink to call submit from outside of FORM?

2008-07-10 Thread Tan [EMAIL PROTECTED]
thanks for your reply. I will try it out :) On Fri, Jul 11, 2008 at 1:41 AM, Josh Canfield <[EMAIL PROTECTED]> wrote: >> >> is there any way to call from actionlink to call submit from the FORM? >> thank you. >> > > You can either submit the form, or follow the actionlink. If you want the > actio

T5 - Javascript libraries on ajax requests

2008-07-10 Thread raulmt
Hello, I have a zone that is updated with an ajax request. Inside this zone, I use an InPlaceEditor components (from t5components) many times (one for each row in a table). The InplaceEditor component include a javascript library, controls.js, with the IncludeJavascruptLibrary annotation. On the

Re: T5 - Javascript libraries on ajax requests

2008-07-10 Thread Chris Lewis
Hello, Short answers: 1. The behavior you're seeing is correct, you are doing nothing wrong. 2. JS libs are only ever included once. Longer answer: Firstly, rest easy knowing that the JS libs are only included once. Even if you see 3, 30, or 3000 ajax responses with script references, they are

Re: Routing and REST

2008-07-10 Thread Harald Geritzer
1) We map the webapp to the root ("/") context. 2) We use a normal Webapp Filter to pull out the first directory path from the url and make that the new context (request.getContextPath().. etc etc ), and capture that to determine which sports team we're going to be serving up. hi fernando,

RE: Routing and REST

2008-07-10 Thread Henry Remigio C. Osorio II
I am new to tapestry, and currently using Tapestry 3.0 for our development. I keep on experiencing the problem "Page Recorder for page X locked after a commit", I would like to confer if it still exist within Tapestry 4? Thanks -