-
1. Re: using ext js in JBP
sportsbaby1980 Aug 15, 2008 2:04 AM (in response to sportsbaby1980)The version of ext js is 1.11.
I have done a test:
1.take ext js 1.11's example with other necessary resource ,for example:ext-all.js, ext-base.js in my web application. and modify the menus example(especially the url of the needed resource in menus.html),so I can access it from web.
but in the portal page,it doest not run as html mode.
there is an error:syntax error line 6 char 1.
2.do the same thing like ext js 1.11 with ext js 2.2.
it runs well.
directly open with IE and access from the web site, runs the same. -
2. Re: using ext js in JBP
sportsbaby1980 Aug 15, 2008 4:22 AM (in response to sportsbaby1980)I have done a more clear test.
ext js 1.11 and ext js 2.2 run very well . -
3. Re: using ext js in JBP
sportsbaby1980 Aug 15, 2008 4:55 AM (in response to sportsbaby1980)But if put 2 same portlet window in the same portal page which return the same jsp page using extjs ,there will be display error occured.
-
4. Re: using ext js in JBP
sportsbaby1980 Aug 18, 2008 4:31 AM (in response to sportsbaby1980)now ,I have found the problem.
The reason is:
our jsp page contains a body tag,but the css effect is load on the portal page's body.
so after deleting the body tag,and modifing the div's class ,it runs well.