This, that and the other (may contain nuts)

XPage Control: Multi Select Dialog Picker

Steve Castledine  March 16 2010 06:18:43 AM
I have just released an XPages Multi Select Dialog Picker control on OpenNTF.

The multi-select dialog picker allows you to specify a Lotus Notes View/column based data source, or via an api any list you may choose and return a list of selected values. There is full documentation here. You can also bind to any field for automatic selection and updating of values.

I will write a follow up article on some of the client side coding techniques.

Image:XPage Control: Multi Select Dialog Picker
Further features:


1) The picker can easily be bound to an existing editable field or values returned via api.

2) Allows users to add new values, or via property disallow this function

3)Multiple use on one page.

4) Data can come from existing database, db on existing server, or db on another server

5) Background colors, list height and width, titles etc can be set via properties

6) Extends Dijit.dialog so can be hidden, shown etc using usual dojo api

7)Self contained – so just one custom control to drag and drop (no code or css files to copy as well).

8)Cross browser and XPages Client compatible
Comments

1John Turnbow  3/16/2010 7:24:35 AM GMT -6  XPage Control: Multi Select Dialog Picker

Nice work Steve...

Is there a setting for "single select"?

2Nathan T. Freeman  3/16/2010 7:49:58 AM GMT -6  XPage Control: Multi Select Dialog Picker

Thanks Steve! This looks very intriguing. Can't wait to try it out!

3Benoit Dubuc  3/16/2010 1:08:06 PM GMT -6  XPage Control: Multi Select Dialog Picker

This is great, Steve. Thanks a lot for sharing. I find it's little things like this that are missing from the xpages, things that mimic what is available in Notes and "standard" web controls like a multi select combo box!

Excellent work, and excellent timing as I have a need for that right now!!! : )

4Sean Cull  3/17/2010 3:03:51 AM GMT -6  XPage Control: Multi Select Dialog Picker

thanks Steve

5Joy  3/20/2010 9:42:13 AM GMT -6  XPage Control: Multi Select Dialog Picker

Hi Steve,

Thanks for you solution, But I am unable to use the code. I downloaded your demo. When I opened "test.xsp" in browser I got an error " Invalid Pointer" at this line...

<xp:scriptBlock id="scriptBlock2" value="var hasloaded#{javascript:compositeData.dialogID}=false;var l#{javascript:compositeData.dialogID}=new Array();"></xp:scriptBlock>

Please help me....

Thanks again

Joy

6Joy  3/20/2010 10:31:37 AM GMT -6  XPage Control: Multi Select Dialog Picker

Hi Seteve,

One finding....the solution worked perfectly in firefox 3.0.

But in internet explorer 6.0 I got the error during loading I reported in my previous post....

Thanks

Joy

7Ben  4/7/2010 2:19:52 AM GMT -6  XPage Control: Multi Select Dialog Picker

Hi Steve,

i have to agree. really nice work.

but i have the same question as john.

is there a single select or at least a thought about that?

8vinc  4/15/2010 1:17:46 AM GMT -6  XPage Control: Multi Select Dialog Picker

for single selector just replace inside the code of the CC, type="checkbox" by type="radio" !

It works !

9Cisse  5/4/2010 7:04:26 AM GMT -6  XPage Control: Multi Select Dialog Picker

Hi Steeve,

Thank you for sharing,

I encountered the same problem Joy described, is there a way to make it work with IE6 ?

Thanks,

10Christian  6/4/2010 7:40:09 AM GMT -6  XPage Control: Multi Select Dialog Picker

Is there a way to make it work with IE ?

Danke

11Sjef Bosman  6/19/2010 11:31:00 AM GMT -6  XPage Control: Multi Select Dialog Picker

Hi Steve,

We created an XPage with 2 MultiSelect dialog boxes. Under Firefox, they really look great, but IE7 messes everything up. What happens is that the fields of the box are already visible on the page, even when show() hasn't been called yet. AT the same time, IE tells me that there's an error on the page, line 21 position 18369...

