S:If test with percent car

2008-12-03 Thread Craftyman
Hi, I would like to check if my unit equal to percent cahr (%) to replace it by %25 in my url in order to allow to get this value during the auto decoding url by my browser. In use the folling code : s:if test=%{unit} == '%' // Special code here to replace % by %2( in my url /s:if But it does

Re: S:If test with percent car

2008-12-03 Thread Craftyman
Thanks for your quick answer 2008/12/3 Dave Newton [EMAIL PROTECTED] http://struts.apache.org/2.x/docs/why-wont-the-if-tag-evaluate-a-one-char-string.html --- On Wed, 12/3/08, Craftyman [EMAIL PROTECTED] wrote: From: Craftyman [EMAIL PROTECTED] Subject: S:If test with percent car

Re: Autocompleter tag issues

2008-06-16 Thread Craftyman
I have also a problem with the onchange attribute : http://www.mail-archive.com/user@struts.apache.org/msg76830.html May new but more important problem is to save the idvalue after the submit. Indeed i'm just get the value : s:form id=searchForm theme=simple s:autocompleter autoComplete=true

Re: Autocompleter tag issues

2008-06-16 Thread Craftyman
Thanks a lot, i'm just regret we can find easily this information in the documentation. I hope to find a solution to my last problem with s:autocopleter onUpdate statuts and my demo will be good :) 2008/6/16 Struts Two [EMAIL PROTECTED]: Your id will be saved in selectedUserKey. Add this

Re: Form template

2008-06-13 Thread Craftyman
Hi, You can use theme=simple in your tag to disable table mode. Ex : s:form theme=simple Cédric 2008/6/13 Ralf Fischer [EMAIL PROTECTED]: Hi Matthieu, On Fri, Jun 13, 2008 at 11:08 AM, Matthieu MARC [EMAIL PROTECTED] wrote: Hi, I am making a form page with jstl tags : %@ taglib

Re: Autocompleter onchange attribute

2008-06-12 Thread Craftyman
Anybody have any idea ? I'm just want to configure my s:autocompleter to allow to when a user select a new value to submit my form automatically Thanks. Cédric 2008/6/10 Craftyman [EMAIL PROTECTED]: I have any errors and i use the s:head theme=ajax/ in my head section a the auto search work

Re: Struts s:head theme=Ajax

2008-06-11 Thread Craftyman
The dojo files are located in struts-core jar (Struts 2.0.x) The neceesary import files are automatically done by struts You can also consult this thread : http://www.mail-archive.com/user@struts.apache.org/msg76807.html I hope i response to your answer Cédric 2008/6/11 Onur Idrisoglu [EMAIL

Autocompleter onchange attribute

2008-06-10 Thread Craftyman
Hi, I'm using a s:autocompleter with a local list (No ajax use - Struts 2.0.9). The auto seach work fine but the onChange event doesn't run. Indeed, I want to submit myForm when the user select a right value (Ie a value present in my select). Here my configuration : s:form name=myForm

Re: Autocompleter onchange attribute

2008-06-10 Thread Craftyman
tag... Do you have s:head theme=ajax/ in the head section of your page? Do you get any Javascript errors when you load the page, or when you interact with the autocompleter control? L. Craftyman wrote: Hi, I'm using a s:autocompleter with a local list (No ajax use - Struts 2.0.9

Struts 2.0.x : Dojo integration problem (Tag optiontransferselect)

2008-06-09 Thread Craftyman
Hi, I'm using Struts 2.0.9 and I would like to use optiontransferselect tag. Nevertheless this tag seemed to required dojo struts integrate libraries. I'm add the s:head / tag on the header on my jsp but dojo is not found (Error message : dojo is required) I'm also test with the tag s:head

Re: Struts 2.0.x : Dojo integration problem (Tag optiontransferselect)

2008-06-09 Thread Craftyman
the generated code assumes you're using S2's Dojo). Dave --- On Mon, 6/9/08, Craftyman [EMAIL PROTECTED] wrote: From: Craftyman [EMAIL PROTECTED] Subject: Struts 2.0.x : Dojo integration problem (Tag optiontransferselect) To: user@struts.apache.org Date: Monday, June 9, 2008, 10:51 AM Hi