weird. AFAIK there is no required parameter in @Any component. Are you sure your Any component hasn't been overwritten? Or did I get the error message wrong?
2007/9/18, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > Thanks very much for your response. I tried that and got the following > error: > > [9/18/07 13:54:27:503 PDT] 37a21fc3 AbstractEngin I > org.apache.tapestry.engine.AbstractEngine TRAS0014I: The following > exception was logged org.apache.tapestry.ApplicationRuntimeException: > Required parameter element of component Webgate/$Any is not bound. > > A bit more background: I'm trying to pass what was entered on the > login.html page to the Webgate.html page which will submit the form. I > can't get the login.html page to submit to anything other than the Java > program. The Webgate.html page will never display to the user. It is there > just to do the form submit. I open to better ways of doing this. > > > My .page (excerpt): > <component id="userId" type="TextField"> > <binding name="parameter" expression="userId"/> > </component> > > <component id="password" type="TextField"> > <binding name="parameter" expression="password"/> > <static-binding name="hidden" value="true"/> > </component> > > My Java (excerpt): > if (userId != null && password != null && companyId != null) { > > Webgate webgatePage = (Webgate)cycle.getPage("Webgate"); > > String coreIdUser = companyId.concat(userId); > > webgatePage.setUserId(coreIdUser); > webgatePage.setPassword(password); > cycle.activate(webgatePage); > }else { > statusMessage = "Please provide Company ID, Username and Password."; > cycle.activate(this); > > } > > > Webgate.html > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> > <HTML> > <HEAD> > <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> > <META name="GENERATOR" content="IBM Software Development Platform"> > <TITLE>Webgate.html</TITLE> > > </HEAD> > > <BODY> > > > > <form name="SubmitWebGate" method="post" style="{margin:0px}" > action="/access/oblix/apps/webgate/bin/webgate.dll?/oa/Router.jsp"> > > <table> > <tr> > <td> > <input type = "hidden" name = "userId" jwcid="@Any" value= > "ognl:userId"/> > <input type = "hidden" name="password" jwcid="@Any" value= > "ognl:password"/> > </td> > </tr> > </table> > > <SCRIPT LANGUAGE="JavaScript"> > > SubmitWebGate.submit(); > > </SCRIPT> > > </form> > > > </BODY> > </HTML> > > > > > > > "Marcelo C. de > Freitas" > <[EMAIL PROTECTED] To > mail.com> "Tapestry users" > <users@tapestry.apache.org> > 09/18/2007 11:43 cc > AM > Subject > Re: Submitting Forms with > Please respond to Parameters with Tapestry > "Tapestry users" > <[EMAIL PROTECTED] > pache.org> > > > > > > > > try using @Any instead of @Insert > > 2007/9/18, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > > > > Hi, > > I am new to Tapestry. > > > > I have a requirement that I submit a form with parameters (userid and > > password) to Oracle CoreId which is an authentication system. > > The submit needs to have userid and password in the form. > > > > My code below will submit the form, but it does not pass the userid and > > password. If I change the value on the userid and password to literal > > values like value="userid" and value="password", then it works. > > > > > > <form name="SubmitWebGate" method="post" style="{margin:0px}" > > action="/access/oblix/apps/webgate/bin/webgate.dll?/oa/Router.jsp"> > > <input type = "hidden" name = "userid" jwcid="@Insert" > > value="ognl:userId"/> > > <input type = "hidden" name = "password" jwcid="@Insert" > > value="ognl:password"/> > > <SCRIPT LANGUAGE="JavaScript"> > > > > SubmitWebGate.submit(); > > > > </SCRIPT> > > > > </form> > > > > > > > > I would appreciate any help I can get on this. > > > > > > Thanks, > > Debbie > > > > > > > > > ------------------------------------------------------------------------------ > > > Electronic Privacy Notice. This e-mail, and any attachments, contains > information that is, or may be, covered by electronic communications > privacy laws, and is also confidential and proprietary in nature. If you > are not the intended recipient, please be advised that you are legally > prohibited from retaining, using, copying, distributing, or otherwise > disclosing this information in any manner. Instead, please reply to the > sender that you have received this communication in error, and then > immediately delete it. Thank you in advance for your cooperation. > > > ============================================================================== > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > -- > Marcelo C. Freitas > > IM's: > MSN: [EMAIL PROTECTED] > ICQ: 24263609 > Jabber: [EMAIL PROTECTED] > GTalk: [EMAIL PROTECTED] > Yahoo: baterausp > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > ------------------------------------------------------------------------------ > Electronic Privacy Notice. This e-mail, and any attachments, contains > information that is, or may be, covered by electronic communications privacy > laws, and is also confidential and proprietary in nature. If you are not the > intended recipient, please be advised that you are legally prohibited from > retaining, using, copying, distributing, or otherwise disclosing this > information in any manner. Instead, please reply to the sender that you have > received this communication in error, and then immediately delete it. Thank > you in advance for your cooperation. > ============================================================================== > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Marcelo C. Freitas IM's: MSN: [EMAIL PROTECTED] ICQ: 24263609 Jabber: [EMAIL PROTECTED] GTalk: [EMAIL PROTECTED] Yahoo: baterausp --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]