Home > Contents > Index >  
Template Tags TOC   |    Alpha TOC   |    Tag Family TOC   |    Purpose TOC   |    Annotated TOC   |    Index 

 

searchstate:duplicate

Duplicates a searchstate object.

Syntax

Parameters

name (required)
Input parameter. Name of the searchstate object.

varname (required)
Input and output parameter. As input, name of the new searchstate object to hold the duplicate on output.

Error Numbers

The possible values of errno include:

Value
Description
-10004
A required parameter is missing.
-13050
General error.

Example

This code creates a searchstate "origSS" containing a simple constraint and then duplicates the searchstate to create "newSS". It then sets the duplicate searchstate into an assetset:setsearchedassets tag to constrain the assetset to be used when searching with other assetset tags. The last tag uses this constrained assetset to search for matching assets and fetch a list of values for a different attribute of the returned assets:

See Also

searchstate:create
searchstate:addsimplestandardconstraint
assetset:setsearchedassets

   Home > Contents > Index >

Oracle JSP Tag Reference
Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.