Hi,
        
In my html file I have a div tag like this,

<div wicket:id="editorArea">Type Here</div>

I am using a JavaScript library called bootstrap-wysiwyg to make this
div tag a text are which we can type rich text. When the person types
text, div tag's html content updates to represent the text content in
html. I want to retrieve it in to the Java code of the html file in
wicket. I tried to do it by creating reference variable to div tag
like following,

WebMarkupContainer editorArea=new WebMarkupContainer("editorArea");
String text=editorArea.getMarkup().toString(true)

But this don't give me the updated HTML content. I give only the
initial html content. what is the problem here?

Thanks!

-- 
Regards
Andun S.L. Gunawardana
Undergraduate
Department of Computer Science And Engineering
University of Moratuwa
Sri Lanka

Blog - http://www.insightforfuture.blogspot.com/
LinkedIn - http://www.linkedin.com/pub/andun-s-l-gunawardana/34/646/703
Twitter -http://twitter.com/AndunSLG

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to