<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:www.nabble.com,2006:forum-206</id>
	<title>Nabble - Struts - User</title>
	<updated>2008-05-13T10:58:22Z</updated>
	<link rel="self" type="application/atom+xml" href="http://www.nabble.com/Struts---User-f206.xml" />
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Struts---User-f206.html" />
	<subtitle type="html"></subtitle>
	
<entry>
	<id>tag:www.nabble.com,2006:post-17214713</id>
	<title>Dojo taglib?</title>
	<published>2008-05-13T10:58:22Z</published>
	<updated>2008-05-13T10:58:22Z</updated>
	<author>
		<name>Michael Gagnon-2</name>
	</author>
	<content type="html">Reading &lt;a href=&quot;http://struts.apache.org/2.x/docs/ajax-tags.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://struts.apache.org/2.x/docs/ajax-tags.html&lt;/a&gt;, this claims
&lt;br&gt;(reasonably) that I must add &amp;lt;%@ taglib prefix=&amp;quot;sx&amp;quot; uri=&amp;quot;/struts-dojo-tags&amp;quot;
&lt;br&gt;%&amp;gt; in order to use the sx ajax tags. but it appears that the
&lt;br&gt;/struts-dojo-tags uri is not available to me. Eclipse doesn't see it, and I
&lt;br&gt;don't see such a tld in the struts distribution. I have included struts in
&lt;br&gt;my project through maven with the dependency:
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;&amp;lt;dependency&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;lt;groupId&amp;gt;org.apache.struts&amp;lt;/groupId&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;lt;artifactId&amp;gt;struts2-core&amp;lt;/artifactId&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;lt;version&amp;gt;2.0.11&amp;lt;/version&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;lt;/dependency&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;Downloading the struts-2.0.11.1-all.zip package directly from the struts
&lt;br&gt;site also does not seem to [obviously, at least] include such a tld. Is the
&lt;br&gt;documentation incorrect or do I misunderstand something?
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Dojo-taglib--tp17214713p17214713.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17214500</id>
	<title>Re: struts2 access session Id</title>
	<published>2008-05-13T10:48:57Z</published>
	<updated>2008-05-13T10:48:57Z</updated>
	<author>
		<name>Jakub Milkiewicz</name>
	</author>
	<content type="html">I had the same idea when i mentioned Servlet Config Interceptor below but I
&lt;br&gt;just thought there is an easier way.
&lt;br&gt;Anyway thanks for reply and it looks like i need to do just like that.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;2008/5/13 Laurie Harper &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17214500&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;laurie@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Jakub Milkiewicz wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Hi
&lt;br&gt;&amp;gt; &amp;gt; I have a problem with Struts 2.
&lt;br&gt;&amp;gt; &amp;gt; I am looking for a way to access httpsession id?
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I have tried using ActionContext.getContext().getSession().get(&amp;quot;id&amp;quot;) but
&lt;br&gt;&amp;gt; &amp;gt; it
&lt;br&gt;&amp;gt; &amp;gt; returns null. i 've read there is a possibility to use Servlet Config
&lt;br&gt;&amp;gt; &amp;gt; Interceptor&amp;lt;
&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://www.opensymphony.com/webwork/wikidocs/Servlet%20Config%20Interceptor.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.opensymphony.com/webwork/wikidocs/Servlet%20Config%20Interceptor.html&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; but i would not like to do it.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ActionContext.getSession() gives you access to the session scope
&lt;br&gt;&amp;gt; attributes, not the session itself. To get to the actual session object,
&lt;br&gt;&amp;gt; obtain the HttpServletRequest object [1] and get the session from there:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;HttpServletRequest request = ...; // use ActionContext or
&lt;br&gt;&amp;gt; ServletRequuestAware
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;HttpSession session = request.getSession();
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;String sessionId = session.getId();
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; L.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; [1]
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://struts.apache.org/2.0.11.1/docs/how-can-we-access-the-httpservletrequest.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://struts.apache.org/2.0.11.1/docs/how-can-we-access-the-httpservletrequest.html&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17214500&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17214500&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/struts2-access-session-Id-tp17209943p17214500.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17214327</id>
	<title>JFreeChart plugin</title>
	<published>2008-05-13T10:41:57Z</published>
	<updated>2008-05-13T10:41:57Z</updated>
	<author>
		<name>Leena Borle</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&amp;nbsp; Has anyone tried out JFreeChart plugin? I am trying to run the sample code
&lt;br&gt;available on plugin documentation page. I see all ASCII characters getting
&lt;br&gt;printed on my browser screen instead of an image file.
&lt;br&gt;&amp;nbsp; Any help is appreciated.
&lt;br&gt;Thanks,
&lt;br&gt;Leena.
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/JFreeChart-plugin-tp17214327p17214327.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17213557</id>
	<title>Re: &lt;s:actionerror &gt; Tag Data Rendering Issue</title>
	<published>2008-05-13T10:02:10Z</published>
	<updated>2008-05-13T10:02:10Z</updated>
	<author>
		<name>Laurie Harper</name>
	</author>
	<content type="html">Himanshu Rathore wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; When using &amp;lt;s:actionerror &amp;gt; tag, the first character of error message is
&lt;br&gt;&amp;gt; automatically getting converted to upper case. I haven't set any
&lt;br&gt;&amp;gt; &amp;quot;text-transform&amp;quot; property in my CSS.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; If I do &amp;quot;View Source&amp;quot;, I see proper text but on JSP its behaving weirdly.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; My CSS:
&lt;br&gt;&amp;gt; ..errorMessage {
&lt;br&gt;&amp;gt; color: red;
&lt;br&gt;&amp;gt; font: 10px verdana, arial, helvetica, sans-serif;
&lt;br&gt;&amp;gt; }
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; In &amp;quot;View Source&amp;quot;
&lt;br&gt;&amp;gt; &amp;lt;ul&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;li&amp;gt;&amp;lt;span class=&amp;quot;errorMessage&amp;quot;&amp;gt;Please enter User Id&amp;lt;/span&amp;gt;&amp;lt;/li&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;/ul&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; But on JSP, it is displayed as
&lt;br&gt;&amp;gt; Please Enter User Id
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I have included struts.properties in my project classpath and have set *
&lt;br&gt;&amp;gt; struts.ui.theme=simple*
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; What could be the reason of this behaviour?
&lt;/div&gt;&lt;br&gt;Sounds like *something* is applying a text-transform to the text. When 
&lt;br&gt;you view source, what stylesheets do you see referenced? Are there any 
&lt;br&gt;&amp;lt;style&amp;gt; blocks, or inline styles in the markup? You might try using the 
&lt;br&gt;Web Developer or Firebug extensions for Firefox to examine the DOM and 
&lt;br&gt;determine what styles are really being applied to that element of some 
&lt;br&gt;additional insight into what's going on.
&lt;br&gt;&lt;br&gt;L.
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17213557&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17213557&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/%3Cs%3Aactionerror-%3E-Tag-Data-Rendering-Issue-tp17212872p17213557.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17213449</id>
	<title>Re: Selecting a jsp according to locale</title>
	<published>2008-05-13T09:57:24Z</published>
	<updated>2008-05-13T09:57:24Z</updated>
	<author>
		<name>Laurie Harper</name>
	</author>
	<content type="html">Dimitris Mouchritsas wrote:
&lt;br&gt;&amp;gt; Hi all,
&lt;br&gt;&amp;gt; I want to show a system requirements page according to the web page's 
&lt;br&gt;&amp;gt; locale.
&lt;br&gt;&amp;gt; Can I use the tiles-defs.xml to do it or I need to write code in a jsp?
&lt;br&gt;&amp;gt; Thanks
&lt;br&gt;&lt;br&gt;I'm not sure what you want to achieve. If you just want to localize the 
&lt;br&gt;page, you can do so using the I18N facilities provided by Struts. If you 
&lt;br&gt;actually need to render a different JSP per locale for some reason, it 
&lt;br&gt;will be more involved. Either way, the specifics depend on which version 
&lt;br&gt;of Struts you are using.
&lt;br&gt;&lt;br&gt;Try posting more details of exactly what it is you need to do, and what 
&lt;br&gt;environment you are working in (Struts version, etc.).
&lt;br&gt;&lt;br&gt;L.
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17213449&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17213449&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Selecting-a-jsp-according-to-locale-tp17211081p17213449.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17213340</id>
	<title>Re: struts2 access session Id</title>
	<published>2008-05-13T09:54:27Z</published>
	<updated>2008-05-13T09:54:27Z</updated>
	<author>
		<name>Laurie Harper</name>
	</author>
	<content type="html">Jakub Milkiewicz wrote:
&lt;br&gt;&amp;gt; Hi
&lt;br&gt;&amp;gt; I have a problem with Struts 2.
&lt;br&gt;&amp;gt; I am looking for a way to access httpsession id?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I have tried using ActionContext.getContext().getSession().get(&amp;quot;id&amp;quot;) but it
&lt;br&gt;&amp;gt; returns null. i 've read there is a possibility to use Servlet Config
&lt;br&gt;&amp;gt; Interceptor&amp;lt;&lt;a href=&quot;http://www.opensymphony.com/webwork/wikidocs/Servlet%20Config%20Interceptor.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.opensymphony.com/webwork/wikidocs/Servlet%20Config%20Interceptor.html&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; but i would not like to do it.
&lt;br&gt;&lt;br&gt;ActionContext.getSession() gives you access to the session scope 
&lt;br&gt;attributes, not the session itself. To get to the actual session object, 
&lt;br&gt;obtain the HttpServletRequest object [1] and get the session from there:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;HttpServletRequest request = ...; // use ActionContext or 
&lt;br&gt;ServletRequuestAware
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;HttpSession session = request.getSession();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;String sessionId = session.getId();
&lt;br&gt;&lt;br&gt;L.
&lt;br&gt;&lt;br&gt;[1] 
&lt;br&gt;&lt;a href=&quot;http://struts.apache.org/2.0.11.1/docs/how-can-we-access-the-httpservletrequest.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://struts.apache.org/2.0.11.1/docs/how-can-we-access-the-httpservletrequest.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17213340&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17213340&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/struts2-access-session-Id-tp17209943p17213340.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17213089</id>
	<title>Re: File upload issue</title>
	<published>2008-05-13T09:44:02Z</published>
	<updated>2008-05-13T09:44:02Z</updated>
	<author>
		<name>Laurie Harper</name>
	</author>
	<content type="html">Zoran Avtarovski wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I¹m getting an error after uploading a file. Which manifests itself in my
&lt;br&gt;&amp;gt; redirect action.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I¹m using a simple post redirect pattern, where the file upload action
&lt;br&gt;&amp;gt; redirects to a separate fileList action.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; After successfully uploading the file the browser is redirected to the
&lt;br&gt;&amp;gt; appropriate action, but Tomcat throws a
&lt;br&gt;&amp;gt; ³ the request was rejected because its size is unknown ³ exception. If I
&lt;br&gt;&amp;gt; call the offending action from the browser it works fine.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Here¹s the relevant snippet from my struts.xml file:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;action name=&amp;quot;uploadFile&amp;quot; class=&amp;quot;uploadFile&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;result name=&amp;quot;input&amp;quot;&amp;gt;/WEB-INF/cms/formFile.jsp&amp;lt;/result&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;result name=&amp;quot;success&amp;quot; type=&amp;quot;redirect-action&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param name=&amp;quot;actionName&amp;quot;&amp;gt;getFile&amp;lt;/param&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param name=&amp;quot;namespace&amp;quot;&amp;gt;/cms&amp;lt;/param&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/result&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/action&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Any ideas would be appreciated.
&lt;/div&gt;&lt;br&gt;&lt;br&gt;Where is the exception thrown? During the first request before the 
&lt;br&gt;redirect is sent? Or during the request resulting from the redirect? Is 
&lt;br&gt;there any Ajax involved in handling the redirect? Assuming the exception 
&lt;br&gt;happens in the redirected request and there's no Ajax, I'd suggest using 
&lt;br&gt;LiveHeaders or Firebug in Firefox to examine the headers/body of the 
&lt;br&gt;failing request to see if there's something quirky there.
&lt;br&gt;&lt;br&gt;L.
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17213089&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17213089&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/File-upload-issue-tp17203726p17213089.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17212872</id>
	<title>&lt;s:actionerror &gt; Tag Data Rendering Issue</title>
	<published>2008-05-13T09:35:36Z</published>
	<updated>2008-05-13T09:35:36Z</updated>
	<author>
		<name>Himanshu Rathore</name>
	</author>
	<content type="html">When using &amp;lt;s:actionerror &amp;gt; tag, the first character of error message is
