[xwiki-users] Reading a file submitted from a form

2014-12-09 Thread Bryn Jeffries
t; Sent: Tuesday, 9 December 2014 9:04 PM > To: users@xwiki.org > Subject: Re: [xwiki-users] Reading a file submitted from a form > > The joy of zero-based vs one-based arrays :-) > ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users

Re: [xwiki-users] Reading a file submitted from a form

2014-12-09 Thread Bryn Jeffries
t; Sent: Tuesday, 9 December 2014 9:04 PM > To: users@xwiki.org > Subject: Re: [xwiki-users] Reading a file submitted from a form > > The joy of zero-based vs one-based arrays :-) > ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users

Re: [xwiki-users] Reading a file submitted from a form

2014-12-09 Thread Hamster
The joy of zero-based vs one-based arrays :-) -- View this message in context: http://xwiki.475771.n2.nabble.com/Reading-a-file-submitted-from-a-form-tp7593368p7593394.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users maili

Re: [xwiki-users] Reading a file submitted from a form

2014-12-07 Thread Bryn Jeffries
I wrote: > [...] I'd like to perform a simple check that I can access the file (by > returning the file size and a line-by-line echo) using a velocity script: > {{velocity}} > #if ($request.addFile == "true") > {{info}}Request received to add file{{/info}} > #set ($fileUpload = $xwiki.fileuplo

[xwiki-users] Reading a file submitted from a form

2014-12-05 Thread Bryn Jeffries
Hi, I have a form as follows: {{html}} {{/html}} And I'd like to perform a simple check that I can access the file (by returning the file size and a line-by-line echo) using a velocity script: {{velocity}} ## If this page is called with addStudy=true then do something with the informatio