NetTalk Central

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - urayoan

Pages: 1 2 [3] 4 5 ... 15
31
Web Server - Ask For Help / Bug or undocumented change?
« on: February 15, 2021, 05:02:40 AM »
Hello Bruce:
  Recently we updated out NetTalk version to the 12.07 version. I noticed something (specifically with my older code) with buttons.

  I have a display control as a button, after the update to NetTalk 12.07, that button does not display anything. Doing some experiments and i found out that the display, to work as a button needs an image (previously that wasn't necessary). If that button does not have an image, just simple fill with the text and color (primary i think) and worked fine.

  The other thing I noticed is, if I set a button as submit, the button never renders in the browser. Change it to button type make it appear. In my case, I just work around and set it as a button where I used a display, and change it to a button type.

  Because and example say more that thousand words, I attached and example.

Thanks
@ Urayoan

PD. I forgot to include the Display as button, it has the button option, but is not clickcable. Something I am missing?

32
Hi:
  Try this in your code at template level and check this solves the problem.
  First, check in the sort tab if you have set the default locator field (check screenshot). Select the field that does apply in your case.

Then, int he locate tab, set the locator type to your needs (check screenshot).




33
Web Server - Ask For Help / Re: Trusted Certificate
« on: December 16, 2020, 03:55:05 AM »
I little bit late to the party, but this help me with certificates created from IIS, and need to be exported to NetTalk

https://www.ibm.com/support/knowledgecenter/SSVP8U_9.7.0/com.ibm.drlive.doc/topics/r_extratsslcert.html

34
Web Server - Ask For Help / Re: OT: Secwin 7??
« on: October 01, 2020, 06:22:06 AM »
well, I've got the GPF sorted out - so that's good. More testing, but hopefully soon...

It looks like beta testers needed... <g>

35
Web Server - Ask For Help / Re: How to Toggle Password Visibility
« on: September 22, 2020, 10:25:45 AM »
Thank you for the guidance guys. All success!

36
Web Server - Ask For Help / Re: How to Toggle Password Visibility
« on: September 22, 2020, 07:24:00 AM »
Bill it looks like it is! In my case i was adding the button with this line in Clarion, the icon apears but in the console the togglePassword was not found in the js. I will try your idea.

Thank you very much!

5. Inside Value Routine
    packet.Append('<i class="far fa-eye" id="togglePassword"></i>')
    DO SendPacket



Hi,

I tried your idea. I couldn't run your demo as i'm working on an older version on NT on this machine.

I added a button after the password on my login screen.

I mucked around with CSS so it sat nicely to the right.

Desktop Text: '<i class="far fa-eye" id="togglePasswordIcon"></i>'

No jquery styling

onClick(): 'togglePassword();'

I have my own JS file for bits and pieces just like this, i added:

function togglePassword() {
    const togglePassword = document.querySelector('#togglePasswordIcon');
    const password = document.querySelector('#lPassword');
    const type = password.getAttribute('type') === 'password' ? 'text' : 'password';
    password.setAttribute('type', type);
    togglePassword.classList.toggle('fa-eye-slash');
};


lPassword is my password field, i think yours was loc__password.

Regards
Bill

37
Web Server - Ask For Help / Re: How to Toggle Password Visibility
« on: September 22, 2020, 04:00:19 AM »
Lets see, there is two files, one with the HTML of what i want, and one with the Clarion example of what i am getting.

What I am missing here?

Thanks!

38
Web Server - Ask For Help / Re: How to Toggle Password Visibility
« on: September 22, 2020, 03:35:18 AM »
That's true Bruce. Was a mistake when i reply to Mike about it.

I have something, but the field is not found when the page load. I will post an example to see whats missing on my part or what i am doing wrong

Cheers

Hi Ura,

I don't think it would be done with CSS - I think it would be done with JavaScript.
Setting, and removing, the password attribute for the entry field.

cheers
Bruce

39
Web Server - Ask For Help / Re: How to Toggle Password Visibility
« on: September 21, 2020, 03:58:56 AM »
Thank you Mike, I was looking more to implement it using CSS.

Have 2 fields - one with password attr and the other plain text.  Your "eye" button would flick between them using Reset and the Hide (Clarion) option.

Entering data in one field updates the other immediately.

Should be doable

Mike

40
Web Server - Ask For Help / How to Toggle Password Visibility
« on: September 18, 2020, 09:12:56 AM »
Hi:
  Any iedas how to implement this?


41
Web Server - Ask For Help / Re: Procedure Called Multiple Times
« on: September 09, 2020, 10:41:22 AM »
Confirming Bruce. It works like a charm. Thank you very much!

42
Web Server - Ask For Help / Re: Procedure Called Multiple Times
« on: September 09, 2020, 03:59:53 AM »

So when you are grabbing the incoming value, perhaps inspect the contents of p_Name to see if it's the one you want?

cheers
Bruce

I think the p_Name part would help. I check and let you know! Thanks

43
Web Server - Ask For Help / Procedure Called Multiple Times
« on: September 08, 2020, 12:30:07 PM »
Hello:
  I am trying to grab a value that comes from a JavaScript in the embed point of the WebHandler called SessionValueSetFromBrowser. At the momment, so far so good, i grab the value when is set in the script. The problem i am having is, every time i access a page (NetTalk Procedure), that part is called multiple times. There is a way to make sure that, this embed is called just one time when the procedure is called or better yet, let the server know that i already have what i want after a specifi stage?
 
  I am trying to set a variable (check example below) and if the value is 0, to not execute that part of the code, but alas, it passes anyways.

Any suggestions?

Thanks in advance

IF p_web.GSV('yadayada') = 0  <-- this is set from another procedure
  some code (this parte is supposed to pass just when the value is 0)
END!

44
Web Server - Ask For Help / Re: Browse View Without a Table
« on: August 31, 2020, 07:15:31 AM »
I've included a pic of me using it (table at bottom of the page)

BTW i forgot to mention, very well done job you have made with your page!

45
Web Server - Ask For Help / Re: Browse View Without a Table
« on: August 31, 2020, 07:07:47 AM »
This might fast track you (or not!) but maybe it will help.

Oh yes Bill, that does help a lot. Thanks!

Pages: 1 2 [3] 4 5 ... 15