Search found 148 matches

by dannyoorburg
Mon Apr 25, 2016 9:16 am
Forum: Questions & Answers
Topic: How to add a favicon
Replies: 2
Views: 1330

Re: How to add a favicon

Hi,

it IS a property of PRIM_WEB, the Web Page itself, it's the Icon property.

Code: Select all

Begin_Com Role(*EXTENDS #PRIM_WEB) Icon(#SYDIMG01)
You should even be able to change it at runtime.

Danny
by dannyoorburg
Mon Apr 18, 2016 5:30 pm
Forum: Questions & Answers
Topic: VL-Web session compatibility with WAM session
Replies: 7
Views: 3016

Re: VL-Web session compatibility with WAM session

Hi Marco, from the WAM client you can invoke SrvRoutines via the same syntax as you can invoke WebRoutines. (Instead of WAM/Webroutine you provide the Server Module/SrvRoutine names). If the WAM defines its session-parameters as Begin_Com Role(*EXTENDS #PRIM_WAM) Sessionkeymethod(Cookie) Sessiongrou...
by dannyoorburg
Wed Apr 13, 2016 5:40 pm
Forum: Questions & Answers
Topic: VL-Web - Widget and session key
Replies: 7
Views: 3137

Re: VL-Web - Widget and session key

Hi, I'm not sure if I understand the use case (I'd like to), but I just thought I'd let you know that there's always the option of letting the session-key travel as a (secure) cookie through the SessionKeyMethod property on the Server Module, as in: Begin_Com Role(*EXTENDS #PRIM_SRVM) SessionKeyMeth...
by dannyoorburg
Wed Apr 06, 2016 12:25 pm
Forum: Tips and Techniques
Topic: About URLs and the generated HTML
Replies: 4
Views: 4918

About URLs and the generated HTML

If you run a web-page from the IDE you will notice a URL like: http:// localhost/ lansa14 / dem / xedmain .html ? lang=eng & developer=yes What does this mean? In bold, from left to right, we’ve got: - system id - partition id - webpage id - language parameter - development parameter How is this inf...
by dannyoorburg
Fri Mar 25, 2016 9:03 am
Forum: Questions & Answers
Topic: Running VL Web applications from iSeries
Replies: 3
Views: 1824

Re: Running VL Web applications from iSeries

Hi,

Your URL should probably be

xxx:000/dc_pgmlib/v40/hello_world.html

Did you try that?

Regards,
Danny
by dannyoorburg
Tue Mar 22, 2016 9:23 am
Forum: Questions & Answers
Topic: Using a standard HTML form
Replies: 9
Views: 6206

Re: Using a standard HTML form

Hi Joe, In the sample JavaScript I gave you, I create a form-element on the fly, it's not actually on the page somewhere. I expect all user interface and validations to be done in RDMLX. Only when the user clicks a button I expect the event-routine's RDMLX to pass the user's credentials into some Ja...
by dannyoorburg
Mon Mar 21, 2016 1:20 pm
Forum: Questions & Answers
Topic: Using a standard HTML form
Replies: 9
Views: 6206

Re: Using a standard HTML form

Hi Joe, I know you can dynamically create a form in JavaScript and submit it, I've got a bit of code that looks like this: var strUrl = "someURL.com", postdata = {"key1": "Value1", "key2": "Value2"}; // Create the form... var form = document.createElement( "form" ); form.setAttribute( "method", "pos...
by dannyoorburg
Fri Jan 15, 2016 11:25 am
Forum: Tips and Techniques
Topic: Responsive Design Samples/Code Start
Replies: 0
Views: 3912

Responsive Design Samples/Code Start

Hi All, attached is a simple sample on how you can architect a responsive application using a Visual LANSA Web Page. (Of course there are many many different ways to do that...) All you need to do is import it, compile it and run. (All objects have the SYD prefix) This is what it looks like. Desktop...