cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <sylv...@apache.org>
Subject Re: Server-side image map in CForms ?
Date Tue, 24 May 2005 05:49:14 GMT
Luca Morandini wrote:

> Sylvain Wallez wrote:
>
>> Luca Morandini wrote:
>>
>>> morever, setting the image source from a action-handler flow script 
>>> would be more elegant.
>>
>>
>> That's exactly what the ${image_name} is, e.g.:
>>  form.showForm("my-form-pipeline", {image_name : "map-" + areaId});
>
>
> Sure, you set the value and pass that parameter from within flow, but 
> to understand its use you should take a look at the form template as 
> well... while the setValue() is completely understandable from the 
> flow code.
>
> I mean, nothing really substantial here... only I'd like it to be done 
> in more straightforward way: suppose there's a developer willing to 
> add a dynamic image using CForms, which way he would find easier to 
> understand ?


You may be right. I don't want to refrain you from writing a special 
widget, but just want to outline the possible options we have today! Now 
if you feel the itch, just scratch it ;-)

Sylvain

-- 
Sylvain Wallez                        Anyware Technologies
http://apache.org/~sylvain            http://anyware-tech.com
Apache Software Foundation Member     Research & Technology Director


Mime
View raw message