Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 523
» Latest member: Alain.verdier
» Forum threads: 736
» Forum posts: 3,676

Full Statistics

Online Users
There are currently 51 online users.
» 0 Member(s) | 48 Guest(s)
Bing, Google, Yandex

Latest Threads
15.1.7?
Forum: IntraWeb General Discussion
Last Post: SWTwo6
1 hour ago
» Replies: 0
» Views: 5
Publishing IW XV through ...
Forum: IntraWeb General Discussion
Last Post: Alexandre Machado
2 hours ago
» Replies: 4
» Views: 56
Warning from Datatables
Forum: IntraWeb General Discussion
Last Post: Alexandre Machado
2 hours ago
» Replies: 2
» Views: 74
Error handling
Forum: IntraWeb General Discussion
Last Post: Alexandre Machado
2 hours ago
» Replies: 3
» Views: 46
URLBase without trailing ...
Forum: IntraWeb General Discussion
Last Post: Alexandre Machado
2 hours ago
» Replies: 6
» Views: 99
PRevenitng a session from...
Forum: IntraWeb General Discussion
Last Post: Alexandre Machado
2 hours ago
» Replies: 3
» Views: 45
Radio Group Item Index
Forum: IntraWeb General Discussion
Last Post: Alexandre Machado
2 hours ago
» Replies: 2
» Views: 62
Access Violation when usi...
Forum: IntraWeb General Discussion
Last Post: Alexandre Machado
2 hours ago
» Replies: 3
» Views: 46
IWFileUploader and drag&d...
Forum: IntraWeb General Discussion
Last Post: Alexandre Machado
2 hours ago
» Replies: 1
» Views: 19
IWBootstrap app and Apach...
Forum: IntraWeb General Discussion
Last Post: Alexandre Machado
2 hours ago
» Replies: 1
» Views: 23

 
  How to ckeck and setting browser orientation?
Posted by: newsanti - 10-03-2019, 07:19 AM - Forum: IntraWeb General Discussion - Replies (2)

Webapplication.Browser properties provided information :
-IsMobile
-device information Detection: iPhone iPad or android or windows or macOS

How to check browser orientation portrait or landsacpe?
How to setting browser orientation for fix display with mobile or tablet?

Print this item

  Soap Webservice. How to ?
Posted by: SorenJensen - 10-03-2019, 05:31 AM - Forum: IntraWeb General Discussion - Replies (8)

Hi All,

I need to receive data from a webservice after a request.

I will normally include the webservice specs as a wsdl (*.pas file), and communicate with the service using XML.

Is that possible in IntraWeb 15.1.5 and if, do anyone have any examples of how to ?

In a Delphi 2010 Win32 program, I include the WDSL as a unit, and call the procedures it expose, as I would any other procedures. The resulting data are received as an XML file, which I then decipher (with a parser) and pull out the data I need.

In a similar C# program in MS Visual Studio 2010, it's a bit easier as XML is an native part, making the individual data in the XML, available as properties of the XML file.

Is there anything similar awailable in IntraWeb ?

Regards
Soren

Print this item

  IW14 Indy - Running multiple services of the same executable
Posted by: nunnsie - 10-03-2019, 02:58 AM - Forum: IntraWeb General Discussion - Replies (5)

As per the subject line, really. Is it possible to run multiple services via the same executable? We see some hard dependencies between the application name and the service name that makes this difficult.

At the moment we have have an app that binds to a port on the command line, e.g. AppName.exe -port=1234.

This can be installed as a service via the /install flag or using sc.exe happily as long as the service name matches AppName.

If I want to run multiple versions, they don't work as the service name doesn't match.

E.g.
Works on service start/stop: sc create AppName binPath= "c:\path\AppName.exe -port=1234"
Hangs on service start: sc create AppName2 binPath= "c:\path\AppName.exe -port=3456"

Any suggestions or ways to achieve this?

Print this item

  Read value of HTML element back to delphi
Posted by: PDSBILL - 10-02-2019, 07:10 PM - Forum: IntraWeb General Discussion - Replies (1)

I have a need to read the value of a rendered html element.
I added a iwbutton with script line for on-click event to get the value and show it using alert() and it works,  but really want to get the value (String) and save it to a local delphi variable.
alert(document.getElementsByClassName("fu-upload-listItem").length);   this works

how do I get the value back to delphi?

Print this item

  Http.sys and SSL
Posted by: max7575 - 09-30-2019, 03:07 PM - Forum: IntraWeb General Discussion - Replies (2)

