I'm using JSF 2.0 and jsp as views instead of facelets. I have a registration form, which on success returns a registration number, which i want to display it as a popup. and also i want to display this num in each of my page when and where required.
我使用JSF 2.0和jsp作为视图而不是facelets。我有一个注册表单,成功后返回一个注册号,我想将其显示为弹出窗口。而且我想在我需要的时间和地点在每个页面中显示这个数字。
How can I achieve this?
我怎样才能做到这一点?
1 个解决方案
#1
0
Keep the registration number in session for further use.popup can displayed using JavaScript in your jsp page.
将注册号保留在会话中以供进一步使用.popup可以在jsp页面中使用JavaScript显示。
#1
0
Keep the registration number in session for further use.popup can displayed using JavaScript in your jsp page.
将注册号保留在会话中以供进一步使用.popup可以在jsp页面中使用JavaScript显示。