rodiusd
04-14-2010, 12:09 PM
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 ?
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 ?