First, let me apologize for all of the questions I have been asking. I am 
sorry if I am wearing out my welcome. However, I need to get up to speed with 
mmbase real quick.

It seems that the only way to get a specific node's relations is to call one 
of the getRelations methods on that node. which either return a list or 
vector containg the relations. However, I want a specific child node that is 
related to a parent node. There will only ever be one chid of that relation 
created for that parent. (one-to-one)

The situation is that I wiould like a "static link" (a url that represent the 
static location of my publication on disk) Every publication will have 
exactly one static url or one relation named "staticlinkrel". How do I 
dynamically retrieve that url in code without having to iterate/filter 
through a list or vector of relation objects? I know there will only be one 
object of that relation anyway.


The other potential (easier) solution is to create a field in the publication 
builder that will caputre the publication static url and then do something 
like the following:  node.getStringValue("gui(staticlnk)");


Thanks inadvance,

Curtney

Reply via email to