Preset value in webhelper textarea

2009-05-02 Thread SystemicPlural
I can't seem to pre-set a value in the text area. eg ${h.textarea('myTextArea', value='preset text', cols="60", rows="10")} I need it so that I can maintain form state between postbacks. eg ${h.textarea('idealValues', value=c.myTextArea, cols="60", rows="10")} It works on single line text elem

Re: Preset value in webhelper textarea

2009-05-02 Thread SystemicPlural
On 2 May, 10:01, SystemicPlural wrote: > I can't seem to pre-set a value in the text area. > > eg > > ${h.textarea('myTextArea', value='preset text', cols="60", rows="10")} > > I need it so that I can maintain form state between postbacks. > eg > ${h.textarea('idealValues', value=c.myTextArea, co

Re: Preset value in webhelper textarea

2009-05-02 Thread Piotr Kęplicz
SystemicPlural: > I can't seem to pre-set a value in the text area. > > eg > > ${h.textarea('myTextArea', value='preset text', cols="60", rows="10")} The parameter name is "content". textarea(name, content='', id=None, **attrs) .pk. --~--~-~--~~~---~--~~ You rec