Postback problem for SerialClob object bound to a TextArea component

View: New views
7 Messages — Rating Filter:   Alert me  

Postback problem for SerialClob object bound to a TextArea component

by John Baker :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


I have an application that uses a converter to convert a CLOB type to
String.  The converter works and when executing the application, the
converted value appears in a TextArea component.

However, if I do a postback then I get an ambiguous error message
in a message component.

It seems that TextArea does not support *LOB types

Is there any way to display the value of the CLOB in a TextArea?

Or, I should bind the TextArea to a String then cache the CLOB value
and use the converter to set the TextArea value?

John

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: Postback problem for SerialClob object bound to a TextArea component

by John Baker :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Does anyone reply to messages sent to this group ?

John

John Baker wrote:

>
> I have an application that uses a converter to convert a CLOB type to
> String.  The converter works and when executing the application, the
> converted value appears in a TextArea component.
>
> However, if I do a postback then I get an ambiguous error message
> in a message component.
>
> It seems that TextArea does not support *LOB types
>
> Is there any way to display the value of the CLOB in a TextArea?
>
> Or, I should bind the TextArea to a String then cache the CLOB value
> and use the converter to set the TextArea value?
>
> John
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: Postback problem for SerialClob object bound to a TextArea component

by HandyGeek :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

John,
Having lurked on this list for several months, it appears lately that
team members are very selective on posts they respond to.

/David

John Baker wrote:

>
> Does anyone reply to messages sent to this group ?
>
> John
>
> John Baker wrote:
>>
>> I have an application that uses a converter to convert a CLOB type to
>> String.  The converter works and when executing the application, the
>> converted value appears in a TextArea component.
>>
>> However, if I do a postback then I get an ambiguous error message
>> in a message component.
>>
>> It seems that TextArea does not support *LOB types
>>
>> Is there any way to display the value of the CLOB in a TextArea?
>>
>> Or, I should bind the TextArea to a String then cache the CLOB value
>> and use the converter to set the TextArea value?
>>
>> John
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@...
> For additional commands, e-mail: dev-help@...
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: Postback problem for SerialClob object bound to a TextArea component

by richard ratta :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

This is because "we" (the former Woodstock development team) are no
longer assigned to
Woodstock development.

I have remained on the alias, in case I can be of help in my spare time.
This means that if
I am familiar with a problem I will usually respond. If I am not
familiar with a problem
and it will require as much investigation for me as the reporter, then I
usually do not respond.

In particular I don't respond to email that I cannot understand like
this one that
refers to "CLOB" which I do not feel like trying to figure out ;)

-rick

HandyGeek wrote:

> John,
> Having lurked on this list for several months, it appears lately that
> team members are very selective on posts they respond to.
>
> /David
>
> John Baker wrote:
>
>>
>> Does anyone reply to messages sent to this group ?
>>
>> John
>>
>> John Baker wrote:
>>
>>>
>>> I have an application that uses a converter to convert a CLOB type
>>> to String.  The converter works and when executing the application,
>>> the converted value appears in a TextArea component.
>>>
>>> However, if I do a postback then I get an ambiguous error message
>>> in a message component.
>>>
>>> It seems that TextArea does not support *LOB types
>>>
>>> Is there any way to display the value of the CLOB in a TextArea?
>>>
>>> Or, I should bind the TextArea to a String then cache the CLOB value
>>> and use the converter to set the TextArea value?
>>>
>>> John
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@...
>> For additional commands, e-mail: dev-help@...
>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@...
> For additional commands, e-mail: dev-help@...
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: Postback problem for SerialClob object bound to a TextArea component

by HandyGeek :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thank you for posting, Richard.  Until now, I had no idea that anything
happened to the team, other than a sudden and obvious silence.  I would
further suppose that you cannot elaborate on what we as users can expect
with the future of Woodstock?  No offense taken if you choose to ignore
that question.

Regarding the Character Large Object type (CLOB), John Baker is the Sun
technician working this issue for me.  The table component's Text Area
will display CLOB data - but issues an obscure message on post back (for
example, trying to edit, then post back the CLOB data).  Refer to issue
http://www.netbeans.org/issues/show_bug.cgi?id=148194

Best regards,
David

richard ratta wrote:

