Noob question about xPages not saving

I just installed 8.5 and started to follow this tutorial on xPages: http://www-10.lotus.com/ldd/ddwiki.nsf/dx/HowToCreateXPagesViewControl.htm

I can preview my first xPage customer entry form but when I click the save btn I get this error msg:

Error saving data source document1

Error while executing JavaScript action expression

Permission is denied as the design elements involved are not all signed by a user with unrestricted privileges: Access Java classes from JavaScript

I wrote the application as “Administrator” as this is a test server on a home machine and the ACL of the application has both default and anonymous user set to manager. I thought the Administrator acct WOULD have unrestricted privileges?

Along with the above error the browser shows this:

Expression

1: #{javascript:var g = getComponent(“FirstName1”).getValue();

2: var f = getComponent(“LastName1”).getValue();

3: var e = getComponent(“Email1”).getValue();

4: var w = getComponent(“Website1”).getValue();

5: var hCard = “”;

6:

7: hCard = “”

8: + “” + g + " " + f + “”

9: + “”

10: + “” + g + “”

11: + “” + f + “”

12: + “”

13: + “” + e + “”

14: + “” + w + “”

15: + “” ;

16:

17:

18: document1.getDocument().appendItemValue(“ContactInfo”,hCard);

19: return true;}

Does anyone have any idea why I can’t save the data?

Thanks

Subject: Re: Access

It doesn’t sound like it’s because Anonymous doesn’t have acess to create documents.

There is a new setting in the server document for 8.5 onwards, on the Security tab, right-hand side - “Sign agents or XPages to run on behalf of the invoker:”

Check the settings. All XPages and custom controls need to be signed by an ID that is authorised in that field.

If you can, it’s worth installing 8.5.1 instead of 8.5. There were a lot of improvements/fixes for XPages in 8.5.1, as well as performance enhancements and XPages in Notes client.