On Apr 15, 6:37 pm, "Leslie P. Polzer" <[email protected]> wrote:
> On Apr 14, 5:34 pm, Chris Hallwright <[email protected]>
> wrote:
>
> > Unfortunately no Leslie - address still doesn't appear in any of the
> > widgets. I'm not entirely sure this is the same version as the on-
> > line website is running.
>
> I have verified this today:
>
> [...@jade (..)clbuild/source/weblocks/examples]% hg tip
> 1039[tip] 58878da3ae72 2008-11-19 13:48 +0100 polzer
> top-level links to the most important ASD files
>
> [...@jade (..)clbuild/source/weblocks/examples]% hg diff|lsdiff
> a/examples/weblocks-demo/data/snapshot.xml
>
> I have also verified this to be the Weblocks where the running demo
> code comes from.
>
Cool, thanks - so there must be some other cause of the different
behaviour...
> > As an example of the difference,
> > 58878da3ae72 has make-main-page in layout with the menu defined by:
> > (make-navigation 'main-menu
> > 'employees (make-employees-page)
> > 'companies (make-companies-page)))))
> > This produces uppercase text, but the online demo has title case,
>
> All uppercase? I've never seen this before. Please try tracing
> HUMANIZE-NAME;
> the nav is supposed to call this for menu entries to convert them to
> title case.
>
Tracing humanize-name showed humanizing for a lot of slots, but
neither employees nor companies appeared in the trace.
> > Sorry to labour this rather prosaic matter, but I'm thinking that
> > getting the demos working fully would be a good thing for those
> > starting out (like me), and I'd like to follow through with that.
>
> I fully concur. :)
>
Thanks :-)
> > So if you can possibly either look at the weblocks demo code and see
> > if you can tell why address details don't appear (assuming they don't
> > for you), or else extract the version running on the web site for me,
> > I'd be very grateful indeed.
>
> I'll check it out today. Does this occur only with clsql or also
> prevalence?
>
I've been focussing on prevalence only - I want to get that right
before going back to clsql. So this post is all from working with
prevalence. It would be good to know whether you see the same effects
when you run weblocks-demo i.e. do you get
...the address slots displaying OK?
...title case in the menu for Employees and Companies?
> Leslie
I'm scratching for clues. One thing that I've noticed is that when I
compile weblocks I get a bunch of warnings of special variables that
are undefined - the SBCL compilation summary lists them as:
; WEBLOCKS:*AUTHENTICATION-KEY* WEBLOCKS::*CURRENT-WEBAPP*
WEBLOCKS:*DEFAULT-LOGIN-TITLE* WEBLOCKS::*MAINTAIN-LAST-SESSION*
WEBLOCKS:*MAX-RAW-INPUT-LENGTH*
; compilation unit finished
; caught 10 WARNING conditions
Do you think this could have a bearing?
Cheers
Chris
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"weblocks" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/weblocks?hl=en
-~----------~----~----~----~------~----~------~--~---