Search found 656 matches

by jyoung
Tue Apr 05, 2016 7:14 am
Forum: Questions & Answers
Topic: Passing Lists to other components
Replies: 4
Views: 2151

Re: Passing Lists to other components

That was a lot easier than how I was doing it.

Thanks.
by jyoung
Tue Apr 05, 2016 2:13 am
Forum: Questions & Answers
Topic: Passing Lists to other components
Replies: 4
Views: 2151

Re: Passing Lists to other components

I am in VL-Web. I have a reusable part (panel) that loads some data from a server module. That panel shows a "summary" version of the data even though all data has been retrieved. I have a popup component that I would like to show all of the data when a user clicks a "view all" button.
by jyoung
Mon Apr 04, 2016 11:08 pm
Forum: Questions & Answers
Topic: Simple data transfer IBMi - > MSSQL ?
Replies: 6
Views: 2797

Re: Simple data transfer IBMi - > MSSQL ?

Are you using a VCS or Slave setup?

We had that option when we were setup as a Slave, but since moving to VCS it does not show up.

We can "Load Other Files" from the IBM i and use "Deliver To" to deploy updates, but the "Copy Data" option is not available for us as well.
by jyoung
Mon Apr 04, 2016 11:03 pm
Forum: Questions & Answers
Topic: Using a standard HTML form
Replies: 9
Views: 6386

Re: Using a standard HTML form

I went round and round with this until finally settling on a solution similar to the one you suggested.

The .NET developer in me shied away from direct DOM manipulation, however in the long run that turned out the be the best way in this situation.

Thanks for the suggestions.
by jyoung
Mon Apr 04, 2016 10:57 pm
Forum: Questions & Answers
Topic: Passing Lists to other components
Replies: 4
Views: 2151

Passing Lists to other components

How do I pass a list to other components? I have a list defined as such def_list name(#PCTCPAIRList) fields(#PRID #PRGROUP #PRSNDRCV #PRSTAMP #PRTRANSI #PRNAME #PRVALUE) counter(#LISTCOUNT) type(*WORKING) entrys(*MAX) I populate that list in a reusable part and I would like to pass that list to anot...
by jyoung
Fri Mar 25, 2016 3:03 am
Forum: Questions & Answers
Topic: How to get response from Integrator HTTP POST
Replies: 8
Views: 2935

Re: How to get response from Integrator HTTP POST

Ok, so I added the SERVICE_EXCHANGE to the response and it worked. Thank you so much for your patience and help. One last question, how do you know this? I don't know if I am not looking at the right documentation or just not understanding what it is telling me. Being new to LANSA I am struggling wi...
by jyoung
Thu Mar 24, 2016 9:15 am
Forum: Questions & Answers
Topic: How to get response from Integrator HTTP POST
Replies: 8
Views: 2935

Re: How to get response from Integrator HTTP POST

I think I figured it out. :D I kept reading http://docs.lansa.com/140/EN/LANSA015/#lansa/jsmx_command.htm and was really hung up on the 3rd optional argument about the field definitions. I added the response list to the receive command with_args and it worked! So my lists are defined like this * WOR...
by jyoung
Thu Mar 24, 2016 8:06 am
Forum: Questions & Answers
Topic: How to get response from Integrator HTTP POST
Replies: 8
Views: 2935

Re: How to get response from Integrator HTTP POST

Attached are the trace files. I had to sanitize the HTTP_CONTENT and SERVICE files as they have ids and passwords to the remote service. This is the latest version of the code. * ==================================================== * Process ........: DSTCPS * Function .......: DSTC001 * Created on ...
by jyoung
Thu Mar 24, 2016 6:55 am
Forum: Questions & Answers
Topic: How to get response from Integrator HTTP POST
Replies: 8
Views: 2935

Re: How to get response from Integrator HTTP POST

Thanks for pointing out the trace stuff. I got the send to give me back a response, when I look at the trace files, I have a HTTP_RESPONSE_CONTENT.html that has the response, in this a transaction id. I am still getting an error on the receive though. Here is a chunk of the service trace log. Create...
by jyoung
Wed Mar 23, 2016 9:08 am
Forum: Questions & Answers
Topic: How to get response from Integrator HTTP POST
Replies: 8
Views: 2935

How to get response from Integrator HTTP POST

I am trying to make a HTTP POST request with Integrator and I need to get the response back. The POST is a name value pair and the response is plain text. So I am using the HttpService OutboundNameValue handler. When I am debugging, after I make the call to the JSM command, I can see the response ha...
by jyoung
Mon Mar 21, 2016 11:58 pm
Forum: Questions & Answers
Topic: Using a standard HTML form
Replies: 9
Views: 6386

Re: Using a standard HTML form

Hi Danny, Its got to be visual as I have to collect the credit card data from the user then post it to the processor. I can create the form dynamically, via RDMLX or JavaScript. My current thought is to try JQuery for input validation, Handlebars for the form template and a sprinkling of CSS to make...
by jyoung
Sun Mar 20, 2016 11:14 am
Forum: Questions & Answers
Topic: Using a standard HTML form
Replies: 9
Views: 6386

Using a standard HTML form

I have a unique use case where I need to POST a html form to a third party, in this case a credit card processor. The form itself must be POSTed to the processor in order to reduce our PCI compliance, so I cannot that data (credit card numbers) up to a server module, then post to the processor. I am...
by jyoung
Wed Feb 24, 2016 2:03 am
Forum: Questions & Answers
Topic: Using Web History for Panel Navigation
Replies: 4
Views: 2524

Re: Using Web History for Panel Navigation

Ok, I see what you did there.

I gotta remember about those demo apps, lots of good information in there if you remember to go look for it. :D

Thanks for the help.
by jyoung
Tue Feb 23, 2016 6:43 am
Forum: Questions & Answers
Topic: Using Web History for Panel Navigation
Replies: 4
Views: 2524

Using Web History for Panel Navigation

Hi, I am spiking out a solution that can use web history to maintain back button support when user "transitions" between panels. TL;DR When adding history, the first "click" of the back button works as expected, but subsequent clicks require two clicks of the back button. I have a web page that is c...
by jyoung
Tue Jan 26, 2016 2:19 am
Forum: Questions & Answers
Topic: Displaying web based images
Replies: 2
Views: 2243

Re: Displaying web based images

Ahh, did not realize I could set the FileName to a url.

So that #Image1.FileName := "http://placehold.it/350x150" works just fine.

Thanks.
by jyoung
Thu Jan 21, 2016 7:48 am
Forum: Questions & Answers
Topic: Displaying web based images
Replies: 2
Views: 2243

Displaying web based images

On a webpage, what is the best way to display an image on the web? HTML wise I would use the href <img href="http://placehold.it/350x150"/> With the Image control, I don't see anything to specify an URL or HREF. What I have done is use the HTML Container control and write in the image html. Is this ...