Have you any idea what I can do? Is this "known behaviour"? Hope not...

Thanks!

Regards, Sjef

12Sjef Bosman  6/27/2010 6:32:47 AM GMT -6  XPage Control: Multi Select Dialog Picker

Here's maybe a useful contribution: I wanted to use fixed values in a dialog box, so I added a property 'selectionValues', and some code in the repeat1 control. Its start now reads:

var thisDB=@DbName();

if(@Trim(compositeData.selectionValues)!="")

return @Explode(compositeData.selectionValues, ",");

Hope it helps someone.

Regards,

Sjef

13Sjef Bosman  8/16/2010 10:34:21 AM GMT -6  XPage Control: Multi Select Dialog Picker

Hi Steve,

I solved the problem with the MSD picker in IE, and I added some code and properties to make it more versatile.

Please send me a mail if you're interested. Of course, I wouldn't like to add what I changed to OpenNTF without your expert opinion.

Regards,

Sjef

14Srinivas KOTARU  8/16/2010 10:17:10 PM GMT -6  XPage Control: Multi Select Dialog Picker

@13, Hi, Can you share the fix you applied for making this work in IE6? Thanks a lot.

15Sjef Bosman  8/17/2010 4:11:18 PM GMT -6  XPage Control: Multi Select Dialog Picker

I'd love to share the fix, but I'd like to communicate my modifications with Steve first. I hope to do so within a week or two. Otherwise I'll try to comment on the modifications on OpenNTF somewhere.

16Andy Summers  8/20/2010 4:25:01 AM GMT -6  XPage Control: Multi Select Dialog Picker

Sjef - I'm having the same problem with IE7 as well, is there any chance you can post the solution or at least point me in the right direction in the code please? My boss keeps hassling me to get it fixed haha!

Steve - thanks for a great article :-)

17Sjef Bosman  8/20/2010 12:03:09 PM GMT -6  XPage Control: Multi Select Dialog Picker

Ok, here's how to remove the bug...

- open the source tab of the MSD picker

- search for the line with pickListBox

- make sure it ends like compositeData.dialogTitle+"\"><span>"}]]></xp:this.value>

- so you need to add <span>

- now search for the line with "</div>" (including the double quotes)

- change it into "</div></span>"

- so you add </span>

That should do it!

Sjef

18Andy Summers  8/23/2010 7:09:36 AM GMT -6  XPage Control: Multi Select Dialog Picker

Sjef - thanks for the fix, works perfectly now.

19Kenshin  11/25/2013 8:59:40 PM GMT -6  XPage Control: Multi Select Dialog Picker

May i know the new value, can it be store inside the View, for future use?

I test the item already, but it only allow for session only. Mean after you close the window. The value will be remove.

20  12/15/2013 11:42:32 PM GMT -6  XPage Control: Multi Select Dialog Picker

21Khanh Do  9/29/2014 3:07:42 AM GMT -6  XPage Control: Multi Select Dialog Picker

hi Steve Castledine!!

I have trouble with large data when using multi select dialog Picker.I can pager in it ?? If it can,please guide me to create it.Thanks so much!!

22Khanh Do  9/29/2014 3:07:43 AM GMT -6  XPage Control: Multi Select Dialog Picker

hi Steve Castledine!!

I have trouble with large data when using multi select dialog Picker.I can pager in it ?? If it can,please guide me to create it.Thanks so much!!

23Khanh Do  9/29/2014 3:07:53 AM GMT -6  XPage Control: Multi Select Dialog Picker

hi Steve Castledine!!

I have trouble with large data when using multi select dialog Picker.I can pager in it ?? If it can,please guide me to create it.Thanks so much!!

24Khanh Do  9/29/2014 3:07:53 AM GMT -6  XPage Control: Multi Select Dialog Picker

hi Steve Castledine!!

I have trouble with large data when using multi select dialog Picker.I can pager in it ?? If it can,please guide me to create it.Thanks so much!!

25Khanh Do  9/29/2014 3:07:53 AM GMT -6  XPage Control: Multi Select Dialog Picker