&lt;br&gt;automatically getting converted to upper case. I haven't set any
&lt;br&gt;&amp;quot;text-transform&amp;quot; property in my CSS.
&lt;br&gt;&lt;br&gt;If I do &amp;quot;View Source&amp;quot;, I see proper text but on JSP its behaving weirdly.
&lt;br&gt;&lt;br&gt;My CSS:
&lt;br&gt;.errorMessage {
&lt;br&gt;color: red;
&lt;br&gt;font: 10px verdana, arial, helvetica, sans-serif;
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;In &amp;quot;View Source&amp;quot;
&lt;br&gt;&amp;lt;ul&amp;gt;
&lt;br&gt;&amp;lt;li&amp;gt;&amp;lt;span class=&amp;quot;errorMessage&amp;quot;&amp;gt;Please enter User Id&amp;lt;/span&amp;gt;&amp;lt;/li&amp;gt;
&lt;br&gt;&amp;lt;/ul&amp;gt;
&lt;br&gt;&lt;br&gt;But on JSP, it is displayed as
&lt;br&gt;Please Enter User Id
&lt;br&gt;&lt;br&gt;I have included struts.properties in my project classpath and have set *
&lt;br&gt;struts.ui.theme=simple*
&lt;br&gt;&lt;br&gt;What could be the reason of this behaviour?
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/%3Cs%3Aactionerror-%3E-Tag-Data-Rendering-Issue-tp17212872p17212872.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17212582</id>
	<title>Ajax with Struts2</title>
	<published>2008-05-13T09:21:18Z</published>
	<updated>2008-05-13T09:21:18Z</updated>
	<author>
		<name>krishna chary</name>
	</author>
	<content type="html">&amp;nbsp;My question is ...
&lt;br&gt;When I use this code &amp;lt;s:url id=&amp;quot;ajaxTest&amp;quot;
&lt;br&gt;value=&amp;quot;getBusinessProfileprofileAction.action&amp;quot;
&lt;br&gt;/&amp;gt;
&lt;br&gt;&amp;lt;s:a theme=&amp;quot;ajax&amp;quot; href=&amp;quot;%{ajaxTest}&amp;quot; targets=&amp;quot;div1&amp;quot;&amp;gt;Business&amp;lt;/s:a&amp;gt;
&lt;br&gt;in between action form ,then I got warning like WARNING: Parameters: Invalid
&lt;br&gt;chunk ignored. &amp;nbsp;and ajax action is not performed.
&lt;br&gt;please answer to my question very urgent
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Ajax-with-Struts2-tp17212582p17212582.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17212559</id>
	<title>Re: Repopulating Select Lists after Validation Error</title>
	<published>2008-05-13T09:19:43Z</published>
	<updated>2008-05-13T09:19:43Z</updated>
	<author>
		<name>Laurie Harper</name>
	</author>
	<content type="html">Asleson, Ryan wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; We're transitioning from a Struts 1.x and Tiles development environment
&lt;br&gt;&amp;gt; to Struts 2 and Sitemesh, and I need some help getting around some of
&lt;br&gt;&amp;gt; the differences.
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; Here's what I'm planning so far. &amp;nbsp;I want to have an abstract BaseAction
&lt;br&gt;&amp;gt; that extends ActionSupport. &amp;nbsp;Since we are no longer using Tiles, we
&lt;br&gt;&amp;gt; can't count on using Tiles Controller classes to prepare a page for
&lt;br&gt;&amp;gt; display -- for example, retrieving the contents of drop down lists from
&lt;br&gt;&amp;gt; the database. &amp;nbsp;In my BaseAction, I have overridden the execute() method
&lt;br&gt;&amp;gt; to call a &amp;quot;lifecycle&amp;quot; method called prepareAction() that is meant to be
&lt;br&gt;&amp;gt; an extension point for subclasses to retrieve any data the is needed to
&lt;br&gt;&amp;gt; display the page.
&lt;/div&gt;&lt;br&gt;Why add a custom lifecycle method? Why not just let sub-classes 
&lt;br&gt;implement Preparable?
&lt;br&gt;&lt;br&gt;&amp;gt; For example, let's say there's a drop-down select box on a page, and its
&lt;br&gt;&amp;gt; contents come from a database. &amp;nbsp;A concrete implementation of BaseAction
&lt;br&gt;&amp;gt; should override prepareAction() to retrieve the list items for the drop
&lt;br&gt;&amp;gt; down list. &amp;nbsp;
&lt;br&gt;&lt;br&gt;By implementing Preparable that logic would go in either prepare() or 
&lt;br&gt;prepareInput() (where 'input' is the name of the method on the action 
&lt;br&gt;that is called to display the form).
&lt;br&gt;&lt;br&gt;&amp;gt; Now, here's where things get sticky: &amp;nbsp;Assume the page above is
&lt;br&gt;&amp;gt; displayed. &amp;nbsp;The user enters some form data and posts the page. &amp;nbsp;However,
&lt;br&gt;&amp;gt; there are some validation errors. &amp;nbsp;Struts 2 will automatically redisplay
&lt;br&gt;&amp;gt; the page.... but will the drop-down list be populated with list items,
&lt;br&gt;&amp;gt; or will it be empty?
&lt;br&gt;&lt;br&gt;If there are validation errors, Struts will forward control to the 
&lt;br&gt;action result mapped as 'input'. You can either arrange for the 
&lt;br&gt;drop-down list data to be loaded before validation fires (e.g. using 
&lt;br&gt;Preparable.prepare()) or, if you don't want to perform that load during 
&lt;br&gt;a successful form submit, you can do it as part of the 'input' result 
&lt;br&gt;processing.
&lt;br&gt;&lt;br&gt;&amp;gt; In the Struts 1.x/Tiles world, where we have a Tiles Controller backing
&lt;br&gt;&amp;gt; the JSP, the list items would be repopulated by the Controller. &amp;nbsp;But
&lt;br&gt;&amp;gt; with Tiles no longer in play, what will repopulate the list? &amp;nbsp;I'm pretty
&lt;br&gt;&amp;gt; sure that the prepareAction() method that was used when the page is
&lt;br&gt;&amp;gt; first displayed will not be called when there are validation errors,
&lt;br&gt;&amp;gt; resulting in an empty drop-down list.
&lt;br&gt;&lt;br&gt;If a validation error occurs, Struts will not call the action method for 
&lt;br&gt;handling the form submit so no, you can't rely on a method being called 
&lt;br&gt;from there in this case.
&lt;br&gt;&lt;br&gt;&amp;gt; So, here are my questions:
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 1. &amp;nbsp;Is my idea to have a BaseAction that provides an extension point for
&lt;br&gt;&amp;gt; subclasses, where things like database access should occur, a bad idea?
&lt;br&gt;&lt;br&gt;Not necessarily a bad idea, but not necessarily optimal. For example, 
&lt;br&gt;since your actions would all be dependent on super.execute() being 
&lt;br&gt;invoked, it may make it messy to target other methods on the action 
&lt;br&gt;(e.g. calling action.input() to setup and display a form and 
&lt;br&gt;action.execute() to process it on submit).
&lt;br&gt;&lt;br&gt;&amp;gt; 2. &amp;nbsp;What is the recommended way to repopulate drop-down selects after a
&lt;br&gt;&amp;gt; validation error, if the list items need to be retrieved from a
&lt;br&gt;&amp;gt; database?
&lt;br&gt;&lt;br&gt;Take a look at &amp;nbsp;the Preparable interface and the 'prepare' interceptor 
&lt;br&gt;for one approach. Another may be to use the 'action-chain' result type 
&lt;br&gt;for your action's 'input' result mapping, and keep the data retrieval in 
&lt;br&gt;the chained action.
&lt;br&gt;&lt;br&gt;I recommend taking a look at some of the example applications (e.g. 
&lt;br&gt;Mailo Reader and Showcase) to see how this has been handled elsewhere. 
&lt;br&gt;There's More Than One Way To Do It (TM) :-)
&lt;br&gt;&lt;br&gt;L.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17212559&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17212559&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Repopulating-Select-Lists-after-Validation-Error-tp17187476p17212559.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17211837</id>
	<title>Re: [struts 2] Two forms for one action</title>
	<published>2008-05-13T08:45:56Z</published>
	<updated>2008-05-13T08:45:56Z</updated>
	<author>
		<name>Jim Kiley</name>
	</author>
	<content type="html">&amp;lt;s:form action=&amp;quot;blah&amp;quot;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;lt;s:submit/&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;lt;s:submit action=&amp;quot;blah!foo&amp;quot;/&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;lt;/s:form&amp;gt;
&lt;br&gt;&lt;br&gt;On Tue, May 13, 2008 at 11:44 AM, Milan Milanovic &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17211837&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;milanmilanovich@...&lt;/a&gt;&amp;gt;
&lt;br&gt;wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; regarding multiple submit buttons for the same form, if I have &amp;lt;s:form
&lt;br&gt;&amp;gt; ...&amp;gt; with
&lt;br&gt;&amp;gt; defined action (which is actually a method name in a action class), then
&lt;br&gt;&amp;gt; my submit
&lt;br&gt;&amp;gt; button calls that method. But, how can I define another submit button that
&lt;br&gt;&amp;gt; will call
&lt;br&gt;&amp;gt; another method of the same action class ?
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Thx in advance, Milan
&lt;br&gt;&amp;gt; ----- Original Message ----
&lt;br&gt;&amp;gt; From: Jim Kiley &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17211837&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jhkiley@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; To: Struts Users Mailing List &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17211837&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; Sent: Monday, May 12, 2008 6:15:07 PM
&lt;br&gt;&amp;gt; Subject: Re: [struts 2] Two forms for one action
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Milan,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I'm not a Struts 1 guy, so this advice might not be useful to you (because
&lt;br&gt;&amp;gt; you didn't say whether this was a Struts 1 or 2 situation). But in my
&lt;br&gt;&amp;gt; Struts
&lt;br&gt;&amp;gt; 2 app I have plenty of places where I have multiple &amp;lt;s:submit&amp;gt; buttons
&lt;br&gt;&amp;gt; each
&lt;br&gt;&amp;gt; triggering different action methods on the same action class.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; jk
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Mon, May 12, 2008 at 12:10 PM, Milan Milanovic &amp;lt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17211837&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;milanmilanovich@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Or maybe I should define two submit buttons for the same form and action
&lt;br&gt;&amp;gt; &amp;gt; class ?
&lt;br&gt;&amp;gt; &amp;gt; --
&lt;br&gt;&amp;gt; &amp;gt; Regards, Milan
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; ----- Original Message ----
&lt;br&gt;&amp;gt; &amp;gt; From: Milan Milanovic &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17211837&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;milanmilanovich@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; To: Struts Users Mailing List &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17211837&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Sent: Monday, May 12, 2008 5:57:50 PM
&lt;br&gt;&amp;gt; &amp;gt; Subject: [struts 2] Two forms for one action
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Hi,
&lt;br&gt;&amp;gt; &amp;gt; I need to have classic master/detail jsp page, so I need actually two
&lt;br&gt;&amp;gt; &amp;gt; forms in a jsp page to works with one action class,
&lt;br&gt;&amp;gt; &amp;gt; one main form that works with main elements of my object (e.g. User
&lt;br&gt;&amp;gt; name,
&lt;br&gt;&amp;gt; &amp;gt; surname,...) for header and another one which works
&lt;br&gt;&amp;gt; &amp;gt; with some list that belongs to my main object (e.g., User.privileges)
&lt;br&gt;&amp;gt; &amp;gt; below such header part. How can I define this ?
&lt;br&gt;&amp;gt; &amp;gt; --
&lt;br&gt;&amp;gt; &amp;gt; Thx, Milan Milanovic
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; ____________________________________________________________________________________
&lt;br&gt;&amp;gt; &amp;gt; Be a better friend, newshound, and
&lt;br&gt;&amp;gt; &amp;gt; know-it-all with Yahoo! Mobile. &amp;nbsp;Try it now.
&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; ____________________________________________________________________________________
&lt;br&gt;&amp;gt; &amp;gt; Be a better friend, newshound, and
&lt;br&gt;&amp;gt; &amp;gt; know-it-all with Yahoo! Mobile. &amp;nbsp;Try it now.
&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Jim Kiley
&lt;br&gt;&amp;gt; Technical Consultant | Summa
&lt;br&gt;&amp;gt; [p] 412.258.3346 [m] 412.445.1729
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.summa-tech.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.summa-tech.com&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Jim Kiley
&lt;br&gt;Technical Consultant | Summa
&lt;br&gt;[p] 412.258.3346 [m] 412.445.1729
&lt;br&gt;&lt;a href=&quot;http://www.summa-tech.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.summa-tech.com&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Re%3A--struts-2--Two-forms-for-one-action-tp17191299p17211837.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17211795</id>
	<title>Re: [struts 2] Two forms for one action</title>
	<published>2008-05-13T08:44:16Z</published>
	<updated>2008-05-13T08:44:16Z</updated>
	<author>
		<name>Milan Milanovic-2</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;regarding multiple submit buttons for the same form, if I have &amp;lt;s:form ...&amp;gt; with
&lt;br&gt;defined action (which is actually a method name in a action class), then my submit
&lt;br&gt;button calls that method. But, how can I define another submit button that will call
&lt;br&gt;another method of the same action class ?
&lt;br&gt;--
&lt;br&gt;Thx in advance, Milan
&lt;br&gt;----- Original Message ----
&lt;br&gt;From: Jim Kiley &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17211795&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jhkiley@...&lt;/a&gt;&amp;gt;
&lt;br&gt;To: Struts Users Mailing List &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17211795&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Sent: Monday, May 12, 2008 6:15:07 PM
&lt;br&gt;Subject: Re: [struts 2] Two forms for one action
&lt;br&gt;&lt;br&gt;Milan,
&lt;br&gt;&lt;br&gt;I'm not a Struts 1 guy, so this advice might not be useful to you (because
&lt;br&gt;you didn't say whether this was a Struts 1 or 2 situation). But in my Struts
&lt;br&gt;2 app I have plenty of places where I have multiple &amp;lt;s:submit&amp;gt; buttons each
&lt;br&gt;triggering different action methods on the same action class.
&lt;br&gt;&lt;br&gt;jk
&lt;br&gt;&lt;br&gt;&lt;br&gt;On Mon, May 12, 2008 at 12:10 PM, Milan Milanovic &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17211795&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;milanmilanovich@...&lt;/a&gt;&amp;gt;
&lt;br&gt;wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Or maybe I should define two submit buttons for the same form and action
&lt;br&gt;&amp;gt; class ?
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Regards, Milan
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ----- Original Message ----
&lt;br&gt;&amp;gt; From: Milan Milanovic &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17211795&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;milanmilanovich@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; To: Struts Users Mailing List &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17211795&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; Sent: Monday, May 12, 2008 5:57:50 PM
&lt;br&gt;&amp;gt; Subject: [struts 2] Two forms for one action
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; I need to have classic master/detail jsp page, so I need actually two
&lt;br&gt;&amp;gt; forms in a jsp page to works with one action class,
&lt;br&gt;&amp;gt; one main form that works with main elements of my object (e.g. User name,
&lt;br&gt;&amp;gt; surname,...) for header and another one which works
&lt;br&gt;&amp;gt; with some list that belongs to my main object (e.g., User.privileges)
&lt;br&gt;&amp;gt; below such header part. How can I define this ?
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Thx, Milan Milanovic
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ____________________________________________________________________________________
&lt;br&gt;&amp;gt; Be a better friend, newshound, and
&lt;br&gt;&amp;gt; know-it-all with Yahoo! Mobile.  Try it now.
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;  ____________________________________________________________________________________
&lt;br&gt;&amp;gt; Be a better friend, newshound, and
&lt;br&gt;&amp;gt; know-it-all with Yahoo! Mobile.  Try it now.
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Jim Kiley
&lt;br&gt;Technical Consultant | Summa
&lt;br&gt;[p] 412.258.3346 [m] 412.445.1729
&lt;br&gt;&lt;a href=&quot;http://www.summa-tech.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.summa-tech.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Re%3A--struts-2--Two-forms-for-one-action-tp17191299p17211795.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17211081</id>
	<title>Selecting a jsp according to locale</title>
	<published>2008-05-13T08:17:45Z</published>
	<updated>2008-05-13T08:17:45Z</updated>
	<author>
		<name>Dimitris Mouchritsas-3</name>
	</author>
	<content type="html">Hi all,
&lt;br&gt;I want to show a system requirements page according to the web page's 
&lt;br&gt;locale.
&lt;br&gt;Can I use the tiles-defs.xml to do it or I need to write code in a jsp?
&lt;br&gt;Thanks
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17211081&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17211081&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Selecting-a-jsp-according-to-locale-tp17211081p17211081.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17210998</id>
	<title>Re: [struts 2] Two forms for one action</title>
	<published>2008-05-13T08:13:36Z</published>
	<updated>2008-05-13T08:13:36Z</updated>
	<author>
		<name>Milan Milanovic-2</name>
	</author>
	<content type="html">Thank you Randy.
&lt;br&gt;&amp;gt;They could, if it were me I would have different methods on the action class
&lt;br&gt;&amp;gt;to handle the different forms if I were to do it this way. Personally I
&lt;br&gt;&amp;gt;would create an action class for each form.
&lt;br&gt;&lt;br&gt;No, I cannot do this, because both forms need to work with the same objects in
&lt;br&gt;a action class. First form works with some header data, and the second with list
&lt;br&gt;of data and show table also of such data.
&lt;br&gt;I asked this, because I wasn't sure if both forms would call the same instance of
&lt;br&gt;action class.
&lt;br&gt;--
&lt;br&gt;Thx, Milan Milanovic
&lt;br&gt;----- Original Message ----
&lt;br&gt;From: Randy Burgess &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17210998&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;RBurgess@...&lt;/a&gt;&amp;gt;
&lt;br&gt;To: Struts Users Mailing List &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17210998&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Sent: Tuesday, May 13, 2008 5:09:19 PM
&lt;br&gt;Subject: Re: [struts 2] Two forms for one action
&lt;br&gt;&lt;br&gt;They could, if it were me I would have different methods on the action class
&lt;br&gt;to handle the different forms if I were to do it this way. Personally I
&lt;br&gt;would create an action class for each form.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Randy Burgess
&lt;br&gt;Sr. Web Applications Developer
&lt;br&gt;Nuvox Communications
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; From: Milan Milanovic &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17210998&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;milanmilanovich@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; Reply-To: Struts Users Mailing List &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17210998&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; Date: Tue, 13 May 2008 07:58:29 -0700 (PDT)
&lt;br&gt;&amp;gt; To: Struts Users Mailing List &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17210998&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; Subject: Re: [struts 2] Two forms for one action
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I have one more question about this, if I define two &amp;lt;s:forms&amp;gt; in one page
&lt;br&gt;&amp;gt; would
&lt;br&gt;&amp;gt; they work with the same action class ?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Thx, Milan Milanovic
&lt;br&gt;&amp;gt; ----- Original Message ----
&lt;br&gt;&amp;gt; From: Jim Kiley &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17210998&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jhkiley@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; To: Struts Users Mailing List &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17210998&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; Sent: Monday, May 12, 2008 6:15:07 PM
&lt;br&gt;&amp;gt; Subject: Re: [struts 2] Two forms for one action
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Milan,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I'm not a Struts 1 guy, so this advice might not be useful to you (because
&lt;br&gt;&amp;gt; you didn't say whether this was a Struts 1 or 2 situation). But in my Struts
&lt;br&gt;&amp;gt; 2 app I have plenty of places where I have multiple &amp;lt;s:submit&amp;gt; buttons each
&lt;br&gt;&amp;gt; triggering different action methods on the same action class.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; jk
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On Mon, May 12, 2008 at 12:10 PM, Milan Milanovic &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17210998&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;milanmilanovich@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Or maybe I should define two submit buttons for the same form and action
&lt;br&gt;&amp;gt;&amp;gt; class ?
&lt;br&gt;&amp;gt;&amp;gt; --
&lt;br&gt;&amp;gt;&amp;gt; Regards, Milan
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; ----- Original Message ----
&lt;br&gt;&amp;gt;&amp;gt; From: Milan Milanovic &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17210998&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;milanmilanovich@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; To: Struts Users Mailing List &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17210998&amp;i=9&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Sent: Monday, May 12, 2008 5:57:50 PM
&lt;br&gt;&amp;gt;&amp;gt; Subject: [struts 2] Two forms for one action
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;&amp;gt; I need to have classic master/detail jsp page, so I need actually two
&lt;br&gt;&amp;gt;&amp;gt; forms in a jsp page to works with one action class,
&lt;br&gt;&amp;gt;&amp;gt; one main form that works with main elements of my object (e.g. User name,
&lt;br&gt;&amp;gt;&amp;gt; surname,...) for header and another one which works
&lt;br&gt;&amp;gt;&amp;gt; with some list that belongs to my main object (e.g., User.privileges)
&lt;br&gt;&amp;gt;&amp;gt; below such header part. How can I define this ?
&lt;br&gt;&amp;gt;&amp;gt; --
&lt;br&gt;&amp;gt;&amp;gt; Thx, Milan Milanovic
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; _____________________________________________________________________________
&lt;br&gt;&amp;gt;&amp;gt; _______
&lt;br&gt;&amp;gt;&amp;gt; Be a better friend, newshound, and
&lt;br&gt;&amp;gt;&amp;gt; know-it-all with Yahoo! Mobile.  Try it now.
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ&lt;/a&gt;&amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;   
&lt;br&gt;&amp;gt;&amp;gt; _____________________________________________________________________________
&lt;br&gt;&amp;gt;&amp;gt; _______
&lt;br&gt;&amp;gt;&amp;gt; Be a better friend, newshound, and
&lt;br&gt;&amp;gt;&amp;gt; know-it-all with Yahoo! Mobile.  Try it now.
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ&lt;/a&gt;&amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; -- 
&lt;br&gt;&amp;gt; Jim Kiley
&lt;br&gt;&amp;gt; Technical Consultant | Summa
&lt;br&gt;&amp;gt; [p] 412.258.3346 [m] 412.445.1729
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.summa-tech.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.summa-tech.com&lt;/a&gt;&amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;This email and any attachments (&amp;quot;Message&amp;quot;) may contain legally privileged and/or confidential information.  If you are not the addressee, or if this Message has been addressed to you in error, you are not authorized to read, copy, or distribute it, and we ask that you please delete it (including all copies) and notify the sender by return email.  Delivery of this Message to any person other than the intended recipient(s) shall not be deemed a waiver of confidentiality and/or a privilege.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Re%3A--struts-2--Two-forms-for-one-action-tp17191299p17210998.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17210895</id>
	<title>Re: [struts 2] Two forms for one action</title>
	<published>2008-05-13T08:09:19Z</published>
	<updated>2008-05-13T08:09:19Z</updated>
	<author>
		<name>Randy Burgess-3</name>
	</author>
	<content type="html">They could, if it were me I would have different methods on the action class
&lt;br&gt;to handle the different forms if I were to do it this way. Personally I
&lt;br&gt;would create an action class for each form.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Randy Burgess
&lt;br&gt;Sr. Web Applications Developer
&lt;br&gt;Nuvox Communications
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; From: Milan Milanovic &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17210895&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;milanmilanovich@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; Reply-To: Struts Users Mailing List &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17210895&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; Date: Tue, 13 May 2008 07:58:29 -0700 (PDT)
&lt;br&gt;&amp;gt; To: Struts Users Mailing List &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17210895&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; Subject: Re: [struts 2] Two forms for one action
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I have one more question about this, if I define two &amp;lt;s:forms&amp;gt; in one page
&lt;br&gt;&amp;gt; would
&lt;br&gt;&amp;gt; they work with the same action class ?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Thx, Milan Milanovic
&lt;br&gt;&amp;gt; ----- Original Message ----
&lt;br&gt;&amp;gt; From: Jim Kiley &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17210895&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jhkiley@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; To: Struts Users Mailing List &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17210895&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; Sent: Monday, May 12, 2008 6:15:07 PM
&lt;br&gt;&amp;gt; Subject: Re: [struts 2] Two forms for one action
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Milan,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I'm not a Struts 1 guy, so this advice might not be useful to you (because
&lt;br&gt;&amp;gt; you didn't say whether this was a Struts 1 or 2 situation). But in my Struts
&lt;br&gt;&amp;gt; 2 app I have plenty of places where I have multiple &amp;lt;s:submit&amp;gt; buttons each
&lt;br&gt;&amp;gt; triggering different action methods on the same action class.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; jk
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On Mon, May 12, 2008 at 12:10 PM, Milan Milanovic &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17210895&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;milanmilanovich@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Or maybe I should define two submit buttons for the same form and action
&lt;br&gt;&amp;gt;&amp;gt; class ?
&lt;br&gt;&amp;gt;&amp;gt; --
&lt;br&gt;&amp;gt;&amp;gt; Regards, Milan
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; ----- Original Message ----
&lt;br&gt;&amp;gt;&amp;gt; From: Milan Milanovic &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17210895&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;milanmilanovich@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; To: Struts Users Mailing List &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17210895&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Sent: Monday, May 12, 2008 5:57:50 PM
&lt;br&gt;&amp;gt;&amp;gt; Subject: [struts 2] Two forms for one action
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;&amp;gt; I need to have classic master/detail jsp page, so I need actually two
&lt;br&gt;&amp;gt;&amp;gt; forms in a jsp page to works with one action class,
&lt;br&gt;&amp;gt;&amp;gt; one main form that works with main elements of my object (e.g. User name,
&lt;br&gt;&amp;gt;&amp;gt; surname,...) for header and another one which works
&lt;br&gt;&amp;gt;&amp;gt; with some list that belongs to my main object (e.g., User.privileges)
&lt;br&gt;&amp;gt;&amp;gt; below such header part. How can I define this ?
&lt;br&gt;&amp;gt;&amp;gt; --
&lt;br&gt;&amp;gt;&amp;gt; Thx, Milan Milanovic
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; _____________________________________________________________________________
&lt;br&gt;&amp;gt;&amp;gt; _______
&lt;br&gt;&amp;gt;&amp;gt; Be a better friend, newshound, and
&lt;br&gt;&amp;gt;&amp;gt; know-it-all with Yahoo! Mobile.  Try it now.
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;   
&lt;br&gt;&amp;gt;&amp;gt; _____________________________________________________________________________
&lt;br&gt;&amp;gt;&amp;gt; _______
&lt;br&gt;&amp;gt;&amp;gt; Be a better friend, newshound, and
&lt;br&gt;&amp;gt;&amp;gt; know-it-all with Yahoo! Mobile.  Try it now.
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; -- 
&lt;br&gt;&amp;gt; Jim Kiley
&lt;br&gt;&amp;gt; Technical Consultant | Summa
&lt;br&gt;&amp;gt; [p] 412.258.3346 [m] 412.445.1729
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.summa-tech.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.summa-tech.com&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;This email and any attachments (&amp;quot;Message&amp;quot;) may contain legally privileged and/or confidential information. &amp;nbsp;If you are not the addressee, or if this Message has been addressed to you in error, you are not authorized to read, copy, or distribute it, and we ask that you please delete it (including all copies) and notify the sender by return email. &amp;nbsp;Delivery of this Message to any person other than the intended recipient(s) shall not be deemed a waiver of confidentiality and/or a privilege.
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Re%3A--struts-2--Two-forms-for-one-action-tp17191299p17210895.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17210691</id>
	<title>Re: [struts 2] Table question</title>
	<published>2008-05-13T08:00:48Z</published>
	<updated>2008-05-13T08:00:48Z</updated>
	<author>
		<name>Milan Milanovic-2</name>
	</author>
	<content type="html">Thanks Jim! 
&lt;br&gt;Could you give me an example for the second thing (pagination) ? I need something
&lt;br&gt;simple as you said.
&lt;br&gt;For combo box, how can I tell my combobox to retrieve data from list of composed
&lt;br&gt;strings (e.g. List&amp;lt;String&amp;gt; where I will compose &amp;quot;1 Apple&amp;quot;), but when selected to choose
&lt;br&gt;in my action class from list of Fruits, e.g. List&amp;lt;Fruit&amp;gt;, where Fruit have id and name attributes ? 
&lt;br&gt;--
&lt;br&gt;Thx, Milan Milanovic
&lt;br&gt;&lt;br&gt;&lt;br&gt;----- Original Message ----
&lt;br&gt;From: Jim Kiley &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17210691&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jhkiley@...&lt;/a&gt;&amp;gt;
&lt;br&gt;To: Struts Users Mailing List &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17210691&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Sent: Tuesday, May 13, 2008 3:34:58 PM
&lt;br&gt;Subject: Re: [struts 2] Table question
&lt;br&gt;&lt;br&gt;I have to admit that in your first instance I would cheat -- I would dummy
&lt;br&gt;up a method somewhere on my action class or my POJO that returned the
&lt;br&gt;desired string, rather than trying to compose the string within the JSP.
&lt;br&gt;&lt;br&gt;I am unfamiliar with the various tags that can be used to display chunks of
&lt;br&gt;a table.  I know they're out there (the display tag library comes to mind).
&lt;br&gt;The most recent time I had to do this I rolled my own; it was pretty
&lt;br&gt;painless.  I held the data in a List of data objects, and then used
&lt;br&gt;List.subList() in my action method to determine the precise chunk of the
&lt;br&gt;List that I wanted to show.
&lt;br&gt;&lt;br&gt;Hope this helps.
&lt;br&gt;&lt;br&gt;jk
&lt;br&gt;&lt;br&gt;On Tue, May 13, 2008 at 9:30 AM, Milan Milanovic &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17210691&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;milanmilanovich@...&lt;/a&gt;&amp;gt;
&lt;br&gt;wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; first I'll ask again my earlier question, is there possibility to show in
&lt;br&gt;&amp;gt; a combo box
&lt;br&gt;&amp;gt; two values, for example I want to show id and name of the every fruit: 1
&lt;br&gt;&amp;gt; Apple ?
&lt;br&gt;&amp;gt; The second question is, my struts 2 application on one jsp page will have
&lt;br&gt;&amp;gt; 5 combo
&lt;br&gt;&amp;gt; boxes, 4 text boxes, two buttons and two datetime pickers, and below all
&lt;br&gt;&amp;gt; these controls a table
&lt;br&gt;&amp;gt; that will show what is entered using controls above. The problem is that
&lt;br&gt;&amp;gt; my table will have
&lt;br&gt;&amp;gt; about 100-120 records (rows) to show, and I think that is very much for
&lt;br&gt;&amp;gt; one jsp page, and
&lt;br&gt;&amp;gt; also I want user to see about last 10 rows, because he need to see if
&lt;br&gt;&amp;gt; there is any error.
&lt;br&gt;&amp;gt; How can I do this, can I use table pagination (how) ?
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Thx in advance, Milan Milanovic
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Jim Kiley
&lt;br&gt;Technical Consultant | Summa
&lt;br&gt;[p] 412.258.3346 [m] 412.445.1729
&lt;br&gt;&lt;a href=&quot;http://www.summa-tech.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.summa-tech.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/-struts-2--Table-question-tp17208504p17210691.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17210628</id>
	<title>Re: [struts 2] Two forms for one action</title>
	<published>2008-05-13T07:58:29Z</published>
	<updated>2008-05-13T07:58:29Z</updated>
	<author>
		<name>Milan Milanovic-2</name>
	</author>
	<content type="html">I have one more question about this, if I define two &amp;lt;s:forms&amp;gt; in one page would
&lt;br&gt;they work with the same action class ?
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Thx, Milan Milanovic
&lt;br&gt;----- Original Message ----
&lt;br&gt;From: Jim Kiley &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17210628&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jhkiley@...&lt;/a&gt;&amp;gt;
&lt;br&gt;To: Struts Users Mailing List &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17210628&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Sent: Monday, May 12, 2008 6:15:07 PM
&lt;br&gt;Subject: Re: [struts 2] Two forms for one action
&lt;br&gt;&lt;br&gt;Milan,
&lt;br&gt;&lt;br&gt;I'm not a Struts 1 guy, so this advice might not be useful to you (because
&lt;br&gt;you didn't say whether this was a Struts 1 or 2 situation). But in my Struts
&lt;br&gt;2 app I have plenty of places where I have multiple &amp;lt;s:submit&amp;gt; buttons each
&lt;br&gt;triggering different action methods on the same action class.
&lt;br&gt;&lt;br&gt;jk
&lt;br&gt;&lt;br&gt;&lt;br&gt;On Mon, May 12, 2008 at 12:10 PM, Milan Milanovic &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17210628&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;milanmilanovich@...&lt;/a&gt;&amp;gt;
&lt;br&gt;wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Or maybe I should define two submit buttons for the same form and action
&lt;br&gt;&amp;gt; class ?
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Regards, Milan
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ----- Original Message ----
&lt;br&gt;&amp;gt; From: Milan Milanovic &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17210628&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;milanmilanovich@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; To: Struts Users Mailing List &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17210628&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; Sent: Monday, May 12, 2008 5:57:50 PM
&lt;br&gt;&amp;gt; Subject: [struts 2] Two forms for one action
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; I need to have classic master/detail jsp page, so I need actually two
&lt;br&gt;&amp;gt; forms in a jsp page to works with one action class,
&lt;br&gt;&amp;gt; one main form that works with main elements of my object (e.g. User name,
&lt;br&gt;&amp;gt; surname,...) for header and another one which works
&lt;br&gt;&amp;gt; with some list that belongs to my main object (e.g., User.privileges)
&lt;br&gt;&amp;gt; below such header part. How can I define this ?
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Thx, Milan Milanovic
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ____________________________________________________________________________________
&lt;br&gt;&amp;gt; Be a better friend, newshound, and
&lt;br&gt;&amp;gt; know-it-all with Yahoo! Mobile.  Try it now.
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;  ____________________________________________________________________________________
&lt;br&gt;&amp;gt; Be a better friend, newshound, and
&lt;br&gt;&amp;gt; know-it-all with Yahoo! Mobile.  Try it now.
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Jim Kiley
&lt;br&gt;Technical Consultant | Summa
&lt;br&gt;[p] 412.258.3346 [m] 412.445.1729
&lt;br&gt;&lt;a href=&quot;http://www.summa-tech.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.summa-tech.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Re%3A--struts-2--Two-forms-for-one-action-tp17191299p17210628.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17209943</id>
	<title>struts2 access session Id</title>
	<published>2008-05-13T07:29:29Z</published>
	<updated>2008-05-13T07:29:29Z</updated>
	<author>
		<name>Jakub Milkiewicz</name>
	</author>
	<content type="html">Hi
&lt;br&gt;I have a problem with Struts 2.
&lt;br&gt;I am looking for a way to access httpsession id?
&lt;br&gt;&lt;br&gt;I have tried using ActionContext.getContext().getSession().get(&amp;quot;id&amp;quot;) but it
&lt;br&gt;returns null. i 've read there is a possibility to use Servlet Config
&lt;br&gt;Interceptor&amp;lt;&lt;a href=&quot;http://www.opensymphony.com/webwork/wikidocs/Servlet%20Config%20Interceptor.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.opensymphony.com/webwork/wikidocs/Servlet%20Config%20Interceptor.html&lt;/a&gt;&amp;gt;
&lt;br&gt;but i would not like to do it.
&lt;br&gt;&lt;br&gt;Any help
&lt;br&gt;&lt;br&gt;milo
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/struts2-access-session-Id-tp17209943p17209943.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17209863</id>
	<title>&lt;sx:div&gt; tag with Validation problem</title>
	<published>2008-05-13T07:25:57Z</published>
	<updated>2008-05-13T07:25:57Z</updated>
	<author>
		<name>Håken Stark</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I'm facing a problem when I'm using a Struts form with client validation on a jsp page which is remotely fetch from a &amp;lt;sx:div&amp;gt;. This div is a tabpanel inside a &amp;lt;s:tabbedpanel&amp;gt; tabcontainer. When the form is submitted the following error displays inside the sx:div: 'ReferenceError: validateForm_saveProducer is not defined' (Firefox). The code is displayed below (Struts 2.1.2):
&lt;br&gt;&lt;br&gt;-- editProducer.jsp --
&lt;br&gt;&lt;br&gt;&amp;lt;s:form action=&amp;quot;saveProducer&amp;quot; validate=&amp;quot;true&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;s:hidden name=&amp;quot;producer.producerId&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;s:textfield key=&amp;quot;producer.name&amp;quot; name=&amp;quot;producer.name&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ...
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;sx:submit value=&amp;quot;%{getText('button.save')}&amp;quot; targets=&amp;quot;producerTab&amp;quot; /&amp;gt;
&lt;br&gt;&amp;lt;/s:form&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- mainPage.jsp with tabbedpanel --
&lt;br&gt;&lt;br&gt;&amp;lt;sx:tabbedpanel id=&amp;quot;mainTabMenu&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;s:url id=&amp;quot;editProducer&amp;quot; action=&amp;quot;editProducer&amp;quot; includeParams=&amp;quot;none&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;sx:div id=&amp;quot;producerTab&amp;quot; href=&amp;quot;%{editProducer}&amp;quot; /&amp;gt;
&lt;br&gt;&amp;lt;/sx:tabbedpanel&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;It looks like the validation script is not included when the jsp page is fetched remotely from the struts div tag. The problem occurs on both Struts version 2.0.11.1 and 2.1.2. Adding the executeScripts=&amp;quot;true&amp;quot; and separateScripts=&amp;quot;true&amp;quot; to the sx:div also has no effect. Any ideas!?
&lt;br&gt;&lt;br&gt;- Håken
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17209863&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17209863&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/%3Csx%3Adiv%3E-tag-with-Validation-problem-tp17209863p17209863.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17208623</id>
	<title>Re: [struts 2] Table question</title>
	<published>2008-05-13T06:34:58Z</published>
	<updated>2008-05-13T06:34:58Z</updated>
	<author>
		<name>Jim Kiley</name>
	</author>
	<content type="html">I have to admit that in your first instance I would cheat -- I would dummy
&lt;br&gt;up a method somewhere on my action class or my POJO that returned the
&lt;br&gt;desired string, rather than trying to compose the string within the JSP.
&lt;br&gt;&lt;br&gt;I am unfamiliar with the various tags that can be used to display chunks of
&lt;br&gt;a table. &amp;nbsp;I know they're out there (the display tag library comes to mind).
&lt;br&gt;The most recent time I had to do this I rolled my own; it was pretty
&lt;br&gt;painless. &amp;nbsp;I held the data in a List of data objects, and then used
&lt;br&gt;List.subList() in my action method to determine the precise chunk of the
&lt;br&gt;List that I wanted to show.
&lt;br&gt;&lt;br&gt;Hope this helps.
&lt;br&gt;&lt;br&gt;jk
&lt;br&gt;&lt;br&gt;On Tue, May 13, 2008 at 9:30 AM, Milan Milanovic &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17208623&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;milanmilanovich@...&lt;/a&gt;&amp;gt;
&lt;br&gt;wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; first I'll ask again my earlier question, is there possibility to show in
&lt;br&gt;&amp;gt; a combo box
&lt;br&gt;&amp;gt; two values, for example I want to show id and name of the every fruit: 1
&lt;br&gt;&amp;gt; Apple ?
&lt;br&gt;&amp;gt; The second question is, my struts 2 application on one jsp page will have
&lt;br&gt;&amp;gt; 5 combo
&lt;br&gt;&amp;gt; boxes, 4 text boxes, two buttons and two datetime pickers, and below all
&lt;br&gt;&amp;gt; these controls a table
&lt;br&gt;&amp;gt; that will show what is entered using controls above. The problem is that
&lt;br&gt;&amp;gt; my table will have
&lt;br&gt;&amp;gt; about 100-120 records (rows) to show, and I think that is very much for
&lt;br&gt;&amp;gt; one jsp page, and
&lt;br&gt;&amp;gt; also I want user to see about last 10 rows, because he need to see if
&lt;br&gt;&amp;gt; there is any error.
&lt;br&gt;&amp;gt; How can I do this, can I use table pagination (how) ?
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Thx in advance, Milan Milanovic
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Jim Kiley
&lt;br&gt;Technical Consultant | Summa
&lt;br&gt;[p] 412.258.3346 [m] 412.445.1729
&lt;br&gt;&lt;a href=&quot;http://www.summa-tech.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.summa-tech.com&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/-struts-2--Table-question-tp17208504p17208623.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17208504</id>
	<title>[struts 2] Table question</title>
	<published>2008-05-13T06:30:38Z</published>
	<updated>2008-05-13T06:30:38Z</updated>
	<author>
		<name>Milan Milanovic-2</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;first I'll ask again my earlier question, is there possibility to show in a combo box
&lt;br&gt;two values, for example I want to show id and name of the every fruit: 1 Apple ?
&lt;br&gt;The second question is, my struts 2 application on one jsp page will have 5 combo
&lt;br&gt;boxes, 4 text boxes, two buttons and two datetime pickers, and below all these controls a table
&lt;br&gt;that will show what is entered using controls above. The problem is that my table will have
&lt;br&gt;about 100-120 records (rows) to show, and I think that is very much for one jsp page, and
&lt;br&gt;also I want user to see about last 10 rows, because he need to see if there is any error. 
&lt;br&gt;How can I do this, can I use table pagination (how) ?
&lt;br&gt;--
&lt;br&gt;Thx in advance, Milan Milanovic
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/-struts-2--Table-question-tp17208504p17208504.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17207777</id>
	<title>Re: redirect after logging in</title>
	<published>2008-05-13T05:58:24Z</published>
	<updated>2008-05-13T05:58:24Z</updated>
	<author>
		<name>Rushikesh Thakkar</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;Check out the login-interceptor in Mail-Reader application given on Planet
&lt;br&gt;Struts. I found it useful. I think you are also looking for the same.
&lt;br&gt;&lt;a href=&quot;http://www.planetstruts.org/struts2-mailreader/Tour.do&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.planetstruts.org/struts2-mailreader/Tour.do&lt;/a&gt;&lt;br&gt;&lt;br&gt;(The application may be down sometimes, you can refer to cached pages in
&lt;br&gt;Google search for the same.)
&lt;br&gt;&lt;br&gt;-Rushikesh
&lt;br&gt;&lt;br&gt;On Mon, May 12, 2008 at 1:35 PM, Laurie Harper &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17207777&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;laurie@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Acegi / Spring Security can certainly get this done, but may be overkill
&lt;br&gt;&amp;gt; if the authentication and authorization requirements are simple. Container
&lt;br&gt;&amp;gt; Managed Security is probably the quickest and easiest way to get the
&lt;br&gt;&amp;gt; described behaviour, but that also doesn't always fit. For a home-brewed
&lt;br&gt;&amp;gt; custom solution a Struts2 interceptor or simply a servlet filter will give
&lt;br&gt;&amp;gt; more flexibility.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; So, the answer is yes, this can be achieved using interceptors. What
&lt;br&gt;&amp;gt; specifically do you need help with?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; L.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Jim Kiley wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I wouldn't implement it with interceptors so much as I'd look into
&lt;br&gt;&amp;gt; &amp;gt; something
&lt;br&gt;&amp;gt; &amp;gt; like Acegi Security (now Spring Security if I remember right). &amp;nbsp;I'm
&lt;br&gt;&amp;gt; &amp;gt; having a
&lt;br&gt;&amp;gt; &amp;gt; decent level of success on an Acegi / Sitemesh / Struts 2 / Spring /
&lt;br&gt;&amp;gt; &amp;gt; Hibernate project right now.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; jk
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; On Fri, May 9, 2008 at 6:01 PM, Jaarthy &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17207777&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;aarthyjava@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;Hi,
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; I'm trying to implement a scenario in which if the user who has not
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; logged
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; in clicks on a page &amp;quot;for logged in users only&amp;quot; &amp;nbsp;should be
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; redirected to &amp;quot;login page&amp;quot;, and then after logging in he should be
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; redirected to the page he originally requested for.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; I need to implement this in struts2.Can I achieve this using
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Interceptors?Kindly help.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Thanks,
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Aarthy
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; --
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; View this message in context:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &lt;a href=&quot;http://www.nabble.com/redirect-after-logging-in-tp17157183p17157183.html&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/redirect-after-logging-in-tp17157183p17157183.html&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Sent from the Struts - User mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17207777&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17207777&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17207777&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17207777&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/redirect-after-logging-in-tp17157183p17207777.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17206794</id>
	<title>Re: Setting HTML form parameters to Custom classes (not action support)</title>
	<published>2008-05-13T05:01:50Z</published>
	<updated>2008-05-13T05:01:50Z</updated>
	<author>
		<name>Jim Kiley</name>
	</author>
	<content type="html">I would handle this by creating an ordinary Java class for the page, and
