I am trying to modify the webclient so the user can only check out working file into their home space.
I am close. I get the users homespace id and need to set the
selected space in the CheckinCheckoutBean, but need it as a NodeRef
object not a string (spaceID).
I bet this is simple, but can't seem to find it.
I got the code below, but I must not have the right format of the space id to create the correct noderef.
NodeRef refNode = new NodeRef(beanNav.getCurrentUser().getHomeSpaceId());
bean.setSelectedSpaceId(refNode);
Any ideas!
thanks!
Chris