Dan L Herman commented on Feb 6, 2012

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.

Robert F Harwood commented on Jan 13, 2012

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

checked

Dwain A Wuerfel commented on Sep 23, 2011

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?

JP Shelley commented on Aug 9, 2010

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

JP Shelley commented on Aug 9, 2010

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.

Robert Shaver commented on Apr 7, 2010

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

Fig 5b and Fig 5c are missing.

sean cull commented on Feb 19, 2009

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

Paul Hannan commented on Nov 28, 2008

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.

Juan Blanco commented on Nov 19, 2008

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.

Juan Blanco commented on Nov 19, 2008

Another mistake

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

Juan Blanco commented on Nov 19, 2008

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