Hi,

I've got a very simple question which I can't figure out.

In MMBase 1.8.4 we need to associate an uploaded document with the currently logged in user.

Formerly we passed e.g. a persId variable to the editwizard to which we could create a posrel in the "<create>" part of the editwizard. This was possible because we could build the url to the editwizard from within a .jsp page and manually add a "&persId=123" to the url which could be read by the editwizard.

Now we're running into problems for new editwizards which have a list (list.jsp) before the detailwizard, because the persId variable passed to the list isn't passed to the next wizard.

Since this isn't the best way altogether, since the persId variable can be changed in the url, is there another best practice to relate a create dobject to the logged in user? Can we read e.g. the logged in user from the cloud or request inside the editwizard?

Regards, Ted
--
Ted Vinke
Software Developer
First8 BV / Conclusion

Toernooiveld 220
6525 EC Nijmegen

t +31 (0)24 348 35 70
f +31 (0)24 348 35 71

[EMAIL PROTECTED]
http://www.first8.nl
_______________________________________________
Developers mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/developers

Reply via email to