Search found 156 matches

by dannyoorburg
Fri Jun 30, 2017 9:01 am
Forum: Questions & Answers
Topic: Modify Reusable Part Properties at Design Time
Replies: 1
Views: 819

Re: Modify Reusable Part Properties at Design Time

Hi,

no sorry, there isn't.

Even if there was, it'd probably be restricted to the simple properties, the ones that don't require property routines, as I'm not sure it would be advisable or even possible to execute RDMLX at design time.

Regards,
Danny
by dannyoorburg
Tue Jun 27, 2017 12:04 pm
Forum: Questions & Answers
Topic: VLWeb event timing
Replies: 4
Views: 2063

Re: VLWeb event timing

Hi, #SYS_WEB.Alert is basically just a JavaScript Alert. When the Alert is up, NO other JavaScript runs, not your compiled RDML, not the LANSA runtime code. You're basically stuck on that statement until the user cancels the dialog. I would use the LANSA message box instead, see: http://docs.lansa.c...
by dannyoorburg
Thu Jun 15, 2017 6:25 am
Forum: Questions & Answers
Topic: new line '\n' replacement in #PRIM_TEXT or Field
Replies: 4
Views: 2134

Re: new line '\n' replacement in #PRIM_TEXT or Field

Intrinsic functions never change their input, they just produce a result. Are you assigning the result back into the field? As in:

#OC18_EmailHTML := #OC18_EmailHTML.ReplaceAll( '\n' '<br>' )

Danny
by dannyoorburg
Wed Jun 14, 2017 7:18 am
Forum: Questions & Answers
Topic: Substring on a Substring Runtime Error
Replies: 2
Views: 995

Re: Substring on a Substring Runtime Error

Hi,

RDML, unlike most C based languages, starts counting at 1. It's the 0 for start position that is probably giving you INVALID VALUE.

Danny
by dannyoorburg
Tue Jun 13, 2017 11:34 am
Forum: Questions & Answers
Topic: How can i convert LANSA Nvarchar type to .net String
Replies: 3
Views: 1043

Re: How can i convert LANSA Nvarchar type to .net String

It's a bug that .Net component strings are NOT in unicode.

I would report it to LANSA and try to get a fix, I don't think there's any workarounds. If you go native, you'll get question marks for non-native characters.

Regards,
Danny
by dannyoorburg
Sat Jun 10, 2017 6:40 am
Forum: Questions & Answers
Topic: EditBox/Field Visualization Password Character
Replies: 2
Views: 838

Re: EditBox/Field Visualization Password Character

Hi,

There's an input attribute on field, I think it's *ND, not 100% sure, that will do the trick.

Danny
by dannyoorburg
Tue May 16, 2017 2:06 pm
Forum: Questions & Answers
Topic: Widget calling external window ref
Replies: 2
Views: 897

Re: Widget calling external window ref

Hi, hope you've figured it out by now :) If not, even though it's hard for me to tell you exactly what's wrong without more info, I just thought I'll give you some tips. I don't think there's any need to 'hack' the header. It just looks like some code that needs to run BEFORE any code using it will ...
by dannyoorburg
Thu Apr 27, 2017 10:42 am
Forum: Questions & Answers
Topic: FORM-Focus difference
Replies: 4
Views: 1478

Re: FORM-Focus difference

Hi Shumpei, they're different because of focus processing. If you click the button, the BUTTON will become the focus control BEFORE it fires the click event. If you hit F10, the FIELD stays the focus control. A field losing focus clears the error state, and in case of the button click it will loose ...
by dannyoorburg
Tue Apr 18, 2017 2:20 pm
Forum: Questions & Answers
Topic: *INSTANCE_OF #PRIM_XXXX on Web page
Replies: 7
Views: 2338

Re: *INSTANCE_OF #PRIM_XXXX on Web page

Hi Megumi, I managed to have a look at your sample. There's a bit more to it. All these versions of INSTANCE_OF testing all do the right thing, the only problem is that EVP's (field visualizations) inadvertently inherit from PRIM_PANL in the Web Runtime. THAT is the defect that will need fixing. PRI...
by dannyoorburg
Fri Apr 14, 2017 12:58 pm
Forum: Questions & Answers
Topic: *INSTANCE_OF #PRIM_XXXX on Web page
Replies: 7
Views: 2338

Re: *INSTANCE_OF #PRIM_XXXX on Web page

Yes. That's what I meant.

And I was pretty sure that works.... hmm.

