Re: using logic:iterate to display collection and build html:input fi

2002-02-17 Thread Duncan Harris
the records with same code: name=minValue and name=maxValue Does anyone have any suggestions? Bit late, but this should work: html:text name=createTransactionAmountBoundariesForm property='%= maxValue + x %' size=10 maxlength=10 / Duncan Harris

Transaction Token check required before form populate

2002-02-14 Thread Duncan Harris
checking functions are not available from here because they are protected. So it seems I have to copy the token checking code. Is there a clean way to solve this? Or maybe STRUTS needs fixing? Should the token checking functions be static and public? Duncan Harris

Re: Transaction Token check required before form populate

2002-02-14 Thread Duncan Harris
of the FormTag.doStartTag() method. Example when I don't want this is I have a main form which is POSTed, but an auxiliary navigational form (e.g. drop-down list and Go button) which is a GET with a clean URL. However the URL is no longer very clean. Duncan Harris

Re: Indexed Tag and JavaScript Problem

2002-02-14 Thread Duncan Harris
= total + (x - 0); Duncan Harris ~~~ Hartford, Cheshire, U.K., Tel: 07968 060418 Looking for STRUTS contract work in the U.K. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Transaction Token check required before form populate

2002-02-14 Thread Duncan Harris
comes in I want to validate the token *before* Struts attempts to populate the form bean. Duncan Harris ~~~ Hartford, Cheshire, U.K., Tel: 07968 060418 Looking for STRUTS contract work in the U.K. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED

Re: Transaction Token check required before form populate

2002-02-14 Thread Duncan Harris
something like: org.apache.struts.taglib.html.TOKEN=32ea43086bf2732216d4eb96bf22d44 which prevents possible caching of the GET request for example. Duncan Harris ~~~ Hartford, Cheshire, U.K., Tel: 07968 060418 Looking for STRUTS contract work in the U.K

Re: Transaction Token check required before form populate

2002-02-14 Thread Duncan Harris
forms. Although this is not backwards compatible, it probably wouldn't break much at all. Duncan Harris ~~~ Hartford, Cheshire, U.K., Tel: 07968 060418 Looking for STRUTS contract work in the U.K. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED

Re: Forwarding if Validation Fails

2002-02-12 Thread Duncan Harris
the userName field is not filled in, but blank) Once these are done, I will return the user to AddNewUserDetails page by way of the getInput() method. What is the best way to go about this? What are you specifically stuck with? You seem to have described all the steps. Duncan Harris

Re: Long term Session attributes [ was RE: Wizard Interface question ]

2002-02-06 Thread Duncan Harris
the getAttribute() your JSP page may well be unhappy. Duncan Harris ~~~ Hartford, Cheshire, U.K., Tel: 07968 060418 Looking for STRUTS contract work in the U.K. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto

Re: RES: Tool for Building Visual Java Server Pages

2002-01-30 Thread Duncan Harris
[EMAIL PROTECTED] (Rubens Gama) wrote: Well, dreamweaver also have support struts,now.. But it still have problems related to nested tags... Is this an extension, or a new version? Is so, what version? Duncan Harris ~~~ Hartford, Cheshire, U.K., Tel

Re: Problem With Forwarding to a non-HTML file

2002-01-30 Thread Duncan Harris
to fool the browser: /cgi-bin/genpdf.exe/docname.pdf I think maybe something similar is possible with servlets. Duncan Harris ~~~ Hartford, Cheshire, U.K., Tel: 07968 060418 Looking for STRUTS contract work in the U.K. -- To unsubscribe, e-mail: mailto:[EMAIL

Re: HTML Encoding

2002-01-27 Thread Duncan Harris
) { ... } } Duncan Harris ~~~ Hartford, Cheshire, U.K., Tel: 07968 060418 Looking for STRUTS contract work in the U.K. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: How to redirect to login page

2002-01-27 Thread Duncan Harris
is to have AdministratorAction base class which defines this and then derive administrator actions from it. You can use a similar template method pattern to factor out repetitive database access code, e.g. closing the connection in finally and catching SQLException. Duncan Harris

Re: WebLogic 6.1 SP1 and the /do/* uri-pattern

2002-01-18 Thread Duncan Harris
=my_servlet_context_path/do/do/action1 Has any one seen this kind behavior? Or has anyone used the /do/* uri-pattern successfully with WebLogic 6.1 SP1? AIUI it is what is expected. If you are using html:form you just give the STRUTS action: html:form action=/action1 Duncan Harris

Re: Forwarding if Validation Fails

2002-01-18 Thread Duncan Harris
checking. If you do this and combine with the all URLs refer to actions pattern then you can have your logon checking in only one place. Duncan Harris ~~~ Hartford, Cheshire, U.K., Tel: 07968 060418 Looking for STRUTS contract work in the U.K