I am sorry, it is 4:00am and I am not thinking to straight. I was just trying
to get MMBase context so I can dynamically build a URL path. I read the API
and I am using MMBaseConetxt.getHTMLRoot(). It is working now.
However, I do have another question. I am retrieving a node attrribute which
is an eventtime, however the date does not match what is stored in the
database. The following is a partial listing of my builder
<gui>
<guiname xml:lang="en">publication date</guiname>
<guitype>eventtime</guitype>
</gui>
<!-- editor related -->
<editor>
<positions>
<!-- position in the input area of the editor -->
<input>11</input>
...skipping 22 lines
<type key="false" notnull="false" state="persistent">LONG</type>
</db>
</field>
I am doing something like the following in my code:
node.getStringValue ("publication_date");
However, the result does not match what I am seeing in the GUI.
Any suggestions?
_CJ
On Monday 26 July 2004 02:40 am, Michiel Meeuwissen wrote:
> Curtney Jacobs <[EMAIL PROTECTED]> wrote:
> > I would like to dynamically write/save a file onto my server using
> > MMBase. Has anyone done anything like this? If so, I would I would
> > appreciate some help.
>
> 'a file'? Files you could make with the generic java-classes of java.io.*.
> What particular kind of find did you have in mind to use MMBase for?
>
> Michiel