profile:define

Will create both an scripting variable and a page scoped bean from the specified profile. Therefore the tag way look a bit like <profile:use>, except that it does not set the default profile.

Syntax
<profile:define
   id="..."
   name="..."?
   profileId="..."?
   property="..."?
   toScope="..."?/>
Attributes
id, mandatory, no runtime expressions

Name of the scripting-variable we make.

toScope

Identify the JSP scope within which the Presentationprofile-bean will be created. If not specified, then the PresentaionProfile-bean is created in page scope.

Allowed values are:

name

Name of the bean to define.

property

Property to get the PresentationProfile.

profileId

Name of the profile to be used.