hi Steve Castledine!!

I have trouble with large data when using multi select dialog Picker.I can pager in it ?? If it can,please guide me to create it.Thanks so much!!

26Khanh Do  9/29/2014 3:08:03 AM GMT -6  XPage Control: Multi Select Dialog Picker

hi Steve Castledine!!

I have trouble with large data when using multi select dialog Picker.I can pager in it ?? If it can,please guide me to create it.Thanks so much!!

27Khanh Do  9/29/2014 3:08:03 AM GMT -6  XPage Control: Multi Select Dialog Picker

hi Steve Castledine!!

I have trouble with large data when using multi select dialog Picker.I can pager in it ?? If it can,please guide me to create it.Thanks so much!!

28Khanh Do  9/29/2014 3:08:13 AM GMT -6  XPage Control: Multi Select Dialog Picker

hi Steve Castledine!!

I have trouble with large data when using multi select dialog Picker.I can pager in it ?? If it can,please guide me to create it.Thanks so much!!

29Khanh Do  9/29/2014 3:08:13 AM GMT -6  XPage Control: Multi Select Dialog Picker

hi Steve Castledine!!

I have trouble with large data when using multi select dialog Picker.I can pager in it ?? If it can,please guide me to create it.Thanks so much!!

30Khanh Do  9/29/2014 3:08:13 AM GMT -6  XPage Control: Multi Select Dialog Picker

hi Steve Castledine!!

I have trouble with large data when using multi select dialog Picker.I can pager in it ?? If it can,please guide me to create it.Thanks so much!!

31Khanh Do  9/29/2014 3:08:23 AM GMT -6  XPage Control: Multi Select Dialog Picker

hi Steve Castledine!!

I have trouble with large data when using multi select dialog Picker.I can pager in it ?? If it can,please guide me to create it.Thanks so much!!

32Khanh Do  9/29/2014 3:08:33 AM GMT -6  XPage Control: Multi Select Dialog Picker

hi Steve Castledine!!

I have trouble with large data when using multi select dialog Picker.I can pager in it ?? If it can,please guide me to create it.Thanks so much!!

33Khanh Do  9/29/2014 3:08:33 AM GMT -6  XPage Control: Multi Select Dialog Picker

hi Steve Castledine!!

I have trouble with large data when using multi select dialog Picker.I can pager in it ?? If it can,please guide me to create it.Thanks so much!!

34Khanh Do  9/29/2014 3:08:33 AM GMT -6  XPage Control: Multi Select Dialog Picker

hi Steve Castledine!!

I have trouble with large data when using multi select dialog Picker.I can pager in it ?? If it can,please guide me to create it.Thanks so much!!

35cialis  4/15/2015 5:06:20 PM GMT -6  cialis

Hello!

<a href="{ Link } ,

36cialis  4/16/2015 2:33:08 AM GMT -6  buying cialis online

Hello!

<a href="{ Link } cialis online</a> ,

37cialis  4/19/2015 11:03:52 AM GMT -6  cialis

Hello!

<a href="{ Link } ,

38cialis  4/19/2015 4:01:49 PM GMT -6  cheap cialis online

Hello!

<a href="{ Link } cialis online</a> ,

39discount_viagra  4/22/2015 10:28:05 AM GMT -6  discount viagra

Hello!

<a href="{ Link } viagra</a> , <a href="{ Link } online pharmacy</a> ,

40cialis  4/25/2015 5:46:55 AM GMT -6  cialis

Hello!

<a href="{ Link } , <a href="{ Link } ,

41cialis_pills  4/27/2015 9:03:03 AM GMT -6  cialis pills

Hello!

<a href="{ Link } online pharmacy</a> , <a href="{ Link } pills</a> ,

42purchase_cialis  4/27/2015 11:47:21 AM GMT -6  purchase cialis

Hello!

<a href="{ Link } viagra</a> , <a href="{ Link } cialis</a> ,

43dosage  4/27/2015 11:03:13 PM GMT -6  cialis dosage dose

