Albrecht,
I understand that you are working with JSP. Mapbuilder is not tailored
to most JSP applications.
JSP usually stores its state data on the server, and renders HTML on the
server.
Mapbuilder stores state data and renders on the client. So if you are
marrying an existing JSP application to Mapbuilder, you will need to
work out a way to get state data from JSP to the client or visa-versa.
Andreas Hocevar wrote:
> Albrecht,
>
> I'm not sure if what you are requesting is really what you want. In
> Mapbuilder, every change you make in a widget will be written back to
> the underlying model. So the remaining question is: am I right that
> you want to know which layers are visible (=checked)?
>
> You would get this information by issuing the following statement,
> assuming that your map model has the id "mainMap":
>
> var layers = config.objects.mainMap.selectNodes("//wmc:[EMAIL
> PROTECTED]'0']|//wmc:[EMAIL PROTECTED]'0']");
> var name;
> for (var i=0; i<layers.length; i++) {
> name = getNodeValue(layers[i].selectSingleNode('wmc:Name'));
> // do something with the layer name
> }
>
> Regards,
> Andreas
>
> On Nov 21, 2007 4:33 PM, Albrecht Weiser <[EMAIL PROTECTED]> wrote:
>
>> Hi again,
>> i posted last time, but i think my question was too special.
>> Therefore now a new try with less requests: does anybody know, how to
>> reach the information about the checkboxes of the legend widget? I need
>> the info's about checked true or false and the name (or title) of the
>> checkbox. It would be nice if someone could help me, because i'm
>> really stuck with this problem.
>> Thanks
>> Albrecht
>>
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by: Microsoft
>> Defy all challenges. Microsoft(R) Visual Studio 2005.
>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>> _______________________________________________
>> Mapbuilder-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/mapbuilder-users
>>
>>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Mapbuilder-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mapbuilder-users
>
>
--
Cameron Shorter
Geospatial Systems Architect
Tel: +61 (0)2 8570 5050
Mob: +61 (0)419 142 254
Think Globally, Fix Locally
Commercial Support for Geospatial Open Source Solutions
http://www.lisasoft.com/LISAsoft/SupportedProducts.html
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Mapbuilder-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mapbuilder-users