如何为文本换行 在Oracle ADF 11g应用程序中

问题描述 投票:0回答:2

我正在使用Fusion Web Application建立一个Jdeveloper 11.1.2.3

如何为<af:commandLink>换文字?

<af:outputText>组件中有一个名为noWrap的礼仪,我可以选择是否篡改文本。

在我的情况下,我有一个冗长的标题,定义为<af:commandLink>,我想环绕链接文本,但没有这样的适当。

注意:我不希望sub-string值或在数据库级别执行它,而是我想在应用程序级别解决此问题。

java oracle11g oracle-adf
2个回答
0
投票

只需使用css设置样式,无论是内联还是通过皮肤类。 "white-space:nowrap;""white-space:normal;"


1
投票

可以将outputText嵌套到命令链接中。

正是如此

<af:commandLink> <af:outputText value="Wrapped Text Line"/> </af:commandLink>
© www.soinside.com 2019 - 2024. All rights reserved.