cancel
Showing results for 
Search instead for 
Did you mean: 

How to print the content of a text edit ?

Former Member
0 Kudos

Hi to all,

I have a view with a text edit and I want to print its content. I created a button and I want to print text edit content pressing this button. How can I do? Which java code I have to insert in that button?

thanks a lot,

Antonio

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Antonio,

Sadly, there is no way to do it directly. Even in plain HTML application it is impossible to print text of UI control (<textarea> in this case).

So you have to open new browser window containing entered text and let user print text himself. Or invoke window.print() on document load event.

VS

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Antonio,

Sorry to say its not possible. Only thing u can do is follow the way valery suggested.

Regards,

Sirisha.R.S