CRUD: To Roo or not to Roo? [closed]

Note that Spring Roo and JBoss Seam aren’t directly comparable, as JBoss Seam in itself doesn’t provide the CRUD application generation mentioned in the question. JBoss Seam however comes with the seam-gen tool, which provides this functionality. It would therefore probably be better to see JBoss Seam as comparable to the Spring framework and compare … Read more

Mixing JSF EL in a JavaScript file

Five ways: Declare it as global variable in the parent JSF page. <script type=”text/javascript” src=”https://stackoverflow.com/questions/2547814/script.js”></script> <script type=”text/javascript”> var messages = []; <ui:repeat value=”#{bean.messages}” var=”message”> messages[‘#{message.key}’] = ‘#{message.value}’; </ui:repeat> </script> Or, if it’s in JSON format already. <script type=”text/javascript” src=”https://stackoverflow.com/questions/2547814/script.js”></script> <script type=”text/javascript”>var messages = #{bean.messagesAsJson};</script> Put the whole <script> in a XHTML file and use ui:include … Read more