Hi All,

I tried to configure a SA Application with Http.sys with SSL certificate. If I register the certificate by IIS everithing woks fine.

Is it possible use Http.sys application with SSL without IIS?

Thanks in advance

Print this item

  IW15.1.5 Button and JS onclick
Posted by: matija - 09-30-2019, 10:54 AM - Forum: IntraWeb General Discussion - Replies (2)

Button open/close accordion (section1, section2) .

IWButton property set Script Events -> onClick ->  $("#section1").collapse("hide"); $("#section2").collapse("show");  -> OK

IWButton Events OnAsyncClick set  
WebApplication.CallBackResponse.AddJavaScriptToExecute('$("#IWButton").click(function(e) { $("#section1").collapse("hide"); $("#section2").collapse("show");  '); -> NOT WORK

Print this item

  jsTree example using json and templates
Posted by: jeroen.rottink - 09-27-2019, 07:18 PM - Forum: IntraWeb General Discussion - Replies (1)

In the Telegram chat there was a question if jsTree could be used with Intraweb. Absolutely!

Because I used it in one of my programs I created an example showing the usage.

  • It uses jsTree. jsTree is jquery plugin, that provides interactive trees
  • The example uses IWBootstrap to serve JSON data for the tree
  • jsTree contextmenu plugin to download files from the tree
  • Async method to download a file from the server
  • All using templates
  • Using IW15.0.23 and D10.1 Berlin



Attached Files
.zip   jstree_example.zip (Size: 397.71 KB / Downloads: 11)
Print this item

  New DIV in IWGrid HTML code.
Posted by: brsoft - 09-26-2019, 09:37 PM - Forum: IntraWeb General Discussion - Replies (7)

Hi

A new DIV has been added to the IWGrid HTML code. The new DIV has no ID property.

This error caused more problems than we first thought.
In our own javascript we have prepared for the new DIV.
However, older IE browsers have an IW error: "IWBase.js (6.17889) - Cannot retrieve id property that has an undefined or null reference"


IW15.1.4:

Code:
<div CLASS="tblpanel tbllist" ID="MENUGRID" style="overflow-x: auto; overflow-y: auto; "><table cellpadding="0" cellspacing="0" id="TBLMENUGRID" style="">
<thead></thead>
<tbody>
<tr><td class="okmenuitem" style="white-space: nowrap; height: 24px; "> Menu1</td></tr>
<tr><td class="okmenuitem" style="white-space: nowrap; height: 24px; "> Menu2</td></tr>
<tr><td class="okmenuitem" style="white-space: nowrap; height: 24px; "> Menu3</td></tr>
<tr><td class="okmenuitem" style="white-space: nowrap; height: 24px; "> Menu4</td></tr></tbody></table></div>

IW15.1.5:
Code:
<div CLASS="tblpanel tbllist" ID="MENUGRID" style="overflow-x: auto; overflow-y: auto; "><div style=""><table cellpadding="0" cellspacing="0" id="TBLMENUGRID">
<thead></thead>
<tbody>
<tr><td class="okmenuitem" style="white-space: nowrap; height: 24px; "> Menu1</td></tr>
<tr><td class="okmenuitem" style="white-space: nowrap; height: 24px; "> Menu2</td></tr>
<tr><td class="okmenuitem" style="white-space: nowrap; height: 24px; "> Menu3</td></tr>
<tr><td class="okmenuitem" style="white-space: nowrap; height: 24px; "> Menu4</td></tr>
</tbody></table>
<script data-type="iw" nonce="ea3sd5wF7k7Ggc1Al/7JT/tOxgs" type="text/javascript">
var tbl = IW.$("TBLMENUGRID");
if (tbl) {
    tbl.style.cssText += tbl.style.cssText;
  }
</script></div></div>


TBLIWGRID's parentNode is not an IWGRID but an anonymous div.

The v15.1.4 and v15.1.5 HTML codes were generated from the same source code.
The script in v15.1.5 HTML code was not written by us.

Can somebody help me?

best regards
brsoft

Print this item

  IntraWeb 17 Update!
Posted by: kudzu - 09-26-2019, 06:07 PM - Forum: IntraWeb General Discussion - No Replies

https://www.atozed.com/2019/09/look-what...ing-in-17/

Print this item

  IWCombox item disabled
Posted by: matija - 09-25-2019, 10:08 AM - Forum: IntraWeb General Discussion - Replies (1)

Can I custom item in IWCombobox or IWListBox disabled/enabled define in Items? OnDrawItem...

Print this item