Search found 161 matches

by dannyoorburg
Tue Jun 14, 2016 11:25 am
Forum: Questions & Answers
Topic: web page- column heading manipulation
Replies: 4
Views: 2159

Re: web page- column heading manipulation

Hi, just in case anyone is interested (other than me, syntax and semantics of different programming languages are a bit of a hobby of mine :) ) There are situations where RDMLX allows both a value- AND a reference-assignment, as in the example below. They mean different things, and it's only because...
by dannyoorburg
Fri Jun 10, 2016 11:43 am
Forum: Questions & Answers
Topic: NaN
Replies: 4
Views: 2138

Re: NaN

Out of curiosity, is this happening on the latest EPC (140020)?

Regards,
Danny
by dannyoorburg
Fri Jun 03, 2016 1:06 pm
Forum: Tips and Techniques
Topic: Dates and locale in the browser
Replies: 6
Views: 4061

Re: Dates and locale in the browser

Hi Allan,

it turned out the incorrect format of the 'Today' caption was hard-coded into the LANSA runtime. Not much you can do about that.

The issue will be fixed in the upcoming service pack.

Regards,
Danny
by dannyoorburg
Thu Jun 02, 2016 7:14 pm
Forum: Questions & Answers
Topic: Debug
Replies: 2
Views: 1657

Re: Debug

Hi Megumi,

correct, that's not possible (yet) when debugging Web Pages.

Danny
by dannyoorburg
Wed May 25, 2016 1:13 pm
Forum: Questions & Answers
Topic: V14 documentation
Replies: 13
Views: 6446

Re: V14 documentation

Hi, it's enough to just set the Image to Spinner to get the default LANSA spinner. The Resource value is there if you want to provide your own gif. It becomes visible if loading all initial resources for your Web Page takes longer than a second, it disappears again as your RDMLX starts executing. Ru...
by dannyoorburg
Tue May 24, 2016 7:09 pm
Forum: Questions & Answers
Topic: V14 documentation
Replies: 13
Views: 6446

Re: V14 documentation

It's just a matter of making sure you recompile all parts of your application.... themes, reusable parts, widgets.

It's only an issue if you've been developing on 14GA without any EPC's.

Danny
by dannyoorburg
Wed May 18, 2016 5:28 pm
Forum: Questions & Answers
Topic: Refresh/Reload Visualization
Replies: 5
Views: 2298

Re: Refresh/Reload Visualization

Hi, All visualizations are basically a combination of a label and a control. If you define a *Visual_Host , you define your own panel to take the place of the control, the label is still created for you. If you define a *Visual_Part , you define your own panel for the whole visualization, LANSA no l...
by dannyoorburg
Tue May 17, 2016 9:18 am
Forum: Questions & Answers
Topic: Refresh/Reload Visualization
Replies: 5
Views: 2298

Re: Refresh/Reload Visualization

Hi,

just out of curiousity, which one of the different types of field visualization are you using in this scenario ?

Danny
by dannyoorburg
Thu May 12, 2016 1:01 pm
Forum: Questions & Answers
Topic: VL-WEB cache management
Replies: 4
Views: 2978

Re: VL-WEB cache management

Hi Jiri, I just tried your scenario and it works for me. Do you get any useful information at all if you use the browser's development tools (F12) and look at the console while you refresh the page? The console will log the application cache behaviour. Note: if the app-cache is different LANSA will ...
by dannyoorburg
Tue May 10, 2016 9:37 am
Forum: Tips and Techniques
Topic: Remember to compile for release when you go live :)
Replies: 0
Views: 3610

Remember to compile for release when you go live :)

Hi all, just a reminder... it is very easy in the browser to inspect an application's source code. (Just hit F12 in any browser to see what's available). If you don't want to expose your RDMLX (and you probably don't), make sure to you don't tick the 'Debug Enabled' option when you compile your appl...
by dannyoorburg
Thu May 05, 2016 4:20 pm
Forum: Questions & Answers
Topic: updating of the status bar messages
Replies: 2
Views: 1294

Re: updating of the status bar messages

Hi Rieko, have a look at the form below, is that what you're trying to achieve? Regards, Danny Function Options(*DIRECT) Begin_Com Role(*EXTENDS #PRIM_FORM) Clientwidth(478) Clientheight(174) Left(861) Top(188) Height(213) Width(494) Define_Com Class(#PRIM_PHBN) Name(#Button1) Caption('Button1') Dis...
by dannyoorburg
Thu Apr 28, 2016 3:40 pm
Forum: Questions & Answers
Topic: Encryption Web
Replies: 11
Views: 3697

Re: Encryption Web

Hi, the only way I can get it all to be consistent, Client/Server(Windows/IBM i), is to make sure I use Unicode fields for both KEY and VALUE when invoking the BIFs. I've attached a QuickExport with my test case: - a Web Page called MYPAGE - a Server Module called MYSRVM The key to it is the Server ...
by dannyoorburg
Wed Apr 27, 2016 1:20 pm
Forum: Questions & Answers
Topic: Encryption Web
Replies: 11
Views: 3697

Re: Encryption Web

Hi, for the DECRYPT bif to match the Encrypt intrinsic, make sure the length is specified correctly. It needs the expected number of bytes, which is half the length of the (hexadecimal) encoded string that came from the client. Use Builtin(DECRYPT) With_Args(#STD_STRNG (#STD_STRNG.CurChars / 2) "A23...
by dannyoorburg
Mon Apr 25, 2016 9:16 am
Forum: Questions & Answers
Topic: How to add a favicon
Replies: 2
Views: 1396

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: 3145

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: 3276

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: 5164

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: 1920

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: 6386

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: 6386

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...