PDA

View Full Version : Confused


rodiusd
04-14-2010, 11:09 AM
Hello, im still a very new to this web thing but start to like this framework stuff. So after a litle digging and playing with the AutoCode feature i'm have take the lane to write something from the bottom up.

So the fist thing was looking at the template and already have a problem:

When looking at the source we found that the paths for things like .css & .js start in the directory where the HTML page resides.

So the in the template we found the following:

1. <link rel="stylesheet" type="text/css" href="/extjs/resources/css/ext-all.css" />
2. <link rel="stylesheet" type="text/css" href="/vvresources/valence.css" />
3. <script type="text/javascript" src="/extjs/adapter/ext/ext-4.base.js"></script>
5. <script type="text/javascript" src="/extjs/ext-all.js"></script>
<script type="text/javascript" src="/vvresources/valence.js"></script>

I can track back lines 2 & 5 but have a problem with 1,3 & 4.

The directory should be /extjs/... but when looking at the valence-2.1 directory on the iSeries i found ext-3.1.0 instead.

So can some one explain how this is done/works ?

richard.milone
04-14-2010, 02:29 PM
You should check out the Apache server instance configuration for VALENCE21. Are you familiar with how to get to its configuration on admin port 2001? If so, you will see that the first part of the path is mapped by Apache. For example, anything starting with /extjs is mapped to /valence-2.1/ext-3.1.0. If you need instruction on how to get to the HTTP server administration on port 2001 let me know.

rodiusd
04-14-2010, 02:34 PM
Thanks for explaining this. So i should get also some knowledge on Apache.