This content has been marked as final.
Show 3 replies
-
1. Re: Problem injecting the value of a context component expre
gavin.king Sep 20, 2006 4:36 PM (in response to zzzz8)sessionContext does not implement Map.
But you can just use:@In("#{testString1}") String string1; @In("#{testInteger1}") Integer integer1;
-
2. Re: Problem injecting the value of a context component expre
zzzz8 Sep 20, 2006 8:50 PM (in response to zzzz8)Thanks Gavin. That then leads me to ask the question - what happens if there are two variables with the same name but in different contexts? For example, a testString1 in the sessionContext and a testString1 in the conversationContext. How is this resolved and how should I invoke it in EL? Or is this even possible (i.e. the two names of these variables in the different contexts must be defined with different names?) Thanks.