Re: Question about dojo and tag

2008-12-12 Thread Danilo Barsotti
I'm using struts 2.0.14, struts-sitemesh-plugin 2.0.14 and freemarker 2.3.8 On Fri, Dec 12, 2008 at 10:33 PM, Danilo Barsotti wrote: > hi all!! > > why when I write the html generated have this: > > > > // Dojo configuration > djConfig = { > baseRelativePath: "/xxx/struts/do

Question about dojo and tag

2008-12-12 Thread Danilo Barsotti
hi all!! why when I write the html generated have this: // Dojo configuration djConfig = { baseRelativePath: "/xxx/struts/dojo", isDebug: false, bindEncoding: "UTF-8", debugAtAllCosts: true // not needed, but allows the Venkman debugger to work with t

RE: Help with S:Select

2008-12-12 Thread Dave Newton
--- On Fri, 12/12/08, Richa Pandharikar wrote: > It saved me a few lines of code and dealing with Strings! Yep--type conversion can be a huge time- and code-saver. Dave - To unsubscribe, e-mail: user-unsubscr...@struts.apache.o

RE: Help with S:Select

2008-12-12 Thread Richa Pandharikar
Thanks Dave, It saved me a few lines of code and dealing with Strings! -Original Message- From: Dave Newton [mailto:newton.d...@yahoo.com] Sent: Friday, December 12, 2008 12:52 PM To: Struts Users Mailing List Subject: Re: Help with S:Select FWIW you can also get them as an array or col

Re: [OT] Re: [S2] Struts + JasperReports (iReport) - setting connection

2008-12-12 Thread Milan Milanovic
Dear Dave, O.K. I found the way to solve this. I will explain it where, maybe you can update Jasper tutorial. You need first to put your class that is located in a list for passing to JasperReports, into classpath in iReport (it have option for setting classpath). Then in data source query one ne

[OT] Re: [S2] Struts + JasperReports (iReport) - setting connection

2008-12-12 Thread Dave Newton
I don't have anything configured in iReport for accessing data. I'm not even sure you could, since it's a non-standard data source, i.e., since value stack data source is meaningless outside S2 there would be no way for iReport to do anything about it. IIRC I used iReport for some of the initi

Re: [S2] Struts + JasperReports (iReport) - setting connection

2008-12-12 Thread Milan Milanovic
Dear Dave, O.K. I'm waiting for your (or anyone else's) answer. I asked the same thing on JR forum, so maybe I will get there answer, too. -- M. newton.dave wrote: > > Nope. > > > --- On Fri, 12/12/08, Milan Milanovic wrote: > >> From: Milan Milanovic >> Subject: Re: [S2] Struts + Jasper

Re: [S2] Struts + JasperReports (iReport) - setting connection

2008-12-12 Thread Dave Newton
Nope. --- On Fri, 12/12/08, Milan Milanovic wrote: > From: Milan Milanovic > Subject: Re: [S2] Struts + JasperReports (iReport) - setting connection > To: user@struts.apache.org > Date: Friday, December 12, 2008, 1:41 PM > Dear Dave, > > have you maybe managed to find time to see how we can >

Re: Help with S:Select

2008-12-12 Thread Dave Newton
FWIW you can also get them as an array or collection. --- On Fri, 12/12/08, Faraz Ali wrote: > From: Faraz Ali > Subject: Re: Help with S:Select > To: "Struts Users Mailing List" , > richa.pandhari...@tdktech.com > Date: Friday, December 12, 2008, 1:18 PM > O yes. Thanks a lot. > > On Sat, D

Re: [S2] Struts + JasperReports (iReport) - setting connection

2008-12-12 Thread Milan Milanovic
Dear Dave, have you maybe managed to find time to see how we can define datasource in JasperReports for this kind of integration between Struts 2 and Jasper ? -- Thx, M. Milan Milanovic wrote: > > Dear Dave, > > it would be great if you can, because I'm just not sure what to set up in > Jasp

Re: Help with S:Select

2008-12-12 Thread Faraz Ali
O yes. Thanks a lot. On Sat, Dec 13, 2008 at 1:08 AM, Richa Pandharikar < richa.pandhari...@tdktech.com> wrote: > Hi Faraz, > > I am not using a converter but getting just the ids for the selected > entries. > > In my action class I have a variable - private String selectedIds; and the > correspo

RE: Struts 2 - Conditional Validation

2008-12-12 Thread Richa Pandharikar
I apologize for the typo, Correct expression is - Error Message. -Original Message- From: Richa Pandharikar [mailto:richa.pandhari...@tdktech.com] Sent: Friday, December 12, 2008 10:53 AM To: 'Struts Users Mailing List' Subject:

RE: Help with S:Select