Hello!

<a href="{ Link } prescription viagra</a> , <a href="{ Link } dosage dose</a> ,

44purchase_cialis  4/28/2015 1:40:27 AM GMT -6  purchase cialis

Hello!

<a href="{ Link } viagra</a> , <a href="{ Link } cialis</a> ,

45discount_viagra  5/1/2015 1:55:36 AM GMT -6  discount viagra

Hello!

{ Link } , , { Link } , ,

46discount_viagra  5/2/2015 12:43:26 AM GMT -6  discount viagra

Hello!

{ Link } , , { Link } , ,

47without  5/6/2015 10:46:44 AM GMT -6  cialis without prescription

Hello!

{ Link } , , { Link } , ,

48suppliers  5/7/2015 3:57:28 PM GMT -6  viagra suppliers in the uk

Hello!

{ Link } , , { Link } , ,

49generic  5/8/2015 3:27:23 AM GMT -6  ordering generic cialis from india

Hello!

{ Link } , , { Link } , ,

50online  5/8/2015 3:27:25 AM GMT -6  cialis online no presription

Hello!

{ Link } , , { Link } , ,

51viagra  5/8/2015 8:00:08 AM GMT -6  viagra

Hello!

{ Link } , , { Link } , ,

52generic_viagra  5/8/2015 8:52:50 PM GMT -6  generic viagra

Hello!

{ Link } , , { Link } , ,

53at  5/8/2015 10:04:14 PM GMT -6  cialis at discount prices

Hello!

{ Link } , , { Link } , ,

54viagra_reviews  5/13/2015 9:19:31 AM GMT -6  viagra reviews

{ Link } , { Link } ,

55viagra_price  5/15/2015 2:22:36 PM GMT -6  viagra price

{ Link } , { Link } ,

56cialis  5/15/2015 9:23:42 PM GMT -6  buy cialis toronto

{ Link } , { Link } ,

57cialis_sale  5/19/2015 3:03:40 PM GMT -6  cialis sale

Hello!

{ Link } , , { Link } , ,

58free_viagra  5/20/2015 6:28:31 PM GMT -6  free viagra

{ Link } , { Link } ,

59side  5/21/2015 2:04:48 PM GMT -6  viagra side effects

{ Link } , { Link } ,

60soft  6/4/2015 5:31:50 AM GMT -6  cialis soft tabs online purchase

{ Link } , { Link } ,

61for  6/4/2015 9:42:58 PM GMT -6  XPage Control: Multi Select Dialog Picker

{ Link } , { Link } ,

62uk  6/5/2015 1:42:47 AM GMT -6  XPage Control: Multi Select Dialog Picker

{ Link } , { Link } ,

63without  6/19/2015 7:50:41 AM GMT -6  cialis without prescription

{ Link } , { Link } ,

64viagra  6/20/2015 7:42:57 AM GMT -6  order viagra online

{ Link } , { Link } ,

65viagra  6/20/2015 11:45:18 AM GMT -6  generic viagra sildenafil

{ Link } , { Link } ,

66impotence  7/6/2015 10:36:51 AM GMT -6  cheap impotence drug generic cialis delivery

{ Link } , { Link } ,

67fast  7/8/2015 12:03:50 PM GMT -6  cialis fast delivery

{ Link } , { Link } ,

68purchase  7/10/2015 10:24:02 AM GMT -6  cialis purchase online

{ Link } , { Link } ,

69fast  7/17/2015 9:49:29 AM GMT -6  viagra fast delivery

{ Link } , cialis ,

70cheap  7/17/2015 2:24:41 PM GMT -6  buy cheap cialis

{ Link } , { Link } ,

71cialis  7/17/2015 8:07:38 PM GMT -6  cheap cialis site

{ Link } , cialis ,

72fast  7/18/2015 9:16:07 AM GMT -6  viagra fast delivery

{ Link } , cialis ,

73cialis  7/19/2015 6:47:45 AM GMT -6  purchase cialis online

