[JBoss Tools (users)] - Mix between J2EE tools and JBoss tools
by philipp.tiedt
Hi,
I am starting to use JBoss IDE or now JBoss Tools for J2ee dev and run into the following question. There is J2ee tooling from WTP (stuff like EJB modules and so on) and then there is JBoss J2EE components (like J2EE projects). Whats the deal? Right now I cant find any up to date documentation on how to use it all, but I saw a tutorial for a former JBoss IDE version. Anyways, my question is how those things interact with each other or whether there is any connection at all.
Then I was wondering if there is any documentation or a small tutorial that helps me becoming more familar with xDoclet. I ran the tutorial that creates the Fibo Stateless SessionBean, however coming to entity beans I am lost in all the tags and so on. Is there anything good on the web you can point me to ?
Thx in advance
Philipp
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061881#4061881
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061881
18Â years, 9Â months
[JBoss Portal] - Unable to edit the portal page using 'Edit page'
by prassana
My Env details.
JBoss Portal Version: 2.6
Did you get Portal from CVS? or download it? : Downloaded it.
JBoss AS Version: 4.0.5
Database Vendor and Version : SQL 2005
JDBC Connector and Version : jtds 1.2
OS Platform: Unix Solaris x86.
Error I get
14:46:07,022 ERROR [STDERR] Jul 9, 2007 2:46:07 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/u/janarthp/proj/AppJboss/server/default/tmp/deploy/tmp22257portal-wsrp.jse-contents/lib/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml
| 14:46:07,192 ERROR [STDERR] Jul 9, 2007 2:46:07 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/u/janarthp/proj/AppJboss/server/default/tmp/deploy/tmp22235jsf-facelets.jar!/META-INF/jsf-core.taglib.xml
| 14:46:07,213 ERROR [STDERR] Jul 9, 2007 2:46:07 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/u/janarthp/proj/AppJboss/server/default/tmp/deploy/tmp22235jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml
| 14:46:07,319 ERROR [STDERR] Jul 9, 2007 2:46:07 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/u/janarthp/proj/AppJboss/server/default/tmp/deploy/tmp22257portal-wsrp.jse-contents/lib/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml
| 14:46:07,324 ERROR [STDERR] Jul 9, 2007 2:46:07 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/u/janarthp/proj/AppJboss/server/default/tmp/deploy/tmp22235jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml
| 14:46:07,329 ERROR [STDERR] Jul 9, 2007 2:46:07 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/u/janarthp/proj/AppJboss/server/default/tmp/deploy/tmp22235jsf-facelets.jar!/META-INF/jstl-core.taglib.xml
| 14:46:07,342 ERROR [STDERR] Jul 9, 2007 2:46:07 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/u/janarthp/proj/AppJboss/server/default/tmp/deploy/tmp22257portal-wsrp.jse-contents/lib/portal-faces-lib.jar!/META-INF/portal.taglib.xml
| 14:46:07,369 ERROR [STDERR] Jul 9, 2007 2:46:07 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/u/janarthp/proj/AppJboss/server/default/tmp/deploy/tmp22235jsf-facelets.jar!/META-INF/jsf-html.taglib.xml
| 14:46:07,374 ERROR [STDERR] Jul 9, 2007 2:46:07 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/u/janarthp/proj/AppJboss/server/default/tmp/deploy/tmp22238portal-faces-lib.jar!/META-INF/portal.taglib.xml
| 14:46:07,379 ERROR [STDERR] Jul 9, 2007 2:46:07 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/u/janarthp/proj/AppJboss/server/default/tmp/deploy/tmp22257portal-wsrp.jse-contents/lib/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml
| 14:46:07,384 ERROR [STDERR] Jul 9, 2007 2:46:07 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/u/janarthp/proj/AppJboss/server/default/tmp/deploy/tmp22257portal-wsrp.jse-contents/lib/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml
| 14:46:07,389 ERROR [STDERR] Jul 9, 2007 2:46:07 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/u/janarthp/proj/AppJboss/server/default/tmp/deploy/tmp22257portal-wsrp.jse-contents/lib/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml
| 14:46:09,513 INFO [MyfacesConfig] Tomahawk jar not available. Autoscrolling, DetectJavascript, AddResourceClass and CheckExtensionsFilter are disabled now.
I couldn't properly do 'Edit page' because of the above error. Specifically, the configurability is disabled. Unable to select the portlet and configure it with a left region. I do have some warnings in the AS logs while starting the server too like the below.
14:45:10,077 INFO [RenderKitFactoryImpl] RenderKit with renderKitId 'HTML_BASIC' was replaced.
| 14:45:10,092 WARN [FacesConfigurator] More than one managed bean w/ the name of 'portalobjectmgr' - only keeping the last
| 14:45:10,092 WARN [FacesConfigurator] More than one managed bean w/ the name of 'portalAction' - only keeping the last
| 14:45:10,092 WARN [FacesConfigurator] More than one managed bean w/ the name of 'addPageAction' - only keeping the last
| 14:45:10,092 WARN [FacesConfigurator] More than one managed bean w/ the name of 'assignContentToWindowAction' - only keeping the last
| 14:45:10,092 WARN [FacesConfigurator] More than one managed bean w/ the name of 'dashboardmgr' - only keeping the last
| 14:45:10,092 WARN [FacesConfigurator] More than one managed bean w/ the name of 'instancemgr' - only keeping the last
| 14:45:10,092 WARN [FacesConfigurator] More than one managed bean w/ the name of 'portletmgr' - only keeping the last
| 14:45:10,092 WARN [FacesConfigurator] More than one managed bean w/ the name of 'newWindowWizard' - only keeping the last
| 14:45:10,092 WARN [FacesConfigurator] More than one managed bean w/ the name of 'createInstanceAction' - only keeping the last
| 14:45:10,092 WARN [FacesConfigurator] More than one managed bean w/ the name of 'dashboard' - only keeping the last
| 14:45:10,092 WARN [FacesConfigurator] More than one managed bean w/ the name of 'addDashboardPageAction' - only keeping the last
| 14:45:10,092 WARN [FacesConfigurator] More than one managed bean w/ the name of 'renameAction' - only keeping the last
| 14:45:10,092 WARN [FacesConfigurator] More than one managed bean w/ the name of 'PortalObject' - only keeping the last
| 14:45:10,092 WARN [FacesConfigurator] More than one managed bean w/ the name of 'ControlConstants' - only keeping the last
| 14:45:10,092 WARN [FacesConfigurator] More than one managed bean w/ the name of 'PropertiesInfo' - only keeping the last
| 14:45:10,092 WARN [FacesConfigurator] More than one managed bean w/ the name of 'ControlPropertiesBean' - only keeping the last
| 14:45:10,095 INFO [MyFacesGenericPortlet] PortletContext '/u/janarthp/proj/AppJboss/server/default/./deploy/jboss-portal.sar/portal-admin.sar/portal-admin.war/' initialized.
and
14:45:15,105 INFO [Server] JBoss (MX MicroKernel) [4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339)] Started in 2m:37s:751ms
| 14:45:38,327 WARN [CacheLoaderInterceptor] CacheLoader.get(Fqn) returned a null; assuming the node nodes not exist.
| 14:45:38,327 WARN [CacheLoaderInterceptor] The CacheLoader interface has changed since JBossCache 1.3.x
| 14:45:38,327 WARN [CacheLoaderInterceptor] Please see http://jira.jboss.com/jira/browse/JBCACHE-118
| 14:45:38,327 WARN [CacheLoaderInterceptor] CacheLoader.get() should return an empty Map if the node does exist but doesn't have any attributes.
| 14:45:38,358 WARN [CacheLoaderInterceptor] CacheLoader.get(Fqn) returned a null; assuming the node nodes not exist.
| 14:45:38,358 WARN [CacheLoaderInterceptor] The CacheLoader interface has changed since JBossCache 1.3.x
| 14:45:38,358 WARN [CacheLoaderInterceptor] Please see http://jira.jboss.com/jira/browse/JBCACHE-118
| 14:45:38,358 WARN [CacheLoaderInterceptor] CacheLoader.get() should return an empty Map if the node does exist but doesn't have any attributes.
| 14:45:38,417 WARN [CacheLoaderInterceptor] CacheLoader.get(Fqn) returned a null; assuming the node nodes not exist.
| 14:45:38,417 WARN [CacheLoaderInterceptor] The CacheLoader interface has changed since JBossCache 1.3.x
| 14:45:38,417 WARN [CacheLoaderInterceptor] Please see http://jira.jboss.com/jira/browse/JBCACHE-118
| 14:45:38,417 WARN [CacheLoaderInterceptor] CacheLoader.get() should return an empty Map if the node does exist but doesn't have any attributes.
| 14:45:38,420 WARN [CacheLoaderInterceptor] CacheLoader.get(Fqn) returned a null; assuming the node nodes not exist.
| 14:45:38,420 WARN [CacheLoaderInterceptor] The CacheLoader interface has changed since JBossCache 1.3.x
| 14:45:38,420 WARN [CacheLoaderInterceptor] Please see http://jira.jboss.com/jira/browse/JBCACHE-118
| 14:45:38,420 WARN [CacheLoaderInterceptor] CacheLoader.get() should return an empty Map if the node does exist but doesn't have any attributes.
| 14:45:38,422 WARN [CacheLoaderInterceptor] CacheLoader.get(Fqn) returned a null; assuming the node nodes not exist.
Any help is appreciated.
thanks
Prassana
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061880#4061880
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061880
18Â years, 9Â months
[JBoss Seam] - Re: Seam 2.0.0 B1 & validateAll
by FabBoco
Yes I have validateAll
This is my form
|
| ...........
|
| <trh:body onload="startup();">
| <f:loadBundle basename="messages" var="msgs" />
| <tr:form id="form" usesUpload="false" defaultCommand="go" >
| <tr:panelPage id="panelPage">
| <!-- HEADER -->
| <ui:include src="header.xhtml"/>
|
| ..........
|
| <trh:tableLayout borderWidth="0" width="100%">
| <s:validateAll id="validateAll">
|
| <trh:rowLayout width="100%" >
| <trh:cellFormat styleClass="formFieldLabel" ><tr:outputLabel for="nome" value="#{msgs.form_Asse_nome}" rendered="#{(asseOperation=='CREATE') or (asseOperation=='EDIT') or (asseOperation=='DISPLAY') or (asseOperation=='DELETE')}"/></trh:cellFormat>
| <trh:cellFormat >
| <tr:inputText id="nome" value="#{asse.nome}" required="true" rendered="#{(asseOperation=='CREATE') or (asseOperation=='EDIT')}" />
| <tr:outputText id="nome" value="#{asse.nome}" rendered="#{(asseOperation=='DISPLAY') or (asseOperation=='DELETE')}" />
| </trh:cellFormat>
| <trh:cellFormat width="1%"><tr:image styleClass="imageLink" source="img/info.gif" onclick="help('help/form_Asse_nome.html');" /></trh:cellFormat>
| </trh:rowLayout>
|
| ....
|
| </s:validateAll>
| </trh:tableLayout>
| <!-- BUTTONS -->
| <tr:spacer height="15" />
| <trh:tableLayout borderWidth="0" width="100%">
| <trh:rowLayout width="100%" >
| <trh:cellFormat halign="right" width="50%">
| <tr:commandButton id="go" styleClass="button" text="#{msgs.Application_buttonNew}" action="#{AsseManager.processCreate}" rendered="#{asseOperation=='CREATE'}" />
| <tr:commandButton id="go" styleClass="button" text="#{msgs.Application_buttonEdit}" action="#{AsseManager.processEdit}" rendered="#{asseOperation=='EDIT'}" />
| <tr:commandButton id="go" styleClass="button" text="#{msgs.Application_buttonDelete}" action="#{AsseManager.processDelete}" rendered="#{asseOperation=='DELETE'}" />
| <tr:commandButton id="go" styleClass="button" text="#{msgs.Application_buttonOk}" action="#{AsseManager.processDisplay}" rendered="#{asseOperation=='DISPLAY'}" />
| </trh:cellFormat>
| <trh:cellFormat halign="left" width="50%">
| <tr:commandButton styleClass="button" text="#{msgs.Application_buttonCancel}" immediate="true" action="#{AsseManager.cancel}" rendered="#{asseOperation!='DISPLAY'}" />
| </trh:cellFormat>
| </trh:rowLayout>
| </trh:tableLayout>
| </tr:panelPage>
| .......
| </tr:form>
|
Thanks
Fabrizio
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061878#4061878
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061878
18Â years, 9Â months
[JBoss Seam] - Re: touble in richface+ajax4jsf+seam
by gringalet
where is my fault? tell me more and detailly, man,thanks. and my web.xml
<?xml version="1.0" encoding="UTF-8"?>
|
| <web-app version="2.5"
| xmlns="http://java.sun.com/xml/ns/javaee"
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
| xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
|
| <!-- Seam -->
|
| <listener>
| <listener-class>org.jboss.seam.servlet.SeamListener</listener-class>
| </listener>
|
| <filter>
| <filter-name>Seam Exception Filter</filter-name>
| <filter-class>org.jboss.seam.servlet.SeamExceptionFilter</filter-class>
| </filter>
|
| <filter-mapping>
| <filter-name>Seam Exception Filter</filter-name>
| <url-pattern>*.jsf</url-pattern>
| </filter-mapping>
|
| <!-- MyFaces -->
|
| <listener>
| <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
| </listener>
|
| <context-param>
| <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
| <param-value>client</param-value>
|
| </context-param>
|
| <servlet>
| <servlet-name>Faces Servlet</servlet-name>
| <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
| <load-on-startup>1</load-on-startup>
| </servlet>
|
| <servlet-mapping>
| <servlet-name>Faces Servlet</servlet-name>
| <url-pattern>*.jsf</url-pattern>
| </servlet-mapping>
|
|
| <!--ajax-->
|
|
| <display-name>a4jEchoText</display-name>
|
| <filter>
| <display-name>Ajax4jsf Filter</display-name>
| <filter-name>ajax4jsf</filter-name>
| <filter-class>org.ajax4jsf.Filter</filter-class>
| </filter>
|
| <filter-mapping>
| <filter-name>ajax4jsf</filter-name>
| <servlet-name>Faces Servlet</servlet-name>
| <dispatcher>REQUEST</dispatcher>
| <dispatcher>FORWARD</dispatcher>
| <dispatcher>INCLUDE</dispatcher>
| </filter-mapping>
| <!---->
| </web-app>
and data.txt is a data of treeview. like it:
| leoin moscow dept_big dept2
| gg moscow dept_big dept2
| rewre beijing dept_big dept2
| rewre2 beijing dept_big dept2
|
"Department" is a table in database and i want to replace the data.txt by it. so i rewirte the initData(), that doesn't work ,tell me why please.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061872#4061872
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061872
18Â years, 9Â months