&lt;br&gt;then having the following fields:
&lt;br&gt;&lt;br&gt;public class MyAction {
&lt;br&gt;C1 a;
&lt;br&gt;C2 b;
&lt;br&gt;C3 c;
&lt;br&gt;&lt;br&gt;//...
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;...and make sure I had a public getA() and setA(), getB() and setB(), and so
&lt;br&gt;on.
&lt;br&gt;&lt;br&gt;If you need to preset values for a, b, and c, one option is to have MyAction
&lt;br&gt;implement Preparable, and put the pre-population in the prepare() method
&lt;br&gt;that it requires.
&lt;br&gt;&lt;br&gt;jk
&lt;br&gt;&lt;br&gt;On Tue, May 13, 2008 at 1:16 AM, ravi_eze &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17206794&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ravichandrac@...&lt;/a&gt;&amp;gt;
&lt;br&gt;wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; hi,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; we have multiple classes (C1,C2,C3) each as java beans. now i have a form
&lt;br&gt;&amp;gt; as:
&lt;br&gt;&amp;gt; &amp;lt;s:form...&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;s:textfield name=&amp;quot;a.field1&amp;quot; ../&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;s:textfield name=&amp;quot;b.field1&amp;quot; ../&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;s:textfield name=&amp;quot;c.field1&amp;quot; ../&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; is it possible for me to populate the individual classes? The problem is
&lt;br&gt;&amp;gt; that we need to build a framework in struts2 and it requires the above to
&lt;br&gt;&amp;gt; happen.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; After googling a lot... i found that that the current ActionSupport class
&lt;br&gt;&amp;gt; is
&lt;br&gt;&amp;gt; kept in ognl value stack which is later filled. If this is true then can
&lt;br&gt;&amp;gt; we
&lt;br&gt;&amp;gt; push the C1's object as a, C2's object as b etc into value stack???
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Also, ModelInterceptor... would also push the object to the value stack.
&lt;br&gt;&amp;gt; But
&lt;br&gt;&amp;gt; my problem is that i need all the 3 objects into the stack...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; please correct me if i am wrong... any help would be great...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; cheers,
&lt;br&gt;&amp;gt; ravi
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; View this message in context:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/Setting-HTML-form-parameters-to-Custom-classes-%28not-action-support%29-tp17201248p17201248.html&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/Setting-HTML-form-parameters-to-Custom-classes-%28not-action-support%29-tp17201248p17201248.html&lt;/a&gt;&lt;br&gt;&amp;gt; Sent from the Struts - User mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17206794&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17206794&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Jim Kiley
&lt;br&gt;Technical Consultant | Summa
&lt;br&gt;[p] 412.258.3346 [m] 412.445.1729
&lt;br&gt;&lt;a href=&quot;http://www.summa-tech.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.summa-tech.com&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Setting-HTML-form-parameters-to-Custom-classes-%28not-action-support%29-tp17201248p17206794.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17206695</id>
	<title>Re: hi, what is the difference between specify time out and do not specify the timeout value in the web.xml file</title>
	<published>2008-05-13T04:54:10Z</published>
	<updated>2008-05-13T04:54:10Z</updated>
	<author>
		<name>Alberto A. Flores</name>
	</author>
	<content type="html">Please include container type, version, etc, etc.
&lt;br&gt;&lt;br&gt;Laurie Harper wrote:
&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; shrimpywu wrote:
&lt;br&gt;&amp;gt;&amp;gt; hi, what is the difference between specify time out and do not specify 
&lt;br&gt;&amp;gt;&amp;gt; the
&lt;br&gt;&amp;gt;&amp;gt; timeout value in the web.xml file
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;&amp;lt;session-config&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;session-timeout&amp;gt;30&amp;lt;/session-timeout&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/session-config&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; According to the Servlet specification, if you don't specify this 
&lt;br&gt;&amp;gt; session timeout will be set to the container's default (which will be 
&lt;br&gt;&amp;gt; server dependent).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; before, i do not specify this in the web.xml file
&lt;br&gt;&amp;gt;&amp;gt; when the session has been timeout, i sometime got some exception
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; but after i did that..no exception any more..why???
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Without even knowing what the exception was there's no way to guess. 
&lt;br&gt;&amp;gt; You'd probably be better off trying to diagnose why the exception occurs 
&lt;br&gt;&amp;gt; in the first place, rather than ask why it goes away.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; L.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17206695&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17206695&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;/div&gt;-- 
&lt;br&gt;&lt;br&gt;Alberto A. Flores
&lt;br&gt;&lt;a href=&quot;http://www.linkedin.com/in/aflores&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.linkedin.com/in/aflores&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br /&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17206695&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17206695&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/hi%2C-what-is-the-difference-between-specify-time-out-and-do-not-specify-the-timeout-value-in-the-web.xml-file-tp17199737p17206695.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17206560</id>
	<title>Struts2 &amp; Tiles2</title>
	<published>2008-05-13T04:47:56Z</published>
	<updated>2008-05-13T04:47:56Z</updated>
	<author>
		<name>Pro1712</name>
	</author>
	<content type="html">Hallo,
