| Welcome, Guest |
You have to register before you can post on our site.
|
| Latest Threads |
The packages IW16.xx inc...
Forum: IntraWeb General Discussion
Last Post: hsbelli
Yesterday, 11:46 AM
» Replies: 2
» Views: 180
|
Redirection issues with F...
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 10:03 AM
» Replies: 0
» Views: 68
|
Source Code
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 08:11 AM
» Replies: 3
» Views: 378
|
TContenthandler requires ...
Forum: IntraWeb General Discussion
Last Post: valmeras
08-30-2026, 02:35 AM
» Replies: 0
» Views: 93
|
TIWjQDBGrid erratic behav...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
08-20-2026, 05:12 PM
» Replies: 8
» Views: 1,893
|
Change Language DataTable
Forum: IntraWeb General Discussion
Last Post: Rigoberto Mercedes
08-19-2026, 03:21 PM
» Replies: 1
» Views: 236
|
How to terminate HTTP Thr...
Forum: Indy
Last Post: rlebeau
08-14-2026, 08:01 AM
» Replies: 5
» Views: 714
|
Looking for UI Design Tip...
Forum: Delphi General Discussion
Last Post: chrisjordon232
08-06-2026, 05:17 AM
» Replies: 0
» Views: 269
|
TIWjQDBGrid DateFormat
Forum: IntraWeb General Discussion
Last Post: brushbuny
08-05-2026, 03:31 AM
» Replies: 2
» Views: 1,668
|
Simply convert PeerIp to ...
Forum: Indy
Last Post: DidierMenant
08-04-2026, 03:50 PM
» Replies: 2
» Views: 398
|
|
|
| Intraweb 14 ComboBox Problem |
|
Posted by: fouriee8 - 05-21-2018, 01:07 PM - Forum: IntraWeb General Discussion
- No Replies
|
 |
I recently updated a system to Delph 10.2 using Intraweb 14.
I have a problem with a ComboBox.
Same of the data that is listed in the ComboBox start with a plus sign '+'
Problem ... the values are listed without the '+' sign and I am not able to select any of the listed item.
|
|
|
| IW Application Inside DIV |
|
Posted by: asp - 05-21-2018, 07:34 AM - Forum: IntraWeb General Discussion
- Replies (6)
|
 |
Hi!
Is it possible to incorporate the IW Application inside the DIV tag of an external template? I know it could be achieved by using special IW tags {%%}. But I want that IW application would respect the size of the parent DIV and stretch inside it.
|
|
|
| How to using URL parameters within the same session |
|
Posted by: davenovo - 05-18-2018, 05:19 PM - Forum: IntraWeb General Discussion
- Replies (5)
|
 |
Hello,
right now we know how to handle URL parameters when starting a new session. What we do is call a StartupSession method like shown below
Code: procedure TWebRegistrationServerController.IWServerControllerBaseNewSession(
ASession: TIWApplication);
begin
ASession.Data := TWebRegistrationSession.Create(nil, ASession);
WebRegistrationSession.SetupSession;
end;
Then in the .StartupSession method we look at the parameters and do something like
Code: WebRegistrationSession.StartupSession
aValue := WebApplication.Request.QueryFields.Values[aFieldName];
if aValue = option1 then
FStartupForm:=Option1form.Create...
else if aValue = option 2
FStartupForm:=Option2form.Create...
Then, in the ServerController I set the FStartupForm to the main form
Code: procedure TWebRegistrationServerController.IWServerControllerBaseGetMainForm(
var vMainForm: TIWBaseForm);
begin
vMainForm := WebRegistrationSession.StartForm;
end;
In that way, the URL controls which form the session starts with.
But what if the session is runnig, and the user pastes a URL in the browser and I want to show a form within that session based on the URL?
For example, I am making a simple CMS system based on TinyMCE, as wrapped by the CGDevTools components. If I want the user to be able to link to pages within the CMS I need to have a link that refers to a custom page within the CMS in the same session. So the link will be something like www.whatever.com/$/customPage="my page name"
So I need to be able to detect those links within a current session and then update the page that is being viewed to the page in the parameters. How can I do that?
|
|
|
| SSL and intermediate certificates |
|
Posted by: wesvanjr - 05-17-2018, 07:49 PM - Forum: Indy
- No Replies
|
 |
