? mailing lists">


List Info

Thread: ?




<t:buffer into="#{bean"> ?
country flaguser name
United States
2007-08-30 08:05:28
Is there a way to do <t:buffer
into="#{bean['key']"> so I can store the
content using some key inside a map?, the bean extends
HashMap.

Thanks,

Johann
-- 
View this message in context: http://www.nab
ble.com/%3Ct%3Abuffer-into%3D%22-%7Bbean-%27key%27-%22%3E---
tf4354157.html#a12406821
Sent from the MyFaces - Users mailing list archive at
Nabble.com.


Re: <t:buffer into="#{bean"> ?
user name
2007-08-30 09:06:21
My understanding is that t:buffer immediately creates the
bean target
of into during the render phase.

Are you asking to have the buffered value available on the
next
request?   It doesn't seem like there'd be much point in
capturing the
value into the bean for this request.

If it's the next request, add a t:updateActionListener or
f:setPropertyActionListener to copy  the into bean into
#{bean['key']}
on submit.

On 8/30/07, bajistaman <bajistamangmail.com> wrote:
>
> Is there a way to do <t:buffer
into="#{bean['key']"> so I can store the
> content using some key inside a map?, the bean extends
HashMap.
>
> Thanks,
>
> Johann
> --
> View this message in context: http://www.nab
ble.com/%3Ct%3Abuffer-into%3D%22-%7Bbean-%27key%27-%22%3E---
tf4354157.html#a12406821
> Sent from the MyFaces - Users mailing list archive at
Nabble.com.
>
>

Re: <t:buffer into="#{bean"> ?
country flaguser name
United States
2007-08-30 09:29:44
Using <t:buffer into="#{bean.key}">  worked,
the problem was completely
unrelated to this, I was having a null pointer exception
because I didn't
see a non closed bracket inside the jsp.

I'm doing this was because I have some central Cache system
so I needed to
avoid storing more information that the needed because I'm
working with a
farm.

Thanks for your help.

Johann
-- 
View this message in context: http://www.nab
ble.com/%3Ct%3Abuffer-into%3D%22-%7Bbean-%27key%27-%22%3E---
tf4354157.html#a12408474
Sent from the MyFaces - Users mailing list archive at
Nabble.com.


[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )