On 12.07.2010 15:43, Christophe Cordenier wrote:
> What if you use a plain html textarea with readonly attribute instead of a
> div ?
This works, thank you!
- Stephan
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.
What if you use a plain html textarea with readonly attribute instead of a
div ?
2010/7/12 Stephan Windmüller
> Am 12.07.2010 15:09, schrieb Christophe Cordenier:
>
> > Maybe you can create a new component that displays your text in a div and
> > use a disable/invisible textfield.
>
> For this I
Am 12.07.2010 15:09, schrieb Christophe Cordenier:
> Maybe you can create a new component that displays your text in a div and
> use a disable/invisible textfield.
For this I have to parse the text and convert it to HTML: Special
characters, newlines etc.
- Stephan
-
On 12.07.2010 14:54, Benny Law wrote:
> Or, if you really want the textarea to be readonly (vs disabled), just add
> the readonly="readonly" attribute. This allows the user to set focus to it
> and copy content from it but not change the content, and it doesn't get the
> disabled appearance.
This
Hi
Maybe you can create a new component that displays your text in a div and
use a disable/invisible textfield.
So your field is secure, and you let the possibility for the user to
copy/paste the text.
2010/7/12 Stephan Windmüller
> On 12.07.2010 14:46, Christophe Cordenier wrote:
>
> >> Is it
On 12.07.2010 14:46, Christophe Cordenier wrote:
>> Is it possbible to mark the component itself as read-only? Setting
>> t:disabled="true" works but the textarea is rendered differently.
> AFAIR Tapestry simply append 'disabled' in the generated markup. Using
> CSS to stylize .disabled should to
Or, if you really want the textarea to be readonly (vs disabled), just add
the readonly="readonly" attribute. This allows the user to set focus to it
and copy content from it but not change the content, and it doesn't get the
disabled appearance.
Benny
On Mon, Jul 12, 2010 at 8:46 AM, Christophe
Hi
AFAIR Tapestry simply append 'disabled' in the generated markup. Using CSS
to stylize .disabled should to the trick.
2010/7/12 Stephan Windmüller
> Hello!
>
> I am trying to use a read-only textarea component inside a form
> component. When the form is submitted, I get this error:
>
> org.ap