I am using IntraWeb v.14.2.7 and am trying to make things work with an SSL certificate. I purchased a valid certificate with DigiCert and have installed it successfully. When I launch the web site from FireFox or IE it complains that my certificate is not valid. Upon further research I determined that the SSL chain is breaking when trying to locate the intermediate SSL certificate. There must be something in Indy that addresses this issue. DigiCert support explained that they could not help me because it is the web server that should respond to the intermediate certificate request. They did verify that the proper certificate and intermediate certificate were installed on the windows server correctly. Can you please give me some information on how to go about correcting this issue?
|
|
|
| Soap Service with clientside Certificate |
|
Posted by: etwoss - 05-16-2018, 06:12 AM - Forum: Indy
- Replies (3)
|
 |
Hi
I need a way to talk to a webservice which uses clientside certification.
I tried HTTPRio but somehow i don't get it working
The request i need to send it quit simple:
Code: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:txa="http://txauth.ws.tunix.nl/">
<soapenv:Header/>
<soapenv:Body>
<txa:doAuthenticate>
<principal>E. ten Westenend</principal><telephoneNumber>0031629061745</telephoneNumber>
</txa:doAuthenticate>
</soapenv:Body>
</soapenv:Envelope>
i Can get the Certificate info from the Store using CAPICOM so thats not the problem
I tried to use NetHTTPRequest/NetHTTPCLient but the "OnNeedClientCertificate" is not called and i get an "Empty certificate list" error .
Any help is appreciated
Eric
|
|
|
IntraWeb14 C-Builder |
|
Posted by: KDU - 05-15-2018, 02:57 PM - Forum: IntraWeb General Discussion
- Replies (4)
|
 |
Hello,
I'm trying to get IntraWeb running in c++. Everything is wonderful in delphi, but not in C-Builder.
The generated code from the Wizzard can no be compiled. I get the following errors:
In Project1.c
include <vcl.h>
#pragma hdrstop
USEFORM("Unit1.cpp", IWForm1); /* TIWAppForm: File Type */
USEFORM("ServerController.cpp", IWServerController); /* TIWServerControllerBase: File Type */
USEFORM("UserSessionUnit.cpp", IWUserSession); /* TIWUserSessionBase: File Type */
//---------------------------------------------------------------------------
#include <IWRtlFix.hpp>
#include <IWStart.hpp>
//---------------------------------------------------------------------------
#if _WIN64
int WINAPI _tWinMain (HINSTANCE, HINSTANCE, LPTSTR, int)
#elif __WIN32__
WINAPI WinMain (HINSTANCE, HINSTANCE, LPSTR, int)
#endif
{
try
{
TIWStart * p = new TIWStart (true);
p> Execute (true);
}
catch (exception & exception)
{
}
return 0;
}
// ------------------------------------
[bcc32 error] Project1.cpp (20): E2285 No match found for 'TIWStart :: TIWStart (bool)'
Full parser context
Project1.cpp (17): parsing: int __stdcall WinMain (HINSTANCE__ *, HINSTANCE__ *, char *, int)
Ok, I changed it to
TIWStart * p = new TIWStart ();
works, but the I get the next Error:
//---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
#include "UserSessionUnit.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource "*.dfm"
//---------------------------------------------------------------------------
TIWUserSession* UserSession()
{
return (TIWUserSession*)WebApplication->Data;
}
//---------------------------------------------------------------------------
__fastcall TIWUserSession ::TIWUserSession (TComponent* Owner, TIWApplication* ASession)
: TIWUserSessionBase(Owner, ASession)
{
}
//---------------------------------------------------------------------------
[bcc32 error] UserSessionUnit.cpp (20): E2285 No match found for 'TIWUserSessionBase :: TIWUserSessionBase (TComponent *, TIWApplication *)'
Full parser context
UserSessionUnit.cpp (19): parsing: _fastcall TIWUserSession :: TIWUserSession (TComponent *, TIWApplication *)
Before I swapped the Intraweb Lib shipped by Embarcadero for the version 14 of Atozed Software, everything worked fine in the C-Builder.
The examples work in Delphi but not in the C-Builder. There are always the same errors. What is wrong.
I have no idea. I have already lost too much time searching for the error codes. I need help or even better an executable example in c++.
Thank you for your help
|
|
|
|