Hi,
> (Oh, and it doesn't look too hot in Netscape - IE is the target browser.
> I've actually got a different skin - yep I'm using the UIManager - which
> looks a lot better, but the unfortunately the skin can't be configured
> on a per request basis right now. And yes, Jason it is my itch so I am
> trying to work out how I might scratch it :-) ).
I am playing around with the UI Manager right now, I want to
make a couple of small changes.
Daniel, where is the code that Leonard worked on the make the
webapp skinable on a user/request level? I would definitely
like to incorporate that I've received a few email in
private asking for that feature and chatted with Kasper
briefly about it #turbine.
I have a question about simplifying the usage the UI Mangager.
Right now I have a little method in the UI Manager that is
used in a template like this:
$toolbox.ui.image($app.ui.alertImage, $data)
So you see I pass in the $data object in order to build the
URI correctly. Now, initially barring the idea of request
level skinability, would it suffice to grab the path
you needed during the init phase where there is access
to RunData? so that the above could simply be:
$toobox.ui.image($app.ui.alertImage)
Now if we were talking about skins for a particular user,
you would probably always need access to RunData so would
there be a nice way to sneak RunData in at some level
so the template could still simply have like:
$toolbox.ui.bgColor
And if the app was configured for user skins then the
value for bgColor would be looked up for that user
(or retrieved from a cache), if there are no user
skins then bgColor value would simply be grabbed
from the default skins properties file.
Any thoughts? I'll probably play around with the
UI Manager tonight, and I would like to start a
MessageManager tonight too for localizing text.
jvz.
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]