Vitaly Baranovsky-3 wrote:
> 
> Good day!
> 
> I've written html-portlet, which simply shows html entered in edit mode.
> But
> when I enter text in textarea with more than 254 symbols length, I have
> javax.portlet.PortletModeException when store this text in preference.
> 
> How can I write portlet that stores long text (more than 254 symbols
> length)?
> 
> Thanks!
> 
> With best regards,
> Vitaly Baranovsky.
> 
> P.S.: Sorry for my bad English
> 

Well, I agree that 254 is not sufficient. It could be a bit more, maybe 500
is enough. But, by the way, we should never forget the specification, that
says:

"Portlet preferences are intended to store basic configuration data for
portlets. It is not the purpose of the portlet preferences to replace
general purpose databases."


Marc F.
-- 
View this message in context: 
http://www.nabble.com/How-can-I-store-preference-with-length-more-then-254-symbols--tf2371519.html#a7220715
Sent from the Jetspeed - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to