You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <de...@tapestry.apache.org> on 2007/03/15 19:06:09 UTC

[jira] Created: (TAPESTRY-1360) Add a @Width annotation to set the width of input fields generated by BeanEditForm

Add a @Width annotation to set the width of input fields generated by BeanEditForm
----------------------------------------------------------------------------------

                 Key: TAPESTRY-1360
                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1360
             Project: Tapestry
          Issue Type: Improvement
          Components: tapestry-core
    Affects Versions: 5.0
            Reporter: Howard M. Lewis Ship


BeanEditForm currently doesn't set the width attribute of the <input> element, this results in narrow (approximately 20 character) fields; it would be nice if it would set the value based on an annotation, @Width, that could be associated with the property to be editted.  Further, for very wide widths, the BeanEditForm could automatically switch over to a TextArea element.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Re: [jira] Created: (TAPESTRY-1360) Add a @Width annotation to set the width of input fields generated by BeanEditForm

Posted by Robert Zeigler <ro...@scazdl.org>.
Why not calculate the width based on min/max length attributes used  
in validation?

Robert



On Mar 15, 2007, at 3/151:06 PM , Howard M. Lewis Ship (JIRA) wrote:

> Add a @Width annotation to set the width of input fields generated  
> by BeanEditForm
> ---------------------------------------------------------------------- 
> ------------
>
>                  Key: TAPESTRY-1360
>                  URL: https://issues.apache.org/jira/browse/ 
> TAPESTRY-1360
>              Project: Tapestry
>           Issue Type: Improvement
>           Components: tapestry-core
>     Affects Versions: 5.0
>             Reporter: Howard M. Lewis Ship
>
>
> BeanEditForm currently doesn't set the width attribute of the  
> <input> element, this results in narrow (approximately 20  
> character) fields; it would be nice if it would set the value based  
> on an annotation, @Width, that could be associated with the  
> property to be editted.  Further, for very wide widths, the  
> BeanEditForm could automatically switch over to a TextArea element.
>
> -- 
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: dev-help@tapestry.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Re: [jira] Closed: (TAPESTRY-1360) Add a @Width annotation to set the width of input fields generated by BeanEditForm

Posted by Kevin Menard <km...@servprise.com>.
Any reason that we don't just recommend CSS for this?

I mean, if the work's done, that's fine.  But I do get a little worried
about the sheer number of annotations.

-- 
Kevin


On 12/21/07 6:48 PM, in article 14245890.1198280923329.JavaMail.jira@brutus,
"Howard M. Lewis Ship (JIRA)" <de...@tapestry.apache.org> wrote:

> 
>      [ 
> https://issues.apache.org/jira/browse/TAPESTRY-1360?page=com.atlassian.jira.pl
> ugin.system.issuetabpanels:all-tabpanel ]
> 
> Howard M. Lewis Ship closed TAPESTRY-1360.
> ------------------------------------------
> 
>        Resolution: Fixed
>     Fix Version/s: 5.0.7
> 
>> Add a @Width annotation to set the width of input fields generated by
>> BeanEditForm



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


[jira] Closed: (TAPESTRY-1360) Add a @Width annotation to set the width of input fields generated by BeanEditForm

Posted by "Howard M. Lewis Ship (JIRA)" <de...@tapestry.apache.org>.
     [ https://issues.apache.org/jira/browse/TAPESTRY-1360?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship closed TAPESTRY-1360.
------------------------------------------

       Resolution: Fixed
    Fix Version/s: 5.0.7

> Add a @Width annotation to set the width of input fields generated by BeanEditForm
> ----------------------------------------------------------------------------------
>
>                 Key: TAPESTRY-1360
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1360
>             Project: Tapestry
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.0
>            Reporter: Howard M. Lewis Ship
>            Assignee: Howard M. Lewis Ship
>             Fix For: 5.0.7
>
>
> BeanEditForm currently doesn't set the width attribute of the <input> element, this results in narrow (approximately 20 character) fields; it would be nice if it would set the value based on an annotation, @Width, that could be associated with the property to be editted.  Further, for very wide widths, the BeanEditForm could automatically switch over to a TextArea element.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


[jira] Assigned: (TAPESTRY-1360) Add a @Width annotation to set the width of input fields generated by BeanEditForm

Posted by "Howard M. Lewis Ship (JIRA)" <de...@tapestry.apache.org>.
     [ https://issues.apache.org/jira/browse/TAPESTRY-1360?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship reassigned TAPESTRY-1360:
----------------------------------------------

    Assignee: Howard M. Lewis Ship

> Add a @Width annotation to set the width of input fields generated by BeanEditForm
> ----------------------------------------------------------------------------------
>
>                 Key: TAPESTRY-1360
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1360
>             Project: Tapestry
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.0
>            Reporter: Howard M. Lewis Ship
>            Assignee: Howard M. Lewis Ship
>
> BeanEditForm currently doesn't set the width attribute of the <input> element, this results in narrow (approximately 20 character) fields; it would be nice if it would set the value based on an annotation, @Width, that could be associated with the property to be editted.  Further, for very wide widths, the BeanEditForm could automatically switch over to a TextArea element.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org