[GeoNetwork-devel] metadata editor: how is the view mode selected in code?

Hi all,

For my customization, I need to understand few points in metadata editor like

  1. how the view mode (by group, by package etc.) is handled in code.

I can see metadata.update.new or …create.new services are called with a lot of parameters. I guess the parameter currTab specifies the currently selected view mode, but what code (if possible, point in the code) in the background handles this?

  1. how online resources are generated (shown in RHS panel in editor page)

I can see xml.relation service being associated with it, but what java code?

  1. how suggestions are generated (shown in RHS panel in editor page)

Again, what code is tied to metadata.suggestion service?

If you can give me enough info on this, that would be great but even partial info to get me started on this is appreciated.

Thanks

Ameet

Hello Ameet,

···

2013/9/10 Ameet Chaudhari <ameet.chaudhari@anonymised.com1…>

Hi all,

For my customization, I need to understand few points in metadata editor like

You should probably look into Jeeves manual so you can get a better idea of the link between the service name (eg. xml.relation defined in config-*.xml) and the Java class and XSL used by the service.
https://github.com/geonetwork/core-geonetwork/blob/develop/docs/manuals/Jeeves.doc?raw=true

With that, you should get all your response.

HTH.

Francois

  1. how the view mode (by group, by package etc.) is handled in code.

I can see metadata.update.new or …create.new services are called with a lot of parameters. I guess the parameter currTab specifies the currently selected view mode, but what code (if possible, point in the code) in the background handles this?

  1. how online resources are generated (shown in RHS panel in editor page)

I can see xml.relation service being associated with it, but what java code?

  1. how suggestions are generated (shown in RHS panel in editor page)

Again, what code is tied to metadata.suggestion service?

If you can give me enough info on this, that would be great but even partial info to get me started on this is appreciated.

Thanks

Ameet


How ServiceNow helps IT people transform IT departments:

  1. Consolidate legacy IT systems to a single system of record for IT
  2. Standardize and globalize service processes across IT
  3. Implement zero-touch automation to replace manual, redundant tasks
    http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk

GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

Thanks Francois for the Jeeves link, but is that document relevant? that was created in 2005, so I fear much of it will not apply to the latest code… can that be true?

Ameet

···

On Tue, Sep 10, 2013 at 6:14 PM, Francois Prunayre <fx.prunayre@anonymised.com> wrote:

Hello Ameet,


Systems Programmer
kCube Consultancy Services

2013/9/10 Ameet Chaudhari <ameet.chaudhari@anonymised.com>

Hi all,

For my customization, I need to understand few points in metadata editor like

You should probably look into Jeeves manual so you can get a better idea of the link between the service name (eg. xml.relation defined in config-*.xml) and the Java class and XSL used by the service.
https://github.com/geonetwork/core-geonetwork/blob/develop/docs/manuals/Jeeves.doc?raw=true

With that, you should get all your response.

HTH.

Francois

  1. how the view mode (by group, by package etc.) is handled in code.

I can see metadata.update.new or …create.new services are called with a lot of parameters. I guess the parameter currTab specifies the currently selected view mode, but what code (if possible, point in the code) in the background handles this?

  1. how online resources are generated (shown in RHS panel in editor page)

I can see xml.relation service being associated with it, but what java code?

  1. how suggestions are generated (shown in RHS panel in editor page)

Again, what code is tied to metadata.suggestion service?

If you can give me enough info on this, that would be great but even partial info to get me started on this is appreciated.

Thanks

Ameet


How ServiceNow helps IT people transform IT departments:

  1. Consolidate legacy IT systems to a single system of record for IT
  2. Standardize and globalize service processes across IT
  3. Implement zero-touch automation to replace manual, redundant tasks
    http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk

GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

On Wed, Sep 11, 2013 at 4:12 PM, Ameet Chaudhari
<ameet.chaudhari@anonymised.com>wrote:

Thanks Francois for the Jeeves link, but is that document relevant? that
was created in 2005, so I fear much of it will not apply to the latest
code.. can that be true?

Hi,

Development of Jeeves has been quite frozen on the last years, as nobody
needed further implementations. The documentation is still valid.

Regarding your first question, probably you are looking on the XSL
transformations that happen just before jeeves returns the view. Hope this
hint helps you.

María.

Ameet

On Tue, Sep 10, 2013 at 6:14 PM, Francois Prunayre <fx.prunayre@anonymised.com>wrote:

Hello Ameet,

2013/9/10 Ameet Chaudhari <ameet.chaudhari@anonymised.com>

Hi all,

For my customization, I need to understand few points in metadata editor
like

You should probably look into Jeeves manual so you can get a better idea
of the link between the service name (eg. xml.relation defined in
config-*.xml) and the Java class and XSL used by the service.

https://github.com/geonetwork/core-geonetwork/blob/develop/docs/manuals/Jeeves.doc?raw=true
With that, you should get all your response.

HTH.

Francois

1. how the view mode (by group, by package etc.) is handled in code.
I can see metadata.update.new or ...create.new services are called with
a lot of parameters. I guess the parameter currTab specifies the
currently selected view mode, but what code (if possible, point in the
code) in the background handles this?

2. how online resources are generated (shown in RHS panel in editor page)
I can see xml.relation service being associated with it, but what java
code?

3. how suggestions are generated (shown in RHS panel in editor page)
Again, what code is tied to metadata.suggestion service?

If you can give me enough info on this, that would be great but even
partial info to get me started on this is appreciated.

Thanks
Ameet

------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks

http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
Systems Programmer
kCube Consultancy Services

------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

I am getting to understand it now, thanks all for the help.

need to dig into XSL as that has a lot of weight here… :slight_smile:

Regards

Ameet

···

On Wed, Sep 11, 2013 at 7:46 PM, María Arias de Reyna <delawen@anonymised.com> wrote:


Systems Programmer
kCube Consultancy Services

On Wed, Sep 11, 2013 at 4:12 PM, Ameet Chaudhari <ameet.chaudhari@anonymised.com> wrote:

Thanks Francois for the Jeeves link, but is that document relevant? that was created in 2005, so I fear much of it will not apply to the latest code… can that be true?

Hi,

Development of Jeeves has been quite frozen on the last years, as nobody needed further implementations. The documentation is still valid.

Regarding your first question, probably you are looking on the XSL transformations that happen just before jeeves returns the view. Hope this hint helps you.

María.

Ameet


How ServiceNow helps IT people transform IT departments:

  1. Consolidate legacy IT systems to a single system of record for IT
  2. Standardize and globalize service processes across IT
  3. Implement zero-touch automation to replace manual, redundant tasks
    http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk

GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

On Tue, Sep 10, 2013 at 6:14 PM, Francois Prunayre <fx.prunayre@anonymised.com> wrote:

Hello Ameet,


Systems Programmer
kCube Consultancy Services

2013/9/10 Ameet Chaudhari <ameet.chaudhari@anonymised.com>

Hi all,

For my customization, I need to understand few points in metadata editor like

You should probably look into Jeeves manual so you can get a better idea of the link between the service name (eg. xml.relation defined in config-*.xml) and the Java class and XSL used by the service.
https://github.com/geonetwork/core-geonetwork/blob/develop/docs/manuals/Jeeves.doc?raw=true

With that, you should get all your response.

HTH.

Francois

  1. how the view mode (by group, by package etc.) is handled in code.

I can see metadata.update.new or …create.new services are called with a lot of parameters. I guess the parameter currTab specifies the currently selected view mode, but what code (if possible, point in the code) in the background handles this?

  1. how online resources are generated (shown in RHS panel in editor page)

I can see xml.relation service being associated with it, but what java code?

  1. how suggestions are generated (shown in RHS panel in editor page)

Again, what code is tied to metadata.suggestion service?

If you can give me enough info on this, that would be great but even partial info to get me started on this is appreciated.

Thanks

Ameet


How ServiceNow helps IT people transform IT departments:

  1. Consolidate legacy IT systems to a single system of record for IT
  2. Standardize and globalize service processes across IT
  3. Implement zero-touch automation to replace manual, redundant tasks
    http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk

GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork