Xpage Combo Box Data Issue

Got an Xpage for displaying a read only document. 2 links at the bottom to Approve/Decline. They are URL Links. This is done via Blackberry.

Adding in new approval level at Blackberry stage so added combobox that does DBLookup into Group Members of a NAB Group. All this works and they can select name and Approve/Decline just fine.

On my form I added a text field for namFinalApprover. If I bind the Combobox to that field, it dissapears in the web page. If it is not binded then the name is not passed to the underlying doc.

Since my links are URL’s to backend agents I thought to pass the name via that route and fill in the doc field there, but cannot figure out how to grab that field.

My Question - How can I bind the combobox to the text field on the form and have it still show up on the xpage? If that is not possible how can I take the selected value of the combobox and put it into the URL string as a parameter when I call the backend agents. (I am already passing name of user who clicked the links and that works)

I am sure I am missing a very simple step. Any help in the right direction would be appreciated.

Thanks in advance,

Steven

Subject: Is this best Solution?

I found a solution and am curious if there are other options or if this is the best options all things considered (especially since my users are via Blackberry browser).

On my combobox, on the datatab I added a requestScope.namFinalApprover variable. In the OnChange event of the combobox I added a simple action script for sessionScope.namFinalApprover = requestScope.namFinalApprover

Then on my URL link to a backend agent for approval’s I added 2 lines of code - document1.setValue(“namFinalApprover”, requestScope.namFinalApprover);

document1.save();

I let the link pass the URL Parameters as normal to my agent for the username and whether it is an approver or a decline.

If when they click on the link they are approving and have not chosen a value for the final approver in the agent I will not mark it approved but kick back a screen message that they need to do this then approve again.

Thanks,

Steven