Erro visualizar canvas com campos imagem e htmleditor_area

Dicas do Oracle Forms Builder - Blocos, Itens, LOV, Canvas, Triggers, comandos, PLL, d2kwutil, FMB, Alert, menus, etc
Responder
Avatar do usuário
tiago_pimenta
Rank: DBA Júnior
Rank: DBA Júnior
Mensagens: 213
Registrado em: Qua, 29 Jun 2011 9:49 am
Localização: Barretos / SP

Pessoal, bom dia.

Estou com um erro aqui no qual não faço a menor ideia de como resolver, trabalho com Forms 10g e tenho um canvas que tem os dois campos que citei no título do tópico, um é o htmleditor_area e o outor é um campo image.

Acontece que o canvas está com o campo htmleditor_area ativo e visível, toda vez que visualizo esse canvas, dá a seguinte mensagem de erro:

Imagem

Mas clicando em OK, eu consigo trabalhar normalmentes... Acontece que agora eu precisei colocar um campo do tipo imagem e além dessa mensagem relacionada ao htmleditor, está vindo outra mensagem de erro:

Imagem

Quando clico para obter mais informações, aparece outra mensagem !!!

Imagem

Se clico em fechar nas duas mensagens, ele fecha o forms.

Já desinstalei o java, o jinitiator tentei abrir e mesmo assim dava os erros, instalei o java mais recente (Java 6 Update 31) e o jinitiator 1.3.1.30 e os erros persistem...

Então queria saber se alguém aqui já passou por isso e como resolveu !!!

Abraços.
Avatar do usuário
dr_gori
Moderador
Moderador
Mensagens: 5024
Registrado em: Seg, 03 Mai 2004 3:08 pm
Localização: Portland, OR USA
Contato:
Thomas F. G

Você já respondeu a dúvida de alguém hoje?
https://glufke.net/oracle/search.php?search_id=unanswered

Eu acho que o problema é que não está INSTALADO o Sferyx.
Veja essa página:
http://www.sferyx.com/htmleditor/oracle ... anual.html
Oracle Forms Java HTML Editor Bean Integration manual

How can I integrate the editor in Oracle Forms?

As any other java bean is integrated in Oracle Forms designer. Place the jar file in the designer's classpath and it will be automatically detected by the Oracle Forms Designer. You can add it after that easily as a bean area.

1. copy the HTMLEditorPro.jar file in the <ORACLE_HOME>/forms/java directory
2. edit your /forms/server/formsweb.cfg file to add the HTMLEditorPro.jar as follows:
# Forms applet archive setting for JInitiator
archive_jini=f90all_jinit.jar,HTMLEditorPro.jar
# Forms applet archive setting for Microsoft Internet Explorer native JVM
archive_ie=f90all.cab,HTMLEditorPro.jar
# Forms applet archive setting for other clients (Sun Java Plugin, Appletviewer, etc)
archive=f90all.jar,HTMLEditorPro.jar
3. open the HTMLEditorSampleForm.fmb module (Oracle Forms module)
4. compile all and run the module
5. Into the Oracle Forms Visual designer insert a Bean area and set the implementation property to sferyx.administration.editors.HTMLEditorOracleBean

You can note on the screenshot below the bean implementation property of the Bean Area is set to sferyx.administration.editors.HTMLEditorOracleBean:

How to get the content of the editor in Oracle Forms?

Invoking a function from PL/SQL:

Selecionar tudo

Declare
vString VarChar2(2000);
Begin
vString := FBean.Invoke_Char('HTMLEDITOR_AREA',1,'getBodyContent');
:block3.TEXT_AREA := vString; 
End;


How to set the content of the editor in Oracle Forms?

Selecionar tudo

Declare
hArgs FBEAN.ARGLIST;
Begin
hArgs:=FBEAN.CREATE_ARGLIST;
FBEAN.ADD_ARG(hArgs,'some, text');
FBean.Invoke('HTML_EDITOR',1,'setContent',hArgs);
Avatar do usuário
tiago_pimenta
Rank: DBA Júnior
Rank: DBA Júnior
Mensagens: 213
Registrado em: Qua, 29 Jun 2011 9:49 am
Localização: Barretos / SP

dr_gori escreveu:Eu acho que o problema é que não está INSTALADO o Sferyx.
Veja essa página:
http://www.sferyx.com/htmleditor/oracle ... anual.html
Opa... obrigado Gori, vou ler o link que você postou !!!

[ ]s
Responder
  • Informação
  • Quem está online

    Usuários navegando neste fórum: Nenhum usuário registrado e 12 visitantes