Hi Brad,
Thanks for your response. > Seems like we normally start with freemarker templates, and that might be > appropriate in your case. I did come across that in the docs, and I’ll look into it a bit more, it looks very much like what I should have started with! It looks like it will be very useful to come up to speed on for my project. > One thing that you might want to consider is how the translation into other > languages would work. Thanks for that reminder. Does freemarker have a role to play in internationalizing layer content in GeoServer? How do you provide for > 1 language of content, in general? Cheers, and thanks, Peter From: [email protected] <[email protected]> Sent: April 6, 2021 7:25 PM To: [email protected] Cc: 'Geoserver-devel' <[email protected]> Subject: Re: [Geoserver-devel] Advice on UI approach Seems like we normally start with freemarker templates, and that might be appropriate in your case. Otherwise its pretty open with what works in terms of Wicket - I don't think that the admin UI is a great source of UX design patterns, so not a lot of constraints. One thing that you might want to consider is how the translation into other languages would work. There are a lot of variations out there... Brad On 7 Apr. 2021 02:07, [email protected] <mailto:[email protected]> wrote: Hi, I’ve been working on developing a way to process strings templated with attribute name placeholders, when serializing a WFS GetFeature / WMS/WMTS GetFeatureInfo response. The strings will look like something like this, for example: “This string can contain zero or more attribute ${name} placeholders. The placeholders can be for any ${attribute}, not only name.” . I want to build a user interface to allow the user to enter the text part of those strings, but to select the attribute names from a list or palette. Do you have any opinions about what would be a good / appropriate GeoServer way of accomplishing this task? I was thinking about doing the simplest thing that could possibly work, which seems to me might be similar to how the Proxy Base URL text input works –allow the user to type the placeholder and other text into the field, maybe with a supporting select of attribute names. Thank you! Peter
_______________________________________________ Geoserver-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-devel