&lt;br&gt;&lt;br&gt;I'm new to struts so this may be a simple question for experts...
&lt;br&gt;&lt;br&gt;I started developing a classical webapp: Header and Menu on top, navigation on the left side and details on the right side. When the user selects an item in the navigation, the detail is displayed on the right side.
&lt;br&gt;&lt;br&gt;Depending on the detail, the user now can navigate and open the edit dialog for the detail. The edit dialog should replace the detail. The user press the save or cancel button on the edit dialog an show be redirected to the detail again.
&lt;br&gt;Depending on the detail and the user action, the header, menu and / or navigation can change.
&lt;br&gt;&lt;br&gt;I want to only relaod the parts of the page that need to be changed maybe using AJAX.
&lt;br&gt;&lt;br&gt;So far I use Struts 2.1.2 and Tiles 2.0.5.
&lt;br&gt;But I could not find out how to &amp;quot;fill&amp;quot; tiles-definition with the action and parameters from the navigation
&lt;br&gt;How can I do this?
&lt;br&gt;&lt;br&gt;What is best practise for my problem?
&lt;br&gt;How do you solve this?
&lt;br&gt;&lt;br&gt;&lt;br&gt;Thanks for your help!</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Struts2---Tiles2-tp17206560p17206560.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17203726</id>
	<title>File upload issue</title>
	<published>2008-05-13T01:36:50Z</published>
	<updated>2008-05-13T01:36:50Z</updated>
	<author>
		<name>Sparecreative</name>
	</author>
	<content type="html">I¹m getting an error after uploading a file. Which manifests itself in my
