struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Newton (JIRA)" <j...@apache.org>
Subject [jira] Commented: (WW-2903) double call to calculate value in label tag
Date Tue, 02 Dec 2008 16:11:37 GMT

    [ https://issues.apache.org/struts/browse/WW-2903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45101#action_45101
] 

Dave Newton commented on WW-2903:
---------------------------------

As per Philip's advice when you're not debugging is it called twice?

> double call to calculate value in label tag
> -------------------------------------------
>
>                 Key: WW-2903
>                 URL: https://issues.apache.org/struts/browse/WW-2903
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core Actions
>    Affects Versions: 2.0.14
>         Environment: windows XP  /  Tomcat 6
>            Reporter: myasic
>
> I use label tag to show the result of a method of the current action like this : 
> <s:label value="%{getLabelApplication('code1')}" />
> My current action contain this method : 
> 	public String getLabelApplication(final String p_keyApp) {
> 		return "test";
> 	}
> If a debug jsp rendering, i find two call to the getLabelApplication method.
> There  must be a mistake in label tag.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message