Search found 682 matches

by MarkD
Fri Nov 06, 2020 12:25 pm
Forum: Questions & Answers
Topic: VLF-WIN V14 SP2 and performance
Replies: 5
Views: 261

Re: VLF-WIN V14 SP2 and performance

Are you clearing (emptying) the working list each time on the client before passing it to the server to fill ?
by MarkD
Sat Oct 24, 2020 10:03 am
Forum: Questions & Answers
Topic: STM_FILE BIFS
Replies: 4
Views: 507

Re: STM_FILE BIFS

If you have a sample of the bad data could you maybe try out using the TRANSFORM_FILE built-in function? https://docs.lansa.com/14/en/lansa015/index.htm#lansa/transform_file.htm Note how it has an option to handle 'bad' characters - but it does not well define what they might be. If the CSV input da...
by MarkD
Fri Oct 23, 2020 10:33 am
Forum: Questions & Answers
Topic: & returning &
Replies: 4
Views: 564

Re: & returning &

To understand why this happens try this incorrect HTML fragment:

<div> I like use a lot of <div> tags in my HTML pages </div>

It needs to be coded as

<div> I like use a lot of &lt;div&gt; tags in my HTML pages </div>

to work.
by MarkD
Fri Oct 23, 2020 10:17 am
Forum: Questions & Answers
Topic: & returning &amp;
Replies: 4
Views: 564

Re: & returning &amp;

That's why the ampersand ( & ) is & That's also why, for example, less than ( < ) and greater than ( > ) characters would be stored as < and > See https://www.htmlhelp.com/reference/html40/entities/special.html for an example of some of the most common characters. I don't think you can stop this...
by MarkD
Thu Oct 22, 2020 9:42 am
Forum: Questions & Answers
Topic: & returning &amp;
Replies: 4
Views: 564

Re: & returning &amp;

Is the CLOB data formatted as HTML, XMLor just plain text ?
by MarkD
Wed Oct 21, 2020 10:30 am
Forum: Questions & Answers
Topic: Messages not appearing after calling an RP
Replies: 1
Views: 418

Re: Messages not appearing after calling an RP

Is your GET_MESSAGE read loop in a method or in a subroutine?
If it is in a method try changing it to be a subroutine.
Methods all have their own individual message queues, which are not the same queue as the method invoker's queue.
by MarkD
Wed Oct 14, 2020 2:15 pm
Forum: Questions & Answers
Topic: VLF-One Redisplay Business Object
Replies: 3
Views: 398

Re: VLF-One Redisplay Business Object

That should be achievable (maybe) but it might take a few goes to get it right as I don't have a system to try it out on. First, you need to put an event handler in your system IIP - your version of the shipped UF_OSYSTM reusable part. Something like this: Capture.PNG This handles a user defined eve...
by MarkD
Sat Oct 10, 2020 10:56 am
Forum: Questions & Answers
Topic: VLF-One Redisplay Business Object
Replies: 3
Views: 398

Re: VLF-One Redisplay Business Object

Do you mean you just want to cause the business object's container pane to come to the front/top and nothing else to happen ?
by MarkD
Thu Oct 08, 2020 9:53 am
Forum: Questions & Answers
Topic: Null In JSON
Replies: 2
Views: 304

Re: Null In JSON

