Re: DynamicSelectionList Hivemind NullPointerException

2007-08-24 Thread Jacob Arnold
I was able to fix the NullPointer by adding this code abovecycle.getParameter(_childId) in the rewindFormComponent() method of DynamicSelectionList: String suffix = ; if (getIndex() 0) { suffix = _ + (getIndex() - 1); } _childId = getId() + suffix; It looks like it's working

Re: DynamicSelectionList Hivemind NullPointerException

2007-08-24 Thread Shing Hing Man
I have just downoloaded manTap4Library-1.3-src.jar from Tassel and verified all the files are same as my local copy. I am running Tap 4.0.2 as well and the component works. It is strange that you have problem with it. Anyway, I am glad you have found a solution. Shing --- Jacob Arnold

Re: DynamicSelectionList Hivemind NullPointerException

2007-08-23 Thread Ulrich Stärk
It seems to me that this component is broken. When I try to test this my browser complains about javascript errors and the child list stays empty. I don't know whats wrong with it and I'm too lazy to debug it. You should contact the author of the component to get a fix. Uli Jacob Arnold

DynamicSelectionList Hivemind NullPointerException

2007-08-22 Thread Jacob Arnold
I'm trying to get the DynamicSelectionList component working in an existing Tapestry 4.0 project. http://lombok.demon.co.uk/tapestry4Demo/ I copied all of the source files from the custom class example into my own packages, but when I try to submit the form on the page, I get this error:

Re: DynamicSelectionList Hivemind NullPointerException

2007-08-22 Thread Ulrich Stärk
Well, some mandatory parameter of some component must not be null :-) How about giving us a bit more? Page template, page class, line in the template at which the error occurs... Uli Jacob Arnold schrieb: I'm trying to get the DynamicSelectionList component working in an existing Tapestry

Re: DynamicSelectionList Hivemind NullPointerException

2007-08-22 Thread Jacob Arnold
Thanks for the quick response. The source is exactly as here except I changed the package names: http://lombok.demon.co.uk/tapestry4Demo/pages/dynamicSelectionList/TestDSLComponent2Source.html The error occurs on line 7 of TestDSLComponent2.page: page-specification

Re: DynamicSelectionList Hivemind NullPointerException

2007-08-22 Thread Ulrich Stärk
Please give us the exact error message (doesn't need to be the whole stack trace but a few more lines from which we can see at which point the exception is thrown would be helpful...). Uli Jacob Arnold schrieb: Thanks for the quick response. The source is exactly as here except I changed the