dWebSpec Dictionary
CONTEXT: descriptors->parameters




All Details Standard Only Platform Only
Structured Web info and helpTechnologies
 Home Page
 Product Page
 Download Page
 Feedback
Javascript Tree Menu

Results for:

 parameters 
Prev  Topic  Next

Primarily parameters capture the data that accompany events.

However, the usage of parameters could be general in nature.  For example, for platforms that have dynamic object creation and life cycle management, these parameters could be used to represent dependant object as well as data keys.

For dynamic segment composition schemes, these parameters could be used to customize included segments at runtime.

The point here is that apart from event parameters, the general implementation implications of parameters would differ from platforms to platforms.

For events the id for the parameters descriptors would be registered against the event. For page composition, the parameters would have a parent, which would the segment that represents the included page.

The parameters descriptor could describe 1) an object that hold the properties that would be used as parameters, 2) or map object, or collection of objects that hold the key and value parameter pairs. 3) In addition, it could be a parent to one or more parameter descriptors.  The latter "parameter" singular descriptor, affords a finer grain parameter binding of individual key and value pair; whereas the "parameters" are bound to collection, or whole object.

 JSF  

The prameters descriptor allows for the capture of objects passed from the view to the controller. Example is shown below.

PARAMETERS DESCRIPTOR

id

selection

parent-id

 

caption

 

description

Item Selected on the page

value

{custmer.selectedItem}

 

 

Simply because the component based platforms capture the components details both on the client and server side, the capture of parameters sent to the server is de-emphasized. There are no form value objects per se, and the listeners and handlers have fixed signatures and parameters.

An area that parameters specification could provide useful implementation information involves parameters for page composition and anchor links. However, these use fine grain key and value pair parameters.

This is accomodated with the the children descriptor, the parameter descriptor. Example of these are shown below.

PARAMETERS DESCRIPTOR

id

leftNavParams

parent-id

segments[leftNav]

caption

 

description

 

value

 

 

 
PARAMETER DESCRIPTOR

id

value

required

user {currentUser}  
page home  

For these the parameters descriptor would hold the key and value pairs captured by individual parameter descriptor. The individual parameter descriptor entry would be represented by the param component.

<f:param name="operation" value="update" />

The tags/components that could use this are:

jsp:includeparameters passed for the composition of the included page
h:outputFormatformatting parameters
h:outputLinkURL query string entries
h:outputCommandlinkURL query string entries

More details are available in the attributes descriptions

id parent-id caption description value
Prev Next