On Mon, Sep 04, 2000 at 05:03:02PM +0200, Colin Chalmers wrote:
> The first part is working OK, using TurbineUser I can pull a list of
> users from the database and display the info in tabular form. Now what I
> want to do is have a link per entry (in the database) which goes to an
> EditUser screen for displaying info. I think the easiest way would be to
> use the setTemp() function in the Data object but I'm looking for tips
> as to how I can dynamically accomplish this.
No, you should add the ID of the user to the link using
$link.addQueryData or $link.addPathInfo, or you can use the method in
src/templates/screens/admin/user/SelectUser.wm where a <SELECT> HTML
element is used in a form.
You could cache the list of users with setTemp (or as its global data
better still using the GlobalCacheService). This will reduce hits on the
DB, but isn't functionally necessary.
--
Sean Legassick
[EMAIL PROTECTED]
homo sum: humani nihil a me alienum puto
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]