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

 

searchstate:fromstring

Provides the ability for a searchstate object to be initialized from its string representation.

Syntax

Parameters

name (required)
Input and output parameter. As input, name of the output object to be reinitialized with the string passed in the value argument.

value (required)
Input parameter. String value that initializes the searchstate object. The string must have been previously created by using a searchstate:tostring tag.

Error Numbers

The possible values of errno include:

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

Example

This code uses the variable searchstring generated from the tag searchstate:tostring and passed on the URL to this page to set a new searchstate "newSS" from the string representation. This code then sets this 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
searchstate:tostring

   Home > Contents > Index >

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