[Bese-devel] entry points other than index.ucw
Marco Baringer
mb at bese.it
Tue Dec 21 11:46:31 UTC 2004
Chris Capel <pdf23ds at gmail.com> writes:
> Hmm...
>
> I have an application with a entry point "diary.ucw". All actions lead
> the page to "index.ucw?blahblahblah".
>
> I think standard-action-url-generator should probably be taken out
> completely, as people wanting custom behavior can just define a method
> around generate-action-url. And then generate-action-url should
> probably extract the xxxx.ucw portion from the request URL.
yeah, that's probably the best solution for now. what i'd like,
eventually, is to allow each component to chose what the links it (or
a nested component) generate. this will require a component
dependency protocol (ala clim's grafting/adopting protocol), which
still requires some thought.
> Curiously, the actions *work*, until the session expires (or something
> else), at which point clicking any further gives errors about a
> non-existent entry point.
that's the expected behaviour. since those urls contaion session,
frame and actian parameters ucw will look at the parameters first,
only when the parameters don't provide a vaild action to call (like
when the session has expired) does ucw fall back on the query path (in
this case "/index.ucw") and attempt to cal the entry point.
--
-Marco
Ring the bells that still can ring.
Forget your perfect offering.
There is a crack in everything.
That's how the light gets in.
-Leonard Cohen
More information about the bese-devel
mailing list