Urgent help needed : Printing Jasper Reports

2005-11-03 Thread Meenakshi Singh
hi all, I have to print a report(which I have created using jasper report). I m setting the content type as response.setContentType("application/octet-stream"); & then writing the jasper print object on the servlet output stream object. however when I try to execute this, it gives me a dialog box

Re: java.util.Date in Action Form Bean

2005-11-03 Thread Hubert Rabago
On 11/3/05, Yujun Liang <[EMAIL PROTECTED]> wrote: > Hubert, > > Good morning! ( Since I am sending it from Australia.) Good morning! > How can I convert an input from user to the Date field base on the Locale? > I mean the locale is a varible during the session and conversion can > handle multip

Re: java.util.Date in Action Form Bean

2005-11-03 Thread Yujun Liang
Hubert, Good morning! ( Since I am sending it from Australia.) I am reading the document on formDef, it is such a nice plugin so why don't you incorporate it into Struts? It will make project much productive. Question for you, Property type global converters Property type global converters ar

Re: [shale][clay] CSS style classes on substituted elements

2005-11-03 Thread Gary VanMatre
Ah, Ryan beat me to the answer. Figures, symbols was his idea anyway. --- Begin Message --- I believe that currently if the html attribute is not also an attribute on the underlying component, then the html attribute will be treated as a symbol. So, in this case if userNameMessage is actually

Re: [shale][clay] CSS style classes on substituted elements

2005-11-03 Thread Craig McClanahan
On 11/3/05, Ryan Wynn <[EMAIL PROTECTED]> wrote: > > Or better yet you could put > in the attributes of the baseHtml > component of clay > and then it would be picked up by all the descendants. That makes sense to me ... all the JSF standarfd components (and I suspect lots of third party ones) u

Re: [shale][clay] CSS style classes on substituted elements

2005-11-03 Thread Gary VanMatre
>As part of my JavaOne session on Shale, I demo'd the fact that Clay lets you >have two different views of the page: > >Designer view: http://localhost:8080/myapp/login.html > >Developer view: http://localhost:8080/myapp/login.faces > >To demonstrate that Clay was actually parsing the HTML template

Re: [shale][clay] CSS style classes on substituted elements

2005-11-03 Thread Ryan Wynn
Or better yet you could put in the attributes of the baseHtml component of clay and then it would be picked up by all the descendants. On 11/3/05, Ryan Wynn <[EMAIL PROTECTED]> wrote: > > I believe that currently if the html attribute is not also an attribute on > the underlying component, the

Re: struts-action-intermediate page

2005-11-03 Thread sudip shrestha
I use struts dispatch actionwonder if this 'parameter' parameter will affect my method 'parameter' On 11/3/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > sudip shrestha <[EMAIL PROTECTED]> wrote on 11/03/2005 09:49:18 AM: > > > Is it possible to display an intermediate page while str

Re: [shale][clay] CSS style classes on substituted elements

2005-11-03 Thread Ryan Wynn
I believe that currently if the html attribute is not also an attribute on the underlying component, then the html attribute will be treated as a symbol. So, in this case if userNameMessage is actually a h:message, then username error message would produce ... in both the designer and develope

Re: [shale][clay] CSS style classes on substituted elements

2005-11-03 Thread Dan Turkenkopf
Beyond the drama of the demo, I would definitely like to see Clay work the way you suggest. If the CSS styles are picked up from the span tag, then I can maintain the separation between UI designer and developer. If the style needs to be specified in the clay-config.html, then I need to have my d

[shale][clay] CSS style classes on substituted elements

2005-11-03 Thread Craig McClanahan
As part of my JavaOne session on Shale, I demo'd the fact that Clay lets you have two different views of the page: Designer view: http://localhost:8080/myapp/login.html Developer view: http://localhost:8080/myapp/login.faces To demonstrate that Clay was actually parsing the HTML template, in log

Re: jsp reload the same page

2005-11-03 Thread Michael Jouravlev
On 11/3/05, fea jabi <[EMAIL PROTECTED]> wrote: > In my jsp there is a table with some contents. there is a delete and restore > buttons at bottom. > > using LookupDispatchAction I am checking which action to perform and doing > so. But after performing the Action it gets forwarded to the same JSP.

Re: [OT] Question using struts-layout TagLib

2005-11-03 Thread Christian Bollmeyer
Michael Jouravlev schrieb: On 11/3/05, Christian Bollmeyer <[EMAIL PROTECTED]> wrote: Or eXtremeTable (www.extremecomponents.org), which is what we use in our current project. Home page is not shown if Javascript is turned off. Not even a message. Yep. Wasn't so earlier, but according to

jsp reload the same page

2005-11-03 Thread fea jabi
In my jsp there is a table with some contents. there is a delete and restore buttons at bottom. using LookupDispatchAction I am checking which action to perform and doing so. But after performing the Action it gets forwarded to the same JSP. according to what I had written i.e from LookupDisp

