cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Portier <...@outerthought.org>
Subject Re: Customization of cform styling (dojo)
Date Thu, 24 May 2007 15:51:38 GMT


Felix Knecht wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> I want to customize the calendar gif from the
> forms-calendar-styling.xsl. In former cocoons I could do this via my
> own forms-sample-styling by overwriting the specific part in it (e.g.
> the calendar icon).
> 
> It seems that for various parts this doesn't works anymore in c2.2
> because of the newer dojo implementation we use. The image paths are
> hardcoded.
> e.g. in the
> cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/js/DropdownDateTimePicker.js:
> 
> 
> <snip>
> dateIconURL: cocoon.formsResourcesUri +
> "/js/templates/images/dateIcon.gif"
> </snip>
> 
> Is there an easy way do do this like it was done before?
> If not how can it be done?
> 
> 


I am not sure what dojo says about this?
How does one generally change this kind of stuff in pure dojo?


I would suspect some js can introduce setting this dateIconURL property 
after loading the widget?


regards,
-marc=

Mime
View raw message