> What are you building with Elephant?
A web application framework named web4r.
(http://github.com/tomoyuki28jp/web4r/tree/master)
- The goal is "Enables users to develop web applications with the
shortest codes".
- It currently only works with the elephant v0.9, but I am working on
it to support
> It does return NIL for me, at least with BDB on 1.0-latest:
>
> ? (ele::controller-recreate-instance *store-controller* 55)
> NIL
Oh, I was trying with the classname optional parameter, and it
recreates an instance when there is no instance associated with the
oid.
ex: (ele::controller-recre
> What I have been looking for is tihs:
> (defun get-instance-by-oid (class oid)
> (awhen (ele::controller-recreate-instance *store-controller* oid)
> (when (typep it class)
> it)))
>
> Thanks for your help, Leslie!
You're welcome. :)
What are you building with Elephant?
Leslie
-
Tomo Matsumoto wrote:
> Thanks for your response, Alex.
>
> When we pass a nonexistent oid to controller-recreate-instance, it
> recreates an instance, but I am looking for a function which returns
> nil.
It does return NIL for me, at least with BDB on 1.0-latest:
? (ele::controller-recreate-ins
Thanks for your response, Alex.
When we pass a nonexistent oid to controller-recreate-instance, it
recreates an instance, but I am looking for a function which returns
nil.
Is there such a function? (Or a way to implement such.)
Thanks in advance.
Tomo
On Sat, Apr 25, 2009 at 1:36 AM, Alex Miz
> *sigh* Turns out I wasn't fully up to date... again. Who could have
> guessed that Ian committed a bag of CCL fixes in the last couple of
> weeks?
>
> Everything seems to work fine now on CCL.
Or not. I've encountered the problem again, so I'm also
resuming my original plan to commit the fix.