首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Rich popupPanel不会自动调整大小

Rich popupPanel不会自动调整大小
EN

Stack Overflow用户
提问于 2015-03-02 19:28:05
回答 1查看 1.2K关注 0票数 0

我得到了一个rich:popupPanel,如下所示:

代码语言:javascript
复制
<rich:popupPanel id="someId" header="some header" domElementAttachment="parent" autosized="true">
    <h:panelGrid columns="3" id="searchGrid">
        <h:outputText value="some value:" />
        <h:inputText id="someOtherId" value="#{someModel.value}" required="true" maxlength="12" size="14"/>
        <rich:message for="someOtherId" />
    </h:panelGrid>

    <br />

    <h:panelGrid columns="3" id="someButtons">
        <a4j:commandButton id="someButton" value="search" action="#{someCtrl.doSomething()}" render="@this" execute="someId"
            oncomplete="if (#{empty facesContext.messageList}) {#{rich:component('someId')}.hide();}" />
        <a4j:commandButton value="cancel" render="tabs" execute="@this" oncomplete="#{rich:component('someId')}.hide(); return false;" />
        <rich:message for="someButton" />
    </h:panelGrid>

</rich:popupPanel>

看起来这个问题JIRA已经解决了,但是它仍然不适用于我。我得到了以下对richfaces的依赖:

代码语言:javascript
复制
  <dependency>
    <groupId>org.richfaces.core</groupId>
    <artifactId>richfaces-core-impl</artifactId>
    <version>4.3.7.Final-redhat-1</version>
  </dependency>

也许问题是我使用了JBOSS支持的这个版本?或者有人知道如何根据面板的内容来调整大小?

EN

回答 1

Stack Overflow用户

发布于 2017-04-25 16:58:50

有一个Rich Faces缺陷https://issues.jboss.org/browse/RF-13655,我不知道它是不是应用于4.3.7,因为这个问题没有提交的散列。存储库https://github.com/richfaces4/components

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/28808676

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档