When will Struts 2.1 be released?

2007-04-30 Thread Minerva CC
Hi, I plan to use Struts 2 to build a demo by the end of May. Is there any release date has been set? Should I wait for the new release or work around with the problems that the current version has? Thanks, Willa __ Do You Yahoo!? Tired of spam?

Re: When will Struts 2.1 be released?

2007-04-30 Thread Minerva CC
, function(e){ alert(The id is: + e.node.widgetId); }); musachy On 4/16/07, Minerva CC [EMAIL PROTECTED] wrote: Hi Dave, Thanks for pointing out the problem. But, how can we work around before you guys post the fix? I tried to just put the dojo code that generated by the tree tag

[S2] Why s:submit triggers dojo.event.topic twince?

2007-04-20 Thread Minerva CC
Hi, I tried form submit like the following code. But, I found that every time when I clicked on the submit button, the dojo.event.topic was called twince. Is there anybody who has the same experience? dojo.event.topic.subscribe(/notifyevent, function(data, type, request) { alert('Notify

Re: [S2] How to link Tree Node to another dynamic ajax div

2007-04-16 Thread Minerva CC
Tree Node to another dynamic ajax div --- Minerva CC [EMAIL PROTECTED] wrote: I followed the instruction for the tree tag and created a treeview. Now, I want to select a tree node and display some data in another ajax div. IIRC you need to use Dojo topics to do useful things with tree events

[S2] Cannot run TabbedPanel tag

2007-04-13 Thread Minerva CC
Hi, I try to run the TabbedPanel sample code in the Strut 2 document http://struts.apache.org/2.x/docs/ajax-tags.html. I cut and paste the sample code to a test.jsp as follows: %@ taglib prefix=s uri=/struts-tags%s:url id=ajaxTest value=/AjaxTest.action /s:tabbedPanel labelposition=left

Re: [S2] Cannot run TabbedPanel tag

2007-04-13 Thread Minerva CC
Thanks, Willa - Original Message From: Dave Newton [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, April 13, 2007 10:03:04 AM Subject: Re: [S2] Cannot run TabbedPanel tag --- Minerva CC [EMAIL PROTECTED] wrote: %@ taglib prefix=s uri=/struts-tags%s:url id

Re: [S2] Cannot run TabbedPanel tag

2007-04-13 Thread Minerva CC
received this email message in error, please notify the sender immediately by telephone or email and destroy the original message without making a copy. Thank you. - Original Message - From: Minerva CC [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, April 13

[S2] How to link Tree Node to another dynamic ajax div

2007-04-13 Thread Minerva CC
Hi, I followed the instruction for the tree tag and created a treeview. Now, I want to select a tree node and display some data in another ajax div. This is how I created the treeview: s:tree theme=ajax rootNode=%{_rootNode} childCollectionProperty=_children nodeIdProperty=_id

[S2] Iterator and Index

2007-04-11 Thread Minerva CC
Hi, I want to generate indexed html elements via iterator. In Struts 1, I would do it as follows: logic:iterate name=namesForm property=names id=name html:text name=name property=firstname indexed=true size=30/ html:text name=name property=lastname indexed=true size=30/ /logic:iterate

Re: [S2] How to pass a Javascript variable to Struts parameter?

2007-04-11 Thread Minerva CC
/07, Minerva CC [EMAIL PROTECTED] wrote: Hi, I tried to pass a Javascript variable to a struts url tag and I did it as follow: In the Javascript part: var id_ = 10; In the struts tag par: s:url action=myAction id=myUrl s:param name=id value=%{id_} / /s:url But, it didn' work. Would

Re: [S2] Iterator and Index

2007-04-11 Thread Minerva CC
Message From: Laurie Harper [EMAIL PROTECTED] To: user@struts.apache.org Sent: Wednesday, April 11, 2007 3:35:15 PM Subject: Re: [S2] Iterator and Index Minerva CC wrote: Hi, I want to generate indexed html elements via iterator. In Struts 1, I would do it as follows: logic:iterate name

How to pass a Javascript variable to Struts parameter?

2007-04-10 Thread Minerva CC
Hi, I tried to pass a Javascript variable to a struts url tag and I did it as follow: In the Javascript part: var id_ = 10; In the struts tag par: s:url action=myAction id=myUrl s:param name=id value=%{id_} / /s:url But, it didn' work. Would somebody tell me how to do it? Thanks in advance

Date Binding

2007-04-10 Thread Minerva CC
Hi, I have another simple question here. I want to setup jsp pages to update a Listobject, e.g. searchParameters In my Action class I have: public class SearchParameterAction implements Preparable { private SearchParameterService service; private ListSearchParameter searchParameters; In

Cannot define a display style class in s:a

2007-04-10 Thread Minerva CC
Hi, I tried to define a display style class in s:a tag as follows s:url id=resultPageUrl action=searchResult s:param name=id value=%{#parameters.id} / /s:url s:a href=resultPageUrl class=taboffview search results/s:a But, when I run it, I got org.apache.jasper.JasperException:

Re: Cannot define a display style class in s:a

2007-04-10 Thread Minerva CC
: Re: Cannot define a display style class in s:a There is the cssClass parameter for (all?) struts2 tags. s:a href=resultPageUrl cssClass=taboffview search results/s:a More information: http://struts.apache.org/2.x/docs/a.html Piero On Wednesday 11 April 2007 01:10:43 Minerva CC wrote: Hi, I

Re: Struts 2 + Spring 2 + JPA + AJAX Tutorial

2007-04-07 Thread Minerva CC
Hi Piero, Thank you so much for your help. I setup log4j properties file and now I am able to debug the server startup. Actually the problem was caused by a missing Action class, which I deleted last night by a accident. Now, everything is working again. Thank you again for you support-:)