On Fri, Oct 26, 2012 at 4:53 PM, tonym <
blymi...@gmail.com> wrote:
> Just implemented hot-input in a form, and it works great when editing an
> existing record but doesn't seem to work when creating a new record...
>
> <venuetype-view:><hot-input ajax /></venuetype-view:>
> <name-label:><%= @this.venuename %> Name</name-label:>
>
> label changes correctly when changing the 'venuetype' when editing, always
> blank when creating a new record.
>
> May be I need something different to @this.venuename to always get the live
> field change? or is this a bug?
Try @foo.venuename or this.venuename (without the @). Those are the
two canonical usages. @this is one of those things that works by
"accident" but isn't tested or documented.
If that doesn't work, please create a new issue on Github and I'll look into it.
>
> Also, I tried to edit the <hot-input> cookbook page, as there are a few
> typos in the example, but I get a github 404 error.
Yes, that's really annoying. If you log into github from that 404
page, it'll take you to the correct page. I've got a report filed
with Github. If you want to be helpful, please also file a bug
report. I suspect that issues that are reported more than once are
accorded a higher priority. :)
Say something like
"If I click the 'edit this page' link from
http://cookbook-1.4.hobocentral.net/tagdef/hobo_rapid/inputs/hot-input,
I get a 404 error. Yet the page does exist; if I log in, then it
takes me to the correct page. Could you please fix it so that it
shows a "please log in" page rather than a "404" page?
thanks,
Bryan
>
> Thanks, Anthony.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Hobo Users" group.
> To view this discussion on the web visit
>
https://groups.google.com/d/msg/hobousers/-/03_V2xLTIX8J.
> To post to this group, send email to
hobo...@googlegroups.com.
> To unsubscribe from this group, send email to
>
hobousers+...@googlegroups.com.
> For more options, visit this group at
>
http://groups.google.com/group/hobousers?hl=en.