AW: AW: [opencms-dev] cannot open /opencms/opencms/index.jsp

Tamara Altenkirch t.altenkirch at much-net.de
Thu Apr 21 12:58:20 CEST 2005


Jep, there is one prob: i have to change three frames with a javascript
code.

<a
href="<cms:link>javascript:ZweiFrames('Content_L3_2_1_13_Top.jsp,'Content_L2
_Top','Navigation_Catchword_L3.jsp,'Navigation_L2_Catchword','Content_L3_2_1
_13.jsp,'Content_L2')</cms:link>" 
		   class="contentLinkL2">

should affect three frames.
But it does not.

The script function looks like this:

// JavaScript Document
function ZweiFrames(URL1,NAME1,URL2,NAME2,URL3,NAME3)
  {
  parent.frames[NAME1].location.href=URL1;
  parent.frames[NAME2].location.href=URL2;
  parent.frames[NAME3].location.href=URL3;  
  }

So what is wrong here?

-----Ursprüngliche Nachricht-----
Von: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] Im Auftrag von Stephan Hartmann
Gesendet: Donnerstag, 21. April 2005 12:47
An: The OpenCms mailing list
Betreff: Re: AW: [opencms-dev] cannot open /opencms/opencms/index.jsp

<a href="javascript: <here goes your javascript code> ">link</a>

or

<a href="#" onclick="<here goes your javascript code>; return 
false;">link</a>

Tamara Altenkirch schrieb:
> Is there anyone to give me an answer to my question about how to use
> javascript in a href?
> 
> 
> -----Ursprüngliche Nachricht-----
> Von: opencms-dev-bounces at opencms.org
> [mailto:opencms-dev-bounces at opencms.org] Im Auftrag von P-Y Foucou
> Gesendet: Donnerstag, 21. April 2005 12:36
> An: The OpenCms mailing list
> Betreff: Re: [opencms-dev] cannot open /opencms/opencms/index.jsp
> 
> 
> BUT, tomcat is running as non root user, who is owner of webapps/ 
> directory. and tomcat was able to expand the subdir opencms/...
> 
> If it's the problem, can someone clarify what permissions should be set, 
> and on what?
> Thanks,
> 
> Patrick Donker wrote:
> 
> 
>>That is because, if you look at the error message, you see that you dont 
>>have any write access to the directory. As far as my limited ocms/java 
>>knowledge goes I make this up from the message. Looks like a OS problem, 
>>not Opencms
>>
>>17637:    org.opencms.security.CmsSecurityException: Denied access to 
>>resource '/system/workplace/resources/ic_picgallery_in.gif', required 
>>permissions are +w [Code 303 - No permissions to perform this operation]
>>
>>-Patrick
>>
> 
> 
> 
> 
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
> 
> 
> 
> 
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev




_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://mail.opencms.org/mailman/listinfo/opencms-dev





More information about the opencms-dev mailing list