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.
|
|