Not working today so I can't try. I'll get back to you.

Danny
by dannyoorburg
Fri Apr 14, 2017 11:52 am
Forum: Questions & Answers
Topic: *INSTANCE_OF #PRIM_XXXX on Web page
Replies: 7
Views: 2338

Re: *INSTANCE_OF #PRIM_XXXX on Web page

Hi Megumi,

As a workaround, use the For commands Operation parameter instead.

http://docs.lansa.com/14/en/lansa015/in ... .htm#FOR_P

It can do INSTANCE_OF as well...

Cheers,
Danny
by dannyoorburg
Wed Apr 05, 2017 1:39 pm
Forum: Questions & Answers
Topic: My first Widget
Replies: 2
Views: 1289

Re: My first Widget

Hi,

the

Wavesurfer.on('ready', function () {
Wavesurfer.play();
});

is defined in the main flow, it'll execute when Wavesurfer is still an undefined variable.

You probably want to move that into your construct function.

Cheers,
Danny
by dannyoorburg
Tue Mar 21, 2017 4:39 pm
Forum: Questions & Answers
Topic: Styling HTML page
Replies: 1
Views: 821

Re: Styling HTML page

Hi,

no, you can't modify the generated HTML, you can copy it and completely own it, but I would only do that as a last resort.

You can however specify an image that will function as the splash screen in the Web Page / Integration Tab / Loading Screen section.

Regards,
Danny
by dannyoorburg
Fri Jan 27, 2017 11:17 am
Forum: Suggestions for Product Enhancements
Topic: Better JavaScript Error Messages
Replies: 3
Views: 2651

Re: Better JavaScript Error Messages

Hi Joe, Widgets are stored in the Repository, so no, there's no file to edit somewhere, My widgets have been really small so far, so a simple copy paste of the source code from the IDE into another editor and back was just fine. Alternatively, your way of externalizing more complex JavaScript into s...
by dannyoorburg
Thu Jan 26, 2017 12:10 pm
Forum: Suggestions for Product Enhancements
Topic: Better JavaScript Error Messages
Replies: 3
Views: 2651

Re: Better JavaScript Error Messages

Hi Joe, you fell into the exception that deals with a syntax error in the downloaded JavaScript. It should report exactly which file contains the syntax error, which it currently doesn't, we'll rectify that. It was never that important for the JavaScript that is compiled RDMLX, because it gets gener...
by dannyoorburg
Sat Jan 14, 2017 11:41 am
Forum: Questions & Answers
Topic: Fatal Script Error (evaluating old.awOverride)
Replies: 6
Views: 2400

Re: Fatal Script Error (evaluating old.awOverride)

Can you copy and paste the whole error message?

Danny
by dannyoorburg
Tue Jan 10, 2017 3:57 pm
Forum: Questions & Answers
Topic: Vanity URLs on the IBM i
Replies: 4
Views: 1816

Re: Vanity URLs on the IBM i

Hi Joe, I'm still inclined to create an index.html, as described in: http://vlforum.lansa.com.au/viewtopic.php?f=4&t=47 so the URL can just be www.myserver.com/myapp and it will default to the index.html inside that folder. (We're looking at formalizing this idea so the deployment tool will do it fo...
by dannyoorburg
Sat Jan 07, 2017 8:20 am
Forum: Questions & Answers
Topic: Images no longer being found after check in
Replies: 3
Views: 1563

Re: Images no longer being found after check in

Hi, yes, when you change images you DO need to recompile (one of its) container(s). Otherwise you just change the Repository definition but not the actual file in your execute folder. I don't know why checking in the image would delete/change the file in the execute folder, I'll have a play with tha...
by dannyoorburg
Sat Jan 07, 2017 7:29 am
Forum: Questions & Answers
Topic: Images no longer being found after check in
Replies: 3
Views: 1563

Re: Images no longer being found after check in

I'm not sure how you lost them. But the actual image file gets created from its repository definition by compiling a page/reusable/theme that uses that particular image. So normally you wouldn't have to worry about checking in an image. It's just a resource that travels along with the html/javascrip...
by dannyoorburg
Wed Jan 04, 2017 9:29 am
Forum: Questions & Answers
Topic: Thoughts on Task Tracking
Replies: 10
Views: 3158

Re: Thoughts on Task Tracking

Hi,

I seem to remember from your previous posts that you had a VCS setup, in which case Task Tracking won't be available to you as there's no need for it.

Or did I misinterpret that somehow?

Regards,
Danny