OK, I implemented this today. It seems to work except for the Ajax
updating. The problem seems to be that the typed_id is not being
substituted into the id field.
The code for the H2 version is here:
http://pastie.org/5187078
and, as an example, the generated HTML is:
http://pastie.org/5187103
(that HTML gets a little chewed up in Pastie, but I think it is
parseable)
Any ideas about what might prevent typed_id from being generated?
Thanks so much!
On Friday, October 19, 2012 12:06:36 PM UTC-7, Bryan Larsen wrote:
>
> You can replace ajax with update="companyuserform-#{typed_id}" and it
> should work on 1.3 too. Also on 1.3 it will be more difficult to get
> it to display inline rather than using block styling.
>
> Bryan
>
> On Fri, Oct 19, 2012 at 2:56 PM, [email protected] <javascript:>
> <[email protected] <javascript:>> wrote:
> > Cool.
> >
> > This would not work in 1.3, bcs. fo the Ajax keyword, right?
> >
> >
> > On Friday, October 19, 2012 11:52:38 AM UTC-7, Bryan Larsen wrote:
> >>
> >> Off the top of my head:
> >>
> >> <form ajax>
> >> <hidden-field:id/>
> >> <hidden-field:pledged-date value="&Date.today"/>
> >> <submit label="Yes"/>
> >> </form>
> >>
> >> Bryan
> >>
> >> On Fri, Oct 19, 2012 at 2:48 PM, [email protected]
> >> <[email protected]> wrote:
> >> > I have a 1.3 app that uses an <update-button> tag. I am planning to
> >> > migrate
> >> > the app to 2.0, so I see in the release notes that I need to replace
> the
> >> > <update-button>.
> >> >
> >> > The current tag using it is here:
> >> >
> >> > http://pastie.org/5085380
> >> >
> >> > Can I get some guidance on the best way to replace the
> <update-button>
> >> > on
> >> > line 11 with a 2.0-compatible construct?
> >> >
> >> > Thanks!
> >> >
> >> > --
> >> > 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/-/DGBla5zVWMQJ.
> >> > To post to this group, send email to [email protected].
> >> > To unsubscribe from this group, send email to
> >> > [email protected].
> >> > For more options, visit this group at
> >> > http://groups.google.com/group/hobousers?hl=en.
> >
> > --
> > 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/-/ZK_pRok6vNwJ.
> >
> > To post to this group, send email to [email protected]<javascript:>.
>
> > To unsubscribe from this group, send email to
> > [email protected] <javascript:>.
> > For more options, visit this group at
> > http://groups.google.com/group/hobousers?hl=en.
>
--
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/-/F8D1APAsmIUJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/hobousers?hl=en.