JSF 1.1
I am creating a ValueBinding in an Action:
public String editLinkAction() {
FacesContext ctx = FacesContext.getCurrentInstance();
ValueBinding binding =
ctx.getApplication().createValueBinding("#{selected}");
binding.setValue(ctx, selected);
return Constants.UPDATETRANSLATEOPTIONS;
}
When I debug my application, I am finding that once I get past:
binding.setValue(ctx, selected);
The ctx Application.valueBindingMap is 0 size and selected is a valid
object.
Shouldn't the Application.valueBindingMap have a value after running the
following?
binding.setValue(ctx, selected);
Thanks,
--Todd
ctx: javax.faces.context.FacesContext =
{com.sun.faces.context.FacesContextImpl_at_3160}
released: boolean = false
responseStream: javax.faces.context.ResponseStream = null
responseWriter: javax.faces.context.ResponseWriter = null
facesEvents: org.apache.commons.collections.CursorableLinkedList
= null
externalContext: javax.faces.context.ExternalContext =
{com.sun.faces.context.ExternalContextImpl_at_3180}
application: javax.faces.application.Application =
{com.sun.faces.application.ApplicationImpl_at_3163}
associate:
com.sun.faces.application.ApplicationAssociate =
{com.sun.faces.application.ApplicationAssociate_at_3164}
actionListener: javax.faces.event.ActionListener =
{com.sun.faces.application.ActionListenerImpl_at_3508}
navigationHandler:
javax.faces.application.NavigationHandler =
{com.sun.faces.application.NavigationHandlerImpl_at_3509}
propertyResolver: javax.faces.el.PropertyResolver =
{com.sun.faces.el.PropertyResolverImpl_at_3510}
variableResolver: javax.faces.el.VariableResolver =
{com.sun.faces.el.VariableResolverImpl_at_3511}
viewHandler: javax.faces.application.ViewHandler =
{com.sun.faces.application.ViewHandlerImpl_at_3512}
stateManager: javax.faces.application.StateManager =
{com.sun.faces.application.StateManagerImpl_at_3513}
valueBindingMap: java.util.Map =
{java.util.HashMap_at_3514} size = 0
componentMap: java.util.Map = {java.util.HashMap_at_3515}
size = 112
converterIdMap: java.util.Map = {java.util.HashMap_at_3516}
size = 12
converterTypeMap: java.util.Map =
{java.util.HashMap_at_3517} size = 21
validatorMap: java.util.Map = {java.util.HashMap_at_3518}
size = 7
messageBundle: java.lang.String =
{java.lang.String_at_3519}"com.dtn.common.common"
supportedLocales: java.util.ArrayList =
{java.util.ArrayList_at_3520} size = 1
defaultLocale: java.util.Locale = null
defaultRenderKitId: java.lang.String =
{java.lang.String_at_3182}"HTML_BASIC"
viewRoot: javax.faces.component.UIViewRoot =
{javax.faces.component.UIViewRoot_at_3181}
componentMessageLists: java.util.Map = null
renderResponse: boolean = false
responseComplete: boolean = false
-----------------------------------------
NOTICE: This email message is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized use, disclosure or distribution is
prohibited. If you are not the intended recipient, please contact
the sender by reply email and destroy all copies of the original
message.