Re: [OT] POM, licenses and dependency trees

2009-03-04 Thread Antonio Petrelli
FYI here are the Apache guidelines about licensing of Apache projects: http://www.apache.org/legal/3party.html Ciao Antonio - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail:

Re: [OT] Struts/Hibernate Open Session in View

2009-03-04 Thread Antonio Petrelli
2009/3/3 Burton Rhodes burtonrho...@gmail.com: Has anyone had issues with the scalability of hibernate's recommended OSiV pattern?  I am upgrading my struts app from 5 users to handle 1000+ users and I am curious if I should avoid this pattern for the upgrade. I have heard some have had

Re: Participem da minha vaquinha! - Vakinha.com.br

2009-03-04 Thread Antonio Petrelli
2009/3/4 Ronaldo Rigoni rrig...@gmail.com: Vakinha.com.br - vaquinhas online Online little cows? Oh dear, spam is creative :-D Antonio - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands,

How to pass Result dynamic param value while using Annotation to define action

2009-03-04 Thread Matt Jiang
Hi guys, As you can see example in http://cwiki.apache.org/WW/convention-plugin.html You can pass static parameters to Results. The example shows below is static String, but if I would like to use dynamic value, such as getting value from Action. How do I write it? Do I just use ${expression} as

Retrieving the values from list

