org.apache.myfaces.orchestra.requestParameterProvider
Interface RequestParameterProvider

All Known Implementing Classes:
ConversationRequestParameterProvider

public interface RequestParameterProvider

The interface a provider has to implement to add parameters to the url.

Objects which need to append parameters to all urls in the page being generated should create an implementation of this interface and register an object of that type with the RequestParameterProviderManager. When the page is generated the manager will call back to every registered RequestParameterProvider to get the data it needs to append.


Method Summary
 String[] getFields()
          Return the names of fields this instance wants to add to the url.
 String getFieldValue(String field)
          Return the value for the given field (which should be one of the values returned by the getFields method).
 

Method Detail

getFields

String[] getFields()
Return the names of fields this instance wants to add to the url. Each value in the returned array is then used as a parameter to the getFieldValue method.


getFieldValue

String getFieldValue(String field)
Return the value for the given field (which should be one of the values returned by the getFields method).



Copyright © 2012 The Apache Software Foundation. All Rights Reserved.