[Lift] Re: Dynamic radio button

2009-10-27 Thread Derek Chen-Becker
I think that we should be able to provide an SHtml.ajaxRadio method that
generates an AJAXified radio button. Please file an issue.

Derek

On Thu, Oct 22, 2009 at 4:06 PM, sunanda  wrote:

>
> Hi Derek,
>
> I am displaying the contents of a table in ReadOnly mode as follows.
> The sample code is given below
>
>  
>   
>Display Name
>   {coldef.displayname}
>   
>   
>   Require Cookies for Link 
>{coldef.requirecookies}
>   
>Edit2 button>
> 
>
> onclick of Edit2 button I make it editable by making the
> coldef.displayname using ajaxText. But the coldef.requirecookies is a
> raidio button field(which has got two options "Yes" and "No")
> Hence in editable mode I need to insert two radio buttons (with one
> button checked based on the value of coldef.requirecookies) .  I was
> able to insert using Shtml.radio
> But I need to do ajax call on click of the button to modify the value
> of requirecookies field.
>
> Could you please suggest me how to achieve this.
> Thanks
> Sunanda
>
>
>
>
>
>
>
> On Oct 23, 1:39 am, Derek Chen-Becker  wrote:
> > I don't quite understand what you're trying to do. Could you give some
> more
> > details? Are you trying to add more radios to an existing radio button
> set?
> >
> >
> >
> > On Wed, Oct 21, 2009 at 8:45 PM, sunanda 
> wrote:
> >
> > > Hi,
> > > I need to add radio button dynamically with one of the button checked
> > > and  I need to invoke ajaxCall onclick of a radio button.
> > > How can I do this.
> > > Sunanda- Hide quoted text -
> >
> > - Show quoted text -
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: Dynamic radio button

2009-10-22 Thread sunanda

Hi Derek,

I am displaying the contents of a table in ReadOnly mode as follows.
The sample code is given below

 
   
Display Name
   {coldef.displayname}
   
   
   Require Cookies for Link 
{coldef.requirecookies}
   
Edit2


onclick of Edit2 button I make it editable by making the
coldef.displayname using ajaxText. But the coldef.requirecookies is a
raidio button field(which has got two options "Yes" and "No")
Hence in editable mode I need to insert two radio buttons (with one
button checked based on the value of coldef.requirecookies) .  I was
able to insert using Shtml.radio
But I need to do ajax call on click of the button to modify the value
of requirecookies field.

Could you please suggest me how to achieve this.
Thanks
Sunanda







On Oct 23, 1:39 am, Derek Chen-Becker  wrote:
> I don't quite understand what you're trying to do. Could you give some more
> details? Are you trying to add more radios to an existing radio button set?
>
>
>
> On Wed, Oct 21, 2009 at 8:45 PM, sunanda  wrote:
>
> > Hi,
> > I need to add radio button dynamically with one of the button checked
> > and  I need to invoke ajaxCall onclick of a radio button.
> > How can I do this.
> > Sunanda- Hide quoted text -
>
> - Show quoted text -
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: Dynamic radio button

2009-10-22 Thread Derek Chen-Becker
I don't quite understand what you're trying to do. Could you give some more
details? Are you trying to add more radios to an existing radio button set?

On Wed, Oct 21, 2009 at 8:45 PM, sunanda  wrote:

>
> Hi,
> I need to add radio button dynamically with one of the button checked
> and  I need to invoke ajaxCall onclick of a radio button.
> How can I do this.
> Sunanda
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---