Struts 2 + Spring 2 + JPA + AJAX Tutorial

2007-04-07 Thread Minerva CC
Hi, I read thru Struts 2 + Spring 2 + JPA + AJAX tutorial and found it is a great example to start Struts 2. So, I setup a Eclipse and Tomcat environment to run the tutorial and everything works fine. However, when I tried to add something more, I encountered a problem: Apr 7, 2007 1:47:

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-:) Wil

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: But, it didn' work. Would somebody tell me how to do it? Thanks in advance for you help. Willa __

Date Binding

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

Cannot define a display style class in

2007-04-10 Thread Minerva CC
Hi, I tried to define a display style class in tag as follows view search results But, when I run it, I got org.apache.jasper.JasperException: /pages/searchRequest.jsp(81,4) Attribute class invalid for tag a according to TLD error. My question is how can we define a style for a url l

Re: Cannot define a display style class in

2007-04-10 Thread Minerva CC
fine a display style class in There is the "cssClass" parameter for (all?) struts2 tags. view search results 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 tried to define a display style

[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: Then Struts 1 will generate the output like this: ... Now, how can I do the same with Struts 2? I tried and . But, they don't have have equivalent attributes. Is ther

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

2007-04-11 Thread Minerva CC
On 4/10/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: > > > > > But, it didn

Re: [S2] Iterator and Index

2007-04-11 Thread Minerva CC
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: > > > > > &

[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"%>This is an static content tab.This is a dynamic content tab. The content of t

Re: [S2] Cannot run TabbedPanel tag

2007-04-13 Thread Minerva CC
tab. 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: > <%@ t

Re: [S2] Cannot run TabbedPanel tag

2007-04-13 Thread Minerva CC
have 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"

[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: This is what I would do to link ajax to the result action: Now, the question is how do I know

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

2007-04-16 Thread Minerva CC
lected"); - Original Message From: Dave Newton <[EMAIL PROTECTED]> To: Struts Users Mailing List Sent: Friday, April 13, 2007 4:53:15 PM Subject: Re: [S2] How to link Tree Node to another dynamic ajax div --- Minerva CC <[EMAIL PROTECTED]> wrote: &g

[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

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
your_topic_here", 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? > >