Re: [OT] Calendar/date control?

2005-11-03 Thread Laurie Harper
Search through the archives; this has been asked a few times recently, and lots of options have been posted in response. L. Scott Vickery wrote: Hello, First off, a quick introduction. I am new to Struts. Actually, I have just now gotten back to Java and web programming after a long (and un

Re: Commons Validator or Struts Validator?

2005-11-03 Thread Laurie Harper
The web site was recently reorganised and Google's still catching up with its indexes. Glad you found the page you needed. For the record, 'Commons Validator' is the general-purpose validation framework andd 'Struts Validator' is the component in Struts that wraps Commons Validator. The docs y

Re: [OT] Question using struts-layout TagLib

2005-11-03 Thread Michael Jouravlev
On 11/3/05, Christian Bollmeyer <[EMAIL PROTECTED]> wrote: > Or eXtremeTable (www.extremecomponents.org), which is > what we use in our current project. Home page is not shown if Javascript is turned off. Not even a message. In the online samples each page has unique URL, so after going three pag

Re: struts download action

2005-11-03 Thread Collin VanDyck
You'll want to do set a header in your response like this: response.setHeader("Content-Disposition","attachment; filename="+fileName); HTH Collin sudip shrestha wrote: I have a struts action that downloads binary files from the database: e.g.: /actions/download.do?fileId=xxx, etc So, wh

Re: struts download action

2005-11-03 Thread Xavier Vanderstukken
sudip shrestha wrote: I have a struts action that downloads binary files from the database: e.g.: /actions/download.do?fileId=xxx, etc So, whenever users download any type of file with any id, the name of the file displayed on any browser is "download.do", is it possible to set something in

struts download action

2005-11-03 Thread sudip shrestha
I have a struts action that downloads binary files from the database: e.g.: /actions/download.do?fileId=xxx, etc So, whenever users download any type of file with any id, the name of the file displayed on any browser is "download.do", is it possible to set something in the response, so that I c

AW: Shale timeline

2005-11-03 Thread Bernhard Slominski
Hi Craig, thanks a lot for the answer, that's really helpful! > Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Gesendet: Donnerstag, 3. November 2005 17:57 > As far as I'm concerned, the feature work I wanted to see for a > 1.0.0release is complete You don't want to come up with a specific

Wiki dies from time to time

2005-11-03 Thread Michael Jouravlev
Or almost dies. Slow server? Low bandwidth? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Shale timeline

2005-11-03 Thread Craig McClanahan
On 11/3/05, Bernhard Slominski <[EMAIL PROTECTED]> wrote: > > Hi, > > does anyone know when the first release 1.0 of struts shale is expected? > Are there any other milestone dates like alpha, beta versions? As far as I'm concerned, the feature work I wanted to see for a 1.0.0release is complete

RE: Commons Validator or Struts Validator?

2005-11-03 Thread bsimonin
WellI am not a Struts expert yetbut according the book "Struts The Complete Reference" Chapter 6 on page 91 a guy named David Winterfeldt created the Validator framework as a third party add-on to Struts. Validator was later integrated into the core Struts code base and has since been d

Re: [FORMDEF] Combining FormDef and Struts form definitions - 2

2005-11-03 Thread Hubert Rabago
On 11/3/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > Started a new thread, so it were visible in GMail. > > That was the idea. If FormDef could somehow pull my definitions from > struts-config.xml or, which is much better, from configured Java > objects, I would not have to redefine the prope

Re: Commons Validator or Struts Validator?

2005-11-03 Thread Rafael Nami
Just for the record, I've tried to search about Validator in Struts docs yesterday, and it wasn't finding the page(405 error), but today is working fine. The link is http://struts.apache.org/struts-doc-1.2.x/userGuide/dev_validator.html. Best Regards Rafael Mauricio Nami 2005/11/3, Jim Reynolds

Commons Validator or Struts Validator?

2005-11-03 Thread Jim Reynolds
I am a bit confused between the "commons validator" and the "struts validator". I am trying to incorporate "javascript:validations" within some JSP files, and I am having a hard time deciding what to configure. I found a struts-validtor.tld, but it appears old, and when I search google for struts

[FORMDEF] Combining FormDef and Struts form definitions - 2

2005-11-03 Thread Michael Jouravlev
Started a new thread, so it were visible in GMail. On 11/2/05, Hubert Rabago <[EMAIL PROTECTED]> wrote: > On 11/2/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > > > > If it were possible to use form definitions made in struts-config.xml, > > then you would not have to reimplement this property

[OT] Calendar/date control?

2005-11-03 Thread Scott Vickery
Hello, First off, a quick introduction. I am new to Struts. Actually, I have just now gotten back to Java and web programming after a long (and unfortunate) absence. I do have a fair amount of experience in both, so, am not too concerned about picking it back up. But, I do have a fair amount o

Re: Validator 1.2.0 RC3 now available for review

2005-11-03 Thread Niall Pemberton
On 11/3/05, David G. Friedman <[EMAIL PROTECTED]> wrote: > Niall, > > Some of those listed extensions are long awaited. :) > > Regards, > David Great, if you get a chance to try it out, any feedback would be much appreciated. Niall

