JSF framework without JavaScript

Is there any implementation of the JAva Server Faces framework that does not create and use any JavaScript inside the generated output? No JavaScript or AJAX, pure HTML with additional static resources like CSS.

If possible, also without the use of cookies. "Within.

+1
source share
1 answer

You can simply use the standard JSF implementation. <h:commandLink>, <h:button>and <f:ajax>are the only components that generate and require JavaScript. If you just do not use them, then you are already set up. Alternatively, you can use <h:commandButton>either, <h:link>respectively, and then throw some CSS so that it looks like a link or button, respectively.

cookie, , JSF HttpSession. , javax.faces.STATE_SAVING_METHOD client JSF <f:view transient="true">. @SessionScoped beans. @ViewScoped JSF — "" - . JSF ). JSF Mojarra 2.1.19, . , JSF , JSF.

. :

+3

Source: https://habr.com/ru/post/1791963/


All Articles