[
https://jira.jboss.org/jira/browse/RF-6974?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nick Belaevski updated RF-6974:
-------------------------------
Component/s: component-input
Fix Version/s: Future
Assignee: Nick Belaevski
> Add maxWidth attribute to rich:inplaceInput
> -------------------------------------------
>
> Key: RF-6974
> URL: https://jira.jboss.org/jira/browse/RF-6974
> Project: RichFaces
> Issue Type: Feature Request
> Components: component-input
> Affects Versions: 3.3.1
> Reporter: John Leed
> Assignee: Nick Belaevski
> Fix For: Future
>
> Attachments: screenshot-1.jpg, screenshot-2.jpg
>
>
> In situations where space is at a premium, it would nice to be able to
> constrain the maximum width of the rich:inplaceInput component so that large
> values do not disturb the layout.
> I will attach screenshots of current and proposed behaviors. The proposed
> example (which is rough) uses the following:
> <h:outputText value="To Recipients:"/>
> <h:panelGroup layout="block" styleClass="clipped-inplace-input">
> <rich:inplaceInput label="To Recipients" id="toRecipients"
> value="#{form.currentEntity.toRecipients}"
> defaultLabel="Click to enter text" required="true"
> minInputWidth="100px">
> <f:validator validatorId="com.kroger.thmm.jsf.EmailAddressList" />
> </rich:inplaceInput>
> </h:panelGroup>
> .clipped-inplace-input{
> overflow: hidden;
> text-overflow: ellipsis;
> white-space:nowrap;
> width:125px;
> }
> .clipped-inplace-input.rich-inplace{
> overflow: hidden;
> text-overflow: ellipsis;
> white-space:nowrap;
> max-width:125px;
> }
> There is some duplication in the CSS styles to keep IE7 compatibility. I
> imagine you guys can do better.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues