Re: Server-side image map in CForms ?

2005-06-01 Thread Luca Morandini
oceatoon wrote: I am not at all from the GIS , and project Geoid seems to be just that, If I'm not mistaken it allows to plug into existing ArcIMS and others with Cocoon. I'm really looking to find a Map system I can integrate directly into my(and others) project. I really think a simple

Re: Server-side image map in CForms ?

2005-05-31 Thread oceatoon
Sure we can. Great. Shall I remember you our little Geoid project ( http://geoid.cocoondev.org/ ) ? I am not at all from the GIS , and project Geoid seems to be just that, If I'm not mistaken it allows to plug into existing ArcIMS and others with Cocoon. I'm really looking to find a Map

Re: Server-side image map in CForms ?

2005-05-30 Thread Luca Morandini
oceatoon wrote: We are having an intern work on this from tuesday so I'm setting up the guidelines, maybe we can cooperate on this? Sure we can. Shall I remember you our little Geoid project ( http://geoid.cocoondev.org/ ) ? I was thinking of doing this in SVG having dynamic

[OT] Re: Server-side image map in CForms ?

2005-05-30 Thread Jorg Heymans
Luca Morandini wrote: Don't get me wrong, I like SVG, but forcing user to install a plug-in would be an unpopular option. With Firefox nightlies having native SVG support, this option is not so unpopular anymore as it was say a few months ago. Jorg

Re: [OT] Re: Server-side image map in CForms ?

2005-05-30 Thread Luca Morandini
Jorg Heymans wrote: Luca Morandini wrote: Don't get me wrong, I like SVG, but forcing user to install a plug-in would be an unpopular option. With Firefox nightlies having native SVG support, this option is not so unpopular anymore as it was say a few months ago. Yes, I know :) ... but

Re: Server-side image map in CForms ?

2005-05-29 Thread oceatoon
I have been doing waaay too much GIS stuff ... I saw something about map and straight away thought you meant geo-map :-) What is geo-map ? is this a current project ? I'm looking for simple (dynamic clickable points on map, with possibility to play on the gfx styling) GIS systems, are there

Re: Server-side image map in CForms ?

2005-05-29 Thread oceatoon
The map-viewing platform I envisage will be very simple and work even with very big fonts and buttons, and it should do this without JavaScript, frames and mouse (I mean, mouse is considered an optional, useful, but not necessary). Very interesting, Maps are largely laking around internet

[OT] Re: Server-side image map in CForms ?

2005-05-29 Thread Jorg Heymans
oceatoon wrote: I have been doing waaay too much GIS stuff ... I saw something about map and straight away thought you meant geo-map :-) What is geo-map ? is this a current project ? I'm looking for simple (dynamic clickable points on map, with possibility to play on the gfx styling)

Server-side image map in CForms ?

2005-05-23 Thread Luca Morandini
Folks, I need a server-side image map with Cocoon Forms. AFAIK there's no such a widget in Cocoon 2.1.7... hence, my question: is there someone already working on it or should I start from scratch ? Regards, P.S. I will contribute the results of my efforts... provided they're good enough,

Re: Server-side image map in CForms ?

2005-05-23 Thread Reinhard Poetz
Luca Morandini wrote: Folks, I need a server-side image map with Cocoon Forms. AFAIK there's no such a widget in Cocoon 2.1.7... hence, my question: is there someone already working on it not that I know of or should I start from scratch ? Regards, P.S. I will contribute the results of

Re: Server-side image map in CForms ?

2005-05-23 Thread Jorg Heymans
Hi Luca, What is your server-side image map supposed to do ? Thanks Jorg Luca Morandini wrote: Folks, I need a server-side image map with Cocoon Forms. AFAIK there's no such a widget in Cocoon 2.1.7... hence, my question: is there someone already working on it or should I start from

Re: Server-side image map in CForms ?

2005-05-23 Thread Sylvain Wallez
Luca Morandini wrote: Folks, I need a server-side image map with Cocoon Forms. AFAIK there's no such a widget in Cocoon 2.1.7... hence, my question: is there someone already working on it or should I start from scratch ? Can you elaborate on server-side image map? Does this mean the areas

