Re: behavior of EWD with more than one version of javascript libraries in the same application dir

26 views
Skip to first unread message

rtweed

unread,
May 10, 2013, 10:37:28 AM5/10/13
to enterprise-web-de...@googlegroups.com
Please post the source EWD pages, not the generated compiled pages

Rob

On Friday, 10 May 2013 15:34:44 UTC+1, AEZBiz wrote:
Hello 

I noticed while working with dEWDrop 5 and working with EWD EXTJS4 reference that if I have 
more than one application in the same directory  hello1.ewd and hello3.ewd the only difference being one 
has a rootPath /vista/ext-4 and the other /vista/ext-4.1 that neither page will display in the browser is this normal operation ?
should a new dir be made for an updated application reference to another library  . 
here is sample of the compiled code

for hello1
rootPath="/vista/ext-4"

<link href='/vista/ext-4/resources/css/ext-all.css' rel='stylesheet' type='text/css' />
      <script src="/vista/resources/ewdScripts.js">
</script>
<script src='/vista/ext-4/ext-all.js' type='text/javascript'></script>
<script type='text/javascript'>

this page will render fine


for hello3

rootPath="/vista/ext-4.1"

<link href='/vista/ext-4.1/resources/css/ext-all.css' rel='stylesheet' type='text/css' />
<link href='/vista/ext-4/resources/css/ext-all.css' rel='stylesheet' type='text/css' />
      <script src="/vista/resources/ewdScripts.js">
</script>
<script src='/vista/ext-4.1/ext-all.js' type='text/javascript'></script>
<script src='/vista/ext-4/ext-all.js' type='text/javascript'></script>
<script type='text/javascript'>
</script>
this gives a blank page


thanks

arthur


AEZBiz

unread,
May 10, 2013, 10:41:18 AM5/10/13
to enterprise-web-de...@googlegroups.com
for 
Hello1

<ext4:container rootPath="/vista/ext-4">
  <ext4:panel title="Hello World Panel" html="Hello World" />
</ext4:container>



Hello3

<ext4:container rootPath="/vista/ext-4.1">
  <ext4:panel title="Hello World Panel" html="Hello World" />
</ext4:container>

both of these files are located

/home/vista/www/ewd/dev

thanks 
arthur
Reply all
Reply to author
Forward
0 new messages