&lt;br&gt;redirect action.
&lt;br&gt;&lt;br&gt;I¹m using a simple post redirect pattern, where the file upload action
&lt;br&gt;redirects to a separate fileList action.
&lt;br&gt;&lt;br&gt;After successfully uploading the file the browser is redirected to the
&lt;br&gt;appropriate action, but Tomcat throws a
&lt;br&gt;³ the request was rejected because its size is unknown ³ exception. If I
&lt;br&gt;call the offending action from the browser it works fine.
&lt;br&gt;&lt;br&gt;Here¹s the relevant snippet from my struts.xml file:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;action name=&amp;quot;uploadFile&amp;quot; class=&amp;quot;uploadFile&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;result name=&amp;quot;input&amp;quot;&amp;gt;/WEB-INF/cms/formFile.jsp&amp;lt;/result&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;result name=&amp;quot;success&amp;quot; type=&amp;quot;redirect-action&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param name=&amp;quot;actionName&amp;quot;&amp;gt;getFile&amp;lt;/param&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param name=&amp;quot;namespace&amp;quot;&amp;gt;/cms&amp;lt;/param&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/result&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/action&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;Any ideas would be appreciated.
&lt;br&gt;&lt;br&gt;Z.
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/File-upload-issue-tp17203726p17203726.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17202142</id>
	<title>Re: problems nesting TileResults....</title>
	<published>2008-05-12T23:44:22Z</published>
	<updated>2008-05-12T23:44:22Z</updated>
	<author>
		<name>Antonio Petrelli-3</name>
	</author>
	<content type="html">2008/5/13 Darren James &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17202142&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jdjames@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt; i downloaded the 2.0.5 version of tiles, and i see the same issue....
