Upgrading MonoRail - $HtmlHelper.InputFile & $HtmlHelper.DateTime missing? - castle-monorail

I upgraded MonoRail to the latest version and now $HtmlHelper.InputFile and $HtmlHelper.DateTime don't get parsed. Were these removed and are there equivalents for these now?
Thanks,
Justin

$HtmlHelper.InputFile is now $FormHelper.FileField.
It appears that $HtmlHelper.DateTime is gone, even though I see documentation for it and haven't seen anything online indicating that it has been removed. I ended up replacing it with a textbox and using a jQuery date picker.

Related

Fancytree Tooltip API

I have been using Fancytree quite successfully for several years. Of late a new requirement has arisen. I would like to change the tooltip for a node that is currently visible. Is there a way to do this? How? Using an API? I have tried changing the tooltip property of an existing Fancytree node. Strangely, this did not work. What will work? Thank you.
Over on Github, this was resolved by Mr. Wendt. He suggested calling node.renderTitle() after modifying node.tooltip (which was correct) and he found a typo in my code. See Github issue #1093

Tree-View LINKING in Doxygen

In DOXYGEN, initially before Generate_TreeView is checked (i.e, when disabled), when I click on the side function choosing pane, I get the correct documentation of the function. But after Generate_TreeView is checked and when clicked on any function to view its corresponding documentation it shows the File reference instead of documentation. One thing to be noted is : I am generating separate member pages for all the functions.
I got the solution !! Make sure you have checked "SEPARATE_MEMBER_PAGES" in DOXY-Wizard !! I had the following issue in DOYGEN 1.8.4 but once I started using DOXYGEN 1.8.7, the issue got resolved !! Just a version issue !!

Mysterious FireBug Error repeats with ExtJS

When debugging ExtJS 4 (tried both versions 4.1.0 and 4.1.1), FireBug repeatedly shows the following error: An invalid or illegal string was specified
http://docs.sencha.com/ext-js/4-1/extjs/ext-all.js
Line 18. It does not break on the error, though that option is specified. Additionally, neither my code or ext-debug.js and it's loader seem to actually call ext-all.js.
This error gets logged to Firebug's console about once per minute, which is annoying. What bothers me is that I cannot get the error to go away. Is this a FireBug bug? An ExtJS bug? Aliens? How can I debug the debugger?
I had the same problem before and I've solved it by removing a special character at the end of my JS file! (app.js I think)
It was weird, but the problem came from hidden special characters like: Zero-width non-joiner or Right-to-left mark.
Open another JS file but do not copy/paste your code there. Just write it again and check whether the problem exists or not.
And don't forget to check your data if you have some. As this article explains about the problem: http://www.ashorlivs.fr/javascript-jquery/article/an-invalid-or-illegal-string-was
For general debugging see this link http://www.sencha.com/learn/debugging-ext-js-applications/
You can also use ext-all-dev.js while in development mode.
There is another excellent tool on top of firebug, at this link http://www.illuminations-for-developers.com/
PS: I still didn't figured out how to post a comment. I guess it comes when I have more points/reputation. Hence adding it as an answer. thanks.

Why do I have an error on some Flattr buttons?

I've integrated Flattr with my Dotclear blog, using the appropriate plugin, and it works fine.
Except that, from time to time, some older posts have errors and I don't understand why.
See:
http://ploum.net/post/224-gpager-03-scenes-from-a-memory-finally-free
http://ploum.net/post/86-le-repas-de-noel-en-famille
those posts have nothing special and, yet, cannot be Flattered.
Could it be an issue on Flattr side ? Do you see what can cause that problem ?
Thanks in advance,
Seems like you're both using the new 0.6 version of the Flattr JavaScript API and a quite old 0.2 version. Using two versions at the same page can probably result in some pretty strange things - I would suggest just using the newer version that is documented here: https://flattr.com/support/integrate/js
Regarding why the button show an error - here's a bit of a secret way to find out: Look at the HTML for the button iframe and look within the div-tag with a "button-wrapper"-class - there you should find an HTML-comment that states the reason for the button error.
In your case the HTML-comment in the button iframe says "ERRORS: User couldn't be found and no owner specified." - which isn't strange since the iframe's URL has "0" specified as the uid-parameter - it should be a username instead.
Your script is disrupted by doublequotes in "var flattr_tle=", you should encode them with '"'

Expression Blend 4 Right to Left Issue

I have recently installed Expression Blend 4 and created a test Silverlight 4 project.
When I set the main page FlowDirection to RightToLeft the designer won't change the direction but if I run the application it will be displayed correctly.
Is this a bug or do I have to do something?
Thanks.
I believe you were the one who also put the post at the microsoft social site (available here) but since it took me a while to find it, I'll also put the response here:
Unni Ravindranathan - MSFT:
We do not support RTL on the design-surface, so what you are seeing is currently by design (the value that you set is ignored). We hope to be able to support it in the future, however.
Let's hope they would!