question is, can we tell t:form to use GET instead of POST?

starbuxman wrote:
> 
> if  it were possible  -cant speak with authority  as i am not using
> tap 5 - it would take the form of support for changing the method attr
> to 'get' on  the form component.
> 
> On 3/9/09, Angelo Chen <angelochen...@yahoo.com.hk> wrote:
>>
>> Hi,
>>
>> I have a page which has a form like this:
>>
>> <t:form t:id="search">
>>      <input t:type="select" t:id="category" model="categorySelectModel"
>> t:value="category" />
>>     <input t:type="textfield" t:id="name" t:value="name" />
>>     <input t:type="submit" name="Submit" t:id="Submit" />
>> </t:form>
>>
>> in the onSuccess event I'm doing:
>>
>>      @InjectPage
>>     private ShowResults showResults;
>>
>>      Object onSuccessFromSearch() {
>>        showResults.setlst(lst);
>>        return searchResults;
>>      }
>>
>> Instead of InjectPage, is there a way to push the form to ShowResults in
>> the
>> URL, something like what Google is doing:
>>
>> http://www.google.com/search?hl=en&q=Tapestry&btnG=Google+Search&meta=
>>
>> Thanks,
>> --
>> View this message in context:
>> http://www.nabble.com/T5%3A-passing-a-form-in-the-URL--tp22412124p22412124.html
>> Sent from the Tapestry - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>
>>
> 
> 
> -- 
> Joshua Long
> http://www.joshlong.com/
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/T5%3A-passing-a-form-in-the-URL--tp22412124p22425882.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to