Search found 640 matches

by jyoung
Sat Apr 23, 2016 2:01 am
Forum: Questions & Answers
Topic: How to add a favicon
Replies: 2
Views: 1325

How to add a favicon

How do you add a favicon to the web server on an IBM i?

There does not seem to be a way to do this in a LANSA web page, so it looks like it needs to be done at the server.
by jyoung
Sat Apr 23, 2016 1:46 am
Forum: Questions & Answers
Topic: Deploying to an IBM i when using VCS
Replies: 2
Views: 1435

Re: Deploying to an IBM i when using VCS

Did not think about using the cross references, will have to give that a try.

For now, I have settled on a "feature" list that I add things to and can deploy at once.

Thanks,
Joe
by jyoung
Fri Apr 22, 2016 2:58 am
Forum: Questions & Answers
Topic: Deploying to an IBM i when using VCS
Replies: 2
Views: 1435

Deploying to an IBM i when using VCS

We use a VCS setup and I need to deploy some objects to our IBM i. Normally I use "Deliver To" to do this and it works great, except that I can only deliver a couple things at a time. For example, if I have 1 web page, 3 reusable parts and 1 server module, I have to do 3 "delivers" (1 for the page, ...
by jyoung
Mon Apr 11, 2016 10:13 pm
Forum: Questions & Answers
Topic: VL-Web Widget with form controls
Replies: 1
Views: 1068

Re: VL-Web Widget with form controls

I had the same problem when trying to integrate with a 3rd party credit card processor. The only way I could make it work, was to create the inputs and selects with RDML and use a custom widget that I would push the data from those inputs into. In my case, the widget would dynamically generate a hid...
by jyoung
Tue Apr 05, 2016 7:14 am
Forum: Questions & Answers
Topic: Passing Lists to other components
Replies: 4
Views: 2044

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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