cargotracker
cargotracker copied to clipboard
Move to JSF 2.2+ HTML5 syntax
Include a file to activate JSF 2.3 features:
import javax.faces.annotation.FacesConfig;
import javax.faces.annotation.FacesConfig.Version;
@FacesConfig(version = Version.JSF_2_3)
public class JSFConfigurator {
}
https://stackoverflow.com/a/53172876/2882383
And move to HTML5 syntax as possible. see: https://github.com/hantsy/jakartaee-faces-sample/blob/master/src/main/webapp/form.xhtml#L27
This is mostly addressed now. A PR to move to HTML 5 syntax is welcome.
Can I work on this issue?
Sure, assigned to you.
can i work on this issue ?
does we have to convert the index.html file content to html5 ???
can i work on this issue ?
Please submit a PR. This keeps the possibility open for others to contribute.
does we have to convert the index.html file content to html5 ???
If you wish, sure. But the main objective is to convert the Faces forms to HTML5 syntax as @hantsy has provided an example of above.
Yeah, sure thanks for the quick reply I have made a Pull Request.Here I have converted \cargotracker\src\main\webapp\index.xhtml file to html5. As told by hansty And move to HTML5 syntax as possible. see: https://github.com/hantsy/jakartaee-faces-sample/blob/master/src/main/webapp/form.xhtml#L27
Do i have to covert all the facelets into html5 ??
If you like, sure. However, the original suggestion is to simply convert the forms over. Also, we are not really looking to move away from Faces.
ok as hansty has provided https://github.com/hantsy/jakartaee-faces-sample/blob/master/src/main/webapp/form.xhtml#L27 as sample of faceform i guess ?? or the final html5 format in which we have to convert.
Thanks and Regards
If I may be honest, I suggest doing significant research on this topic and Faces in general before proceeding any further. Here is a suggested starting point: https://dzone.com/articles/jsf-22-html-5-support.
ok thank you :)
will do it by tomorrow.Thanks for the replies.Good Night sir :)
Closing this. It’s hardly a priority.