[jboss-user] [JBoss Seam] - external file with javascript

clockdva do-not-reply at jboss.com
Thu Nov 16 04:43:35 EST 2006


i have a page with a javscript:

<ui:composition>
			
			<f:view>
					  
				      
					<h:form>

					<.script >
					 function prova(){
					 		alert('hello!');
					 }
					<./script >

					 	<h:commandLink id="..." value="..." action="..." onclick="prova();" />	  							 
	
				</h:form>
	    	</f:view>
  </ui:composition>


  it is possible to use an external file with all my javascript functions?
  how?

  thanks


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986435#3986435

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986435



More information about the jboss-user mailing list