&lt;br&gt;&amp;gt; &amp;nbsp;seems to be a pretty severe limitation of tiles....
&lt;br&gt;&lt;br&gt;It's not a limitation, it's a bug :-)
&lt;br&gt;&lt;a href=&quot;https://issues.apache.org/struts/browse/TILES-232&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/struts/browse/TILES-232&lt;/a&gt;&lt;br&gt;&lt;br&gt;Try using the SVN version of Tiles (branch: TILES_2_0_X):
&lt;br&gt;&lt;a href=&quot;http://svn.apache.org/repos/asf/tiles/framework/branches/TILES_2_0_X/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://svn.apache.org/repos/asf/tiles/framework/branches/TILES_2_0_X/&lt;/a&gt;&lt;br&gt;Or you can use the 2.0.6 snapshots:
&lt;br&gt;&lt;a href=&quot;http://people.apache.org/repo/m2-snapshot-repository/org/apache/tiles/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://people.apache.org/repo/m2-snapshot-repository/org/apache/tiles/&lt;/a&gt;&lt;br&gt;&lt;br&gt;Antonio
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17202142&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17202142&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/problems-nesting-TileResults....-tp17155138p17202142.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17201413</id>
	<title>Re: problems nesting TileResults....</title>
	<published>2008-05-12T22:34:02Z</published>
	<updated>2008-05-12T22:34:02Z</updated>
	<author>
		<name>Darren James</name>
	</author>
	<content type="html">i downloaded the 2.0.5 version of tiles, and i see the same issue....
&lt;br&gt;seems to be a pretty severe limitation of tiles....
&lt;br&gt;&lt;br&gt;- darren.
&lt;br&gt;&lt;br&gt;Antonio Petrelli wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 2008/5/12 Darren James &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17201413&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jdjames@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; struts 2.0.11, and the tiles bundled with that version, which is tiles 2.0.4
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Please try updating to Tiles 2.0.5:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://tiles.apache.org/download.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://tiles.apache.org/download.html&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Antonio
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17201413&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17201413&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17201413&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17201413&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/problems-nesting-TileResults....-tp17155138p17201413.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17201293</id>
	<title>HashMap&lt; String, ArrayList&lt;String&gt; &gt;: Unable to populate the Array List from JSP</title>
	<published>2008-05-12T22:21:34Z</published>
	<updated>2008-05-12T22:21:34Z</updated>
	<author>
		<name>ravi_eze</name>
	</author>
	<content type="html">Team,
&lt;br&gt;&lt;br&gt;any help??? now i configured the validation, workflow interceptors in my xml file. I see an error for this field variable. 
&lt;br&gt;&lt;br&gt;I tried configuring the converter... but as always its also failing... 
&lt;br&gt;&lt;br&gt;&amp;lt; actionclass&amp;gt;-conversion.properties:
&lt;br&gt;mapOfList=com.company.CustomMapConverter
&lt;br&gt;Element_mapOfList=java.util.ArrayList
&lt;br&gt;Key_mapOfList=java.lang.string
&lt;br&gt;&lt;br&gt;I see a weird behavior: only the convertToString() function being called... 
&lt;br&gt;&lt;br&gt;had any body fixed such issues???
&lt;br&gt;&lt;br&gt;please help
&lt;br&gt;&lt;br&gt;cheers,
&lt;br&gt;ravi 
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/HashMap%3C-String%2C-ArrayList%3CString%3E-%3E%3A-Unable-to-populate-the-Array-List-from-JSP-tp16975469p17201293.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17201248</id>
	<title>Setting HTML form parameters to Custom classes (not action support)</title>
	<published>2008-05-12T22:16:16Z</published>
	<updated>2008-05-12T22:16:16Z</updated>
	<author>
		<name>ravi_eze</name>
	</author>
	<content type="html">hi,
