edrobinson wrote:

If there is much interest I'll post some code...

Yes, please do.

I tried to contact q_no several times but no response. I also need this plugin to work for flash 10.
So please, if anyone here has a working version of swfupload for flash 10 then let us know and please share your code with us.

Thanks,
ksksks

Will there ever be a Flash 10 version of this plugin?

Try something like this:

Code: PHP

function delete($table, $id, $confirmation = false)

{

    $oResponse= new xajaxResponse();



    php_code...



    if ($confirmation != true)

    {

        $oResponse->confirmCommands(1, "....");

        $oResponse->call("xajax_delete", $table, $id, true);

        return $oResponse;

    }



    do the rest...



}

5

(10 replies, posted in Release Testing)

q_no wrote:

Ok, your source looks fine. Are you sure that there's no old xajax JS core in your cache? Take a look at this link: http://xajaxproject.org/release_testing/ there's a setReturnvalue testfunction returning false.

Don't beat me but now it works.
I installed a fresh FF3 on a VM and it worked. After that I tested it on my dev-system and there it worked also.
I don't know why it didn't before (I swear I cleared the whole cache - several times - and also disabled the cache in the developers-toolbar.)
I'm sorry for that!

Thank you for your help.
Keep up the good work!

6

(10 replies, posted in Release Testing)

q_no wrote:

Can you please show us a code snipped from your sync function that returns 'undefined'?

The javascript call:

Code: PHP

var got_lock = xajax.request({xjxfun:'lockRequest'},{parameters:[window.name],mode:'synchronous'});

and in 'lockRequest()':

Code: PHP

$objResponse = new xajaxResponse();

$objResponse->setReturnValue(false);

return $objResponse;

q_no wrote:

Regarding SWFUPLOAD:
Please try this version: http://xajaxproject.org/developer/q_no/ … upload.php and let me know if it works.

Thank you very much, it now works as expected!
I don't want to be greedy, but today I read this one: http://swfupload.org/forum/news/827
:-)

7

(10 replies, posted in Release Testing)

q_no wrote:

Hmm...sounds like that you didn't install the right version. ->setReturnValue works fine here.

I took the 'full' one from the download page.
http://xajaxproject.org/download/0.5_rc … 2_full.zip


q_no wrote:

Regarding the SWFupload you'r right... looks like I didn't update the javascript file properly sad Sorry. I'll update and release a new version today.

Thank you.

BTW: I have to say that I'm very impressed from your response times. You're nearly as fast as Xajax :-).

8

(10 replies, posted in Release Testing)

q_no wrote:

- fixed processing of ->setReturnValue()

Still not working for me. I always get an 'undefined' return value.
Do I have to change some additional things? I just overwrote the old (rc1) xajax install with the new (rc2) one, and of course emptied my browsers cache.
(My SVN-Rep. shows me four changed files after the update: 'xajax.inc.php', 'xajaxArgumentManager.inc.php', 'xajax_core.js' and 'xajax_core_uncompressed.js')


And one more:

q_no wrote:

The plugins comet and swfupload are fully compatible with this versions. You can upgrade safely from the included SVN revisions.

The swfupload plugin (v0.2.1) also does not work. Do I have to update the plugin also. Where can I get it?



Please help,
Kurt

Read this:
http://swfupload.org/forum/generaldiscussion/551

I think there won't be an update to the Xajax SWFupload plugin until the SWFupload itself is fixed. :-)

I got this one from a chinese site:

Code: PHP

var oEditor = FCKeditorAPI.GetInstance('textareaID');

xajax.$('textareaID').value = oEditor.GetXHTML(true);

Do this before submitting the form (onsubmit or onclick at the submit button).

Thank you!

That's what I was looking for.
Tested and working as expected with Firefox 2.0.0.11 and IE 7.0.5730.11.

Sincerely yours ksksks

Hi everybody,

I'm now using xajax for more than a year and its very usefull and easy to use. But today I got to a point where I have to ask the pros ;-)

"I want to replace a full tag on the client side."
The problem: I get an image-tag from a smarty template (so there is no way to get the attributes from the tag and use the replace method) and have to replace an existing image-tag with the tag from the template engine.
Is there a clean and simple "xajax-style" way to do this (without the need of a parent container)?