Re: Including jquery

2011-06-14 Thread Fernando Benjamin
Obrigado cara, td deu certo! :) On 15 June 2011 00:36, Thiago H. de Paula Figueiredo wrote: > On Tue, 14 Jun 2011 19:29:23 -0300, Fernando Benjamin < > fernandobenja...@gmail.com> wrote: > > Hi folks, >> > > Bão? :P > > > I am having one severe problem w

Including jquery

2011-06-14 Thread Fernando Benjamin
Hi folks, I am having one severe problem when importing jquery on the Layout.java class. When I import jquery All the pages with a form, will not submit to the pageclass, the button will just not work. This is the evil line @Import(library = { "context:layout/jquery/jquery-1.6.1.min.js"}) Is

Re: Escape character in T5 container element

2011-06-14 Thread Fernando Benjamin
document. You need to include a declaration for your escape > character. > > HTML 4 has ccedil so try including it's doctype. > > "http://www.w3.org/TR/html4/loose.dtd";> > > Josh > > On Tue, Jun 14, 2011 at 2:54 PM, Fernando Benjamin > wrote: > >

Escape character in T5 container element

2011-06-14 Thread Fernando Benjamin
Hi everybody, I have made a simple menu(Menu.tml) wich I am trying to use in the Layout.tml My menu.tml file http://tapestry.apache.org/schema/tapestry_5_1_0.xsd"; xmlns:p="tapestry:parameter" > Idade Pais Doença/Patologia My Layout.tml imports it like this I get an exception

Tapestry5 GAE Upload file

2011-04-17 Thread Fernando Benjamin
Hi, I'm making a page with some funtionality to upload files to GAE(Blob)! The files are beeing gathered and stored in a MultiparDecoder, after gathering the files I do get to the onSuccess method of the Page class. The problem is that I don't know how to pass the list of Files from de Mulitpart

Re: Setting contenttype of T5 form

2011-04-17 Thread Fernando Benjamin
; } Everything works again! On 16 April 2011 15:31, Fernando Benjamin wrote: > Hi All, > > Thank you for all your answers, I've read the form specification ( > http://www.w3.org/TR/html4/interact/forms.html) > and then I looked into Tapestry's upload component! I

Re: Setting contenttype of T5 form

2011-04-16 Thread Fernando Benjamin
Hi All, Thank you for all your answers, I've read the form specification ( http://www.w3.org/TR/html4/interact/forms.html) and then I looked into Tapestry's upload component! I understand this component and forms much better now. Again, my goal is: An upload form that uploads files and stores it i

Re: Setting contenttype of T5 form

2011-04-08 Thread Fernando Benjamin
nctype = "multipart/form-data"; document.forms['upload'].method = "POST"; } I hope someone can help me with this error! Cheers, Fernando On 31 March 2011 00:15, Fernando Benjamin wrote: > Haaa, I overlooked the other option, I'll try with javascript! &g

Re: GAE Tapestry5 FORM

2011-04-05 Thread Fernando Benjamin
mons > Fileupload > that is GAE friendly, google it and you'll be able to get it working. > > Cheers, > > Alex K > > On Mon, Apr 4, 2011 at 6:03 PM, Fernando Benjamin < > fernandobenja...@gmail.com> wrote: > > > Hi all, > > > > > > I n

GAE Tapestry5 FORM

2011-04-04 Thread Fernando Benjamin
Hi all, I need some help on using tapestry's form component on GAE. I am uploading a file & a beaneditor with a tapestry form component. The problem is that when the file gets uploaded to GAE, I get an exception. This exception occurs because, tapestry wants to create the file for me. Is there

Re: Setting contenttype of T5 form

2011-03-30 Thread Fernando Benjamin
Haaa, I overlooked the other option, I'll try with javascript! Thank you! On 31 March 2011 00:14, Fernando Benjamin wrote: > Hi Howard, > > The Upload component requires a UploadFile as a value! > I want to use here a plain html input file and not one of tapestry > compon

Re: Setting contenttype of T5 form

2011-03-30 Thread Fernando Benjamin
Upload? I would like to use tapestry's form and just change the contenttype! On 30 March 2011 00:04, Howard Lewis Ship wrote: > Look at the Upload component source; you'll see how it does it. > > On Tue, Mar 29, 2011 at 2:07 PM, Fernando Benjamin > wrote: > >

Setting contenttype of T5 form

2011-03-29 Thread Fernando Benjamin
Hi everybody, I am trying to upload a file to GAE by using a tapestry form, but I can't use tapestry 5 Upload component because it depends on a class writing to the filesystem! I need to set the contenttype of the form to "multipart/form-data" so I can retrieve the file on the servlet(filter). T

Re: Filter in tapestry

2011-03-23 Thread Fernando Benjamin
Persistent(doc);* *pm.close();* *}* *}* *catch (Exception ex) {* *log.error(ex.getMessage());* *return false;* *}* * * *}* *return handler.service(request, response);* *}* *}* On 12 March 2011 20:47, Thiago H. de Paula Figueiredo wrote: > On Sat, 12 Mar 2011 15:29:21 -0300, Ferna

Filter in tapestry

2011-03-12 Thread Fernando Benjamin
Fellow tapestry developers, I need to upload an image to a certain url, but I can't use any Normal file upload mechanism because I am running Tapestry5 on GAE! So I decided to resolve this with a Servlet and an url-filter mapping the request to the Servlet(in web.xml)! When the user posts the form