Submitted by Dan L Herman on Feb 6, 2012 1:36:58 PM

Re: XPages: CheckBox Group and Radio Button Group, using those 'Other' controls in XPages.

Dwain,

See this link below for how to format multiple columns for checkboxes or radio button groups:

http://dontpanic82.blogspot.com/2011/04/simple-trick-to-format-xpages-checkbox.html?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+dontpanic82+%28DontPanic+-+a+blog+about+Lotus+Notes+%2F+Domino%29

It works just by using some CSS. Works well for me.

Submitted by Robert F Harwood on Jan 13, 2012 10:43:54 AM

Re: XPages: CheckBox Group and Radio Button Group, using those 'Other' controls in XPages.

checked

Submitted by Dwain A Wuerfel on Sep 23, 2011 6:18:16 PM

Re: XPages: CheckBox Group and Radio Button Group, using those 'Other' controls in XPages.

Is there a way to mirror the notes client checkbox functionality where you can display your values in multiple columns?

Submitted by JP Shelley on Aug 9, 2010 7:20:56 AM

XPages: CheckBox Group and Radio Button Group, using those 'Other' controls in XPages.

Whilst searching for something else came across the Snippets doc ...

http://www-10.lotus.com/ldd/ddwiki.nsf/dx/Snippets%20-%20CheckBox%20Group%20and%20Radio%20Button%20Group.txt/$file/Snippets%20-%20CheckBox%20Group%20and%20Radio%20Button%20Group.txt

Submitted by JP Shelley on Aug 9, 2010 6:10:06 AM

XPages: CheckBox Group and Radio Button Group, using those 'Other' controls in XPages.

For all missing images, not just 5b and c, see Version 21. Though where the "download" and "snippets document" are, I don't know.

Submitted by Robert Shaver on Apr 7, 2010 5:55:32 PM

XPages: CheckBox Group and Radio Button Group, using those 'Other' controls in XPages.

Fig 5b and Fig 5c are missing.

Submitted by Paul Hannan on Mar 2, 2009 5:40:17 AM

The differences between partial and full update

Hi Sean,

Sorry for not getting back to you sooner on this

Yes full update has a bigger perfromance hit as you're submitting the whole page with that action. With partial update you're only submitting that element you specify, like a panel or a table cell for example, so hit on the page refresh is considerably smaller.

See this video of partial update - http://www-10.lotus.com/ldd/ddwiki.nsf/dx/XPages_Partial_Update.htm

paul_hannan@ie.ibm.com

Submitted by sean cull on Feb 19, 2009 5:23:43 AM

newbie question - full update V's partial update

Paul, many thanks for this article and the nsf download.

In the onchange properties for the SelectCounty Combobox the server options includes "Full Update".

What impact does this have as when I set it to no update the code still works. Does full update carry more overhead than partial update ?

Thanks, Sean

Submitted by Paul Hannan on Nov 28, 2008 5:27:53 AM

Not seeing this issue on the latest

Hi Juan,

Sorry for not getting back to you sooner on this.

I'm not able to reproduce the issue you're seeing on the latest build (which is pretty much the gold build), though it might have been an issue on earlier builds.

Do you know which build you've got this issue upon and do you have a stack trace?

Regards,

Paul.

Submitted by Juan Blanco on Nov 19, 2008 6:31:59 AM

Possible solutions

1) For the first error I suggest the follow solution:

In the event "querySaveDocument":

var component=getComponent("nameOfCheckBoxGroup").getAttributes().get("value");

if (component!=null && component.getClass().getSimpleName()=="String")

dataSource.setValue("fieldOfForm", new Array("",component));

The problem is that when you edit the document, the CheckBoxGroup control needs an Array as value. If you only select a checkbox before saving the document, the value of CheckBoxGroup will be a String, not a Array.

This solution has got a problem, in the view appears a entry as "Not Categorized".

2) For the second error I suggest the follow solution:

In the event "onChange"

getComponent("nameOfCheckBoxGroup").getAttributes().put("value",new Array());

The reason is the same that in the another error: the CheckBoxGroup control needs an Array as value, not a string.

Submitted by Juan Blanco on Nov 19, 2008 4:37:19 AM

Another mistake

If you selected only a checkbox of the cities and then selected other country the page reports a error.

Submitted by Juan Blanco on Nov 19, 2008 3:07:40 AM

A Mistake

There is a mistake when you only select one checkbox of the checkboxgroup and save the document; then if you try to edit the document the page reports a error