Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It is not considering context path of the application #1

Closed
GoogleCodeExporter opened this issue Apr 14, 2015 · 6 comments
Closed

It is not considering context path of the application #1

GoogleCodeExporter opened this issue Apr 14, 2015 · 6 comments

Comments

@GoogleCodeExporter
Copy link

when i include <sj:head> tag it is generating code like below:

 <script language="JavaScript" type="text/javascript" 
src="struts/js/jquery-1.3.2.min.js"></script>
  <script language="JavaScript" type="text/javascript" 
src="struts/js/jquery.form.js"></script>
    <script language="JavaScript" type="text/javascript" 
src="struts/js/jquery-ui-1.7.2.min.js"></script>
    <script language="JavaScript" type="text/javascript" 
src="struts/js/jquery.cookie.min.js"></script>
    <script language="JavaScript" type="text/javascript" 
src="struts/js/jquery.bgiframe.min.js"></script>
        <link rel="stylesheet" href="struts/themes/cupertino/ui.theme.css" 
type="text/css"/>


with out considering the context path of the application and it is not 
working as expected .

I have manually added the above code in my JSP as below then it is working 
fine.
 <script language="JavaScript" type="text/javascript" 
src="/customReports/struts/js/jquery-1.3.2.min.js"></script>
  <script language="JavaScript" type="text/javascript" 
src="/customReports/struts/js/jquery.form.js"></script>
    <script language="JavaScript" type="text/javascript" 
src="/customReports/struts/js/jquery-ui-1.7.2.min.js"></script>
    <script language="JavaScript" type="text/javascript" 
src="/customReports/struts/js/jquery.cookie.min.js"></script>
    <script language="JavaScript" type="text/javascript" 
src="/customReports/struts/js/jquery.bgiframe.min.js"></script>
        <link rel="stylesheet" 
href="/customReports/struts/themes/cupertino/ui.theme.css" 
type="text/css"/>

I don't know whether i am missing some configuration here or bug in the 
component itself.Plzz guide me through.

Original issue reported on code.google.com by lokeshre...@gmail.com on 18 Jun 2009 at 6:53

@GoogleCodeExporter
Copy link
Author

please try the new version 0.7. 
in this version this bug should be fixed.

Original comment by johgep on 18 Jun 2009 at 8:38

  • Changed state: Fixed

@GoogleCodeExporter
Copy link
Author

same problem for datetimepicker.ftl - default icon 

Original comment by marius.s...@gmail.com on 22 Jun 2009 at 11:24

Attachments:

@GoogleCodeExporter
Copy link
Author

thank you for the patch, i included it into version 0.8.

Original comment by johgep on 24 Jun 2009 at 8:59

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

I am using 0.7 version 

Original comment by lokeshre...@gmail.com on 14 Jul 2009 at 1:15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant