[JBoss Seam] - A question about facelets
by xinhua
Hi all,
When my application starts on my JBoss 4.0.5 server I get the
following ERRORS:
| 11:17:48,545 ERROR [STDERR] 19.02.2007 11:17:48 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/D:/JBoss/jboss-4.0.5.GA/server/default/./tmp/deploy/tmp65104StratoIV.ear-contents/StratoIV-exp.war/WEB-INF/lib/jsf-facelets.
| jar!/META-INF/jsf-ui.taglib.xml
| 11:17:48,608 ERROR [STDERR] 19.02.2007 11:17:48 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/D:/JBoss/jboss-4.0.5.GA/server/default/./tmp/deploy/tmp65104StratoIV.ear-contents/StratoIV-exp.war/WEB-INF/lib/jsf-facelets.
| jar!/META-INF/jsf-core.taglib.xml
| 11:17:48,623 ERROR [STDERR] 19.02.2007 11:17:48 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/D:/JBoss/jboss-4.0.5.GA/server/default/./tmp/deploy/tmp65104StratoIV.ear-contents/StratoIV-exp.war/WEB-INF/lib/jsf-facelets.
| jar!/META-INF/jstl-fn.taglib.xml
| 11:17:48,623 ERROR [STDERR] 19.02.2007 11:17:48 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/D:/JBoss/jboss-4.0.5.GA/server/default/./tmp/deploy/tmp65104StratoIV.ear-contents/StratoIV-exp.war/WEB-INF/lib/jboss-seam-ui
| .jar!/META-INF/seam-ui.taglib.xml
| 11:17:48,655 ERROR [STDERR] 19.02.2007 11:17:48 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/D:/JBoss/jboss-4.0.5.GA/server/default/./tmp/deploy/tmp65104StratoIV.ear-contents/StratoIV-exp.war/WEB-INF/lib/jsf-facelets.
| jar!/META-INF/jsf-html.taglib.xml
| 11:17:48,701 ERROR [STDERR] 19.02.2007 11:17:48 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/D:/JBoss/jboss-4.0.5.GA/server/default/./tmp/deploy/tmp65104StratoIV.ear-contents/StratoIV-exp.war/WEB-INF/lib/jsf-facelets.
| jar!/META-INF/jstl-core.taglib.xml
|
Whats that mean? How can i solve this problem?
I am not be familiar with facelets, so plz help:)
thanks!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018740#4018740
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4018740
19Â years, 2Â months
[JBoss Seam] - Re: Fill selectOneMenu on page load.
by grdzeli_kaci
hi petemuir.
i tryed this:
1.my session bean :
| @Local(BillAdminManagement.class)
| @Stateless
| @Name("billAdmin")
| @TransactionAttribute(TransactionAttributeType.REQUIRES_NEW)
| public class BillAdminManagementBean implements BillAdminManagement{
|
| @PersistenceContext
| private EntityManager entManager;
|
| @Logger
| private Log log;
|
| private List<SelectItem> langItems;
|
| Converter converter;
|
| public List<Language> getlangItems() throws Exception {
| try {
| List<Language> list = entManager.createNamedQuery("Language.getAllLanguages").getResultList();
| langItems = new ArrayList<SelectItem>(list.size());
| for (int i = 0; i < list.size(); i++) {
| SelectItem item = new SelectItem();
| item.setValue(list.get(i));
| item.setLabel(list.get(i).getName());
| item.setDescription("Blaaa");
| langItems.add(item);
| }
| log.info("List Size = "+list.size());
| return list;
| } catch (Exception e) {
| e.printStackTrace();
| log.error("Error While Getting Languages",e);
| throw e;
| }
| }
| public Converter getConverter() {
| converter = new ReferenceConverter(langItems);
| return converter;
| }
| }
|
|
2. and also i have ReferenceConverter class from here
http://wiki.jboss.org/wiki/Wiki.jsp?page=SelectItems
3. and here is fragment from my page :
| <h:selectOneMenu styleClass="font_style" required="true" value="" converter="#{billAdmin.converter}">
| <s:selectItems value="#{billAdmin.langItems}" var="langItems" label="#{language.name}" />
| </h:selectOneMenu>
|
but i got an error :
| Value is no String (class=com.magti.seam.beans.billAdmin.Language, value=English) and component loginForm:_id24with path: {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /login.xhtml][Class: javax.faces.component.html.HtmlForm,Id: loginForm][Class: javax.faces.component.html.HtmlSelectOneMenu,Id: _id24]} does not have a Converter
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018729#4018729
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4018729
19Â years, 2Â months
[JBoss Seam] - Problem debugging Seam apps in Eclipse/JBossIDE
by lawrieg
I'm having a problem trying to debug Seam apps in Eclipse (I'm using Eclipse 3.2.1, JBossIDE 2.0.0 Beta2, and JBoss AS 4.0.5 with EJB3 profile). When I set a breakpoint inside any class which uses annotations, and try to debug code, I get the following dialog:
Unable to install breakpoint in
| com.mydomain.myproject.Converters$$EnhancerByCGLIB$$2b84c6ef
| due to missing line number attributes. Modify compiler options to generate line number attributes.
|
| Reason:
| Absent Line Number Information
My build.xml has debug on for javac tasks, and I have line numbers turned on in both my global preferences and project specific settings, and my JBoss server is started in debug mode. I can use breakpoints in classes that don't have annotations (i.e. that aren't enhanced by CGLib) - I just can't make it work for classes which are annotated.
Googling hasn't turned up any possible solutions, so I'd be really grateful for some help here... Any ideas???
Thanks,
Lawrie
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018723#4018723
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4018723
19Â years, 2Â months