Hi Yang, yes, the layer page is actually built-up of dynamically looked up plugins only, tabs are plugins, and tab contents can be too. Check the following classes in the web-core module, their subclasses, and then look them up in the application context to see how they are registered: https://github.com/geoserver/geoserver/blob/a2923410394e5e6fc8e85247ef8901926465e7ea/src/web/core/src/main/java/org/geoserver/web/publish/PublishedEditTabPanel.java#L15 https://github.com/geoserver/geoserver/blob/6e9e25c0c7cdda9ada9f33f8255130d3afc76801/src/web/core/src/main/java/org/geoserver/web/publish/PublishedConfigurationPanel.java#L24 https://github.com/geoserver/geoserver/blob/b76bba7178d3505cd45e318e659c3b32faee4b5e/src/web/core/src/main/java/org/geoserver/web/data/resource/ResourceConfigurationPanel.java#L26
If the information you try to store is small, it could go into the layer/resource metadataMap as well, without requiring separate storage. Cheers Andrea On Wed, Oct 7, 2020 at 7:33 AM Yang <[email protected]> wrote: > Hi: > > When we tried to edit a layer(in the data tab), there are a lot of > attributes to be filled like title,keywords, srs, bbox, cql and etc. > > Now I am working on an plugin module where I need to add some custom > attributes to be configured during the editing, of course the attributes > should be persisted and retrieved by the plugin somewhere. > > I found this at the docs: > https://docs.geoserver.org/stable/en/developer/programming-guide/web-ui/implementing.html > > But the example generated a new fresh page which is not what I want. > > In a word, is it possible to inject the web UI defined in the plugin to > geoserver default page? > _______________________________________________ > Geoserver-users mailing list > > Please make sure you read the following two resources before posting to > this list: > - Earning your support instead of buying it, but Ian Turton: > http://www.ianturton.com/talks/foss4g.html#/ > - The GeoServer user list posting guidelines: > http://geoserver.org/comm/userlist-guidelines.html > > If you want to request a feature or an improvement, also see this: > https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer > > > [email protected] > https://lists.sourceforge.net/lists/listinfo/geoserver-users > -- Regards, Andrea Aime == GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it ------------------------------------------------------- *Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia. This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.*
_______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
