Form component (and logger) sometimes null

2009-08-04 Thread Borut Bolčina
Hello, I get this error in the production log sometimes which I can not reproduce: [30 Jul 2009 07:45:32.046] WARN : EXCEPTION IN ONVALIDATEFORM java.lang.NullPointerException at si.najdi.identity.server.pages.account.SignupWizard.onValidateForm(SignupWizard.java:409) at

Re: Form component (and logger) sometimes null

2009-08-04 Thread Peter Stavrinides
Hi Borut, It is likely that the accountRequest object is null, what is this object? is it an SSO? Peter -- If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Please visit

Re: Form component (and logger) sometimes null

2009-08-04 Thread Borut Bolčina
Not very likely as I am checking for null value in onActivate method, and if it is, I am showing an error to the user. But yes, accountRequest is stored in the session (cluster). And also, the line reported for NPE would be different if accountRequest was null. 2009/8/4 Peter Stavrinides

T5.0.18 : DOM exception when refreshing a zone with an actionlink

2009-08-04 Thread Tetrel Julien
Hi. I'm actually facing a problem using tapestry 5.0.18. My code is trying to refresh a Zone component using an Actionlink, like this: t:zone t:id=ZoneProfils //some content... t:actionlink t:id=deletePoste zone=ZoneProfils t:zone/ java code: @Component private Zone

Re: Form component (and logger) sometimes null

2009-08-04 Thread Peter Stavrinides
Not very likely as I am checking for null value in onActivate method Its better in onPrepare My guess, but without seeing the code, is that your SSO is expiring on occasion prodcuing the NPE, I highly doubt that your logger is null since its recording correctly in the logs. Peter -

Grid inplace=true with checkbox problem

2009-08-04 Thread sodium
The grid works fine with the checkbox until i turn inplace to true which resulted in the following error: Communication with the server failed: Render queue error in SetupRender[SamplePage:delivered]: The Delivered component must be enclosed by a Form component. My parameter for my grid consist

[T5.1] Decorating Spring Beans

2009-08-04 Thread Carl Crowder
I want to decorate a service provided in my Spring application context but it isn't happening, because SpringBeanServiceDef returns true for isPreventDecoration(). Why can't the Spring services be decorated? - To unsubscribe,

[T4]. multiple file upload. Help.

2009-08-04 Thread kk4Nabble
-- View this message in context: http://www.nabble.com/-T4-.-multiple-file-upload.-Help.-tp24807180p24807180.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail:

[T4]. multiple file upload. Help.

2009-08-04 Thread kk4Nabble
Hi all. Am using Tapestry 4.1.5. Can anybody help me with uploading multiple files. Just like Gmail does. Right now i can upload single file ,But how to upload multiple files via AJAX. Is there any way to do it. is there anyway to do through the dojo which is integrated with tapestry 4?

Re: [T4]. multiple file upload. Help.

2009-08-04 Thread Juan E. Maya
Ajax doesn't allow to use multipart forms, therefore u can't upload files using ajax. If u check carefully google is using a flash control for this. U could also try to mess around with iframes but it's a big mess.. This flash controller could be useful for u: http://swfupload.org/ if u decide to

[Announce] ioko-tapestry-commons-1.4.0

2009-08-04 Thread Ben Gidley
Hi, ioko-tapestry-commons 1.4.0 has been released. This is a bug fix release to address issues in including the libraries. Full details and downloads are available at http://tapestry.formos.com/projects/ioko-tapestry-commons/ Ben Gidley www.gidley.co.uk b...@gidley.co.uk

Re: [T4]. multiple file upload. Help.

2009-08-04 Thread Juan E. Maya
I would really like to see how is possible to upload documents via ajax. As long as i have seen DWR uses an IFrame. what do u mean by a hidden form? Do u have any examples? On Tue, Aug 4, 2009 at 3:01 PM, Lance Javalance.j...@googlemail.com wrote: This is not exactly true... you can use a

Re: [T4]. multiple file upload. Help.

