Olivier,
I asked *you* to open an issue on jira :).
I attached the submit.ftl file on the last email.
Did you see any attachment?

2010/12/22  <osagit....@orange-ftgroup.com>:
> Thanks Maurizio,
>
> I don't find the issue on JIRA where you attached the submit.ftl file. Could 
> you give me the issue number please?
> Or perhaps I misunderstood, you want me to create this issue?
>
> Regards,
> Olivier Sagit
>
> -----Message d'origine-----
> De : Maurizio Cucchiara [mailto:maurizio.cucchi...@gmail.com]
> Envoyé : mardi 21 décembre 2010 16:33
> À : Struts Users Mailing List
> Objet : Re: Image type submit
>
> OK,
> I remember, we were talking about on dev list last week.
> At first glance, body parameter would seem unnecessary, so I think is a good 
> candidate for removal, though it don't cause any side effect (except for the 
> exception in debug mode).
> So, my suggestion is file a issue on JIRA [1].
> I attached submit.ftl file. You could publish in your 
> WEB-INF/classes/template/simple/submit.ftl (or whatever is your classpath 
> dir)  while waiting for patch.
>
> [1] https://issues.apache.org/jira/browse/WW
>
>
> 2010/12/21  <osagit....@orange-ftgroup.com>:
>> Hello Everyone,
>>
>> I encounter a problem with the <s:submit type="image" src=""> taglib in my 
>> forms.
>> So I downloaded the struts2 samples 2.2.1 and modified the form submit tag 
>> in struts2-showcase-2.2.1/conversion/enterPersonsInfo.jsp to be a submit of 
>> type image.
>>
>> and it generates the same error message:
>>
>> Rendering template /template/simple/submit
>>  16:56:40,862 BUG kerTemplateEngine Rendering template
>> /template/simple/submit.ftl
>>  16:56:40,862 BUG pPropertyAccessor Entering getProperty
>> (ognl.ognlcont...@1c8ed8be,{templateDir=template, theme=simple,
>> dynamicAttributes={}, label=Continuer,
>> onclick=$('textChatFormModalBox').action ='desactivateTextChat.do';,
>> title=Continuer, nameValue=Submit, id=proceed, type=image,
>>  align=right, src=ihm/images/fr/btn_proceed_fr.gif},body)
>>
>>  16:56:40,862 BUG ectTypeDeterminer Error while retrieving generic
>> property class for property=parameters
>>
>>  java.lang.NullPointerException
>>         at
>> com.opensymphony.xwork2.conversion.impl.DefaultObjectTypeDeterminer.ge
>> tClass(DefaultObjectTypeDeterminer.java:314)
>>         at
>> com.opensymphony.xwork2.conversion.impl.DefaultObjectTypeDeterminer.ge
>> tKeyClass(DefaultObjectTypeDeterminer.java:93)
>>         at
>> com.opensymphony.xwork2.ognl.accessor.XWorkMapPropertyAccessor.getProp
>> erty(XWorkMapPropertyAccessor.java:93)
>>         at ognl.OgnlRuntime.getProperty(OgnlRuntime.java:2230)
>>         at ognl.ASTProperty.getValueBody(ASTProperty.java:114)
>>         at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:212)
>>         at ognl.SimpleNode.getValue(SimpleNode.java:258)
>>         at ognl.ASTChain.getValueBody(ASTChain.java:141)
>>         at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:212)
>>         at ognl.SimpleNode.getValue(SimpleNode.java:258)
>>         at ognl.Ognl.getValue(Ognl.java:494)
>>         at
>> com.opensymphony.xwork2.ognl.OgnlUtil.getValue(OgnlUtil.java:217)
>>         at
>> com.opensymphony.xwork2.ognl.OgnlValueStack.getValue(OgnlValueStack.ja
>> va:342)
>>         at
>> com.opensymphony.xwork2.ognl.OgnlValueStack.tryFindValue(OgnlValueStac
>> k.java:331)
>>         at
>> com.opensymphony.xwork2.ognl.OgnlValueStack.tryFindValueWhenExpression
>> IsNotNull(OgnlValueStack.java:307)
>>         at
>> com.opensymphony.xwork2.ognl.OgnlValueStack.findValue(OgnlValueStack.j
>> ava:293)
>>         at
>> org.apache.struts2.components.Property.start(Property.java:162)
>>         at
>> org.apache.struts2.views.freemarker.tags.CallbackWriter.onStart(Callba
>> ckWriter.java:73)
>>         at freemarker.core.Environment.visit(Environment.java:296)
>>         at freemarker.core.UnifiedCall.accept(UnifiedCall.java:130)
>>         at freemarker.core.Environment.visit(Environment.java:210)
>>         at freemarker.core.MixedContent.accept(MixedContent.java:92)
>>         at freemarker.core.Environment.visit(Environment.java:210)
>>  ...
>>
>> Could you tell me if it's reproducable on your side with the 
>> struts2-showcase sample?
>> Tested with struts2.2.1 on Jonas4.10.3
>>
>>  Thanks,
>>
>>  Olivier Sagit
>>  osagit....@orange-ftgroup.com
>>
>> *********************************
>> This message and any attachments (the "message") are confidential and 
>> intended solely for the addressees.
>> Any unauthorised use or dissemination is prohibited.
>> Messages are susceptible to alteration.
>> France Telecom Group shall not be liable for the message if altered, changed 
>> or falsified.
>> If you are not the intended addressee of this message, please cancel it 
>> immediately and inform the sender.
>> ********************************
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>> For additional commands, e-mail: user-h...@struts.apache.org
>>
>>
>
>
>
> --
> Maurizio Cucchiara
>
>
> *********************************
> This message and any attachments (the "message") are confidential and 
> intended solely for the addressees.
> Any unauthorised use or dissemination is prohibited.
> Messages are susceptible to alteration.
> France Telecom Group shall not be liable for the message if altered, changed 
> or falsified.
> If you are not the intended addressee of this message, please cancel it 
> immediately and inform the sender.
> ********************************
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>



-- 
Maurizio Cucchiara

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

Reply via email to