Page 1 of 1

Using TRichview in delphi web ISAPI

Posted: Thu Nov 17, 2005 9:47 am
by LUIS DIAZ
I use TRichview in web php application with a delphi web ISAPI for show texts write with TRichviewActions.

Code: Select all

procedure TWebModule1.WebModule1CargaAsuntoAction(Sender: TObject;
  Request: TWebRequest; Response: TWebResponse; var Handled: Boolean);
var Part,Codigo:string;
begin
  try
    Conexion.Connect;
  except
    Conexion.Disconnect;
    Response.Content:='<h1>Erro na conexión</h1><p><p></p>';
    Exit;
  end;
  with Query do
    begin
      Close;
      Sql.Clear;
      Codigo:=Request.QueryFields.Values['id'];
      Part:=Request.QueryFields.Values['part'];
      Sql.Text:='Select SESASU_ASUNTO from SES'+trim(Part)+'ASU where SESASU_CODIGO='+Codigo;
      try
        Open;
      except
        Query.Close;
        Transa.Rollback;
        Conexion.Disconnect;
        Response.Content:='<p><h1>Non existe Asunto</h1>';
        Exit;
      end;
    end;
  Response.Content:='<b>'+Query.fieldbyname('SESASU_ASUNTO').AsString+'</b>';
  Query.Close;
  Transa.Close;
  Conexion.Disconnect;
end;
SESASU_ASUNTO is a firebird blob field.
It's fine, except export the Bullets and Numbering to html.
Why?

Posted: Thu Nov 17, 2005 6:57 pm
by Sergey Tkachenko
What's exactly the problems with bullets&numbering?

Posted: Fri Nov 18, 2005 6:57 am
by Guest
I'm sorry. My problem is in CSS style.
Thanks.