Jesse,

1st of all, man you're fast! Lead developer of TACOS and still you take the
time to answer 3 minutes after my naive post!
2nd, works like a charm. Leave it to silly old users to complicate whats
simple. Used the bundled dojo and works like a charm!

Thanks a million!

On 4/12/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:
>
> The shipped version of tacos comes with the correct version of dojo
> bundled
> with it. You should always use that version unless you are sure about
> doing
> it another way.
>
> On 4/11/06, Pedro Viegas <[EMAIL PROTECTED]> wrote:
> >
> > Well somethings diferent mas seems like incompatibilitys of some sort.
> > I have dojo 0.2.2 installed. This is the correct version right?
> >
> > Now I get this...
> >
> > DEBUG: DEPRECATED: dojo.alg.Alg is deprecated, use dojo.lang instead
> > DEBUG: DEPRECATED: dojo.graphics.htmlEffects is deprecated, use
> > dojo.fx.htmlinstead
> > DEBUG: failed loading scripts/libs/dojo/src/widget.js with error:
> > [SyntaxError: XML tag name mismatch, file:
> > http://localhost/delegateIt/scripts/libs/dojo/dojo.js, line: 129]
> > DEBUG: failed loading scripts/libs/dojo/src.js with error: [SyntaxError:
> > XML
> > tag name mismatch, file:
> > http://localhost/delegateIt/scripts/libs/dojo/dojo.js, line: 129]
> > DEBUG: failed loading scripts/libs/dojo/__package__.js with error:
> > [SyntaxError: XML tag name mismatch, file:
> > http://localhost/delegateIt/scripts/libs/dojo/dojo.js, line: 129]
> > FATAL: Could not load 'dojo.widget'; last tried '__package__.js'
> >
> > What I cant figure out is this, my dojo js tree is nor like the cide is
> > expecting.
> > scripts/libs/dojo/src/widget.js       is actually
> > scripts/libs/dojo/src/Wigets/Widget.js
> >
> > I'm at a lost! What is happening?
> > Can someone post a simple exemplo of this working and I'll start
> building
> > from there... but not the TACOS example with the Bordem component with
> > Navigation and a zillion things! Please!
> >
> >
> > On 4/11/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:
> > >
> > > Sounds like a bug to me..
> > >
> > > What happens if you add this to the bottom of your html page?
> > >
> > > <script type="text/javascript">
> > > dojo.require("dojo.widget");
> > > </script>
> > >
> > > On 4/10/06, Pedro Viegas <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Hi all,
> > > >
> > > > Been trying for some time know to get an AjaxForm working.
> > > > All my tests end up with something like...
> > > >
> > > > DEBUG: AjaxForm submission using form submit.
> > > > DEBUG: ERROR: On line 483 of document
> > > >
> > > >
> > >
> >
> http://localhost/testapp/app?digest=b28ed13c10dc1486db25d6aa85688eec&path=%2Fnet%2Fsf%2Ftacos%2Fajax%2Fcomponents%2Ftacos.js&service=asset
> > > > :
> > > > dojo.widget has no properties
> > > >
> > > > The script asset and the referenced line is:
> > > >
> > > >   //Experimental
> > > >   kwArgs["content"]["widgetids"] =
> dojo.widget.manager.widgetIds.join
> > > > (",");
> > > > <-- this is the line!
> > > >   dojo.debug("visible widgets set to:" +
> > > kwArgs["content"]["widgetids"]);
> > > >
> > > > That experimental doesn't give much assurance! :-S
> > > >
> > > > My code is as follows...
> > > >
> > > > html template
> > > > (...)
> > > >     <form jwcid="myform">
> > > >         <span class="autoCompleter" jwcid="departmentName" />
> > > >         <input type="submit" jwcid="@Submit" value="OK"/>
> > > >     </form>
> > > > (...)
> > > >
> > > > page specification
> > > >
> > > > <?xml version="1.0" encoding="UTF-8"?>
> > > > <!DOCTYPE page-specification PUBLIC
> > > >   "-//Apache Software Foundation//Tapestry Specification 4.0//EN"
> > > >   "http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";>
> > > >
> > > > <page-specification class="com.teamware.delegateit.view.pages.Test">
> > > >     <inject property="ajaxRequest" object="service:
> > tacos.AjaxWebRequest"
> > > > />
> > > >
> > > >     <property name="noteValue" persist="session" />
> > > >     <property name="searchList"
> > > >           initial-value="ognl:new java.util.ArrayList()" />
> > > >
> > > >     <component id="myform" type="tacos:AjaxForm">
> > > >         <binding name="listener" value="listener:showDepartment"/>
> > > >         <binding name="updateComponents" value="ognl:{'record'}"/>
> > > >         <binding name="statusElement" value="literal:status" />
> > > >     </component>
> > > >
> > > >     <component id="departmentName" type="tacos:Autocompleter" >
> > > >       <binding name="value" value="ognl:noteValue" />
> > > >       <binding name="listSource" value="ognl:searchList" />
> > > >       <binding name="listener" value="listener:searchDepartments" />
> > > >       <binding name="direct" value="ognl:true" />
> > > >     </component>
> > > >
> > > > </page-specification>
> > > >
> > > >
> > > > The autocompleter works perfectly, but the form I can't put it up!
> > > > Help!
> > > >
> > > >
> > > > --
> > > > Pedro Viegas
> > > >
> > > >
> > >
> > >
> > > --
> > > Jesse Kuhnert
> > > Tacos/Tapestry, team member/developer
> > >
> > > Open source based consulting work centered around
> > > dojo/tapestry/tacos/hivemind.  http://opennotion.com
> > >
> > >
> >
> >
> > --
> > Pedro Viegas
> >
> >
>
>
> --
> Jesse Kuhnert
> Tacos/Tapestry, team member/developer
>
> Open source based consulting work centered around
> dojo/tapestry/tacos/hivemind.  http://opennotion.com
>
>


--
Pedro Viegas

Reply via email to