Blogs

  • Browse Blogs
  • My Blog
  • My Updates

Tags Help

  • View as cloud  | list

Similar Blogs

photo

Patrick Picar...

62 Entries |  Patrick Picard
Updated 
RatingsRatings 2     CommentsComments 112
photo

Lotus Nut

111 Entries |  Chris Whisonant
Updated 
RatingsRatings 23     CommentsComments 157
photo

Uh Clem's Adm...

54 Entries |  Chris Mobley
Updated 
RatingsRatings 8     CommentsComments 55
photo

Life is too s...

33 Entries |  Barbara Skedel
Updated 
RatingsRatings 3     CommentsComments 56
photo

Yellow is the...

72 Entries |  Tim Tripcony
Updated 
RatingsRatings 2     CommentsComments 34

Jan Schulz

Blog Authors:  Jan Schulz  

All entries tagged with designer

@URLDecode can only decode 2048 chars (Do you use ...

Jan Schulz  |     |  Tags:  help designer @formula websession  |  Comments (0)
We have a webform which is processed by an agent. In this webform you can add a message. Every few times this agent failed to process the form (fortunately the raw message was copied in that case and so no message was lost). The problem is, that the messages were to long: @URLDecode can only process strings which are no longer than 2048 chars.

Unfortunately @URLDecode is used in several WebSession classes to access the form content, so have a look if this is a problem for you, too...

I opened a Service Request, as this wasn't specified in the designer help and the error message shown in the client sounds more like bug than a feature: "Type mismatch in method CoerStrToNum: STRING found, double expected".

Update 21.09.2009:
IBM looked at it and found that evaluate is the problem: it can't handle more than 2064 bytes. So a fix could be to add the string to decoded to a doc and pass that doc to evaluate and let @URLdecode get the string from there. Another would be to split the string, but then I would need to understand, where would be a good value to split it: it does not be in the middle of a multi byte decoded umlaut...

Sending Designer into endless loops with "Recompil...

Jan Schulz  |     |  Tags:  lotusscript designer rant  |  Comments (1)
... or to hell...

Currently I'm trying to build an LS framework, which is runtime configurable. Instead of using static functions or simple class extention, I try to build an object graph, where each object adds some functionality. So something which needs to run after a Document is saved will add a observer to the document model and do the work in the right callback method. This results in small objects and class libs, but lots of use of "Use". Unfortunatelly designer seems to be unable to cope with this. Right now I'm in a situation, where designer compiles my code, if I press strg+s, but is sent into an endless loop if I use "Recompile all Lotusscript".

Other fun includes "Use" ordering:
this compiles with strg+s (but sends "Recompile all" into an endless loop):
Use "class::logger"
Use "de.katzien.App.Infomail"
Use "de.katzien.App.InfomailDB"
Use "de.katzien.ls.Email"
this not:
Use "class::logger"
Use "de.katzien.App.InfomailDB"
Use "de.katzien.App.Infomail"
Use "de.katzien.ls.Email"
The only change is the ordering... Error: Duplicate PUBLIC Name "CHANGE_LISTENER_EVENT_BEFORE_CHANGING" in USE de.katzien.App.Infomail
This name is the public Const in script lib "MonitoringCapability", which is use'd directly by .App.Infomail and indirectly by .App.InfomailDB (uses InfomailEntry which uses MonitoringCapability). setting this to private just ends up with the next error and I can't set a complete class to private if I want to use that class in some other lib...

And don't even ask about "Illegal Circular Use".

@IBM: Please improve the Compiler for LotusScript!

Skip to main content link. Accesskey S
IBM Lotus Connections Help Tools About

Tags

A tag is a keyword that is used to categorize an entry. To view the entries with a particular tag, click a tag name or enter a tag in the box.
The tag cloud indicates the frequency of tag use. Popular tags appear darkest. The slider control adjusts how many tags are displayed in the tag cloud.