You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bridges-dev@portals.apache.org by Alberto Moreno López <am...@novasoft.es> on 2005/12/19 18:05:17 UTC
The Portlet don't load the js file
I have a javascript file (js) and in my jsp I write this code:
<script language='javascript' src='<html:rewrite
page="/modules/common/themes/${sessionScope.theme}/resources/javascript/atri
lUtil.js"/>' type='text/javascript'></script>
When I make a call to one function located in the js file:
<html:select property="themeName" value="${sessionScope.theme}"
onchange="javascript:selectTheme()">
<html:optionsCollection name="themesList" value="name" label="name"/>
</html:select>
give an error: Error: selectTheme is not defined
how can I find a solution????
Thanks