XPages sample application - download the Survey Tool demoed at Lotusphere 09 session AD20701/28/2009 07:55 AM1. John Turnbow01/28/2009 06:55:17 PM
Homepage: http://www.recondite2.com
Hi John,
Thanks for your hard work. I have not received an email though.. Just checking..
Thanks
2. John Mackey01/28/2009 07:55:13 PM
Homepage: http://www.jmackey.net
@John. I sent you an email directly with the url. Not sure if there is an issue with the registration routine or not. If anyone else experiences an issue, please post a comment. Thanks!
John
3. Matthias01/29/2009 02:53:42 AM
John,
nice application. Registering is working and i got a link.
I have one little problem when creating a new survey. I cannot add new questions to it. Even when I save nothing is saved and i see the predefined surveys and not mine.
Did i miss something here?
4. John Mackey01/29/2009 03:24:32 AM
@Matthias, try just entering the survey info on the first tab and then save/exit and it should work.
There seems to be an issue when saving after you navigated to a different tab. I have to identify the sequence, but the save buttons perform a "save all data sources" so it should not matter that you are on a different tab.
Let me know if that works for you...
John
5. Matthias01/29/2009 04:15:03 AM
@John, yes that works. Thanks
6. John Mackey01/31/2009 09:00:14 AM
@All, I found an XPages bug that Matthias pointed out. It seems that when a save occurs from an action within a tabbed panel, none of the fields in the other tabs are saved even though they share the same datasource. If the action button is placed outside of the tabbed panel, the data is saved from all of the tabs.
In the Survey Tool example, the "Add New Question" button on the Questions tab performs a document.save() which ends up discarding the first tabs data.
I posted the issue on the design partner forum. So for now until I have a resolution, just save any changes before adding questions by using the Save button on the top of the page.
John
7. Patrick Kwinten02/01/2009 11:41:43 AM
Homepage: http://quintessens.wordpress.com
I heard positive remarks from people who visited this presentation @Lotusphere.
Would be great if someone picked up this work and transfer it as a project on OpenNTF
8. Darin Dutcher02/05/2009 02:46:57 PM
Hi John. I am getting a runtimee error on pages that access your .jss file. I have signed the DB. Do I have to set some security in the server doc? The homepage works, but not the others. Thanks, Darin
The runtime has encountered an unexpected error.
Error source
Page Name:/Survey.xsp
Control Id: RptQuestions
Property: value
Exception
Error while executing JavaScript computed expression
Error while reading library '/SurveyFunctions.jss'
Error while parsing JavaScript code
9. Iftakhar Rasul02/20/2009 08:02:53 AM
hi John,
I couldn't preview it on the web. All I see is this -> '/'. Any idea?
regards,
Iftakhar
10. Daniel03/09/2009 06:33:15 AM
Hello John,
great work, i used your application to get into the "XPages thing". Thank you for that.
One Question: Do you think it is possible to save all the qestion data into one notes document instead of saving them into seperate documents? I tried to play with the simple data binding but i am not able to compute values there, with java script i was only able to display values, but not to entere values.
Thank you again,
Daniel
11. Renato03/11/2009 03:17:27 AM
John,
Very nice application.
I am getting this error on Survey Xpage:
The unknown tag xc:SurveyNavigator cannot be used as a control. - Survey.xsp - SurveyTool.nsf/XPages line 7 -
Can you help me?
Thanks
12. John Mackey03/17/2009 07:32:18 AM
Homepage: http://www.jmackey.net
@11, yes I duplicated this issue. Weird... Can you post it in the 8.5 forum and see if we can get an IBMer to look at it? { Link }
@10, I responded via email but wanted to post for others. Storing all the questions on a single document goes against the benefit of XPages and the separation of presentation from the data. You will also be challenged when you try to report on the data. Now with that said... it might be possible to dynamically generate the fields in the data binding using: Advanced - Expression Language(EL). All the other choices such as computing the field name, will only provide readonly access.
Here's a link to the EL documentation - { Link }
13. Joe03/31/2009 12:50:25 PM
John,
Great work. Doesn't work with IE8:
Webpage error details
Message: Member not found.
Line: 20
Char: 49436
Code: 0
URI: /domjs/dojo-1.1.1/dojo/dojo.js
14. John Mackey04/02/2009 04:37:55 AM
Homepage: http://www.jmackey.net
@Joe, I looked into this and see that IE8 is not currently supported. Here's a post from IBM on the issue: { Link }
-John
15. aymen04/08/2009 07:13:20 AM
Great work thanks a lot
16. Edwin05/25/2009 02:14:34 AM
Hi John
Great work, may I know if it's possible to starting using add new question in survey questions tab before saving the document first? seems the add new question button create nothing without being saved document.
Thanks & Regards
Edwin
17. Shyam06/08/2009 12:48:25 PM
Hi John,
Thanks a lot for the excellent article/tool.
I am somehow unable to "send out the survey".. Sent the survey to my own id.. The recipient tab does indicate that the survey was sent to my id, but have not received any mail so far..
Any idea what i may be missing here ?
18. John Mackey06/08/2009 01:03:11 PM
Homepage: http://www.jmackey.net
@Shyam, the "SendEmailInQueue" agent is disabled in the example by default. Once you enable it, it should send the emails (after you sign it of course). Take a look at the "vwEmailsToBeSent" and the email should be queued up to go.
19. David Clover10/16/2009 05:48:10 AM
Homepage: http://mct.open.ac.uk/it-dev-blog.nsf
Very neat and useful to study! However, every time I try to complete a test survey I get the message: Validation Error: Value is required.
Is that because it's only a test system in itself? I can see it working OK on the browser and the entries i have made are all coming up just fine!
But we can reverse engineer this a bit I expect.
David Clover
IT Development Manager
Maths, Computing and Technology Faculty
The Open University
Milton Keynes
MK7 6AA
Tel: 01908 653529
{ Link }
20. Roland Jaeggi11/26/2009 11:59:53 PM
Homepage: http://www.advances.ch
Hi John,
I tested your application which is very usefull. Do you know when dojo.js 1.3 will be available ? I did not found the answer.
Would it be easy to modify the application in order to make it non anonymous, in order to see who has answered and who not.
The "SendEmailInQueue" agent does not work properly, he sends only one mail at a time.
Thanks for your posting
21. Harry Mamba03/29/2010 01:04:21 AM
Hi,
Nice tool, I'm just starting to learn Lotus Domino, Notes and Quickr. I downloaded the .nsf file provided on your link. My question is, how can I make it to work? Where do I start?
Hoping you can help me with this.
Thank you.
Regards,
Harry
22. Gaurav Sapra05/06/2010 04:24:08 AM
Hi John,
Great Work. I have not received an email though..
Thanks
23. Aashita10/08/2010 07:51:12 AM
Hiii john,
first of all thanks.I have downloaded this nsf file..
i m trying to learn web development with x-pages coz i m new in web i have experience in Client.
i have one question it is necessary to download this nsf in server? coz i have downloaded in local..
Thanks
24. Steve10/20/2010 01:31:13 PM
Homepage: http://www.southcarolinablues.com
I'm looking forward to checking out this demo.
Thanks for putting it together.
25. Martin Louie10/25/2010 03:45:22 PM
Hi John,
I am new to XPAGES and feel this survey application encompasses everything and would love to look it over. I submitted the registration information yesterday and did not get anything. Thinking I did something wrong, I did it again today.
Thanks,
Martin
26. Pallavi Patil11/02/2010 12:55:49 AM
Hi John,
I registered the site but did not get any email. I would love to see this application as I am new to XPages
27. John Mackey11/02/2010 12:28:26 PM
Homepage: http://www.jmackey.net
Some folks have registered and not received emails. You should check your SPAM folders especially if you are using a Yahoo or Gmail account. The email is sent through my hosting company and I guess some sites see it as spam. This has been the case every time....
28. vijayasree01/26/2011 08:26:58 PM
Hello,
I have an XPage and am running server-side validation which works fine.
However, now that I have split my fields between tabs in a tabbed panel I am having problems. When saving, the server-side validation is only checking the current tab I am on (as if the other values have not loaded until I browse to the tab).
Does anyone know a way around this or a fix?
Thank you,
vijayasree
29. Adriana Díaz04/28/2011 08:35:40 AM
First, I want to say Thank you for share this aplication, is very usefull, and I work with it and use a lot.
This application runs perfect in Domino 8.5.1 but when I upgrade to 8.5.2, stops work. Do yo have noticed something like that or hear something about?
I Apreciate your help.
30. John Mackey04/28/2011 10:45:32 AM
Homepage: http://www.jmackey.net
Hi Adriana,
No one has mentioned this to me yet, so I'm surprised. Maybe no one is using 8.5.2 yet with this sample. I'll take a look, but have you tried to recompile it in 8.5.2?
Regards,
John
31. John Mackey04/29/2011 05:53:01 AM
@29,
Actually, I did fix this and uploaded it to the blog site in February. I forgot. It turns out the computation must now be "computed dynamically" as opposed to "on page load". You can change it through the script editor radio button, or by changing the "$" to "#" like this:
#{javascript:choices=SurveyQuestion.getItemValueString("AnswerChoices");
I sent you an email as well.
-John
32. Adriana Díaz04/29/2011 01:08:38 PM
Thanks... with this change, now works fine.
Thanks a lot.
Best regards,
Adriana
33. Dwain A Wuerfel07/08/2011 08:39:51 AM
I just registered with your site to get the download link. Does this application work for both client and browser? I sounds like each recipient is sent an individual email and completes their own individual surveys whether client or browser.
Thanks,
Dwain
34. Jason Horton07/13/2011 09:59:15 AM
I've been testing this today and when I click on the Report button I get an error (There was a problem with the request (Code 404)). What does this mean?
35. Jason Horton07/13/2011 10:10:23 AM
Sorry. This is only for the Notes Client.
36. Raja08/26/2011 12:20:45 AM
Hi John, Great work man..
Can i get the full application sent to my mail. Coz, the one you are providing doesn't have all the stylesheets, js files
37. Steve Pitcher08/29/2011 09:36:42 AM
Homepage: http://www.stevencpitcher.com
Great little utility John!
38. Thanks John10/14/2011 04:48:51 PM
Homepage: http://www.seancull.co.uk
Hi John, this post inspired me to try XPages a long time ago. There has been much blood and sweat since then but it has paid off.
{ Link }
Thanks Again, Sean
39. Sandra Mitchell11/08/2011 12:39:55 PM
I registered last week and still have not received an e-mail with the url. Just submitted another requested...
Thanks,
Sandra
40. Gias Uddin12/11/2011 09:47:04 AM
Hi John, I registered for the survey tool but did not receive any email
Thank you for your helps.