2009-08-04 Thread Lance Java
Yes.. your correct... you can't do it with XHR... you need a form and an iframe. It gives you an AJAX-like effect. 2009/8/4 Juan E. Maya maya.j...@gmail.com I would really like to see how is possible to upload documents via ajax. As long as i have seen DWR uses an IFrame. what do u mean by a

Re: [T4]. multiple file upload. Help.

2009-08-04 Thread Juan E. Maya
But DWR does make it pretty easy! Thanks a lot for the tip :) I just read found this article: http://fisheye5.cenqua.com/browse/~raw,r=1.2/dwr/web/fileupload/index.html I had a similar problem last month and this may helped me improve the messy js i have for my the iframe handling. Thanks

Re: [T4]. multiple file upload. Help.

2009-08-04 Thread Lance Java
No probs... I wrote most of the DWR file upload code :) 2009/8/4 Juan E. Maya maya.j...@gmail.com But DWR does make it pretty easy! Thanks a lot for the tip :) I just read found this article: http://fisheye5.cenqua.com/browse/~raw,r=1.2/dwr/web/fileupload/index.html I had a similar

Re: [T4]. multiple file upload. Help.

2009-08-04 Thread Norman Franke
That demo doesn't work under Safari, BTW. For start, the mime types for the .js files are text/jhtm, so it ignores them. Norman Franke Answering Service for Directors, Inc. www.myasd.com On Aug 4, 2009, at 9:26 AM, Juan E. Maya wrote: But DWR does make it pretty easy! Thanks a lot for

Re: Form component generates invalid xhtml

2009-08-04 Thread Daniel Jones
I'm also having this problem Sergey. Did you find a simple workaround? Daniel Sergey Didenko wrote: Added. See https://issues.apache.org/jira/browse/TAP5-796 On Fri, Jul 24, 2009 at 5:12 PM, Sergey Didenko sergey.dide...@gmail.comwrote: I guess nobody have it working the right way,

Re: question about forminjector and client ids

2009-08-04 Thread davidb82
davidb82 wrote: I have been experimenting with using the AjaxFormLoop component, however, I've run into a problem with displaying validation errors and I was hoping someone could help me out. My problem is that if additional rows are added to the form via the formloop and the form is

Re: AjaxFormLoop: property changes have no effect

2009-08-04 Thread Daniel Jones
Hi Andy, I think you are a bit confused regarding the ValueEncoder. Your toClient method should provide a unique string identifier which can be used to retrieve that particular vehicle from your list. Your toValue method should accept the unique string identifier provided by the toClient

Patch to clearify documentation

2009-08-04 Thread Sebastian Hennebrueder
Hello, the documentation of the layout component has the information of the directory structure somewhere in between the lines. For a new developer it is very astonishing that template files are packaged in class directories, therefore I would like to propose the following details to the

Re: Form component generates invalid xhtml

2009-08-04 Thread Sergey Didenko
No, it is not very important for me right now. On Tue, Aug 4, 2009 at 7:55 PM, Daniel Jones d...@murieston.com wrote: I'm also having this problem Sergey. Did you find a simple workaround? Daniel

[ANN] JumpStart 4.4 released

2009-08-04 Thread Geoff Callender
Hi all, JumpStart 4.4 is now available. It's a tidying up release: the structure's a bit neater and it uses the latest OpenEJB, ie. 3.1.1. Use it live: http://jumpstart.doublenegative.com.au:8080/jumpstart/ or download it: http://jumpstart.doublenegative.com.au And if

Re: Live class reloading and annotations in page classes

2009-08-04 Thread Thiago H. de Paula Figueiredo
Em Sat, 01 Aug 2009 05:23:16 -0300, Massimo Lusetti mluse...@gmail.com escreveu: That is what ChenilleKit access module is doing. Thanks Robert, Howard and Massimo! I used ComponentClassTransformWorker and it's simple and works like a charm! :) I love the sensation of having learned

Re: ClassCastException after upgrading to 5.1.0.5

2009-08-04 Thread raucha
I found someone with a better knowledge of weblogic deployment then myself and he got me around that problem. 1. add container-descriptor prefer-web-inf-classestrue/prefer-web-inf-classes /container-descriptor to the weblogic.xml of the war file. 2. wrap the war