Re: DynamicSelectionList and ArrayIndexOutOfBoundsException

2006-08-18 Thread Shing Hing Man
You might like to try to implemented your own equal method in UserDepartment.java. Shing --- Waimun Yeow <[EMAIL PROTECTED]> wrote: > Yes, indeed the two selection models are suspicious. > I used > PropertySelection to test DepartmentSelectionModel > and the value > displayed by @Inser

Re: Easy insert and tapestry 4.1

2006-08-18 Thread andyhot
Just added 0.20 release - better update to it now... FAQ is at http://tapfx.sourceforge.net/multiproject/tapfx-easyinsert/faq.html Prefixes can be changed by adding something like this in your hivemodule.xml: Don't know if this eventually be useful for others, but the new idea here (for t

Re: DynamicSelectionList and ArrayIndexOutOfBoundsException

2006-08-18 Thread Waimun Yeow
Yes, indeed the two selection models are suspicious. I used PropertySelection to test DepartmentSelectionModel and the value displayed by @Insert shows the correct value of the selected entry but the list did not generate selected="selected" for the entry after submit and hence fell back to

Re: DynamicSelectionList and ArrayIndexOutOfBoundsException

2006-08-18 Thread Shing Hing Man
UsersByDepartmentSelectionModel.java (and DepartmentSelectionModel.jav) looks suspcious. The UsersByDepartmentSelectionModel.getOption method returns a value from userLists, but UsersByDepartmentSelectionModel.translateValue returns a value using a dao. You might like to test UsersByDepa

Re: tapdoc

2006-08-18 Thread Henri Dupre
Oh this looks very nice! Does tapdoc take into account also components with annotations that have no .jwc? On 8/15/06, Norbert Sándor <[EMAIL PROTECTED]> wrote: Hello, I have converted Tapdoc to Maven2, so it now has a standard website at: http://www.erinors.com/developer/project/tapdoc/ The

Re: tapdoc

2006-08-18 Thread andyhot
Henri Dupre wrote: > Oh this looks very nice! > Does tapdoc take into account also components with annotations that > have no > .jwc? > It does... I think it uses a custom doclet to extract javadocs from those 'annotation-only' components > > On 8/15/06, Norbert Sándor <[EMAIL PROTECTED]> wrote: >>

Re: tableRowsIterator nullPointerException

2006-08-18 Thread Karthik N
you would need to post the source of your IBasicTableModel for any further specific help. considering you're new to tapestry, i'd suggest a hardcoded implementaiton of IBasicTableModel first and then get spring/hibernate into the picture. On 8/18/06, anil <[EMAIL PROTECTED]> wrote: Hi I'm f

tableRowsIterator nullPointerException

2006-08-18 Thread anil
Hi I'm fairly new to tapestry and am trying to create an implementation of the IBasicTableModel interface so that I can paginate results and get results (from Hibernate via Spring) when I need them. I've written my component but whenever I load the page I get a ognlException on the tableRowsIt

Re: Dojo Floating Pane to Render a Tapestry Page?

2006-08-18 Thread Karthik N
Will if your Page1 was like: Yes, I've used this before and it works very well. Unfortunately I need to render an entire existing page as-is, and I can't have a multi-window app!(customer requirement) :-(

Re: Can you always have valid html with tapestry templates?

2006-08-18 Thread Denis McCarthy
That works! Thanks andyhot wrote: Use: blah blah stuff iterated over by the foreach Denis McCarthy wrote: Hi, I have tables that are populated by a @ForEach component in my html. The html template is like this blah blah -

Re: Dojo Floating Pane to Render a Tapestry Page?

2006-08-18 Thread andyhot
Karthik N wrote: > Hello, > > First-off apologies for the cross-post, but I figured I might get answers > from either of the forums. > > I'm using Tap 4.0 and Tacos4 beta2. Since you're actively developing, I'd advise a nightly beta-3 (http://tacos.sourceforge.net/nightly/). It bundles dojo0.3.1 in

Dojo Floating Pane to Render a Tapestry Page?

2006-08-18 Thread Karthik N
Hello, First-off apologies for the cross-post, but I figured I might get answers from either of the forums. I'm using Tap 4.0 and Tacos4 beta2. I already have a "FindPage" developed. I have this requirement where I have a Page 1. Inside Page 1, I have a Find button. On click of the Find but

RE: Unable to construct service tapestry.multipart.ServletMultipartDecoder

2006-08-18 Thread Andrés Nates
Thanks for your help, with all dependecies and with this lines in hivemind.xml Everything work fine. -Mensaje original- De: Ryan Holmes [mailto:[EMAIL PROTECTED] Enviado el: Miércoles, 16 de Agosto de 2006 11:00 p.m. Para: Tapestry users Asunto: Re: Unable

Re: Can you always have valid html with tapestry templates?

2006-08-18 Thread andyhot
There are issues with the namespace approach as well. For instance, how about informal parameters? If you want to go with the valid XHTML approach for templates, you'd have to indeed use a namespace, allow tapestry:jwcid for all elements and specify all additional parameters (required, formal, inf

Re: DynamicSelectionList and ArrayIndexOutOfBoundsException

2006-08-18 Thread Waimun Yeow
The second version of the demo helped me to correct the way custom objects are passed in the selection property model classes. I have made the changes in my selection model classes and also the pageBeginningRender() method. However, I am still having the same problem. I have posted the .pa

RE: Can you always have valid html with tapestry templates?

2006-08-18 Thread Xiaoshu Wang
I don't see that as a valid HTML yet. The jwcid attribute is not specified in HTML. Maybe Tapestry should put up a namespace for its tag. So, we can use Use: > > blah blah > > stuff iterated > over by the foreach > > > > Denis McCarthy wrote: > > Hi, > > I have tables that are populate

Re: tapdoc

2006-08-18 Thread andyhot
thx Norbert! Just saw that we're not currently generating javadocs for contib (why???) at http://tapestry.apache.org/tapestry4.1/tapestry-contrib/apidocs/index.html but I guess you could already include this link in TapDocTask.java (for the external javadoc references) Norbert Sándor wrote: > Hel

Re: hi, is it possible to do this with tapestry...

2006-08-18 Thread zqzuk
thanks so much! i ll have a go with it! karthik.nar wrote: > > based on > > > > > > when you submit, then the value from the check box will be automatically > inserted into currentAttendance.attended - you don't need to do anything. > > if you don't want to change the datatype of the

Re: hi, is it possible to do this with tapestry...

2006-08-18 Thread Karthik N
based on when you submit, then the value from the check box will be automatically inserted into currentAttendance.attended - you don't need to do anything. if you don't want to change the datatype of the Attendance domain objects, then you can just have the following methods on your attend

Re: hi, is it possible to do this with tapestry...

2006-08-18 Thread zqzuk
hi, thanks for prompt reply, "then you just need to bind the checkbox value to a currentAttendance.persentognl" sorry could you be more specific about this please? i still dont quite understand. like this? then i suppose i need to change Attendance.atte

Re: Can you always have valid html with tapestry templates?

2006-08-18 Thread andyhot
Use: blah blah stuff iterated over by the foreach Denis McCarthy wrote: > Hi, > I have tables that are populated by a @ForEach component in my html. > The html template is like this > > blah blah > > http://andyhot.di.uoa.gr Tapestry / Tacos developer Open Source / J2EE Consulting --

Can you always have valid html with tapestry templates?

2006-08-18 Thread Denis McCarthy
Hi, I have tables that are populated by a @ForEach component in my html. The html template is like this blah blah TIA Denis - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: hi, is it possible to do this with tapestry...

2006-08-18 Thread Karthik N
you should ensure that the Attendance list provided to the For loop is exactly the same both during render and rewind. then, irrespective of the number of rows the render/rewind sequence will be exactly the same. so the checkbox on render will correspond to the same Attendance object when the r

hi, is it possible to do this with tapestry...

2006-08-18 Thread zqzuk
Hi, the scenario is that i have a collection of Attendance objects- for example, Attendance(Student s, String class, String attended) - to be displayed on a page. and i would like a checkbox (or other components whichever appropriate) for each row. so if the student attended the class, user can ti

RE: what we need: tutorials like this

2006-08-18 Thread Varun Mehta
I was just browsing through the 4.0 source code, most of the articles that have been deprecated are still being used in the .page and .application files, can anyone confirm this, as in has the data been updated, or is the there a DTD diff between 4.0 and 4.1 Regards Varun Mehta Member of Technica