RE: Dynamic selection list

2006-07-05 Thread Warrell
Wh.. Why make life difficult? See http://cocoon.apache.org/2.1/userdocs/widgetconcepts/selectionlists.html and use a Cocoon pipeline which has a matcher that uses the SQLTransformer to get the results out of the database. Hope this helps. -Original Message- From: Toby [mailt

Re: Dynamic selection list

2006-07-04 Thread Derek Hohls
Are people still writing apps in XSP? I thought that usage of XSP was deprecated and that it had long been supplanted by other, more robust, technologies and techniques. FWIW, the way I do this is to use an SQLTransformer and stylesheet combo: 1. The query (say, XYZ-lookup.xml): http://a

Re: Dynamic selection list

2006-07-04 Thread Niels van Kampenhout
Toby wrote: I'm trying to implement a dynamic selection list for a form field. I need to extract the selection values and labels from a database. The only way of filling a selection list with dynamic values, that I could glean from the documentation, is by using flow-jxpath. Which poses the pro

Re: Dynamic selection list

2006-07-04 Thread Toby
Jason Johnston wrote: > > how to make a SQL query in javascript. > > It can be done, though the syntax isn't quite as nice. I'd like to give it a try, if the syntax isn't unbearable. Do you have any pointers? Although most of all I'd rather do it in ESQL in an XSP page and then somehow call it f

Re: Dynamic selection list

2006-07-04 Thread Jason Johnston
Toby wrote: I'm trying to implement a dynamic selection list for a form field. I need to extract the selection values and labels from a database. The only way of filling a selection list with dynamic values, that I could glean from the documentation, is by using flow-jxpath. Which poses the pro

Re: Dynamic Selection List in a Repeater

2005-10-19 Thread Antonio Gallardo
Joerg Heinicke wrote: (CCing Daniel as the original thread started 4 months ago.) On 22.06.2005 05:26, Daniel Curran wrote: I have a dynamic selection list that queries a database for its values. I now put the selection list into a repeater and I am having issues with load (imagine that). Is

Re: Dynamic Selection List in a Repeater

2005-10-19 Thread Joerg Heinicke
(CCing Daniel as the original thread started 4 months ago.) On 22.06.2005 05:26, Daniel Curran wrote: I have a dynamic selection list that queries a database for its values. I now put the selection list into a repeater and I am having issues with load (imagine that). Is there a way to cache th