Re: [Dspace-tech] passing variable to javascript

2013-09-02 Thread bcoballes
Hi Javier,

Thanks. I've been banging my head on the table for this.

Regards,
Brian


On Mon, Sep 2, 2013 at 2:19 AM, Javier Távara [via DSpace] <
ml-node+s2283337n4666963...@n4.nabble.com> wrote:

> The way I do:
>
> 
> 
> 
> var theme_path = ' select="$theme-path"/>',
> login_message =
> 'xmlui.pirhua.login.message',
> contact_message =
> 'xmlui.pirhua.contact.message';
> 
> 
> 
>
> You can replace XSLT tags the way you want.
>
>
> Javier Távara
>
>
> 2013/9/1 bcoballes <[hidden 
> email]
> >
>
>> Hi everyone,
>>
>> I would like to pass the URL > select="mets:FLocat[@LOCTYPE='URL']/@xlink:href"/> of the bitstream to
>> external javascript as variable. But when I declare it using this syntax:
>>
>> var x = '> select="mets:FLocat[@LOCTYPE='URL']/@xlink:href"/>';
>>
>> I received an javascript error 'Syntax error unexpected identifier'. How
>> can
>> I pass the value of the xsl:value-of select as javascript variable without
>> error.
>>
>> Any input is greatly appreciated,
>> Brian
>>
>>
>>
>> -
>> Librarian In-Charge of Non-Print
>> Educational Media Center
>> Ateneo de Manila High School
>> Philippines
>> --
>> View this message in context:
>> http://dspace.2283337.n4.nabble.com/passing-variable-to-javascript-tp4666961.html
>> Sent from the DSpace - Tech mailing list archive at Nabble.com.
>>
>>
>> --
>> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
>> Discover the easy way to master current and previous Microsoft
>> technologies
>> and advance your career. Get an incredible 1,500+ hours of step-by-step
>> tutorial videos with LearnDevNow. Subscribe today and save!
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
>> ___
>> DSpace-tech mailing list
>> [hidden email] 
>>
>> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>> List Etiquette:
>> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>>
>
>
> --
>
> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
> Discover the easy way to master current and previous Microsoft
> technologies
> and advance your career. Get an incredible 1,500+ hours of step-by-step
> tutorial videos with LearnDevNow. Subscribe today and save!
> http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
> ___
> DSpace-tech mailing list
> [hidden email] 
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette:
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
> --
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://dspace.2283337.n4.nabble.com/passing-variable-to-javascript-tp4666961p4666963.html
>  To unsubscribe from passing variable to javascript, click 
> here
> .
> NAML
>



-- 
*Brian Aljer B. Coballes
Instructional Technology Center
Ateneo de Manila High School
Loyola Heights, Quezon City*
*Philippines*
*
*
*(063) 426-6001 loc. 6203
*
*
*

**
*"En todo amar y servir."*




-
Librarian In-Charge of Non-Print 
Educational Media Center 
Ateneo de Manila High School 
Philippines
--
View this message in context: 
http://dspace.2283337.n4.nabble.com/passing-variable-to-javascript-tp4666961p4666974.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/l

Re: [Dspace-tech] passing variable to javascript

2013-09-02 Thread helix84
Actually, the correct way would be to use a CDATA section. xsl:text
will come back to bite you sooner or later because it doesn't escape
special characters. Example:

http://juixe.com/techknow/index.php/2005/11/24/cdata-with-xslt/

Of course, since this is a way of escaping text, you won't be able to
use variables inside the block, but you can terminate the block,
insert the variable value and resume the block.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Error while Browsing XMLUI?

2013-09-02 Thread helix84
Hi Ritesh,

you didn't include the error message. Copy the entire error message
including the "Caused by:" lines.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Error while Browsing XMLUI?

2013-09-02 Thread Ritesh
hello helix,

I think the application is unable to locate messages.xml, it is because
while browsing the xmlui page all the labels are shown in xml formats such
as "xmlui.ArtifactBrowser.FrontPageSearch.head",
"xmlui.dri2xhtml.structural.search-advanced",..etc

