You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Josh Canfield (JIRA)" <ji...@apache.org> on 2010/11/22 17:09:16 UTC

[jira] Commented: (TAP5-1352) Evaluate body of TextArea

    [ https://issues.apache.org/jira/browse/TAP5-1352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12934497#action_12934497 ] 

Josh Canfield commented on TAP5-1352:
-------------------------------------

The downside of turning on body rendering for textarea is that existing templates would be broken if they had content in the text area used for development.

It seems like the better solution to set a default value in your object before the page is rendered, as Thiago suggested on the user list.

> Evaluate body of TextArea
> -------------------------
>
>                 Key: TAP5-1352
>                 URL: https://issues.apache.org/jira/browse/TAP5-1352
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>            Reporter: Toby
>            Priority: Minor
>
> In HTML, textareas can be pre-filled with data by putting the text into the body of an TextArea.
> As current TextAreas ignore the body and you need to solve it by manually pre-filling the data, I would suggest to add this as a new feature to the TextArea component:
> Ideally this would be:
> <t:textarea   value="questionAndAnswer.enteredAnswer">${questionAndAnswer.AnswerSuggestion}</t:textarea>

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