> This is because "we" (the former Woodstock development team) are no
> longer assigned to
> Woodstock development.
>
> I have remained on the alias, in case I can be of help in my spare
> time. This means that if
> I am familiar with a problem I will usually respond. If I am not
> familiar with a problem
> and it will require as much investigation for me as the reporter, then
> I usually do not respond.
>
> In particular I don't respond to email that I cannot understand like
> this one that
> refers to "CLOB" which I do not feel like trying to figure out ;)
>
> -rick
>
> HandyGeek wrote:
>
>> John,
>> Having lurked on this list for several months, it appears lately that
>> team members are very selective on posts they respond to.
>>
>> /David
>>
>> John Baker wrote:
>>
>>>
>>> Does anyone reply to messages sent to this group ?
>>>
>>> John
>>>
>>> John Baker wrote:
>>>
>>>>
>>>> I have an application that uses a converter to convert a CLOB type
>>>> to String.  The converter works and when executing the application,
>>>> the converted value appears in a TextArea component.
>>>>
>>>> However, if I do a postback then I get an ambiguous error message
>>>> in a message component.
>>>>
>>>> It seems that TextArea does not support *LOB types
>>>>
>>>> Is there any way to display the value of the CLOB in a TextArea?
>>>>
>>>> Or, I should bind the TextArea to a String then cache the CLOB value
>>>> and use the converter to set the TextArea value?
>>>>
>>>> John
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@...
>>> For additional commands, e-mail: dev-help@...
>>>
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@...
>> For additional commands, e-mail: dev-help@...
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@...
> For additional commands, e-mail: dev-help@...
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: Postback problem for SerialClob object bound to a TextArea component

by richard ratta :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



HandyGeek wrote:

> Thank you for posting, Richard.  Until now, I had no idea that
> anything happened to the team, other than a sudden and obvious
> silence.  I would further suppose that you cannot elaborate

...you suppose correctly ....

> on what we as users can expect with the future of Woodstock?  No
> offense taken if you choose to ignore that question.
>
> Regarding the Character Large Object type (CLOB), John Baker is the
> Sun technician working this issue for me.  The table component's Text
> Area will display CLOB data - but issues an obscure message on post
> back (for example, trying to edit, then post back the CLOB data).  
> Refer to issue http://www.netbeans.org/issues/show_bug.cgi?id=148194

I'm afraid the stack trace in that report does not indicate to me that
Woodstock component
is the issue. There seems to be some serialization issue with container
session.

at java.io.ObjectInputStream.<init>(ObjectInputStream.java:277)
        at org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:428)
        at org.apache.catalina.session.StandardManager.load(StandardManager.java:372)


Make sure that any ManagedBeans like SessionBeans can be serialized and
resurrected correctly
after being serialized. One sanity check my be to turn off session
persistance in the container.

This point I believe is well before the request is being processed by
JSF, at least from the
minimal stack trace shown.

-rick

>
> Best regards,
> David
>
> richard ratta wrote:
>
>> This is because "we" (the former Woodstock development team) are no
>> longer assigned to
>> Woodstock development.
>>
>> I have remained on the alias, in case I can be of help in my spare
>> time. This means that if
>> I am familiar with a problem I will usually respond. If I am not
>> familiar with a problem
>> and it will require as much investigation for me as the reporter,
>> then I usually do not respond.
>>
>> In particular I don't respond to email that I cannot understand like
>> this one that
>> refers to "CLOB" which I do not feel like trying to figure out ;)
>>
>> -rick
>>
>> HandyGeek wrote:
>>
>>> John,
>>> Having lurked on this list for several months, it appears lately
>>> that team members are very selective on posts they respond to.
>>>
>>> /David
>>>
>>> John Baker wrote:
>>>
>>>>
>>>> Does anyone reply to messages sent to this group ?
>>>>
>>>> John
>>>>
>>>> John Baker wrote:
>>>>
>>>>>
>>>>> I have an application that uses a converter to convert a CLOB type
>>>>> to String.  The converter works and when executing the
>>>>> application, the converted value appears in a TextArea component.
>>>>>
>>>>> However, if I do a postback then I get an ambiguous error message
>>>>> in a message component.
>>>>>
>>>>> It seems that TextArea does not support *LOB types
>>>>>
>>>>> Is there any way to display the value of the CLOB in a TextArea?
>>>>>
>>>>> Or, I should bind the TextArea to a String then cache the CLOB value
>>>>> and use the converter to set the TextArea value?
>>>>>
>>>>> John
>>>>>
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe@...
>>>> For additional commands, e-mail: dev-help@...
>>>>
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@...
>>> For additional commands, e-mail: dev-help@...
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@...
>> For additional commands, e-mail: dev-help@...
>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@...
> For additional commands, e-mail: dev-help@...
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: Postback problem for SerialClob object bound to a TextArea component

by John Baker :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


I've resolved this.  The object type returned by getAsObject() in the
converter was not compatible with Oracle.
Oracle JDBC APIs should be used.

Sorry for the trouble

John

John Baker wrote:

>
> Does anyone reply to messages sent to this group ?
>
> John
>
> John Baker wrote:
>>
>> I have an application that uses a converter to convert a CLOB type to
>> String.  The converter works and when executing the application, the
>> converted value appears in a TextArea component.
>>
>> However, if I do a postback then I get an ambiguous error message
>> in a message component.
>>
>> It seems that TextArea does not support *LOB types
>>
>> Is there any way to display the value of the CLOB in a TextArea?
>>
>> Or, I should bind the TextArea to a String then cache the CLOB value
>> and use the converter to set the TextArea value?
>>
>> John
>>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...