I think it would be great to be able to package dojo directly into the tacos.jar :) Just so long as people can still override our distribution of it of course..

I did notice that the Exception popup pane doesn't appear to be rendering correctly anymore. Perhaps the debugConsole will give you inspiration for a solution?

I did also notice quite a bit of direct dom node styling, which I've been guilty of myself I suppose. :) This may have something to do with some of the issues. I found a very useful "method" on the FloatingPane widget labeled resizeTo(w, h). It lets you set the size and it also handles re-rendering itself and it's children properly. This combined with some more use of dojo.style/dojo.html will probably solve most of these problems.

Will look at the linking in a bit, but keep up the good work ! :)

On 12/1/05, Felix Sun <[EMAIL PROTECTED]> wrote:

I know the exception pane stuff was a huge pain in the ass, it really should be a widget, but since this seems to not be supportable by the current Asset service just yet we'll have to get by. (It will be supported soon, just need my commit :) )

Are you saying that you will let the dojo library in tacos.jar file? That would be great if you do that!

I just commit that changes only on AjaxDirectLink , any feedback if appreciated.

- Felix

 

On 12/1/05, Felix Sun <[EMAIL PROTECTED]> wrote:
I am trying to add popup parameter to AjaxDirectLink sort of components.
that would popup the updated component in a FloatingPane after ajax response. just when doing the effects thing.

It is simple to implement because of the previous lots of work for showing exception pane.
and is nice I think that AjaxDirectLink/AjaxSubmit/AjaxLinkSubmit have this feature to to all kinds of popup stuff.
The implementation in my local works great. I just add a link in Editor demo page to let an Editor show in popup pane.

the usage would be:

Editor.html
    <div style="display:none;">
        <div jwcid="[EMAIL PROTECTED]" id="editor">
            <div jwcid="editHtmlForPopup">Editable content</div>
        </div>
    </div>
    <a jwcid="popupLink">Show Popup Editor</a>

Editor.page
    <component id="popupLink" type="tacos:AjaxDirectLink">
        <binding name="listener" value="listener:loadInitialData"/>
        <binding name="updateComponents"
            value="ognl:{'editor'}"/>

        <binding name="popup" >
            literal:{
                title:"Editor",
                widgetId:"editor",
                constrainToContainer:"1",
                toggle:'fade',
                resizable:true,
                persistenceWidgetPosition: true,
                contentNodeId:'editor'

            }
        </binding>
        <binding name="statusElement" value="literal:status" />

    </component>

that's all for a popup show.

I will commit it if you guys think it is good. or commit that after the alpha-7 release if you guys can wait, ;).



Reply via email to