On 06/09/2009 10:02:05 PM, RJ Herrick wrote:

> I have found the firebug add-on for firefox to be invaluable when
> debugging client side (css/js) issues. That could help point out 
> which
> aspect of the differing sources is causing the difference in
> rendering.
> 
> RJ Herrick

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 - 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