2009-03-04 Thread vikram.g.byali
Hi, I am setting the values retrieved from DB into a list sessionListDefects in my Action class as shown below: try { DefectDelegate defectDelegate = new DefectDelegate(); sessionListDefects = defectDelegate.findDefect();

Ajax functinality works but how to pass parameter to the request ?

2009-03-04 Thread sajidbigler
Hi Friends, I tried to check whether the user is available or not by using ajax funtionality as shown below In action i get parameter id but not username and i want a event to be fired onblur to a testfield and using the textfield data i want to check availability if the user does't exists in

Re: Struts Ajax Newbie

2009-03-04 Thread konf
BODY { font-family:Arial, Helvetica, sans-serif;font-size:12px; }Hi, I relpaced in by javascript instead of ajaxtag, but generated by ajaxtag: new AjaxJspTag.Select( { baseUrl: http:///FillCarModels;, source: make, onCreate: initProgress, onComplete: resetProgress, onFailure: reportError,

Re: How to pass Result dynamic param value while using Annotation to define action

2009-03-04 Thread Lukasz Lenart
2009/3/4 Matt Jiang matt.ji...@gmail.com: Do I just use ${expression} as well? try #expression http://struts.apache.org/2.1.6/docs/ognl.html Regards -- Lukasz http://www.lenart.org.pl/ - To unsubscribe, e-mail:

[s2] Would like to do s:if test=foo.contains('N')

2009-03-04 Thread jeto
Hi, I would like to do the following s:if test=foo.contains('N') Is it possible do to that or not. Everything I tried yet gives me a false in the test statement. Any ideas? Bye Hagen -- View this message in context:

Struts2, file tag, setting value

2009-03-04 Thread Mageshwaran
Hi All, I am using *s:file name=uploadFile label=File *tag for uploading a file in JSP. Is there any *value attribute* for this tag? If present, is it possible set a default value to this tag so that this file path is set on loading the page first time. Thanks in advance, Magesh.

Re: Getting Servlets and Struts 2.1.6 to work together?

2009-03-04 Thread Greg Lindholm
Wes Wannemacher wrote: On Tuesday 03 March 2009 14:31:36 Greg Lindholm wrote: Is this what you mean? filter-mapping filter-namestruts2/filter-name url-pattern*.action/url-pattern /filter-mapping I previously had it as url-pattern/*/url-pattern

RE: Retrieving the values from list

2009-03-04 Thread Martin Gainty
Not understanding why you would not to display #session.sessionListDefects http://struts.apache.org/2.0.14/docs/accessing-application-session-request-objects.html also as Patrick points out in his comment on Iteration Tags, the '[n]' notation refers to a sub-stack beginning at position n

Re: Struts2, file tag, setting value

2009-03-04 Thread Nils-Helge Garli Hegvik
Hi! I believe setting the path of a file input is prohibited for security reasons, so that probably won't work. Nils-H On Wed, Mar 4, 2009 at 2:53 PM, Mageshwaran mageshwa...@dhyanit.com wrote: Hi All,   I am using *s:file name=uploadFile label=File *tag for uploading a file in JSP. Is

Re: [OT] POM, licenses and dependency trees

2009-03-04 Thread Wes Wannemacher
On Tue, Mar 3, 2009 at 11:20 PM, stanlick stanl...@gmail.com wrote: Java != C? I realize the strength and duration of dependencies varies, and I understand the issues concerning use vs. redistribution.  This notwithstanding, I am looking to satisfy the legal team and this requires collecting

Re: [s2] Would like to do s:if test=foo.contains('N')

2009-03-04 Thread Dale Newfield
http://struts.apache.org/2.1.6/docs/why-wont-the-if-tag-evaluate-a-one-char-string.html -Dale - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: [s2] Would like to do s:if test=foo.contains('N')

2009-03-04 Thread Dave Newton
jeto wrote: s:if test=foo.contains('N') Is it possible do to that or not. Everything I tried yet gives me a false in the test statement. Any ideas? I'd guess it's a string v. char issue, without actually knowing what you have in your map:

Re: Runtime error while using openEJB3.1

2009-03-04 Thread Dave Newton
http://bancomicsans.com/home.html vikram.g.by...@accenture.com wrote: Hi Celinio, Apologies for the delay in responding back. After following the steps mentioned by David Blevins i.e; adding log4j.category.Transaction = warn,TX to looging.properties file, I

Re: Retrieving the values from list

2009-03-04 Thread Dave Newton
Martin Gainty wrote: also as Patrick points out in his comment on Iteration Tags, the '[n]' notation refers to a sub-stack beginning at position n http://struts.apache.org/2.0.14/docs/iterator-tag-examples.html your reference to fu[bar] tries to resolve bar to a number and display what is

Problem with html:select default value

2009-03-04 Thread Yves Dessertine
Hello, I'm having a problem with html:select from the struts taglib. The default option is only selected in the first example (but all 3 lists are created well in jsp page). I googled a lot, but could't find similar problem. My JSP page contains 3 selects:

Re: Getting Servlets and Struts 2.1.6 to work together?

2009-03-04 Thread Greg Lindholm
Greg Lindholm wrote: Wes Wannemacher wrote: On Tuesday 03 March 2009 14:31:36 Greg Lindholm wrote: Is this what you mean? filter-mapping filter-namestruts2/filter-name url-pattern*.action/url-pattern /filter-mapping I previously had it as

Possible to return ibatis query in xml file?

2009-03-04 Thread Emi Lu
Good morning, I have a question based on ibatis + struts. Would it be possible that in java code, I could get the query in ibatis. For example, in ibatis_query.xml select id=test select * from a /select In java, === public ActionForward execute( ActionMapping mapping,

Re: Getting Servlets and Struts 2.1.6 to work together?

2009-03-04 Thread Dave Newton
Greg Lindholm wrote: I spent some time in the debugger and found out what 'really' changed was the default action extensions (struts.action.extension) changed from just 'action' to 'action' plus (no extension). This was causing my /status request with no extension to be treated as an action.

Propery way to change getText()'s source

2009-03-04 Thread Security Management
I would like the getText() methods to pull information from a database Meaning table. Would the proper way to do that be to subclass ActionSupport and re-implement that interface? Then, all my actions inherit from MyActionSupport, and the getText stuff is different. If that's not the way to do

prepare method not working

2009-03-04 Thread vhumble
Hi, I am implementing prepare method to populate the values in the list if validation fails and we need to present the same page back to the user. Even after implementing the prepare method, I still get the same error as before and when I debug with eclipse, i never enter into prepare method. I

interceptor on pdf

2009-03-04 Thread Gianluca Musella
Hello boys. Is there something similar interceptors but fired on resources different from actions? I need to fire an interceptor before to show a pdf. If no I must use a Filter. Thank in advance Gianluca Gianluca Musella Delivery Manager  E-Mail: gianluca.muse...@bsc.it  Mobile: +39

Re: Problem with html:select default value

2009-03-04 Thread benjamin haimerl
hi i would use html:optionsCollection if you want to use the selected=selected feature form.jsp: %@ page language=java pageEncoding=UTF-8% %...@page import=java.util.ArrayList% %...@page import=java.util.Collection% %...@page import=java.util.Vector% %...@page

Re: interceptor on pdf

2009-03-04 Thread herreraedgardo
testing the list Sorry

Re: Propery way to change getText()'s source

2009-03-04 Thread Wes Wannemacher
On Wednesday 04 March 2009 15:52:37 Security Management wrote: I would like the getText() methods to pull information from a database Meaning table. Would the proper way to do that be to subclass ActionSupport and re-implement that interface? Then, all my actions inherit from

Date time picker

2009-03-04 Thread Zoran Avtarovski
Hi, I¹m hoping somebody can help. I need a date and time picker. The dojo based one is either a date or time picker, but not both. Does anybody know of a good date and time picker I can use or suggestions on how to easily combine the dojo date and time picker to combine. Z.

Re: Participem da minha vaquinha! - Vakinha.com.br

2009-03-04 Thread Felipe Fraga
Since this is a spam/mistake thread after all to clarify: Vaquinha (spelled vakinha for some weird marketing thing probably) is a brazillian portuguese expression. Someone do a vaquinha when they need money for something and wants their friends to cheap in. The site, aparently, is an online

Re: prepare method not working

2009-03-04 Thread Dave Newton
vhumble wrote: Is there anything else that I need to do to get prepare method working like specifically implementing preparable interface. Are you, or are you not, implementing Preparable? You need to, AFAIK. Is there documentation that suggests otherwise? Dave

Re: Possible to return ibatis query in xml file?

2009-03-04 Thread hernan gonzalez
If I understand right, the answer is no (and the question is not related to struts, but only to ibatis). You can't get (AFAIK) the sql generated/executed by ibatis, and there are good reasons for that. If you are debugging some sql problem, your database should allow you to turn on full logging of

RE: Possible to return ibatis query in xml file?

2009-03-04 Thread Martin Gainty
--you can with oracle so instead of coding this simple statement in ibatis_query.xml select id=test select * from a /select --put in this PL/SQL in ibatis_query.xml: select id=test DECLARE ctxdbms_xmlgen.ctxHandle; xmlCLOB; --Character Large Object (64k of character string) i

Struts2 rest plugin - making default response to xml

2009-03-04 Thread mahanare
Hi, I am wondering if it is possible to use default response of the rest action using rest plugin to xml? instead of http://domain/orders.xml if i can make it http://domain/orders as the action for a POST method in a form submssion and the response should be xml. Essentially i do not want to

Re: Struts 2 Type conversion refuses 0.0 for a double?

2009-03-04 Thread markbeek
I have a Struts2 action with a double property called amount. No validation rules on the action as yet. When I enter 0.0 into the amount on the JSP page, it displays an Invalid field value for field amount error. --- I've encountered the same behavior. I've traced it

Struts2 rest plugin, spring integration

2009-03-04 Thread mahanare
Hi, Is there any specific set of instructions to be followed to do the spring integration with struts2 rest plugin? Please do let me know. -- View this message in context: http://www.nabble.com/Struts2-rest-plugin%2C-spring-integration-tp22346177p22346177.html Sent from the Struts - User