Hi,

   You need to install your ajax component at the root of your mason
hierarchy. Additionaly, you ll have to set apache so it can process requests
made to /ajax through mason.

J

Jerome Eteve - www.eteve.net

On Jun 10, 2009 12:10 PM, "MK" <halfcountp...@intergate.com> wrote:

On 06/09/2009 10:02:05 PM, RJ Herrick wrote: > I have found the firebug
add-on for firefox to be in...
Firebug doesn't report any of this stuff.  It was not, in fact, a css
error; it was because no matter how I quoted in or outside the
variable, there was no way to stop this

onclick="mainmenu(<p class='xx'>hello world<p>)"

being what was produced in the page source* by using

onclick="mainmenu('<& mason.comp &>')"

Fortunately, of course, that is what Ajax.Updater is for.  RonR had
wrapper functions for the ajax stuff, so I had to dig into the
underlying js.  Fewer layers of abstraction is part of what I was
hoping to find in mason, so I guess there it is!

Here's a problem I just noticed tho...Ajax.Updater calls the resource
("mason.comp") and puts it into the right place, but the mason was not
processed! I have solved this by adding a LocationMatch in apache conf
for "\.comp" -- I did not have to do that to get them correctly
processed when they were part of a component chain call in a page that
was already processed by mason; ie, using ajax breaks this chaining.
Is my solution good enough, or is there a better/more conventional
method?

I found some scant references to a "Component Ajax" here:

http://www.masonhq.com/?Component:ajax

but the syntax in there (<& /ajax, ...) does not work (invalid
component or something), implying to me this is an optional module, but
I can find no info on that or further references to such a thing thru
google.

Your interest and advice is appreciated!

__MK

*and that did some very wierd things

------------------------------------------------------------------------------
Crystal Reports - Ne...
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to