Edit Xpages Record via BackingBean Link

/**
 * @author Dököll Solutions, Inc.
 * @version 2012.06.11.11.05.PM
 * 
 */

public class PageCosmeticsBackingBean {

	// Declare variable, load view name

	final String ViewName = "PageCosmeticsView";
	
	final String GotoPage = "xpbycategorylist.xsp";

	
	// Get AllPageCosmics collection

	@SuppressWarnings( { "null", "unchecked" })
	public AllPageCosmics [] getPagecosmics() {
	
		// Declare AllPageCosmics Array

		AllPageCosmics [] pagecosmics = null;

		try {


//...
//...
//...
//...


pageCosmic.setBrowserURL(baseURL + "/" + GotoPage + "?" + "documentId="

								+ sDoc.getUniversalID() + "&action="+"EditDocument");


}


}

//...
//...
//...
//...

}





Take a look at this XSnippet, a way to view specific record via Xpages results list... similarly to the following: http://openntf.org/XSnippets.nsf/snippet.xsp?id=fetch-unique-attachements-from-xpages-backing-bean, the only difference is that the current submits the record into an Xpages form (GotoPage ) rather than pulling in the Default Lotus Notes form to show the data.

Java
Köll S Cherizard
December 15, 2013 5:52 PM
Rating
1

All code submitted to OpenNTF XSnippets, whether submitted as a "Snippet" or in the body of a Comment, is provided under the Apache License Version 2.0. See Terms of Use for full details.



No comments yetLogin first to comment...