jesse
On 1/16/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:
I think making users do manual widget parsing seems a little too low level for my tastes. It is probably more likely that the actual tacos FloatingPane component needs a little more loving. I'm not in a position to spend time on it right now, but hopefully whoever owns the component will step in and try to fix whatever needs fixing.
As an aside, the various _javascript_ methods of tacos may also be used to force widget parsing by dojo. The ajaxDirectLink should provide more than enough parameters for this purpose, such as the "updateObject" parameter, which will pass in the html node id, content that was updated. You can then proceed to parse the widget in question if you like.On 1/16/06, Cosmin Bucur < [EMAIL PROTECTED]> wrote:I've been playing with floating panes for half of my day today .
Was talking with someone in the dojo channel who has sugested using
this piece of code , to make dojo aware of any newly downloaded
widgets from a container div :
var frag = new dojo.xml.Parse().parseElement(tacosContainerDiv);
dojo.widget.getParser().createComponents(frag);
I'd basically need to run this after each AjaxDirectLink or whatever
ajax action I do . But what method can I use to run _javascript_
statements ... or even downloaded _javascript_ statements with Tacos ?
I've been looking through the AjaxDirectLink.jwc for the latest
comments , but nothing seems to be what i need . or perhaps i'm
missunderstanding stff in there ..
Thanks
On 1/16/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:
> I'm not sure I even added the floating pane logic or I'd be able to provide
> more input. I know the styling should be done off of the generated id of the
> component, but the other items I'm much less aware of. I may need to sit
> down and play with it for a while to get it to the point of me being able to
> address issues.
>
>
> On 1/16/06, Cosmin Bucur < [EMAIL PROTECTED]> wrote:
> >
> > using a recent build of the tacos 4 alpha 7 branch btw
> >
> >
> > On 1/16/06, Cosmin Bucur < [EMAIL PROTECTED]> wrote:
> > > I'm facing another problem due to the way I build my tacos application
> > > to live within a single page with multiple components that reload as
> > > needed through AJAX / Tacos .
> > >
> > > I wanted to have floating panes in some of theese components . I have
> > > tried adding a FloatingPane component to them , which I have used
> > > successfully in my Border component and Home page .
> > >
> > > However , when the FloatingPane compoennt is supposed to come through
> > > the Ajax request , embedded in a div , it's not loading properly . It
> > > eiher doesn't show , or it doesn't float and it's not styled as a
> > > window .
> > >
> > >
> > > Can anybody sugest anywais I can achieve this . Should I just load all
> > > my windows ( FloatingPanes ) in my Border and hide them somehow ?
> > > Should I to run some script after the the FloatingPane containing
> > > component gets loaded that will activate the _javascript_ logic to
> > > render the pane ?
> > >
> > >
> > > Please let me know
> > >
> > > Thanks ,
> > > Cosmin
> > >
> >
> >
> > -------------------------------------------------------
> > This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> files
> > for problems? Stop! Download the new AJAX search engine that makes
> > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
> > http://ads.osdn.com/?ad_idv37&alloc_id865&opclick
> > _______________________________________________
> > Tacos-devel mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/tacos-devel
> >
>
>
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&opclick
_______________________________________________
Tacos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tacos-devel