&lt;br&gt;&lt;br&gt;we have multiple classes (C1,C2,C3) each as java beans. now i have a form as:
&lt;br&gt;&amp;lt;s:form...&amp;gt;
&lt;br&gt;&amp;lt;s:textfield name=&amp;quot;a.field1&amp;quot; ../&amp;gt;
&lt;br&gt;&amp;lt;s:textfield name=&amp;quot;b.field1&amp;quot; ../&amp;gt;
&lt;br&gt;&amp;lt;s:textfield name=&amp;quot;c.field1&amp;quot; ../&amp;gt;
&lt;br&gt;&lt;br&gt;is it possible for me to populate the individual classes? The problem is that we need to build a framework in struts2 and it requires the above to happen.
&lt;br&gt;&lt;br&gt;After googling a lot... i found that that the current ActionSupport class is kept in ognl value stack which is later filled. If this is true then can we push the C1's object as a, C2's object as b etc into value stack???
&lt;br&gt;&lt;br&gt;Also, ModelInterceptor... would also push the object to the value stack. But my problem is that i need all the 3 objects into the stack... 
&lt;br&gt;&lt;br&gt;please correct me if i am wrong... any help would be great... 
&lt;br&gt;&lt;br&gt;cheers,
&lt;br&gt;ravi </content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Setting-HTML-form-parameters-to-Custom-classes-%28not-action-support%29-tp17201248p17201248.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17201167</id>
	<title>Re: hi, what is the difference between specify time out and do not specify the timeout value in the web.xml file</title>
	<published>2008-05-12T22:04:10Z</published>
	<updated>2008-05-12T22:04:10Z</updated>
	<author>
		<name>Laurie Harper</name>
	</author>
	<content type="html">shrimpywu wrote:
&lt;br&gt;&amp;gt; hi, what is the difference between specify time out and do not specify the
&lt;br&gt;&amp;gt; timeout value in the web.xml file
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;&amp;lt;session-config&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;session-timeout&amp;gt;30&amp;lt;/session-timeout&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/session-config&amp;gt;
&lt;br&gt;&lt;br&gt;According to the Servlet specification, if you don't specify this 
&lt;br&gt;session timeout will be set to the container's default (which will be 
&lt;br&gt;server dependent).
&lt;br&gt;&lt;br&gt;&amp;gt; before, i do not specify this in the web.xml file
&lt;br&gt;&amp;gt; when the session has been timeout, i sometime got some exception
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; but after i did that..no exception any more..why???
&lt;br&gt;&lt;br&gt;Without even knowing what the exception was there's no way to guess. 
&lt;br&gt;You'd probably be better off trying to diagnose why the exception occurs 
&lt;br&gt;in the first place, rather than ask why it goes away.
&lt;br&gt;&lt;br&gt;L.
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17201167&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17201167&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/hi%2C-what-is-the-difference-between-specify-time-out-and-do-not-specify-the-timeout-value-in-the-web.xml-file-tp17199737p17201167.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17200002</id>
	<title>Ajax &lt;s:div&gt; [loads once when refreshing the page]</title>
	<published>2008-05-12T19:42:23Z</published>
	<updated>2008-05-12T19:42:23Z</updated>
	<author>
		<name>Simon Sew</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I have a problem where the ajax div (see source code) will initialize once when I load the page.What I wanted to do is to make it run only when i publish the topic. Am I missing something here. I'm using v2.0.11. Thanks.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;s:div id=&amp;quot;restore&amp;quot; href=&amp;quot;&amp;lt;%=JspConstant.LINKS.CONF_SECURITY_RESTORE%&amp;gt;&amp;quot; listenTopics=&amp;quot;/setRestoreAjax&amp;quot; showLoadingText=&amp;quot;false&amp;quot; showErrorTransportText=&amp;quot;false&amp;quot; theme=&amp;quot;ajax&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/s:div&amp;gt;
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Simon
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Ajax-%3Cs%3Adiv%3E--loads-once-when-refreshing-the-page--tp17200002p17200002.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17199737</id>
	<title>hi, what is the difference between specify time out and do not specify the timeout value in the web.xml file</title>
	<published>2008-05-12T19:15:09Z</published>
	<updated>2008-05-12T19:15:09Z</updated>
	<author>
		<name>shrimpywu</name>
	</author>
	<content type="html">hi, what is the difference between specify time out and do not specify the timeout value in the web.xml file
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;&amp;lt;session-config&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;session-timeout&amp;gt;30&amp;lt;/session-timeout&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/session-config&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;before, i do not specify this in the web.xml file
&lt;br&gt;when the session has been timeout, i sometime got some exception
&lt;br&gt;&lt;br&gt;but after i did that..no exception any more..why???</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/hi%2C-what-is-the-difference-between-specify-time-out-and-do-not-specify-the-timeout-value-in-the-web.xml-file-tp17199737p17199737.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17198305</id>
	<title>Unit Test Validation Logic in Struts2</title>
	<published>2008-05-12T16:35:41Z</published>
	<updated>2008-05-12T16:35:41Z</updated>
	<author>
		<name>curiousengr</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I am having trouble with unit testing my validation logic in Struts2.
