Reply To: Can I pass an Object to a viewscoped bean?

Splash Forums Rewrite Users Can I pass an Object to a viewscoped bean? Reply To: Can I pass an Object to a viewscoped bean?

#26460

The El.submissionMethod() assumes that you are passing an expression which is used to evaluate the target for the a bound parameter to be submitted. (The value comes from the parameter.) I’m not exactly sure what you’re trying to do, but you should probably use Invoke.binding(submission, retrieval).

Invoke.binding(El.submissionMethod("#{myEl.methodName}"), new Retrieval() {
   public Object retrieve(Rewrite event, EvaluationContext context)
   {
      Object myObject = ...;
      return myObject;
   }
})