[Trinidad] tr:form onsubmit called at page load?

2008-05-25 Thread Ido Tamir
Hi, even when I have a simple page, containing nothing but a form, the onsubmit function is called automatically when I load the page, buy simply opening a browser (firefox) to localhost:8080/test/test.seam Is this normal? It happens with trinidad 1.2.8 and 1.2.5. I have to admit that my config

Re: [Myaces][Tomahawk] File Upload

2008-05-25 Thread simon
On Sat, 2008-05-24 at 20:45 +0300, Guy Bashan wrote: Hi All, I have been fighting with file upload with progress in a JSF form for over a week with no luck. To do the upload I am using my own filter, that process the upload and puts in the session the progress information. It

RE: [Myaces][Tomahawk] File Upload

2008-05-25 Thread Guy Bashan
I know, I tried everything, putting my filter first, changing ExtensionsFilter code. Nothing changes the weird behavior on production server. Locally all works great. Right now, I suspect that it is simply not related to Java/JSF but must be something related with nginx. Thanks, Guy.

RE: [Myaces][Tomahawk] File Upload

2008-05-25 Thread simon
On Sun, 2008-05-25 at 13:06 +0300, Guy Bashan wrote: I know, I tried everything, putting my filter first, changing ExtensionsFilter code. Nothing changes the weird behavior on production server. Locally all works great. Right now, I suspect that it is simply not related to Java/JSF but

[Tomahawk][Sandbox]

2008-05-25 Thread Guy Bashan
Hi, I am having problem with PPR. I want to refresh a region on the screen that also contains plain html. In order to be able to refresh the area I simple put all plain html in h:ouputText with escape=false. The wrapped html contains also new lines. Now, every time a PPR request is made I get

Re: How to PPR-enable a facelet component?

2008-05-25 Thread Andrew Robinson
Just a quick reply from my iPod: 1) don't use a4j if you don't have to. Mixing external Ajax code with Trinidad is not recommended. 2) Use tr:panelGroupLayout to get PPR to work with as little HTML possible (although it uses a SPAN instead of a DIV for the default layout which sucks. You need to

Re: [Trinidad] tr:form onsubmit called at page load?

2008-05-25 Thread Andrew Robinson
onsubmit is a javascript method, not a server side method. You just told the form to evaluate your EL and send the result down as javascript On 5/25/08, Ido Tamir [EMAIL PROTECTED] wrote: Hi, even when I have a simple page, containing nothing but a form, the onsubmit function is called