The error while browsing xmlui of dspace.log are listed below:





--
View this message in context: 
http://dspace.2283337.n4.nabble.com/Error-while-Browsing-XMLUI-tp4666957p4666978.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Error while Browsing XMLUI?

2013-09-02 Thread helix84
On Mon, Sep 2, 2013 at 10:54 AM, Ritesh  wrote:
> I think the application is unable to locate messages.xml, it is because
> while browsing the xmlui page all the labels are shown in xml formats such
> as "xmlui.ArtifactBrowser.FrontPageSearch.head",
> "xmlui.dri2xhtml.structural.search-advanced",..etc

Yes, that would be the case if messages.xml wasn't found.

> The error while browsing xmlui of dspace.log are listed below:

I still didn't get anything. Try attaching the relevant part of the
log as a text file instead.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Error while Browsing XMLUI?

2013-09-02 Thread Ritesh
Hello Helix,

I have attached the dspace.log file.
Please suggest me what would be the solution?


Regards,
Ritesh

dspace.log.2013-09-02
  



--
View this message in context: 
http://dspace.2283337.n4.nabble.com/Error-while-Browsing-XMLUI-tp4666957p4666981.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] Modify the emails automatically sent from Dspace (1.8.2)

2013-09-02 Thread Evans, Kevin
Hi,

We have had a request to modify the emails automatically sent from Dspace 
(1.8.2).

Is it possible to include the embargo date (if relevant)

Is it possible to include an additional email address (as cc) if a submission 
to the workflow is rejected.

Cheers

Kevin Evans
Systems Developer,
Research & Collaborative Systems,
Enterprise Applications,
Room 911, 9th Floor, Laver Building,
University of Exeter,
Exeter,
Devon,
EX4 4QE
01392 725573

Embrace. Extend. Extinguish.


--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] default.license : Manakin : XMLUI : style

2013-09-02 Thread Owen Williams
Hello,
  I'm trying to update our DSpace 3.1 dev instance to use a new license.
When I change the default.license file on disk, rebuild and re-start the
service any style is stripped (in this case just newlines) from the
license when rendered.  In JSPUI we can use /dspace-admin/license-edit
to change the text.  That's not available in XMLUI but I don't think it
would help.  The license is bracketed by '' and
any HTML (I've) added to the UTF-8 text file get stripped.

--

I've just found something approaching a solution:

#aspect_submission_StepTransformer_div_submit-license-standard-text {
  white-space: pre-line;
}

added to the style sheet.  This respects the newlines in the text file
and works for Firefox and .

Hope someone finds this useful.

Owen.

--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] A fatal error has been detected by the Java Runtime Environment

2013-09-02 Thread Javier Távara
I was running Java 7u25 too, I downgraded to Java 6 two days ago and no
problems have been reported.

I think this is the bug:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8009460

Thank you all.

Javier Távara


2013/9/2 Kevin Van de Velde 

