|
Method DetailaddChart(Chart chart) Adds the specified chart to the response.
Parameters:
Since: 07-17-2009 addData(Data data) Adds the specified Data to this response.
Parameters:
Since: 05-28-2010 boolean addDataList(DataList list) Adds the specified list to a page
Parameters:
Returns: boolean Since: 07-11-2008 boolean addDataMap(String id, Data data) Registers the data in the response with the specified id.
Parameters:
Returns: boolean Since: 05-28-2010 boolean addDataMaps(String keyColumn, DataList list) Extracts the records from the list and registers them in the response using the values in the key column. Limited to 500 records per response.
Parameters:
Returns: boolean Since: 05-28-2010 boolean addDataRecord(String id, DataRecord dataRecord) Registers the DataRecord in the response with the specified id. Limited to 500 records per response.
Parameters:
Returns: boolean Since: 11-09-2010 boolean addFragment(String id, Fragment fragment) Adds the specified fragment to the response. The rendered content is then available on the client, referenced by id. The id must start with a letter and be alphanumeric and cannot be the word 'targets'.
Parameters:
Returns: boolean Since: 10-21-2009 boolean addJavascript(String script) Adds javascript commands to the page. The commands run in the order added after all CloudPiston code has completed. Returns false if the script is not allowed.
Parameters:
Returns: boolean Since: 01-29-2009 addPayload(Payload payload) Adds the payload to this response.
Parameters:
Since: 07-20-2010 boolean addSlice(String target, String slice) Adds the specified slice to the response if it exists. Returns false if not found
Parameters:
Returns: boolean Since: 11-23-2022 allowHTML(String key) Permits any rendering target with the specified key to be rendered as HTML.
Parameters:
Since: 08-02-2017 boolean checkServer(String action, int delay, String target) Tells the response object to do an AJAX call to the server starting delay seconds after the page loads passing 'action' to the controller and display the results in the element with id 'target'. See Controller.createResponse(Fragment).
Parameters:
Returns: boolean Since: 01-29-2009 String get(String key) Returns the value associated with key if it exists, null otherwise.
Parameters:
Returns: String Since: 08-28-2018 Data getData() Returns the Data object for this response. Returns: Data Since: 05-31-2007 String getValue(String key) Returns the value associated with key if it exists, null otherwise. Shortcut for getData().getValue(key)
Parameters:
Returns: String Since: 07-11-2008 removeDataList(String name) Removes the datalist from the payload
Parameters:
Since: 06-29-2021 removeDataMap(String id) Removes the data in the response with the specified id.
Parameters:
Since: 12-21-2017 removeValue(String key) Removes the associated key from the response.
Parameters:
Since: 05-28-2010 boolean resetAjaxUpload(String type, int kilobytes) See resetUpload. This method additionally requires you to provide a client-side javascript function to handle the results of the upload. See the ajax-handler attribute of c:button and c:a.
Parameters:
Returns: boolean Since: 02-28-2013 boolean resetUpload(String type, int kilobytes) See Page.enableUpload (which must be called initially). Resets file upload and restricts the upload to type and maximum file size. type can be * (all types) or a comma delimited string of types. kilobytes cannot exceed the pal activation settings. Returns false if the user does not have a role assigned.
Parameters:
Returns: boolean Since: 01-19-2011 set(String key, String value) Adds the key/value pair to the data map, over-writing any set that already exists with name key.
Parameters:
Since: 08-28-2018 setBoolean(String name, boolean value) Adds the key/value pair to the data map, over-writing any set that already exists with name key.
Parameters:
Since: 08-28-2018 boolean setData(String id, Data data) Registers the data in the response with the specified id.
Parameters:
Returns: boolean Since: 02-11-2019 setDate(String name, Date value) Adds the key/value pair to the data map, over-writing any set that already exists with name key.
Parameters:
Since: 08-28-2018 setDecimal(String name, double value) Adds the key/value pair to the data map, over-writing any set that already exists with name key.
Parameters:
Since: 08-28-2018 This method has been deprecated since 08-28-2018. Use setDouble(String,double) setDouble(String name, double double) Adds the key/value pair to the data map, over-writing any set that already exists with name key.
Parameters:
Since: 08-28-2018 setHTML(String key, String xhtml) Adds the given XHTML to the page (the XHTML should ideally be well-formed). You must use the c:html tag for displaying the content. Throws exception if the content contains illegal tags or attributes. You should avoid inline scripts or script blocks.
Parameters:
Since: 07-11-2008 setInt(String name, long value) Adds the key/value pair to the data map, over-writing any set that already exists with name key.
Parameters:
Since: 08-28-2018 setString(String name, String value) Adds the key/value pair to the data map, over-writing any set that already exists with name key.
Parameters:
Since: 08-28-2018 setTarget(String target) Changes the ajax-target of this response.
Parameters:
Since: 09-17-2009 setValue(String key, String value) Adds the key/value pair to the data object for this page, over-writing any set that already exists with name key. Shortcut for getData().setValue(key,value)
Parameters:
Since: 07-11-2008 setValue(String key, boolean value) Adds the key/value pair to the data object for this page, over-writing any set that already exists with name key. Shortcut for getData().setValue(key,value)
Parameters:
Since: 04-06-2009 This method has been deprecated since 08-28-2018. Use setBoolean(String,boolean) setValue(String key, double value) Adds the key/value pair to the data object for this page, over-writing any set that already exists with name key. Shortcut for getData().setValue(key,value)
Parameters:
Since: 04-06-2009 This method has been deprecated since 08-28-2018. Use setDouble(String,double) setValue(String key, int value) Adds the key/value pair to the data object for this page, over-writing any set that already exists with name key. Shortcut for getData().setValue(key,value)
Parameters:
Since: 04-06-2009 This method has been deprecated since 08-28-2018. Use setInt(String,int) setValue(String key, long value) Adds the key/value pair to the data object for this page, over-writing any set that already exists with name key. Shortcut for getData().setValue(key,value)
Parameters:
Since: 04-06-2009 This method has been deprecated since 08-28-2018. Use setInt(String,int) String toString() Returns a description of this object. Returns: String Since: 01-29-2009 |
Copyright © 2006 - 2024, ContractPal, Inc. All rights reserved. | API Date: May 01, 2024 05:15 AM |