Creating a global type as part of my own web app

6 views
Skip to first unread message

Mikael Andersson

unread,
May 15, 2012, 8:22:10 AM5/15/12
to webl...@googlegroups.com
I want to create a type that is similar to the us-state type, that is used by the weblocks-demo, in the sense that it should be (globally) accessible by all modules in the project. The us-state type is part of the weblocks framework but I rather want my type to be part of my web app. I tried to copy the us-states.lisp (in src/views/types/) to my web app directory and added it to my asd file, but that did not work. I can see that it (us-states.lisp) has some dependencies in weblocks.asd, but I cannot just add those to my asd file. I do not remember exactly the errors I get but I can get back to you if you do not have any other ideas what I am doing wrong.

Another question that is not vital to be answered but something I am a bit dubious about: Why do two us-states.lisp exist, one in src/views/types/ (the one above) and one in src/data-types?

Many thanks in advance,

Mikael

PS. As you may understand, I am quite new when it comes to both Common Lisp and weblocks.
Reply all
Reply to author
Forward
0 new messages