开发者

Load HTML from database into <p:editor/> component primefaces

开发者 https://www.devze.com 2023-03-27 06:47 出处:网络
开发者_开发知识库I\'m trying to load the text, which was created by the component . I need to load this text from the data base and put it again inside of this component to allow the Text\'s editing.
开发者_开发知识库

I'm trying to load the text, which was created by the component . I need to load this text from the data base and put it again inside of this component to allow the Text's editing.

Is that possible?

Sarang


Yes, this is possible. Just bind the value of your -component to a bean which loads the text from the database

0

精彩评论

暂无评论...
验证码 换一张
取 消