> Hi Javier,
>
> What version of java are you running ? Because a client of ours had the
> same problem with java 7 update 25, so we downgraded to java 6 & no crashes
> have occurred since.
>
>
> Hope this helps,
>
> Kind regards,
>
> [image: logo]
> Kevin Van de Velde *@mire*
> *2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010*
> *Esperantolaan 4, Heverlee 3001, Belgium*
> www.atmire.com
>
>
> On 28 August 2013 18:02, Javier Távara  wrote:
>
>> You can see our DSpace at http://pirhua.udep.edu.pe/
>>
>> I changed GC a few days ago as you told me but nothig happened. Today
>> DSpace got down and logs doesn't say anything relevant.
>> Also, I disabled come cronjobs. Between 8am and 8pm (GMT -5) DSpace runs
>> very fast, and according to Google Analytics we are not receiving too many
>> visits (we have not launched our repository officially).
>>
>> Sorry for my English and the double post.
>>
>>
>> Javier Távara
>>
>>
>> 2013/8/28 Javier Távara 
>>
>>> I deleted the content in
>>> /home/dspace/dspace-3.1-src-release/dspace/target/dspace-3.1-build/
>>>
>>> Then, I recompiled using:
>>> mvn package -P
>>> !dspace-lni,!dspace-sword,!dspace-swordv2,!dspace-jspui,!dspace-oai
>>>
>>> And DSpace runs ok.
>>> I wanted the sidebar to appear before the main content so I changed the
>>> order of aspects according to
>>> http://dspace.2283337.n4.nabble.com/changing-order-of-aspects-td4661581.html
>>>  but
>>> after rebuild a few moments ago, this is not taking effect anymore. Now I
>>> have 2 sidebars to the right.
>>>
>>> You can see my DSpace only http://pirhua.udep.edu.pe/
>>>
>>> Thank you.
>>>
>>>
>>> Javier Távara
>>>
>>>
>>> 2013/8/27 helix84 
>>>
 On Mon, Aug 26, 2013 at 4:44 PM, Javier Távara 
 wrote:
 > The problem still persists with libjvm.so.
 > I will try working with xmlui only. I don't think I need more webapps.

 If you still need any help, you should sump up which steps that I
 recommended you took and what was the result of each. Is your
 production system running?


 Regards,
 ~~helix84

 Compulsory reading: DSpace Mailing List Etiquette
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

>>>
>>>
>>
>>
>> --
>> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
>> Discover the easy way to master current and previous Microsoft
>> technologies
>> and advance your career. Get an incredible 1,500+ hours of step-by-step
>> tutorial videos with LearnDevNow. Subscribe today and save!
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
>> ___
>> DSpace-tech mailing list
>> DSpace-tech@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>> List Etiquette:
>> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>>
>
>
<<@mire_web_2.jpg>>--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Encoding problem in discovery search results, xmlui

2013-09-02 Thread Alcides Carlos de Moraes Neto
Hello all,

We have this problem with our current dspace 3.1 installation. Discovery
search results show some invalid characters due to encoding issues.
Only the full text search/highlight portion of the results has this
problem. Example:
http://www2.senado.leg.br/bdsf/discover?filtertype_0=type&filter_relational_operator_0=notequals&filter_0=notícia+de+jornal&submit_apply_filter=Aplicar&query=andré+luiz+lopes+de+alcantara

I have checked the .txt media-filter generates, they are all UTF-8.
Example:
http://www2.senado.leg.br/bdsf/bitstream/handle/id/496326/Artigo_Andre_Alcantara_BDSF_SNDIJ_2013.pdf.txt

Any help will be appreciated =) thanks

Ats,

Alcides Carlos de Moraes Neto
--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Encoding problem in discovery search results, xmlui

2013-09-02 Thread Keir Vaughan-Taylor
Is it a problem that the extension is pdf.txt   ?


On Mon, 2013-09-02 at 20:24 -0300, Alcides Carlos de Moraes Neto wrote:
> Hello all,
> 
> 
> We have this problem with our current dspace 3.1 installation.
> Discovery search results show some invalid characters due to encoding
> issues.
> Only the full text search/highlight portion of the results has this
> problem. Example:
> http://www2.senado.leg.br/bdsf/discover?filtertype_0=type&filter_relational_operator_0=notequals&filter_0=notícia+de+jornal&submit_apply_filter=Aplicar&query=andré+luiz+lopes+de+alcantara
> 
> 
> I have checked the .txt media-filter generates, they are all UTF-8.
> Example: 
> http://www2.senado.leg.br/bdsf/bitstream/handle/id/496326/Artigo_Andre_Alcantara_BDSF_SNDIJ_2013.pdf.txt
> 
> 
> Any help will be appreciated =) thanks
> 
> Ats,
> 
> Alcides Carlos de Moraes Neto
> --
> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
> Discover the easy way to master current and previous Microsoft technologies
> and advance your career. Get an incredible 1,500+ hours of step-by-step
> tutorial videos with LearnDevNow. Subscribe today and save!
> http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
> ___ DSpace-tech mailing list 
> DSpace-tech@lists.sourceforge.net 
> https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: 
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

-- 


--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette