Customs views

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Customs views

Emilio Pardo
Buenos días.

Estoy intentando crear una vista a media para una instancia de geonetwork
3.0.4 y estoy utilizando de guía para comprender este tema  el tutorial que
esta colgado en la documentación de geonetwork.

http://geonetwork-opensource.org/manuals/trunk/eng/users/tutorials/customui/search/customview.html

El caso es que en el ejemplo 2 y 3 me da un error


-----------------------------------------------------------------------------

lib.js:438 TypeError: Cannot read property '0' of undefined
    at new <anonymous> (
http://localhost:8080/geonetwork/static/gn_search_geoportal.js:634:497)
    at Object.e [as invoke] (
http://localhost:8080/geonetwork/static/lib.js:373:389)
    at C.instance (http://localhost:8080/geonetwork/static/lib.js:412:389)
    at http://localhost:8080/geonetwork/static/lib.js:396:19
    at r (http://localhost:8080/geonetwork/static/lib.js:344:402)
    at H (http://localhost:8080/geonetwork/static/lib.js:396:2)
    at g (http://localhost:8080/geonetwork/static/lib.js:388:312)
    at http://localhost:8080/geonetwork/static/lib.js:387:420
    at link (http://localhost:8080/geonetwork/static/lib.js:567:378)
    at $ (http://localhost:8080/geonetwork/static/lib.js:407:115) <div
data-ng-include="'../../catalog/views/default/templates/index.html'"
class="ng-scope">

--------------------------------------------------------------------------------------


Estoy googleando un poco para ver si doy con la tecla, pero si alguien es
tan amable de echarme un cable se lo agradeceria.

Saludos
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
GeoNetwork-usuarios-es mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geonetwork-usuarios-es
Reply | Threaded
Open this post in threaded view
|

Re: Customs views

delawen
Hola,

Lo mejor sería que usaras el parámetro debug=true para usar los
ficheros javascript sin comprimir y poder ver dónde falla.

On Tue, Nov 8, 2016 at 8:56 AM, Emilio Pardo <[hidden email]> wrote:

> Buenos días.
>
> Estoy intentando crear una vista a media para una instancia de geonetwork
> 3.0.4 y estoy utilizando de guía para comprender este tema  el tutorial que
> esta colgado en la documentación de geonetwork.
>
> http://geonetwork-opensource.org/manuals/trunk/eng/users/tutorials/customui/search/customview.html
>
> El caso es que en el ejemplo 2 y 3 me da un error
>
>
> -----------------------------------------------------------------------------
>
> lib.js:438 TypeError: Cannot read property '0' of undefined
>     at new <anonymous> (
> http://localhost:8080/geonetwork/static/gn_search_geoportal.js:634:497)
>     at Object.e [as invoke] (
> http://localhost:8080/geonetwork/static/lib.js:373:389)
>     at C.instance (http://localhost:8080/geonetwork/static/lib.js:412:389)
>     at http://localhost:8080/geonetwork/static/lib.js:396:19
>     at r (http://localhost:8080/geonetwork/static/lib.js:344:402)
>     at H (http://localhost:8080/geonetwork/static/lib.js:396:2)
>     at g (http://localhost:8080/geonetwork/static/lib.js:388:312)
>     at http://localhost:8080/geonetwork/static/lib.js:387:420
>     at link (http://localhost:8080/geonetwork/static/lib.js:567:378)
>     at $ (http://localhost:8080/geonetwork/static/lib.js:407:115) <div
> data-ng-include="'../../catalog/views/default/templates/index.html'"
> class="ng-scope">
>
> --------------------------------------------------------------------------------------
>
>
> Estoy googleando un poco para ver si doy con la tecla, pero si alguien es
> tan amable de echarme un cable se lo agradeceria.
>
> Saludos
> ------------------------------------------------------------------------------
> Developer Access Program for Intel Xeon Phi Processors
> Access to Intel Xeon Phi processor-based developer platforms.
> With one year of Intel Parallel Studio XE.
> Training and support from Colfax.
> Order your platform today. http://sdm.link/xeonphi
> _______________________________________________
> GeoNetwork-usuarios-es mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/geonetwork-usuarios-es

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
GeoNetwork-usuarios-es mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geonetwork-usuarios-es