Hi
I need some advice of a very small application that I am putting up on Pharo 3/4+Seaside 3.1 www.uxfin.com Its kludgy and grossly unfinished as of now This is to calculate the IRR (Internal Rate of Return or Interest) In this application the user may enter receipts and Payouts and the system will backcalculate the Interest Rate that fits Typically used for home loans, mortgages, returns from investment etc with odd date and amount schedules which may be tedious thru excel / spreadsheets, Here is the advice I am looking for. 1. Most important after I add longish schedule (its can be done thru the bottom panel) I get an error -> Bad Request ZnTooManyDictionaryEntries. What does it mean and how to break out of it. 2. How can I trigger a submit in the upper form. - sometime when I move to the lower form changes made in the upper form are not saved. 3. What is the suggested brush for Numerical Inputs / Amount fields - I am using textInput. how do I get formatted numerical input fields to restrict digits, and limit size before and after decimal regards Sanjay
cheers,
Sanjay |
> On 16 Jan 2015, at 14:38, Sanjay Minni <[hidden email]> wrote: > > Here is the advice I am looking for. > 1. Most important after I add longish schedule (its can be done thru the > bottom panel) I get an error -> Bad Request ZnTooManyDictionaryEntries. What > does it mean and how to break out of it. This probably means you have more than 256 inputs in a form. ZnMultiValueDictionary>>#defaultLimit "Return the maximum number dictionary entries to accept. Used by ZnMultiValueDictionary and thus for reading headers, url query and application form url encoded entity fields. This helps to protect us from malicious content." ^ 256 You could overwrite this method to raise the limit. Return nil to make it unlimited. Sven _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
thanks,
any side-effects / recommendations / best practices in making ZnMultiValueDictionary>>#defaultLimit unlimited ? and can you pls help with the setting to remove the development toolbar at the bottom - I am unable to locate it in the manual regards Sanjay
cheers,
Sanjay |
> On 16 Jan 2015, at 14:55, Sanjay Minni <[hidden email]> wrote: > > thanks, > > any side-effects / recommendations / best practices in making > ZnMultiValueDictionary>>#defaultLimit > unlimited ? It is/was an attack vector to crash a web server. I would just make it large enough for your purposes. > and can you pls help with the setting to remove the development toolbar at > the bottom - I am unable to locate it in the manual WAAdmin class>>#disableDevelopmentTools ? > regards > Sanjay > > > > Sven Van Caekenberghe-2 wrote >>> On 16 Jan 2015, at 14:38, Sanjay Minni < > >> sm@ > >> > wrote: >>> >>> Here is the advice I am looking for. >>> 1. Most important after I add longish schedule (its can be done thru the >>> bottom panel) I get an error -> Bad Request ZnTooManyDictionaryEntries. >>> What >>> does it mean and how to break out of it. >> >> This probably means you have more than 256 inputs in a form. >> >> ZnMultiValueDictionary>>#defaultLimit >> "Return the maximum number dictionary entries to accept. >> Used by ZnMultiValueDictionary and thus for reading headers, >> url query and application form url encoded entity fields. >> This helps to protect us from malicious content." >> >> ^ 256 >> >> You could overwrite this method to raise the limit. Return nil to make it >> unlimited. >> >> Sven >> >> _______________________________________________ >> seaside mailing list > >> seaside@.squeakfoundation > >> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > > > > > ----- > --- > Regards, Sanjay > -- > View this message in context: http://forum.world.st/need-advice-on-application-tp4799886p4799894.html > Sent from the Seaside General mailing list archive at Nabble.com. > _______________________________________________ > seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Does not happen
executed WAAdmin disableDevelopmentTools. also WAAdmin applicationDefaults removeParent: WADevelopmentConfiguration instance. but the seaside development toolbar is still there ... this should be simple right ? regards Sanjay > and can you pls help with the setting to remove the development toolbar at > the bottom - I am unable to locate it in the manual WAAdmin class>>#disableDevelopmentTools ?
cheers,
Sanjay |
Did you start a new session ?
> On 16 Jan 2015, at 15:10, Sanjay Minni <[hidden email]> wrote: > > Does not happen > > executed > WAAdmin disableDevelopmentTools. > also > WAAdmin applicationDefaults removeParent: WADevelopmentConfiguration > instance. > but the seaside development toolbar is still there ... this should be simple > right ? > > regards > Sanjay > >> and can you pls help with the setting to remove the development toolbar at >> the bottom - I am unable to locate it in the manual > > WAAdmin class>>#disableDevelopmentTools ? > > > > > ----- > --- > Regards, Sanjay > -- > View this message in context: http://forum.world.st/need-advice-on-application-tp4799886p4799899.html > Sent from the Seaside General mailing list archive at Nabble.com. > _______________________________________________ > seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
yes
cheers,
Sanjay |
Try to restart completely, using #clearAll and #disableDevelopmentTools and then re-registering your app(s) [ and maybe the config app too ].
One of my deploy scripts goes like this WAAdmin clearAll. WAEnvironment configureApplicationDefaults; configureApplicationExceptionHandlingDefaults; registerDefaultRequestHandlers. WAAdmin applicationDefaults removeParent: WADevelopmentConfiguration instance. WAAdmin register: WANothing asApplicationAt: 'nothing'. WAAdmin defaultDispatcher defaultName: 'nothing' (WAAdmin register: WAPi asApplicationAt: 'pi' user: user password: password) addLibrary: WAToolFiles; addLibrary: WANavigationFiles / -> empty page /pi -> an admin page I often get in trouble in dev images too, but I always seem to find a way out ;-) > On 16 Jan 2015, at 15:15, Sanjay Minni <[hidden email]> wrote: > > yes > > > Sven Van Caekenberghe-2 wrote >> Did you start a new session ? >> >>> On 16 Jan 2015, at 15:10, Sanjay Minni < > >> sm@ > >> > wrote: >>> >>> Does not happen >>> >>> executed >>> WAAdmin disableDevelopmentTools. >>> also >>> WAAdmin applicationDefaults removeParent: WADevelopmentConfiguration >>> instance. >>> but the seaside development toolbar is still there ... this should be >>> simple >>> right ? >>> >>> regards >>> Sanjay >>> >>>> and can you pls help with the setting to remove the development toolbar >>>> at >>>> the bottom - I am unable to locate it in the manual >>> >>> WAAdmin class>>#disableDevelopmentTools ? >>> >>> >>> >>> >>> ----- >>> --- >>> Regards, Sanjay >>> -- >>> View this message in context: >>> http://forum.world.st/need-advice-on-application-tp4799886p4799899.html >>> Sent from the Seaside General mailing list archive at Nabble.com. >>> _______________________________________________ >>> seaside mailing list >>> > >> seaside@.squeakfoundation > >>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside >> >> _______________________________________________ >> seaside mailing list > >> seaside@.squeakfoundation > >> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > > > > > ----- > --- > Regards, Sanjay > -- > View this message in context: http://forum.world.st/need-advice-on-application-tp4799886p4799902.html > Sent from the Seaside General mailing list archive at Nabble.com. > _______________________________________________ > seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Free forum by Nabble | Edit this page |