{ Link } , cialis ,

74cheap_viagra  7/21/2015 10:01:19 AM GMT -6  cheap viagra

{ Link } , { Link } ,

75buy_cialis  7/23/2015 12:40:52 PM GMT -6  buy cialis

Hello!

{ Link } , , { Link } , ,

76generic_viagra  7/23/2015 4:12:58 PM GMT -6  generic viagra

{ Link } , { Link } ,

77buy_cialis  7/24/2015 1:51:38 AM GMT -6  buy cialis

Hello!

{ Link } , , { Link } , ,

78generic_cialis  7/28/2015 5:30:58 PM GMT -6  generic cialis

{ Link } , { Link } ,

79viagra_price  8/22/2015 5:35:13 AM GMT -6  viagra price

{ Link } , { Link } ,

80cialis  8/29/2015 7:45:27 AM GMT -6  cialis

{ Link } , { Link } ,

81cialis  9/6/2015 2:58:26 PM GMT -6  buy cialis at a discount

Hello!

{ Link } , , { Link } , ,

82viagra  9/12/2015 5:42:01 PM GMT -6  viagra

Hello!

{ Link } , , { Link } , ,

83viagra  9/23/2015 7:33:23 PM GMT -6  viagra

{ Link } , { Link } ,

84cialis  9/26/2015 10:45:05 AM GMT -6  cheap cialis india

{ Link } , { Link } ,

85with  10/7/2015 11:55:47 AM GMT -6  problems with viagra

{ Link } , { Link } ,

86viagra_canada  10/8/2015 3:50:27 AM GMT -6  viagra canada

{ Link } , { Link } ,

87viagra  10/28/2015 3:09:54 PM GMT -6  buy viagra on the internet

Hello!

{ Link } , , { Link } , ,

88online  10/29/2015 2:33:00 AM GMT -6  cialis online get cialis cheapest

Hello!

{ Link } , , { Link } , ,

89viagra  10/29/2015 3:47:22 PM GMT -6  get viagra online

Hello!

{ Link } , , { Link } , ,

90without  11/7/2015 6:25:44 PM GMT -6  viagra without a doctor prescription from canada

{ Link } , { Link } ,

91without  11/11/2015 4:39:18 AM GMT -6  cialis without a doctors prescription canada

{ Link } , { Link } ,

92without  11/11/2015 5:39:15 PM GMT -6  viagra without a doctor prescription from canada

{ Link } , { Link } ,

93without  11/13/2015 5:51:32 AM GMT -6  viagra without a doctor prescription

{ Link } , { Link } ,

94price  11/17/2015 4:25:08 PM GMT -6  best price viagra

{ Link } , { Link } ,

95low  11/18/2015 2:09:45 PM GMT -6  generic low price cialis

{ Link } , { Link } ,

96viagra  11/25/2015 4:56:25 PM GMT -6  buy viagra online from canada

{ Link } , { Link } ,

97cialis  12/24/2015 8:20:09 AM GMT -6  buy cialis online no prescription

Hello!

{ Link } , , { Link } , ,

98viagra  12/24/2015 4:50:12 PM GMT -6  buy viagra cheap

Hello!

{ Link } , , { Link } , ,

99buy_cialis  12/25/2015 12:34:31 AM GMT -6  buy cialis

Hello!

{ Link } , , { Link } , ,

100JonnyBravo  2/7/2017 6:18:17 AM GMT -6  XPage Control: Multi Select Dialog Picker

Useful information for those who have drawn support. Phones, useful links. Large companies handbook.

{ Link } 1800 numbers customer service

101Chaussures Yeezy Boost 350  2/22/2017 5:00:56 AM GMT -6  XPage Control: Multi Select Dialog Picker

I have trouble with large data when using multi select dialog Picker.I can pager in it ??

102شركة ضي الرحمن  5/28/2017 4:00:07 PM GMT -6  XPage Control: Multi Select Dialog Picker

<a href="{ Link } شركة تسليك مجارى بسيهات وعنك</a>