vaadin custom layout setting a text area in a table with the location attribute

Posted by user3717298 on Stack Overflow See other posts from Stack Overflow or by user3717298
Published on 2014-06-07T07:45:15Z Indexed on 2014/06/07 9:24 UTC
Read the original article Hit count: 198

Filed under:
|
|

I need to set a text area in the html template and use it as a custom component in vaadin the html snippet is as below

<table>
    <tr>
        <td>
            JUNK SENTENCE
        </td>
        <td>
             <div location="HEADIN"></div>
             <div location="Details"></div>
             <div location="Attachment"></div>
        </td>
        <td>
            <p>School of more than 50 students univer versities.</p>
        </td>
    </tr>
 </table>

All the place holders are working and displays data but the "details" holder should be a text area. as the text is a lot over there so I tried the below way but it just turned the place holder to text vaadin could not manipulate / identify the "Details" place holder. I tried the below way i set - in side the text area tag.

  <textarea rows="4" cols="50">

            </textarea>

and again i tried this way too which also did not work.

<textarea rows="4" cols="50" location="Details">

    </textarea>

Any guidance would be appreciated to solve this I am setting the needed values from a formfeildfactory and these values are set by implementing the Vaadin Custom field class(in case it helps some more to identify)

© Stack Overflow or respective owner

Related posts about html

Related posts about vaadin