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"                                               
             <[EMAIL PROTECTED]                                             
             om>                                                        An 
                                        "Tapestry users"                   
             20.03.2006 15:56           <tapestry-user@jakarta.apache.org> 
                                                                     Kopie 
                                                                           
              Bitte antworten                                        Thema 
                    an                  Re: Tacos Beta: JSError "tacos is  
             "Tapestry users"           not defined                        
             <[EMAIL PROTECTED]                                             
             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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to