Re: [OT] Question using struts-layout TagLib

2005-11-03 Thread Christian Bollmeyer
Or eXtremeTable (www.extremecomponents.org), which is what we use in our current project. -- Ch. Martin Gainty schrieb: This is Fantastic Thanks Dennis! Martin- 617-852-7822 - Original Message - From: <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Thursday, November 03, 2

Shale timeline

2005-11-03 Thread Bernhard Slominski
Hi, does anyone know when the first release 1.0 of struts shale is expected? Are there any other milestone dates like alpha, beta versions? Thanks Bernhard - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: wizard-style form and validator

2005-11-03 Thread Nicolas De Loof
I'll have a look, thansk for the link. Thanks also to bsimonin for code suggestion. Michael Jouravlev a écrit : On 11/3/05, Nicolas De Loof <[EMAIL PROTECTED]> wrote: Hello, I'm building a wizard style webapp with 3 pages. I'm using the page attribute to make validator check inputs. I've

Re: wizard-style form and validator

2005-11-03 Thread Michael Jouravlev
On 11/3/05, Nicolas De Loof <[EMAIL PROTECTED]> wrote: > > Hello, > > I'm building a wizard style webapp with 3 pages. I'm using the page > attribute to make validator check inputs. > I've got this problem : > first page validate an userId selection (required) > When this rules failes on page 2 or

Re: struts-action-intermediate page

2005-11-03 Thread gramani
sudip shrestha <[EMAIL PROTECTED]> wrote on 11/03/2005 09:49:18 AM: > Is it possible to display an intermediate page while struts action is doing > work...e.g. uploading a large file to a ftp serverand at the end of the > action will show the verfication/success page as usual. > > -- Here

struts-validator.tld question

2005-11-03 Thread Jim Reynolds
I want to try and use some client-side validation on a project. I have used the server-side quite a bit in the past. Anyway, I found an example of how this would work, and the first thing it shows is a taglib include like so: '<[EMAIL PROTECTED] uri="/tags/struts-validator" prefix="validator" %>'

struts-action-intermediate page

2005-11-03 Thread sudip shrestha
Is it possible to display an intermediate page while struts action is doing work...e.g. uploading a large file to a ftp serverand at the end of the action will show the verfication/success page as usual.

RE: wizard-style form and validator

2005-11-03 Thread bsimonin
Here is one way I did it using LookDispatchAction I am sure there are other ways to do this also: in my "next" section of the LookupDispatchAction I put: public class AddPSLUserWizardAction extends LookupDispatchAction { public ActionForward next(ActionMapping mapping, ActionForm form,

Re: [OT] Question using struts-layout TagLib

2005-11-03 Thread Martin Gainty
This is Fantastic Thanks Dennis! Martin- 617-852-7822 - Original Message - From: <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Thursday, November 03, 2005 8:50 AM Subject: RE: [OT] Question using struts-layout TagLib Have you looked at DisplayTag? http://displaytag.so

RE: [OT] Question using struts-layout TagLib

2005-11-03 Thread DGraham
Have you looked at DisplayTag? http://displaytag.sourceforge.net -Dennis "Martin Gainty" <[EMAIL PROTECTED]> 11/03/2005 08:37 AM Please respond to "Struts Users Mailing List" To "Struts Users Mailing List" cc Subject (Possible OT) Question using struts-layout TagLib Greetings I

(Possible OT) Question using struts-layout TagLib

2005-11-03 Thread Martin Gainty
Greetings I am seeking a Grid control with column headings which when clicked will re-sort the individual items according to the clicked column sort algorithm I am presently looking at struts-layout Grid control and was wondering if anyone has experience with sorting characteristics of the indi

Re: Problem validating multipart form data

2005-11-03 Thread Collin VanDyck
Niall, Thanks for the reply. This certainly helps (at least, helps me believe that I'm not doing something egregiously wrong in my webapp :). Collin Niall Pemberton wrote: Parameters parsed from the Multipart request are stored in the MulitpartRequestWrapper. However before Struts forward

Re: Problem validating multipart form data

2005-11-03 Thread Collin VanDyck
To be honest, I'm not sure exactly what the Struts framework is using to manage the file uploads. I simply create a FormFile member in my ActionForm and it gets populated correctly with the uploaded file data. Is this a parameter I can configure within Struts? Is there a feasible replacement

wizard-style form and validator

2005-11-03 Thread Nicolas De Loof
Hello, I'm building a wizard style webapp with 3 pages. I'm using the page attribute to make validator check inputs. I've got this problem : first page validate an userId selection (required) When this rules failes on page 2 or 3 (let's consider the user has used a bookmark), I'd like struts