Re: Server-side image map in CForms ?

2005-05-23 Thread Luca Morandini
Sylvain Wallez wrote: Can you elaborate on server-side image map? Does this mean the areas would be computed on the server? Hmm... it surely makes sense, but I don't need this feature; hence, I'd rather pass only the relevant mouse coordinates to the event handler. BTW, I guess an output

Re: Server-side image map in CForms ?

2005-05-23 Thread Luca Morandini
Jorg Heymans wrote: What is your server-side image map supposed to do ? Very simple stuff: 1) An user clicks on the image. 2) The form is sent to the server together with mouse coordinates. 3) The relevant action is called (mouse coordinates should be sent to the action somehow). Hmm... I

Re: Server-side image map in CForms ?

2005-05-23 Thread Jorg Heymans
Luca Morandini wrote: Jorg Heymans wrote: What is your server-side image map supposed to do ? Very simple stuff: 1) An user clicks on the image. 2) The form is sent to the server together with mouse coordinates. 3) The relevant action is called (mouse coordinates should be sent to

Re: Server-side image map in CForms ?

2005-05-23 Thread Luca Morandini
Jorg Heymans wrote: I have been doing waaay too much GIS stuff ... I saw something about map and straight away thought you meant geo-map :-) Well, sort of... I need this widget for GIS stuff. A recent law in Italy forces web-sites belonging to state agencies (ministries, local government

Re: Server-side image map in CForms ?

2005-05-23 Thread Sylvain Wallez
Luca Morandini wrote: Jorg Heymans wrote: I have been doing waaay too much GIS stuff ... I saw something about map and straight away thought you meant geo-map :-) Well, sort of... I need this widget for GIS stuff. A recent law in Italy forces web-sites belonging to state agencies

Re: Server-side image map in CForms ?

2005-05-23 Thread Sylvain Wallez
Luca Morandini wrote: Jorg Heymans wrote: What is your server-side image map supposed to do ? Very simple stuff: 1) An user clicks on the image. 2) The form is sent to the server together with mouse coordinates. 3) The relevant action is called (mouse coordinates should be sent to the

Re: Server-side image map in CForms ?

2005-05-23 Thread Luca Morandini
Sylvain Wallez wrote: Luca Morandini wrote: Hmm... I think this image-map widget should be a kind of action widget, since the form is sent to the server when widget is clicked upon. You already have it :-) Use an action with styling type=image. When the image is clicked, the action's event

Re: Server-side image map in CForms ?

2005-05-23 Thread Luca Morandini
Sylvain Wallez wrote: Luca Morandini wrote: Jorg Heymans wrote: Hmm... can't multi-channelling techniques apply here also? e.g. if the browser is a voice browser for visually impaired, use a special dedicated stylesheet. Ahem... have you ever tried to describe a geographic map using

Re: Server-side image map in CForms ?

2005-05-23 Thread Sylvain Wallez
Luca Morandini wrote: Sylvain Wallez wrote: Luca Morandini wrote: Hmm... I think this image-map widget should be a kind of action widget, since the form is sent to the server when widget is clicked upon. You already have it :-) Use an action with styling type=image. When the image is

Re: Server-side image map in CForms ?

2005-05-23 Thread Luca Morandini
Sylvain Wallez wrote: Luca Morandini wrote: Well, but I should be able to change the image's src attribute dynamically, wich is not allowed in action widget... right ? Yes you can, as the image src is in the form template. Of course you have to use a dynamic template (e.g. JXTG):

Re: Server-side image map in CForms ?

2005-05-23 Thread Sylvain Wallez
Luca Morandini wrote: Sylvain Wallez wrote: Luca Morandini wrote: Well, but I should be able to change the image's src attribute dynamically, wich is not allowed in action widget... right ? Yes you can, as the image src is in the form template. Of course you have to use a dynamic

Re: Server-side image map in CForms ?

2005-05-23 Thread Luca Morandini
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

Re: Server-side image map in CForms ?

2005-05-23 Thread Sylvain Wallez
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