小编Net*_*ter的帖子

Eclipse构建路径警告

我无法在GlassFish上部署我的Java EE应用程序,因为我在Problems视图上有此构建路径警告:

说明资源路径位置类型类路径条目eclipse.fproj.jdt.libprov.osgi/jpt.jpa标记为发布/导出,但不在项目类路径中导出.Eclipse和运行时的类路径可见性会有所不同.declaration-reglementaire-dao P/declaration-reglementaire-dao Classpath Dependency Validator Message

还有这个:

说明资源路径位置类型企业应用程序项目声明-reslementaire-ear的构面版本必须为5.0才能包含Java EE 5.0项目声明-reglementaire-serviceweb.declaration-reglementaire-ear P/declaration-reglementaire-ear企业应用验证器消息

glassfish java-ee buildpath

4
推荐指数
1
解决办法
4384
查看次数

java.lang.IllegalArgumentException:找不到属性类的Setter

我想实现一个包含行编辑的表.

我在展示中找到了这个例子,但我得到了这个错误的时间:

  • javax.servlet.ServletException:找不到属性类的Setter
  • java.lang.IllegalArgumentException:找不到属性类的Setter

我的xhtml

           <a4j:status onstart="#{rich:component('statPane')}.show()"
                onstop="#{rich:component('statPane')}.hide()" />

            <h:form id="form">
                <rich:dataScroller for="dataTableId" maxPages="8" />
                <rich:extendedDataTable id="dataTableId" rows="200"
                    value="#{declarationReglementaireModel.detailCurrentDecReg.decReg.listLigneTa3SDTO}"
                    var="ligneTA3" frozenColumns="2"
                    style="height:300px; width:800px;" selectionMode="none">

                    <rich:column width="35px">
                        <h:panelGrid columns="1" cellpadding="2">

                            <a4j:commandLink class="lien_detail" render="editGrid"
                                execute="@this"
                                oncomplete="#{rich:component('editPane')}.show()">
                                <span class="icone icone-edit icone-align-center" />
                                <a4j:param value="1"
                                    assignTo="#{modifDecRegTa3Model.currentLigneTa3Index}" />
                                <f:setPropertyActionListener target="#{modifDecRegTa3Model.editedRow}"
                                    value="#{ligne}" />
                            </a4j:commandLink>

                        </h:panelGrid>
                    </rich:column>
                    <rich:column width="150px" sortBy="#{ligneTA3.idTitre}"
                        sortOrder="ascending">
                        <f:facet name="header">Référence Titre</f:facet>
                        <h:outputText value="#{ligneTA3.idTitre}">
                        </h:outputText>
                    </rich:column>
                    <rich:column>
                        <f:facet name="header">
                            <h:outputText value="a" />
                        </f:facet>
                        <h:outputText value="#{ligneTA3.vlColA}">
                        </h:outputText>
                    </rich:column>
                    <rich:column>
                        <f:facet name="header">
                            <h:outputText value="b" /> …
Run Code Online (Sandbox Code Playgroud)

jsf richfaces

3
推荐指数
1
解决办法
8776
查看次数

标签 统计

buildpath ×1

glassfish ×1

java-ee ×1

jsf ×1

richfaces ×1