由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - jsf commandlink not working when bean in request scope
相关主题
大家有没有web日历控件推荐?Spring question, redirect and carry data over?
Anyone wants to talk about web frameworks?问个可能比较奇怪的弱问题
讨论一下web framework吧spring transaction的问题
有想学JSF的同行么? (确切地说 JSF+Spring+Hibernate)inner class 让认糊涂
JBOSS索尼面经 (兼问第十道题)
JSF: value binding to bean methods problem关于 Java bean
help on this scope questionwhere is my j2ee.jar file
Object scope question大家都是搞技术的
相关话题的讨论汇总
话题: jsf话题: scope话题: savestate话题: problem
进入Java版参与讨论
1 (共1页)
m*****u
发帖数: 1342
t*******e
发帖数: 684
2
You need long living scopes other than request, as suggested by those
responses. You will get view scope in JSF2, and flow scope with Spring Web
Flow or SEAM page flow.
m*****u
发帖数: 1342
3
You are right. I'm still new to this jsf business. I think the code I'm
working on is a bit old (not jsf 2.0).
To be honest, being new to this java front end, I felt understanding the
whole work flow of web is difficult, if not mystery.

【在 t*******e 的大作中提到】
: You need long living scopes other than request, as suggested by those
: responses. You will get view scope in JSF2, and flow scope with Spring Web
: Flow or SEAM page flow.

g*****g
发帖数: 34805
4
That's true, the web tier of java stacks is terrible. There
are 100 different frameworks and none of them kills.

【在 m*****u 的大作中提到】
: You are right. I'm still new to this jsf business. I think the code I'm
: working on is a bit old (not jsf 2.0).
: To be honest, being new to this java front end, I felt understanding the
: whole work flow of web is difficult, if not mystery.

m*****u
发帖数: 1342
5
Encountered a similar problem recently. I have two components: one drop down
box, and one text field, was using JSF RichFaces (a4j support) for
implementation. When the user select certain value (ValueChangeListener), I
want to make the text field visible and input value there. The show/no show
part works ok, the problem was the input value was never updated. After we
use this "saveState" thing to save the flag for show/no show, it worked.
It seems the problem was due to the request scope, "SaveState" for the flag
makes it more like view scope.

【在 g*****g 的大作中提到】
: That's true, the web tier of java stacks is terrible. There
: are 100 different frameworks and none of them kills.

1 (共1页)
进入Java版参与讨论
相关主题
大家都是搞技术的JBOSS
j2ee现在流行什么?JSF: value binding to bean methods problem
netbean vs. eclipsehelp on this scope question
JAVA技术更新太快了!Object scope question
大家有没有web日历控件推荐?Spring question, redirect and carry data over?
Anyone wants to talk about web frameworks?问个可能比较奇怪的弱问题
讨论一下web framework吧spring transaction的问题
有想学JSF的同行么? (确切地说 JSF+Spring+Hibernate)inner class 让认糊涂
相关话题的讨论汇总
话题: jsf话题: scope话题: savestate话题: problem