Can you try: If (#Child<'resting'> *isnot *null) Also, each reference to #Child<'resting'> causes a lookup of the parsed JSON tree, so it might be quicker to execute using something like: #TempRefererence <= #Child<'resting'> Then use #TempReference instead of multiple #Child<'resting'> operations.
by MarkD
Wed Sep 30, 2020 4:17 pm
Forum: Questions & Answers
Topic: Handling Lansa HTML field on iseries
Replies: 6
Views: 598

Re: Handling Lansa HTML field on iseries

There seem to be lots of RPG program examples on the web for writing BLOB and CLOB data.
by MarkD
Wed Sep 30, 2020 4:15 pm
Forum: Questions & Answers
Topic: Handling Lansa HTML field on iseries
Replies: 6
Views: 598

Re: Handling Lansa HTML field on iseries

If it shows a "1" as the field type also, then this is possibly a more up to date list of all the possibilities:
Capture.PNG
Capture.PNG (25.23 KiB) Viewed 575 times
by MarkD
Wed Sep 30, 2020 3:59 pm
Forum: Questions & Answers
Topic: Handling Lansa HTML field on iseries
Replies: 6
Views: 598

Re: Handling Lansa HTML field on iseries

Could you do an IBM i DSPFFD (Display File Field Description) command on the table and post what it outputs?
by MarkD
Fri Sep 18, 2020 11:04 am
Forum: Questions & Answers
Topic: VLF-One Visual Notification on Main Panel
Replies: 25
Views: 5016

Re: VLF-One Visual Notification on Main Panel

If you are clicking on the filter pane or the aXes pane (i.e. somewhere outside the slider pane) to make the slider pane close then that is probably the issue. Clicking on the aXes pane is behaving like clicking in any other 'external' web page - the click event goes into that web page, not up into ...
by MarkD
Wed Sep 16, 2020 9:24 am
Forum: Questions & Answers
Topic: VLF-One Visual Notification on Main Panel
Replies: 25
Views: 5016

Re: VLF-One Visual Notification on Main Panel

What action are you taking to try to close the slider?
i.e. Is the action by mouse click or by some programatic logic?
If it's a click and focus is in the aXes window/pane then the event is probably getting absorbed by it.
by MarkD
Tue Sep 15, 2020 12:09 pm
Forum: Questions & Answers
Topic: VLF-One Visual Notification on Main Panel
Replies: 25
Views: 5016

Re: VLF-One Visual Notification on Main Panel

Do you mean it fails to close when the timer to automatically close fires?

If yes, I'd try adding some avTrace operations into the timer logic to confirm that it actually runs at all.
by MarkD
Wed Aug 19, 2020 11:42 am
Forum: Questions & Answers
Topic: VLF-One Visual Notification on Main Panel
Replies: 25
Views: 5016

Re: VLF-One Visual Notification on Main Panel

It should work if it's a top slider (only) and it has a push button somewhere in a filter or command handler to trigger the test programmatic display logic.
e.g.:

Code: Select all

Evtroutine Handling(#SHOWSLIDER.Click)
#Com_Owner.avSignalEvent Withid(ShowSlider)
Endroutine    
by MarkD
Tue Aug 18, 2020 10:37 am
Forum: Questions & Answers
Topic: VLF-One Visual Notification on Main Panel
Replies: 25
Views: 5016

Re: VLF-One Visual Notification on Main Panel

Can you see if this does the basic of what you need ? Note: If possible, It's probably best to use this code verbatim at first, so we both know what logic is being used. Begin_Com Role(*EXTENDS #VF_AC028O) Height(160) Width(865) Define_Com Class(#PRIM_ATLI) Name(#AttachItem1) Manage(#TemporaryMessag...
by MarkD
Tue Aug 18, 2020 10:18 am
Forum: Questions & Answers
Topic: VL-WEB - list inside a list
Replies: 3
Views: 713

Re: VL-WEB - list inside a list

This shipped sample might be a good starting point. It's a tree with a 'flat' expanable section. If you extended that with a PRIM_LIST, you would effectively have a list within a list. Capture.PNG Personally I'd be careful to assess its performance though because its very easy to star creating 10s o...
by MarkD
Sat Aug 15, 2020 10:56 am
Forum: Questions & Answers
Topic: VLF-One Visual Notification on Main Panel
Replies: 25
Views: 5016

Re: VLF-One Visual Notification on Main Panel

Can you elaborate on what you want to happen?

e.g. It looks you want a method to programtically float the slide in pane, that also makes it higher/taller when displayed.
However, if the user manually displays the pane it needs to display in its original size.
by MarkD
Fri Aug 14, 2020 12:02 pm
Forum: Questions & Answers
Topic: VLF-One Visual Notification on Main Panel
Replies: 25
Views: 5016

Re: VLF-One Visual Notification on Main Panel

If you want to change the height when the slide-in pane is already visible, or just made visible, try: If (#Com_Owner.Parent *IsNot *null) (#Com_Owner.Parent *As #PRIM_PANL).Height := 100 Endif You need to do that after using #COM_OWNER.uFloatifClosed in this case. This is because your #VF_AC028O RP...