NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: zdpl0a on June 19, 2008, 10:54:54 AM
-
I also seem to be getting this problem on my check boxes. - Not all of them...
CompleteCheckBoxes Routine
If p_web.IfExistsValue('WEB:Commercial') = 0
p_web.SetValue('WEB:Commercial',N)
WEB:Commercial = N
End
If p_web.IfExistsValue('WEB:Residential') = 0
p_web.SetValue('WEB:Residential',N)
WEB:Residential = N
End
If p_web.IfExistsValue('WEB:WebFilter') = 0
p_web.SetValue('WEB:WebFilter',N)
WEB:WebFilter = N
End
Does anyone have the easy answer ? All the N's after the equal signs are 'unknown identifiers'
Thanks,
Dave
-
Found this one too - a walk away from it was all it took...
My DCT has the true false set to 'Y' & 'N' Worked fine before..
With 4.31 - the prompts on the WebNetForm listed the true false options as 1 and 0
Changed the true false options on the NetWebForm to 'Y' and 'N'
Sorry to bother evveryone...
-
Hi Dave, Except for Bruce, I think most of us here are newbies, and as such, I have a bit of a difficult time following what you're asking. What error does it cause? I generally have found it better not to try to do much logic in the dictionary, but rather handle it in NetTalk Web (NTW) if possible. So I might set a check box up as a byte in the dictionary, but not try to give it any attributes, then work with constraints and conditions on the NTW front end. Of course this is a problem if you're also using the dictionary to generate a Win app. But all in all, I'm not quite sure what error or problem you're having.
-
Hi Dave,
Your posting here was helpful in isolating a small template bug. So please don't apologize for posting. The template code assumed the checkbox would have a numeric value set in the dict, and this isn't the case.
Your work-around is fine, no problems there, but you shouldn't have had to do it. I've fixed the template for the next build.
Mike -
<< I generally have found it better not to try to do much logic in the dictionary, but rather handle it in NetTalk Web (NTW) if possible.
It's always better if the template supports the dictionary settings directly without additional work. If you find dictionary settings that don't work please let me know - that's usually a bug.
Cheers
Bruce