André van Toly wrote:
You defined 'aanmaakdatum' like i did here with 'created'?
<datatype xmlns="http://www.mmbase.org/xmlns/datatypes" base="created" />
<db>
<name>created</name>
<type key="false" notnull="false" state="system">DATETIME</type>
</db>
It has 'state="system"' - otherwise it won't work - and then you won't
be able to change it. Which you are not allowed to or else it would be
some sort of cheating ;-)
yeh, so if i put it to 'system' the editwizards won't muck with it, right?
I'll give that a try..
thanks,
Ernst
---André
Op 17-nov-2006, om 16:20 heeft Ernst Bunders het volgende geschreven:
hello
it's been a little while sinds the last time i got to play with the
editwizards.
Now i'm using this brand new datatype 'created' (which can not be
stored once it's got a value.
In the wizard i want to show it though:
<field name="aanmaakdatum" ftype="data"/>
and what happens when i press 'opslaan'?
Errors received from MMBase Dove servlet:
org.mmbase.bridge.BridgeException: You cannot change the field
aanmaakdatum
i'll be damned. What is the solution to this little puzzle?
who knows?
regards,
Ernst
_______________________________________________
Developers mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/developers
--
André van Toly
MMBase development & Userfriendly webdesign
W: http://www.toly.nl
M: +31(0)627233562
------------------------------------------------------------------~~<<>>~~
_______________________________________________
Developers mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/developers
_______________________________________________
Developers mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/developers