&lt;br&gt;&lt;br&gt;here's the code.
&lt;br&gt;&lt;br&gt;1) In UserLookupAction-validation.xml I have
&lt;br&gt;&amp;lt;field name=&amp;quot;memberId&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;field-validator type=&amp;quot;requiredstring&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;message&amp;gt;You must enter a value for ${getText(&amp;quot;memberId.label&amp;quot;)}.&amp;lt;/message&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/field-validator&amp;gt;
&lt;br&gt;&amp;lt;/field&amp;gt;
&lt;br&gt;&lt;br&gt;2) In UserLookupActionTest.java I have the following method
&lt;br&gt;&lt;br&gt;public void setUp() throws Exception {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; super.setUp();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ObjectFactory.setObjectFactory( new ObjectFactory() ); 
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;public void testValidationFailed() throws ValidationException {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ActionValidatorManager avm = ActionValidatorManagerFactory.getInstance();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; UserLookupAction action = new UserLookupAction();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; action.setSession(sessionMap);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; action.setMemberId(null);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; avm.validate(action,&amp;quot;UserLookupAction&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Map fieldErrors = action.getFieldErrors();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; assertTrue(action.hasErrors());
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;3) UserLookupActionTest extends from TestCase and not from StrutsTestCase but I think I am doing ObjectFactory.setObjectFactory( new ObjectFactory() ); as an alternative to that so it should not cause a problem.
&lt;br&gt;&lt;br&gt;When I run the test testValidationFailed, the ActionValidatorManager gets initialized but it has no properties. Afterwards, when I call validate method, it executes but then fieldErrors map is empty and the action.hasErrors() returns null so the assertion fails. Can someone tell me what is wrong here? Any help would be appreciated. This validation logic seems to work when I run the app.
&lt;br&gt;&lt;br&gt;Thanks
&lt;br&gt;Pranav
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ____________________________________________________________________________________
&lt;br&gt;Be a better friend, newshound, and 
&lt;br&gt;know-it-all with Yahoo! Mobile. &amp;nbsp;Try it now. &amp;nbsp;&lt;a href=&quot;http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ&lt;/a&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17198305&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17198305&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Unit-Test-Validation-Logic-in-Struts2-tp17198305p17198305.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17195666</id>
	<title>Re: [s2] Getting the current Action name in a JSP?</title>
	<published>2008-05-12T13:29:40Z</published>
	<updated>2008-05-12T13:29:40Z</updated>
	<author>
		<name>Volker Karlmeier</name>
	</author>
	<content type="html">-----BEGIN PGP SIGNED MESSAGE-----
&lt;br&gt;Hash: SHA1
&lt;br&gt;&lt;br&gt;Hi,
&lt;br&gt;&lt;br&gt;for myself, I solved the problem by a little routine in my (base) action 
&lt;br&gt;class.
&lt;br&gt;I don't know if this is the recommended way to to it, but it works for me.
&lt;br&gt;&lt;br&gt;~ &amp;nbsp; &amp;nbsp;@SuppressWarnings(&amp;quot;unchecked&amp;quot;)
&lt;br&gt;~ &amp;nbsp; &amp;nbsp;protected String getActionName() {
&lt;br&gt;~ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Enumeration&amp;lt;String&amp;gt; params = 
&lt;br&gt;getServletRequest().getParameterNames();
&lt;br&gt;~ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;String action=null;
&lt;br&gt;~ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;while (params.hasMoreElements()) {
&lt;br&gt;~ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;String key=params.nextElement();
&lt;br&gt;~ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (key.startsWith(&amp;quot;action:&amp;quot;)) {
&lt;br&gt;~ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;action=key.substring(7);
&lt;br&gt;~ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;break;
&lt;br&gt;~ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;~ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;~ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return action;
&lt;br&gt;~ &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Regards
&lt;br&gt;~ &amp;nbsp; &amp;nbsp;Volker
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Allen, Daniel schrieb:
&lt;br&gt;| Oh, ok. I was just in the middle of poking around the debug info to see
&lt;br&gt;| why that wasn't working.
&lt;br&gt;|
&lt;br&gt;| Thanks,
&lt;br&gt;| ~DVA
&lt;br&gt;|
&lt;br&gt;| -----Original Message-----
&lt;br&gt;| From: Allen, Daniel
&lt;br&gt;| Sent: Monday, May 12, 2008 3:11 PM
&lt;br&gt;| To: Struts Users Mailing List
&lt;br&gt;| Subject: RE: [s2] Getting the current Action name in a JSP?
&lt;br&gt;|
&lt;br&gt;| Ok, thanks for the clarification.
&lt;br&gt;|
&lt;br&gt;| What is the Java type of #struts? I'd like to take a look at the docs to
&lt;br&gt;| see what else I can get out of that.
&lt;br&gt;|
&lt;br&gt;| ~DVA
&lt;br&gt;|
&lt;br&gt;| -----Original Message-----
&lt;br&gt;| From: Musachy Barroso [mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17195666&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;musachy@...&lt;/a&gt;]
&lt;br&gt;| Sent: Monday, May 12, 2008 3:07 PM
&lt;br&gt;| To: Struts Users Mailing List
&lt;br&gt;| Subject: Re: [s2] Getting the current Action name in a JSP?
&lt;br&gt;|
&lt;br&gt;| %{#struts.actionMapping} -&amp;gt;Action Mapping
&lt;br&gt;| %{#action} -&amp;gt; Last executed action
&lt;br&gt;|
&lt;br&gt;| musachy
&lt;br&gt;|
&lt;br&gt;| On Mon, May 12, 2008 at 3:05 PM, Dave Newton &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17195666&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;newton.dave@...&lt;/a&gt;&amp;gt;
&lt;br&gt;| wrote:
&lt;br&gt;|&amp;gt; --- &amp;quot;Allen, Daniel&amp;quot; &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17195666&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Daniel.Allen@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; So that's what #action gets? That's really useful, thanks!
&lt;br&gt;|&amp;gt;
&lt;br&gt;|&amp;gt; &amp;nbsp;Wait, what? I'm not sure that #action is mapped to anything, and if
&lt;br&gt;| it
&lt;br&gt;|&amp;gt; &amp;nbsp;was, it'd be the action itself, not its configuration.
&lt;br&gt;|&amp;gt;
&lt;br&gt;|&amp;gt; &amp;nbsp;Dave
&lt;br&gt;|&amp;gt;
&lt;br&gt;|&amp;gt;
&lt;br&gt;|&amp;gt;
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; -----Original Message-----
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; From: Musachy Barroso [mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17195666&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;musachy@...&lt;/a&gt;]
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; Sent: Monday, May 12, 2008 1:52 PM
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; To: Struts Users Mailing List
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; Subject: Re: [s2] Getting the current Action name in a JSP?
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt;
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; Under &amp;quot;struts.actionMapping&amp;quot; there will be an object of type
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;quot;org.apache.struts2.dispatcher.mapper.ActionMapping&amp;quot; with fields:
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; extension, name, namespace, params and method. Another tip, if you
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; have the &amp;quot;debug&amp;quot; interceptor applied to your action you can add
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; debug=browser to the url and you will be able to browse the values
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; stored in the stack.
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt;
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; musachy
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt;
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; On Mon, May 12, 2008 at 1:35 PM, Allen, Daniel
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17195666&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Daniel.Allen@...&lt;/a&gt;&amp;gt;
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; wrote:
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; Thanks for the tip, but to clarify, what I want to know is
&lt;br&gt;| whether
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; that
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; &amp;nbsp;action reference has an easy, built-in way to get its name and
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; &amp;nbsp;namespace, as configured in struts.xml.
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt;
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; &amp;nbsp;For example, I have in struts.xml
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; &amp;nbsp;&amp;lt;action name=&amp;quot;doSample&amp;quot; class=&amp;quot;package.DoSampleAction&amp;quot;&amp;gt;
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;result name=&amp;quot;success&amp;quot;&amp;gt;sample.jsp&amp;lt;/result
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; &amp;nbsp;&amp;lt;/action&amp;gt;
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt;
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; &amp;nbsp;Can I put into sample.jsp a reference to something built-in like
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; &amp;nbsp;&amp;lt;s:property value=&amp;quot;#action.name&amp;quot;&amp;gt;? Or will I have to actually
&lt;br&gt;| edit
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; the
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; &amp;nbsp;DoSampleAction.java to create a getConfiguredName() property
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; before I
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; &amp;nbsp;can do that? I didn't see anything in the API document for
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; &amp;nbsp;ActionSupport.
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt;
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; &amp;nbsp;~DVA
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt;
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt;
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt;
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt;
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt;
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; &amp;nbsp;-----Original Message-----
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; &amp;nbsp;From: Musachy Barroso [mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17195666&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;musachy@...&lt;/a&gt;]
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; &amp;nbsp;Sent: Monday, May 12, 2008 12:45 PM
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; &amp;nbsp;To: Struts Users Mailing List
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; &amp;nbsp;Subject: Re: [s2] Getting the current Action name in a JSP?
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt;
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; &amp;nbsp;&amp;quot;#action&amp;quot; will give you a reference to the last executed action.
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt;
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; &amp;nbsp;musachy
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt;
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; &amp;nbsp;On Mon, May 12, 2008 at 12:10 PM, Allen, Daniel
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17195666&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Daniel.Allen@...&lt;/a&gt;&amp;gt;
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; &amp;nbsp;wrote:
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; &amp;nbsp;&amp;gt; Hi, all.
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; &amp;nbsp;&amp;gt;
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; &amp;nbsp;&amp;gt; &amp;nbsp;I'm using Sitemesh decorators on my Struts2 project to create
&lt;br&gt;| a
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; &amp;nbsp;generic
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; &amp;nbsp;&amp;gt; &amp;nbsp;header menu. However, I'd like to use a CSS class to
&lt;br&gt;| highlight
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; the
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; &amp;nbsp;menu
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; &amp;nbsp;&amp;gt; &amp;nbsp;item for where the user currently is. Is there a good way to
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; get
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; the
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; &amp;nbsp;&amp;gt; &amp;nbsp;current action name and namespace just with JSP code? I know
&lt;br&gt;| I
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; can
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; &amp;nbsp;get
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; &amp;nbsp;&amp;gt; &amp;nbsp;it using Java code and then put it into my JSPs by accessing
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; the
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; &amp;nbsp;action
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; &amp;nbsp;&amp;gt; &amp;nbsp;property via OGNL. I'm just wondering if there is a built-in
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; way
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; to
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; &amp;nbsp;get
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; &amp;nbsp;&amp;gt; &amp;nbsp;that information.
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; &amp;nbsp;&amp;gt;
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; &amp;nbsp;&amp;gt; &amp;nbsp;Thanks,
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; &amp;nbsp;&amp;gt; &amp;nbsp;~Dan Allen
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; &amp;nbsp;&amp;gt;
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; &amp;nbsp;&amp;gt; &amp;nbsp;--
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; &amp;nbsp;&amp;gt; &amp;nbsp;This message may contain confidential, proprietary, or
&lt;br&gt;| legally
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; &amp;nbsp;privileged information. No confidentiality or privilege is
&lt;br&gt;| waived
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; by
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; any
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; &amp;nbsp;transmission to an unintended recipient. If you are not an
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; intended
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; &amp;nbsp;recipient, please notify the sender and delete this message
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; immediately.
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; &amp;nbsp;Any views expressed in this message are those of the sender, not
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; those
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; &amp;nbsp;of any entity within the KBC Financial Products group of
&lt;br&gt;| companies
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; &amp;nbsp;(together referred to as &amp;quot;KBC FP&amp;quot;).
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; &amp;nbsp;&amp;gt;
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; &amp;nbsp;&amp;gt; &amp;nbsp;This message does not create any obligation, contractual or
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; &amp;nbsp;otherwise, on the part of KBC FP. It is not an offer (or
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; solicitation
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; of
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; &amp;nbsp;an offer) of, or a recommendation to buy or sell, any financial
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; product.
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; &amp;nbsp;Any prices or other values included in this message are
&lt;br&gt;| indicative
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; only,
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; &amp;nbsp;and do not necessarily represent current market prices, prices
&lt;br&gt;| at
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; which
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; &amp;nbsp;KBC FP would enter into a transaction, or prices at which
&lt;br&gt;| similar
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; &amp;nbsp;transactions may be carried on KBC FP's own books. The
&lt;br&gt;| information
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; &amp;nbsp;contained in this message is provided &amp;quot;as is&amp;quot;, without
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; representations
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; &amp;nbsp;or warranties, express or implied, of any kind. Past performance
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; is
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; not
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; &amp;nbsp;indicative of future returns.
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; &amp;nbsp;&amp;gt;
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; &amp;nbsp;&amp;gt;
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; &amp;nbsp;&amp;gt;
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt;
&lt;br&gt;| ---------------------------------------------------------------------
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; &amp;nbsp;&amp;gt; &amp;nbsp;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17195666&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; &amp;nbsp;&amp;gt; &amp;nbsp;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17195666&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; &amp;nbsp;&amp;gt;
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; &amp;nbsp;&amp;gt;
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt;
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt;
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt;
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; &amp;nbsp;--
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; &amp;nbsp;&amp;quot;Hey you! Would you help me to carry the stone?&amp;quot; Pink Floyd
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt;
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt;
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt;
&lt;br&gt;| ---------------------------------------------------------------------
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; &amp;nbsp;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17195666&amp;i=9&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; &amp;nbsp;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17195666&amp;i=10&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt;
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt;
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; &amp;nbsp;--
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; &amp;nbsp;This message may contain confidential, proprietary, or legally
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; privileged information. No confidentiality or privilege is waived
&lt;br&gt;| by
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; any
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; transmission to an unintended recipient. If you are not an intended
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; recipient, please notify the sender and delete this message
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; immediately.
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; Any views expressed in this message are those of the sender, not
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; those
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; of any entity within the KBC Financial Products group of companies
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; (together referred to as &amp;quot;KBC FP&amp;quot;).
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt;
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; &amp;nbsp;This message does not create any obligation, contractual or
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; otherwise, on the part of KBC FP. It is not an offer (or
&lt;br&gt;| solicitation
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; of
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; an offer) of, or a recommendation to buy or sell, any financial
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; product.
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; Any prices or other values included in this message are indicative
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; only,
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; and do not necessarily represent current market prices, prices at
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; which
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; KBC FP would enter into a transaction, or prices at which similar
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; transactions may be carried on KBC FP's own books. The information
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; contained in this message is provided &amp;quot;as is&amp;quot;, without
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; representations
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; or warranties, express or implied, of any kind. Past performance is
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; not
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; indicative of future returns.
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt;
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt;
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt;
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt;
&lt;br&gt;| ---------------------------------------------------------------------
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; &amp;nbsp;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17195666&amp;i=11&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt; &amp;nbsp;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17195666&amp;i=12&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt;
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;gt;
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt;
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt;
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt;
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; --
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; &amp;quot;Hey you! Would you help me to carry the stone?&amp;quot; Pink Floyd
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt;
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt;
&lt;br&gt;| ---------------------------------------------------------------------
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17195666&amp;i=13&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17195666&amp;i=14&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt;
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt;
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; --
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; This message may contain confidential, proprietary, or legally
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; privileged information. No confidentiality or privilege is waived
&lt;br&gt;| by
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; any transmission to an unintended recipient. If you are not an
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; intended recipient, please notify the sender and delete this
&lt;br&gt;| message
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; immediately. Any views expressed in this message are those of the
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; sender, not those of any entity within the KBC Financial Products
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; group of companies (together referred to as &amp;quot;KBC FP&amp;quot;).
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt;
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; This message does not create any obligation, contractual or
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; otherwise, on the part of KBC FP. It is not an offer (or
&lt;br&gt;| solicitation
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; of an offer) of, or a recommendation to buy or sell, any financial
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; product. Any prices or other values included in this message are
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; indicative only, and do not necessarily represent current market
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; prices, prices at which KBC FP would enter into a transaction, or
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; prices at which similar transactions may be carried on KBC FP's own
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; books. The information contained in this message is provided &amp;quot;as
&lt;br&gt;| is&amp;quot;,
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; without representations or warranties, express or implied, of any
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; kind. Past performance is not indicative of future returns.
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt;
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt;
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt;
&lt;br&gt;| ---------------------------------------------------------------------
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17195666&amp;i=15&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17195666&amp;i=16&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt;
&lt;br&gt;|&amp;gt; &amp;nbsp;&amp;gt;
&lt;br&gt;|&amp;gt;
&lt;br&gt;|&amp;gt;
&lt;br&gt;|&amp;gt; &amp;nbsp;---------------------------------------------------------------------
&lt;br&gt;|&amp;gt; &amp;nbsp;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17195666&amp;i=17&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;|&amp;gt; &amp;nbsp;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17195666&amp;i=18&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;|&amp;gt;
&lt;br&gt;|&amp;gt;
&lt;br&gt;|
&lt;br&gt;|
&lt;br&gt;|
&lt;br&gt;&lt;br&gt;&lt;br&gt;- --
&lt;br&gt;- -------------------------------
&lt;br&gt;&lt;br&gt;Volker Karlmeier
&lt;br&gt;Friedrich-Freye-Str. 61
&lt;br&gt;45481 Mülheim/Ruhr
&lt;br&gt;&lt;br&gt;Tel. : &amp;nbsp;(+49) 208-7785675
&lt;br&gt;Mobil: &amp;nbsp;(+49) 176-21056587
&lt;br&gt;Mail : &amp;nbsp;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=17195666&amp;i=19&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Volker@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;-----BEGIN PGP SIGNATURE-----
&lt;br&gt;Version: GnuPG v1.4.7 (GNU/Linux)
&lt;br&gt;&lt;br&gt;iD8DBQFIKKi0aEMQXBIqssERAuiXAKCVNa8stXzS8+