tapestry-user@jakarta.apache.org
[Top] [All Lists]

Re: Re: Tacos Beta: JSError "tacos is not defined

Subject: Re: Re: Tacos Beta: JSError "tacos is not defined
From: Kristian Marinkovic
Date: Mon, 20 Mar 2006 16:05:50 +0100
tacos4-beta-1-lib.jar is located at WEB-INF/lib; components are rendered
without problems;
instead of a xmlhttprequest a GET is performed

i just realized there was something in the web.xml of the tacos demo
application (.war)
do i have to add it to my web.xml too?


  <servlet>
  <servlet-name>TacosDemo</servlet-name>
  <servlet-class>net.sf.tacos.demo.ConfigurationServlet</servlet-class>
  <load-on-startup>1</load-on-startup>
  </servlet>

  <servlet-mapping>
  <servlet-name>TacosDemo</servlet-name>
  <url-pattern>/app</url-pattern>
  </servlet-mapping>

<!--
  <servlet-mapping>
  <servlet-name>TacosDemo</servlet-name>
  <url-pattern>*.html</url-pattern>
  </servlet-mapping>
   -->

  <servlet-mapping>
  <servlet-name>TacosDemo</servlet-name>
  <url-pattern>*.direct</url-pattern>
  </servlet-mapping>

  <servlet-mapping>
  <servlet-name>TacosDemo</servlet-name>
  <url-pattern>*.sdirect</url-pattern>
  </servlet-mapping>

  <servlet-mapping>
  <servlet-name>TacosDemo</servlet-name>
  <url-pattern>/assets/*</url-pattern>
  </servlet-mapping>

  <servlet-mapping>
  <servlet-name>TacosDemo</servlet-name>
  <url-pattern>*.svc</url-pattern>
  </servlet-mapping>




                                                                           
             "Jesse Kuhnert"                                               
             <jkuhnert@xxxxxxx                                             
             om>                                                        An 
                                        "Tapestry users"                   
             20.03.2006 15:56           <tapestry-user@xxxxxxxxxxxxxxxxxx> 
                                                                     Kopie 
                                                                           
              Bitte antworten                                        Thema 
                    an                  Re: Tacos Beta: JSError "tacos is  
             "Tapestry users"           not defined                        
             <tapestry-user@ja                                             
             karta.apache.org>                                             
                                                                           
                                                                           
                                                                           
                                                                           




It sounds like the tacos.js file is not being included in your page for
some
reason. Did you include the tacos jar in your web app?

On 3/20/06, Kristian Marinkovic <kristian.marinkovic@xxxxxxxxxxxxx> wrote:
>
>
> hi,
>
> whenever ich try to run applications with tacos components i get
following
> js error:
>
> "Error: tacos is not defined"
>
> the project files were taken from the tacos demos (EffectsExample.java,
> EffectsExample.page
> and EffectsExample.html) ... in fact just a copy
>
> Any suggestions how to solve this?
>
> regards,
> kris
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@xxxxxxxxxxxxxxxxxx
> For additional commands, e-mail: tapestry-user-help@xxxxxxxxxxxxxxxxxx
>
>


--
Jesse Kuhnert
Tacos/Tapestry, team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind.  http://opennotion.com



---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@xxxxxxxxxxxxxxxxxx
For additional commands, e-mail: tapestry-user-help@xxxxxxxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>