RE: Take a parameter from the link

2006-11-30 Thread Henry Chen
Forget to use an external link. Solved. -Original Message- From: Henry Chen [mailto:[EMAIL PROTECTED] Sent: Thursday, November 30, 2006 4:35 PM To: users@tapestry.apache.org Subject: Take a parameter from the link Hi, I want my app to take a parameter from the login link. Is it possi

Take a parameter from the link

2006-11-30 Thread Henry Chen
Hi, I want my app to take a parameter from the login link. Is it possible?

Re: Reproducing a tapestry 4.11 snapshot build exactly

2006-11-30 Thread Josh Long
OK spoke too soon on one bit --the revision youre using for dojo is hard coded into the dojo.js incuded so worst case i can just customize that build revision... However I still don't know what the tapestry revision and nonetheless, the resulting dojo.js breaks when i build it.. Thanks in advance

Re: Re: Redirect to an external site on the serverside

2006-11-30 Thread Sam Gendler
There is no way to tell a client to make a post request on redirect. You can have your form submit directly to the bank, or you could respond with a form full of hidden fields and include some javascript that posts the form to the correct URL, but in general, security through obscurity isn't secur

Reproducing a tapestry 4.11 snapshot build exactly

2006-11-30 Thread Josh Long
Hello world! Jesse, with respect to building my own tapestry to get a dojo that's customized (custom profile) and works, what's the recommended way to figure out which version of dojo you used when you built it? How do you build it and dojo? Assuming Im staring at svn head of both dojo and tapes

Re: Re: dynamic image assets?

2006-11-30 Thread Brian Long
Guys, I'm ashamed to admit that my problem was a classic case of RTFM, as there was an example on the tapestry web site that fixed my dynamic Image asset problem with just a few lines of code. I placed my subscriberImage component on my page, and then added the relevant method to my class:

Re: Re: insert html tag

2006-11-30 Thread wong wayne
thanks, it work great --- Sam Gendler <[EMAIL PROTECTED]> wrote: > or Insert component with raw="ognl:true" will > preserve htl tags > instead of escaping them. > > --sam > > > On 11/29/06, Jesse Kuhnert <[EMAIL PROTECTED]> > wrote: > > Use InsertText for <= Tapestry 4 or just "Insert" > with a

Re: Tapestry 4.1.1 and url rewriting

2006-11-30 Thread Jesse Kuhnert
I'm not able to re-produce what you are saying so I'll probably need a more definitive test case to proceed further. Mine involved simply disabling cookies on the client side browser. On 11/30/06, Patrick Klein <[EMAIL PROTECTED]> wrote: Hi! I'm using last night's svn-snapshot... I recognized t

Re: Tapestry 4.1.1 and url rewriting

2006-11-30 Thread Patrick Klein
Hi! I'm using last night's svn-snapshot... I recognized this problem first when i switched to tapestry 4.1 and it is persistent till now, at least for me... :| Patrick jsessionid's should be getting encoded into the url properly. Perhaps you aren't using the "most" up to date version of Tapes

Re: Tapestry 4.1.1 and url rewriting

2006-11-30 Thread Jesse Kuhnert
jsessionid's should be getting encoded into the url properly. Perhaps you aren't using the "most" up to date version of Tapestry possible. On 11/30/06, Patrick Klein <[EMAIL PROTECTED]> wrote: Hi! For some reason, url-rewriting doesn't work since i switched from tapestry 4.0.2 to 4.1.1 As in th

Commit PersistPropertys on Submit with Error

2006-11-30 Thread Skorpien126
Hi... I want to ask, if somebody knows an easy way to update the binding values also if the form "hasErrors". So lets say i´ve 5 textareas in a page, each of them have a "required" validator ... in the first 4 I fill in data and the last one I forget to fill. On Submitting the delegate Function

Thumbnail Popup Widget

2006-11-30 Thread Ken nashua
Hi Folks, Was wondering if a certain widget exists... Here are my specs... The content is just a gif/jpeg image. Could be a clip too for sports. Anyway, I want to render it as a small thumbnail with HREF functionality such that when clicked, it will produce a small POPUP for measurably larger

Re: Empty string becomes null on submit

2006-11-30 Thread Ron Piterman
afaik this is the normal behaviour: empty fields set the property to null. Cheers, Ron Inge Solvoll wrote: I've suddenly gotten a problem in my code. When I enter nothing into a text field on a tapestry page and submit, the corresponding abstract getter method returns null instead of empty stri

Empty string becomes null on submit

2006-11-30 Thread Inge Solvoll
I've suddenly gotten a problem in my code. When I enter nothing into a text field on a tapestry page and submit, the corresponding abstract getter method returns null instead of empty string "". I have checked my code, and nothing has changed, this used to work before. I haven't upgraded any of th

Tapestry 4.1.1 and url rewriting

2006-11-30 Thread Patrick Klein
Hi! For some reason, url-rewriting doesn't work since i switched from tapestry 4.0.2 to 4.1.1 As in the old setup, cookies="false" is set in the Contrext-tag of the applications context.xml but the session-context is lost after the first click as the session is not encoded into the url. Adding

Re: Redirect to an external site on the serverside

2006-11-30 Thread Cyrille37
Gareth a écrit : Thanks Marcus. I considered that solution, but the main issue is that I'm trying to make an (I think) insecure mechanism of taking a payment more secure by removing the ability for a malicious user to manually change the form variables clientside before it gets submitted to t

Tapestry 4.1.1, Problems with IE and AJAX

2006-11-30 Thread Patrick Klein
Hello! I'm still having some trouble with my test-application and IE. The intended functionality is the following: Page consists out of three PropertySelections, one TextField and one Checkbox. PropertySelection 1 affects the content of PropertySelection 2 and possibly the content of Propert

Re: Redirect to an external site on the serverside

2006-11-30 Thread Gareth
Thanks Marcus. I considered that solution, but the main issue is that I'm trying to make an (I think) insecure mechanism of taking a payment more secure by removing the ability for a malicious user to manually change the form variables clientside before it gets submitted to the payment server.

RE: Multiple browser windows causing session issue

2006-11-30 Thread Marcus.Schulte
It should be reasonably straightforward, but will require a decent, non-trivial amount of work/fiddling to implement really transparently. For me, it's, at the moment, just not worth the work. I've talked with James Carmen about this and I think, he wanted to do something like that, but don't know

Re: Multiple browser windows causing session issue

2006-11-30 Thread Ron Piterman
It depends on the setup of your wizard, if it a single page iterating over components or a series of tapestry pages following each other - but either way you prevent such problems by persisting flow information in the client, not as cookies but on a page - based in URLs. You should always keep

RE: Redirect to an external site on the serverside

2006-11-30 Thread Marcus.Schulte
Hi Gareth in similar situations, I've used a custom form component. You can pretty well just start using @Any for this. Then the client request goes directly to the target site. Dowside is, if you calculate some of the form fields on the server side, you might need some javascript stuff to auto-su

Redirect to an external site on the serverside

2006-11-30 Thread Gareth
Hi, I've been trying to force a redirect to happen by throwing a RedirectException, and even injecting "tapestry.globals.HttpServletRequest" and forwarding it, but I can't find any way of forcing the redirect to contain the POST information from my page that was submitted. Is there any way? E