2008-12-12 Thread Richa Pandharikar
Hi Faraz, I am not using a converter but getting just the ids for the selected entries. In my action class I have a variable - private String selectedIds; and the corresponding getter/setter. In JSP the select tag entry looks like - When you select the multiple values in the select box and

RE: Struts 2 - Conditional Validation

2008-12-12 Thread Richa Pandharikar
Hi ManiKanta, Thanks for the reply. Checkbox always has a value of true/false. Below is the validation entry which is working for me - Error Message. Regards, Richa -Original Message- From: ManiKanta G [mailto:go4m...@gmail.co

Re: redirection problem with name is input

2008-12-12 Thread Andy Sykes
I could be wrong, but I thought you could only pass the FieldErrors back to a JSP using a dispatcher result, not a redirect-action. Andy. On 12 Dec 2008, at 12:34, Seshagiri V wrote: Hi All, Mapping with redirection type and name is "input" and value is null but I am not able to valida

Re: Slow performance with Struts2

2008-12-12 Thread yorlick kilroy
ok heres what I did: I replaced all struts2 tags with standard JSTL Core tags in JSPs that generate a lot of output. Now my JSPs load up to 20 times faster. The only place where I use struts2 tags is in forms On Mon, Jul 7, 2008 at 7:30 PM, matt.payne wrote: > > Use firebug to measure you http.

redirection problem with name is input

2008-12-12 Thread Seshagiri V
Hi All, Mapping with redirection type and name is "input" and value is null but I am not able to validations errors in jsp. Please follow code. viewPoPIndex.action /p

Re: file name as null in model driven

2008-12-12 Thread Dave Newton
--- On Fri, 12/12/08, srinivasa_v wrote: > method="post" enctype="multipart/form-data" > Oh, did you mean "enctype"? > > > > in action class [...] It might be beneficial to include the portions of the form and model that include all aspects of the problem you're having. I've

Re: file name as null in model driven

2008-12-12 Thread Dave Newton
--- On Fri, 12/12/08, srinivasa_v wrote: > [...] I have mentioned encrypt in form [...] Encrypt? Not sure what you're referring to. Dave - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-ma

Re: Maybe a bug on S2 2.0.14 : ServletRedirectResult

2008-12-12 Thread Dave Newton
Please file a JIRA. --- On Fri, 12/12/08, Luis Gervaso wrote: > From: Luis Gervaso > Subject: Maybe a bug on S2 2.0.14 : ServletRedirectResult > To: "Struts Users Mailing List" > Date: Friday, December 12, 2008, 1:35 AM > Hello > > *private* *static* *boolean* isPathUrl(String url) { >

Re: removing the extension in url in struts 2

2008-12-12 Thread RajeshSR
set the constant in ur struts.xml file removing the extension in url in struts 2 Jq Jr wrote: > > Hi All, > > Can anyone tell me how to remove the extension of url in struts 2 ? > > Like > /login instead of > /login.action > -- View this message in context: http://www.nabble.com/r

Re: file name as null in model driven

2008-12-12 Thread srinivasa_v .
in action class private ReleaseTransferRequestBean releaseTransfer = new ReleaseTransferRequestBean(); ArrayList attachPassport = null; public Object getModel() { return releaseTransfer; } public String execute() throws Exception { System.out.println("---getTransferValue--"

Re: Please help! Validation Errors

2008-12-12 Thread Faraz Ali
Hi Andy, Please take a look at the code snippet and suggest. *MyAction.java* public class MyAction extends ActionSupport { //getAction //setAction public String execute() throws Exception { if(action==1) { return "input"; } elseif(action==2) { return "showResult"; } else { retur

Re: Struts 2 + AjaxTags + DisplayTag

2008-12-12 Thread srikanth_m03
Hi, I am trying to implement the new version of ajaxtags in my applicataion on Struts2 + ajaxtags-1.5-beta-0.2 +displaytags.1.1.1 I am able to show the table with the result set from the DataBase. but, I am unable to perform pagination and export with this configuration. could anyone help me o

Re: file name as null in model driven

2008-12-12 Thread Robert Graf-Waczenski
Hi, your problem description is a bit vague. Please post the source code of your upload page, the source code of your action class and the relevant parts of your struts.xml. I'm sure that then someone can help. Robert srinivasa_v . wrote: Hi All I have werid problem, I am using file upload

file name as null in model driven

2008-12-12 Thread srinivasa_v .
Hi All I have werid problem, I am using file upload in struts and I have mentioned encrypt in form and also using modeldriven. when I try to upload files I am able to get the file,but the bean from modeldriven Iam getting as null. but when I try to remove encrypt from "form" ,I am able to get th

MIgration from 2.0.11.1 to 2.1.2 problem

2008-12-12 Thread nodje
Hi, I just migrated struts2 version form 2.0.11.1 to 2.1.2. Now when I access my application, I get a: There is no Action mapped for namespace / and action name . - [unknown location] at com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:178) at org.apache