I am trying to use the Ajax autocompleter and would
like to pass some parameters.  This is my JSP:

<form id="selectForm">

   <s:url id="autosports" action="LookupSports"
includeParams="all">
      <s:param name="key"     value="SearchString"/>
      <s:param name="value"   value="yarr"/>
      <s:param name="context" value="wub"/>
   </s:url>

   Select a Sports Team

   <br/>
   <s:autocompleter id="team"
                    theme="ajax" 
                    href="%{#autosports}"
                    cssStyle="width: 250px;" 
                    dropdownHeight="180";
                    loadMinimumCount="1"
                    loadOnTextChange="true"
                    autoComplete="false"
                    showDownArrow="false"
                    delay="100"
                    searchType="substring"
                    forceValidOption="true"/>

   <s:hidden name="state" value="FL"/>

   <br/>
   <br/>
</form>

Unfortunately, state is not set and the only parameter
that is passed (a 'p' was typed in the field) has no
key:

10:22:51,919 [[ACTIVE] ExecuteThread: '0' for queue:
'weblogic.kernel.Default (self-tuning)'] DEBUG
interceptor.StaticParametersInterceptor  - Setting
static parameters {}
10:22:51,919 [[ACTIVE] ExecuteThread: '0' for queue:
'weblogic.kernel.Default (self-tuning)'] DEBUG
interceptor.ParametersInterceptor  - Setting params 
=> [ p ] 
10:22:51,923 [[ACTIVE] ExecuteThread: '0' for queue:
'weblogic.kernel.Default (self-tuning)'] DEBUG
util.OgnlValueStack  - Error setting value
ognl.ExpressionSyntaxException: Malformed OGNL
expression:  [ognl.ParseException: Encountered "<EOF>"
at line 1, column 0.

Any suggestions?

Thanks,

Scott


 
____________________________________________________________________________________
Sucker-punch spam with award-winning protection. 
Try the free Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/features_spam.html

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to