Re: Exception while loading the page in Tapestry

2016-08-31 Thread Kiran Govind
Never mind, I found the root cause for this. Inside the resources, the folders are not created as per the required structure, instead the IDE I used created a single folder with DOT separation. That was the problem. Thanks. Kiran On Thu, Sep 1, 2016 at 12:14 PM, Kiran Govind wrote: > Not in my

Re: Exception while loading the page in Tapestry

2016-08-31 Thread Kiran Govind
Not in my case. The tml and class names are just fine. On Thu, Sep 1, 2016 at 11:00 AM, mailingl...@j-b-s.de wrote: > Maybe a lower/upper case issue in your packege (directories) or filenames, > so tml and classes do not match? > > Jens > > Von meinem iPhone gesendet > > > Am 01.09.2016 um 06:03

Re: Exception while loading the page in Tapestry

2016-08-31 Thread mailingl...@j-b-s.de
Maybe a lower/upper case issue in your packege (directories) or filenames, so tml and classes do not match? Jens Von meinem iPhone gesendet > Am 01.09.2016 um 06:03 schrieb Kiran Govind : > > Hi, > > When I configured Tapestry and tried to run, I am getting the following > error: > > org.apa

Exception while loading the page in Tapestry

2016-08-31 Thread Kiran Govind
Hi, When I configured Tapestry and tried to run, I am getting the following error: org.apache.tapestry5.ioc.internal.OperationException: Page Home did not generate any markup when rendered. This could be because its template file could not be located, or because a render phase method in the page

Re: file upload doesn't set file value

2016-08-31 Thread Pavel Chernyak
Hi there. Maybe you shall anotate field file @Persist? On 31 August 2016 at 23:03, Qbyte Consulting wrote: > > I'm always finding that file is null for file upload? If I submit the form > without async=true then file value is set and it works. > -- With best regards. Pavel Chernyak

Re: file upload doesn't set file value

2016-08-31 Thread Carlos Montero Canabal
For my experience, FileUpload doesn´t support ajax form (t:async="true" or t:zone=“^”). Regards Carlos Montero > El 31/8/2016, a las 22:03, Qbyte Consulting > escribió: > > Hi, > > I'm always finding that file is null for file upload? If I submit the form > without async=true then file valu

file upload doesn't set file value

2016-08-31 Thread Qbyte Consulting
Hi, I'm always finding that file is null for file upload? If I submit the form without async=true then file value is set and it works. public void onValidateFromUploadForm() {

Re: how to pass geolocation coords as hidden values in login form

2016-08-31 Thread Chris Poulsen
javascriptSupport.require( "" ).with( ) - if your module returns a function javascriptSupport.require( "" ).invoke( "" ).with( "" ) if your module export named functions Take a look at the t5 sources to see how things are used. -- Chris On Wed, Aug 31, 2016 at 9:36 AM, Qbyte Consulting wrote:

Re: how to pass geolocation coords as hidden values in login form

2016-08-31 Thread Qbyte Consulting
How can I trigger the locate function from the component Java after login success, what replaces .addScript? Sent from my iPhone > On 31 Aug 2016, at 08:07, Chris Poulsen wrote: > > The javaScriptSupport.addScript is deprectated in 5.4 iirc. > > Instead I would use a module for the locate fun

Re: how to pass geolocation coords as hidden values in login form

2016-08-31 Thread Qbyte Consulting
Thank you. Where can I find sample code implementing these suggestions or similar? Sent from my iPhone > On 31 Aug 2016, at 08:07, Chris Poulsen wrote: > > The javaScriptSupport.addScript is deprectated in 5.4 iirc. > > Instead I would use a module for the locate function, the url can be pass

Re: how to pass geolocation coords as hidden values in login form

2016-08-31 Thread Chris Poulsen
The javaScriptSupport.addScript is deprectated in 5.4 iirc. Instead I would use a module for the locate function, the url can be passed as an init parameter to require or stored somewhere in the DOM (the former probably makes the most sense in this case. Also I would use the tapestry ajax module