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 with the file
name as unknown type.

Plz help as to how can I get my report printed thru jasper.
Code samples would be of gr8 help if anybody has that & can share them.

Thanks & Regards,
Meenakshi.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 multiple locales.
> Sorry for asking this, but in a locale aware web application, the
> input is based on Locale
>
> For example, in US, enter 10/12/2005 it will be converted to October
> 12, 2005 and this is December 10, 2005
> if the locale is Australia. How the global converter handles this?

Instead of the format itself, you can specify a key into your
application resource files:




In your resource files, define the format you want to use for that locale:
in example.properties (default for Aus?):
format.date=dd/MM/

in example_en_US.properties:
format.date=MM/dd/

The binary download for FormDef includes locale.war which demonstrates
this capability.

hth,
Hubert

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 are applied to all fields of a certain
type. An example of this would be declaring the Date converter that's
declared to handle Date fields.







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 multiple locales.
Sorry for asking this, but in a locale aware web application, the
input is based on Locale

For example, in US, enter 10/12/2005 it will be converted to October
12, 2005 and this is December 10, 2005
if the locale is Australia. How the global converter handles this?

Thanks for your time.

Regards


On 11/3/05, Hubert Rabago <[EMAIL PROTECTED]> wrote:
>
> FormDef works fine with Validator. For the most part they won't even
> be aware of each other. There's no overlap in functionality and they
> won't get in the way of one another.
>
> Hubert
>
> On 11/2/05, Yujun Liang <[EMAIL PROTECTED]> wrote:
> > Hubert, your input is quite valuable. But I just wonder this suppose to
> be
> > handled by Struts itsself,
> >
> > You may also place a bean instance on your form, and use nested property
> > references. For example, you might have a "customer" bean on your
> > ActionForm, and then refer to the property
> > "customer.name "
> > in your presentation page. This would correspond to the methods
> > customer.getName() and customer.setName(String Name) on your customer
> bean.
> > See the Apache Struts Taglib Developer Guides for more about using the
> > nested syntax.
> >
> http://struts.apache.org/struts-core/userGuide/building_controller.html#action_form_classes
> >
> > Do you know whether this BeanDef works with Validator?
> >
> > Thanks.
> >
> > On 11/3/05, Hubert Rabago <[EMAIL PROTECTED]> wrote:
> > >
> > > [ Oh, I missed my cue! :) ]
> > >
> > > If your form bean maps to a business object (and it sounds like it
> > > does since you're using BeanUtils), you can try FormDef:
> > > http://formdef.dev.java.net/
> > >
> > > You won't need to create a separate ActionForm class or manually
> > > define your DynaActionForm, FormDef will configure it for you. You
> > > can also specify how you want your fields formatted, including dates
> > > and numbers, and use FormDef's conversion methods in place of
> > > BeanUtils.
> > >
> > > Hubert
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Yujun Liang
[EMAIL PROTECTED]


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 a h:message, then
 
username error message

 would produce ... in both the designer and
developer views.
 On the other hand if you wanted to utilize the new symbol functionality.
You would change
your clay-config.xml to add the following:
 

 ...
 


 Then you could just use
 
username error message

 in the html and still get the proper output in both designer and developer
views.

 On 11/3/05, Craig McClanahan <[EMAIL PROTECTED]> wrote:
>
> 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
> login.html I changed:
>
> 
> username error message
> 
>
> to the following instead ("errors" is a CSS style class that turns the
> text
> red):
>
> 
> username error message
> 
>
> When you redisplay the designer view, this does indeed show a change in
> behavior -- the "username error message" string shows up in red. However,
> if
> you redisplay the developer view and then try to enter an invalid
> username/password, the text still comes up in black. One thing I noticed,
> in
> the emitted HTML markup for the developer view, the error message string
> is
> *not* surrounded by a 

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) use the "styleClass" --> "class" trick, so this
will fix 'em all.

Thanks Ryan!

Craig

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, 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
> > developer views.
> > On the other hand if you wanted to utilize the new symbol functionality.
> > You would change
> > your clay-config.xml to add the following:
> > 
> > 
> > ...
> > 
> > 
> > 
> > Then you could just use
> > 
> > username error message
> > 
> > in the html and still get the proper output in both designer and
> > developer views.
> >
> > On 11/3/05, Craig McClanahan <[EMAIL PROTECTED]> wrote:
> > >
> > > 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
> > > login.html I changed:
> > >
> > > 
> > > username error message
> > > 
> > >
> > > to the following instead ("errors" is a CSS style class that turns the
> > > text
> > > red):
> > >
> > > 
> > > username error message
> > > 
> > >
> > > When you redisplay the designer view, this does indeed show a change
> in
> > > behavior -- the "username error message" string shows up in red.
> > > However, if
> > > you redisplay the developer view and then try to enter an invalid
> > > username/password, the text still comes up in black. One thing I
> > > noticed, in
> > > the emitted HTML markup for the developer view, the error message
> string
> > > is
> > > *not* surrounded by a 

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, in
>login.html I changed:
>
>
>username error message
>
>
>to the following instead ("errors" is a CSS style class that turns the text
>red):
>
>
>username error message
>
>
>When you redisplay the designer view, this does indeed show a change in
>behavior -- the "username error message" string shows up in red. However, if
>you redisplay the developer view and then try to enter an invalid
>username/password, the text still comes up in black. One thing I noticed, in
>the emitted HTML markup for the developer view, the error message string is
>*not* surrounded by a 









 

In addition, any HTML element can be bound to a component using the jsfid.  
Implicit mappings can be overridden by providing a jsfid binding in the html.  
The reserved "ignore" jsfid can also be use to ignore the implied mapping.  
This would be handy for J2EE form authentication. 



 
 
   
   

Another recent change made any HTML attribute that is not mapped to a bound 
component attribute a symbol.  Symbols allow you to change a component 
definition without extending it.   For example the html attribute "class" is 
not defined in the "usernameMessage" class so it becomes a symbol.  The 
attribute value of "styleClass" is replaced with the value of the symbol.

HTML:

 username error message


XML:

 
  
 



>I'd be fine with some alternative way of accomplishing this sort of
>demonstration, but changing the HTML template and seeing the change applied
>immediately is a more compelling demo than something like changing
>clay-config.html.
>

The mapping between the HTML elements to the JSF component is now direct.  We 
talked about creating a pluggable mapper similar to the ViewController to 
managed bean name but didn't get it done.  

>Craig

Gary



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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, 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
> developer views.
>  On the other hand if you wanted to utilize the new symbol functionality.
> You would change
> your clay-config.xml to add the following:
>  
> 
>  ...
>  
> 
> 
>  Then you could just use
>  
> username error message
> 
>  in the html and still get the proper output in both designer and
> developer views.
>
>  On 11/3/05, Craig McClanahan <[EMAIL PROTECTED]> wrote:
> >
> > 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
> > login.html I changed:
> >
> > 
> > username error message
> > 
> >
> > to the following instead ("errors" is a CSS style class that turns the
> > text
> > red):
> >
> > 
> > username error message
> > 
> >
> > When you redisplay the designer view, this does indeed show a change in
> > behavior -- the "username error message" string shows up in red.
> > However, if
> > you redisplay the developer view and then try to enter an invalid
> > username/password, the text still comes up in black. One thing I
> > noticed, in
> > the emitted HTML markup for the developer view, the error message string
> > is
> > *not* surrounded by a 

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 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 you go:
> http://wiki.apache.org/struts/StrutsPleaseWait
>
> Geeta
>
>


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
developer views.
 On the other hand if you wanted to utilize the new symbol functionality.
You would change
your clay-config.xml to add the following:
 

 ...
 


 Then you could just use
 
username error message

 in the html and still get the proper output in both designer and developer
views.

 On 11/3/05, Craig McClanahan <[EMAIL PROTECTED]> wrote:
>
> 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
> login.html I changed:
>
> 
> username error message
> 
>
> to the following instead ("errors" is a CSS style class that turns the
> text
> red):
>
> 
> username error message
> 
>
> When you redisplay the designer view, this does indeed show a change in
> behavior -- the "username error message" string shows up in red. However,
> if
> you redisplay the developer view and then try to enter an invalid
> username/password, the text still comes up in black. One thing I noticed,
> in
> the emitted HTML markup for the developer view, the error message string
> is
> *not* surrounded by a 

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 developers worrying about the
look and feel - which is what I'm trying to avoid by using Clay in the
first place.

On 11/3/05, Craig McClanahan <[EMAIL PROTECTED]> wrote:
> 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
> login.html I changed:
>
> 
> username error message
> 
>
> to the following instead ("errors" is a CSS style class that turns the text
> red):
>
> 
> username error message
> 
>
> When you redisplay the designer view, this does indeed show a change in
> behavior -- the "username error message" string shows up in red. However, if
> you redisplay the developer view and then try to enter an invalid
> username/password, the text still comes up in black. One thing I noticed, in
> the emitted HTML markup for the developer view, the error message string is
> *not* surrounded by a 

[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
login.html I changed:


username error message


to the following instead ("errors" is a CSS style class that turns the text
red):


username error message


When you redisplay the designer view, this does indeed show a change in
behavior -- the "username error message" string shows up in red. However, if
you redisplay the developer view and then try to enter an invalid
username/password, the text still comes up in black. One thing I noticed, in
the emitted HTML markup for the developer view, the error message string is
*not* surrounded by a 

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.
>
> according to what I had written i.e from LookupDispatchAction class forwards
> to the same page,
>
> Doing so refreshes/reloads the whole page again.
>
> Is that what has to be done? or is there a better way just to update that
> table?
>
> Thanks.

Do you want to update table only, and you page has other
data/controls? Then you need Ajax.

Also, try to delete an item from your table, it will forward you to
the table. Then reload the page you just received. Doesn't it want to
delete the same row that you just deleted?

Michael.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 the author the
project moved to a new provider recently who accepts
Spring (the former obviously did not). May go away.


In the online samples each page has unique URL, so after going three
pages forward one needs to click Back button three times to return
where he started. DisplayTag allows to provide URL where to return
after each page flip, so you can use a single location for all table
pages.


Nice :-) Don't know if eXtremeTable can do the same. Of
course, you can also specify an URL attribute (is that
what you mean?) which is a necessity with Tiles anyway.
Grid navigation itself is handled via parameters; don't
know how DisplayTag handles this from memory. Anyhow,
I've never really missed the single location thing.
Depends on the scenario, of course :-)


For an example of how a single location works, see MailReader online
demo here: http://www.superinterface.com/mailreader


Registration bravely accepts password 'a', but complains
it's too short at logon. Odd. Shouldn't it be the other
way round? At least, the user account is kind of useless
afterwards. May also go away :-)


Log In as "user"/"pass" and select "Manage Subscriptions".
Subscriptions are displayed in four in a page. You can add, edit or
delete subscriptions or flip pages, and you still will stay on the
same location, see address bar in your browser. If you click Back
button, you will _immediately_ return to main menu, you do not need to
go through all subscriptions you viewed or edited.


Our general UI policy is that if the user clicks the browser 'back'
button, he should see the last page he visited, which usually is
the last result page from the datagrid. If he wants to 'bail out',
we provide a navigation menu for such cases (Tiles be thanked).
Generally, I don't like the 'back' button in web apps too much,
in particular in connection with forms. YMMV.


This particular table was created with Struts-EL tags; with DisplayTag
it would be twice smaller and much cleaner in a JSP code.


DisplayTag is fine, eXtremeTable is fine too. We chose it
because it sports quite a lot of very useful features, it
works, it's easy to use and well-designed. There's a third
component available from sf.net named ValueListHandler or
so; Matt Raible has an article about eXtremeTable (plus some
demos) on his site where IIRC it was mentioned somewhere. A
fourth one would be the datagrid component from the Apache
taglib site, but it falls back when compared to the other
options and I doubt too many people use it for production
sites.


Michael.


-- Chris.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 LookupDispatchAction class forwards 
to the same page,


Doing so refreshes/reloads the whole page again.

Is that what has to be done? or is there a better way just to update that 
table?


Thanks.

_
Don’t just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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
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 of catching up on technologies that have come up in the last
3 years.  Thanks to this list, I have already learned a LOT, and found
most of what I am looking for in terms of tag libraries (i.e. a couple
great looking table components and good looking menu component).

 


I have not found a good date drop-down controls for JSP.  Any ideas on
good ones?

 


Thanks,

Scott

 

 


Virtual Systems International, Inc.
1400 Crescent Green / ste. 215
Cary, NC  27511

Phone:  (919) 319-0888
Fax: (919) 319-0884
[EMAIL PROTECTED]
www.virtual-systems.com  

 






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 you found at the URL below should give you 
all you need to get started.


L.

Rafael Nami wrote:

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 <[EMAIL PROTECTED]>:


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 validators, I get links to the common validator.

Does anyone have a handle on this?

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]








-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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
pages forward one needs to click Back button three times to return
where he started. DisplayTag allows to provide URL where to return
after each page flip, so you can use a single location for all table
pages.

For an example of how a single location works, see MailReader online
demo here: http://www.superinterface.com/mailreader

Log In as "user"/"pass" and select "Manage Subscriptions".
Subscriptions are displayed in four in a page. You can add, edit or
delete subscriptions or flip pages, and you still will stay on the
same location, see address bar in your browser. If you click Back
button, you will _immediately_ return to main menu, you do not need to
go through all subscriptions you viewed or edited.

This particular table was created with Struts-EL tags; with DisplayTag
it would be twice smaller and much cleaner in a JSP code.

Michael.

--
Struts Dialogs: code-behind for Struts
http://struts.sourceforge.net/strutsdialogs

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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, 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 can supply the
name of the file which the browser displays to the user so that it displays
such as xxx.pdf instead of download.do.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 the response, so that I can supply the
name of the file which the browser displays to the user so that it displays
such as xxx.pdf instead of download.do.

 


Add this response header :

response.setHeader("Content-Disposition","attachment; filename=\"" + yourfilename + "\";"); 




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 can supply the
name of the file which the browser displays to the user so that it displays
such as xxx.pdf instead of download.do.


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 date, do you? 
Well I guess everyone understands this because we all were missing promisied
target dates in our development life I guess :-)
But on the other hand that's what the people want to know, WHEN can I have
it? (I have to make a presentation about shale)

>This information is summarized in the 
> Package Overview
> page for the core library:
> 
>
http://people.apache.org/~craigmcc/shale-core-javadocs/overview-summary.html

That provides really useful information!

Thanks again 

Bernhard

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 -- it's primarily a matter of being
in-country long
enough to go through the release process. I've also got some
back-of-the-envelope roadmap notes that I need to put up on the wiki talking
about future feature directions.

As far as releases themselves go, the thinking is to use the same release
model that Struts 1.x (and other projects like Tomcat) do ... an
x.y.zrelease that is not pre-graded with a quality moniker (alpha,
beta, general
release), followed by a chance to get feedback and retroactively vote (on
the dev list) on a grade. That being said, I would *not* assume 1.0.0 would
be anything other than an alpha. This is not necessarily an issue about
quality, it's more about API stability. I don't want to lock down quite
everything yet, until people have had a chance to try things out.

That being said, one habit I want to follow in Shale is provide feedback to
developers on what expectations they *should* have about API stability in
individual packages. This information is summarized in the Package Overview
page for the core library:

http://people.apache.org/~craigmcc/shale-core-javadocs/overview-summary.html

Along with an indication of whether the functionality in that package is
targeted at application developers, or at people who want to extend the
framework itself.


Thanks
>
> Bernhard


Craig

-
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


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 detached from 
Struts and is now a stand-alone Jakarta Commons Project that can be used with 
or without Struts.  Although Validator is an independant framework again, 
Struts still comes packaged with it and it is seamlessly integrated.


-Original Message-
From: Jim Reynolds [mailto:[EMAIL PROTECTED]
Sent: Thu 11/3/2005 9:34 AM
To: user@struts.apache.org
Subject: Commons Validator or Struts Validator?
 
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 validators, I get links to the common validator.

Does anyone have a handle on this?

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 properties in FormDef again.

Okay, I see your point.  It's to support transitioning existing form beans.



> I guess what I can do now is create a small actionform just with
> reset() method in it, like Craig advised me. Should work, right?

For now, yes, that's about what you can do.  And yes, it should work.

Hubert

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 <[EMAIL PROTECTED]>:
>
> 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 validators, I get links to the common validator.
>
> Does anyone have a handle on this?
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


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 validators, I get links to the common validator.

Does anyone have a handle on this?

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[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 in FormDef, and I
> > would not have to wait for you to reimplement it ;-) I would just
> > apply your patch to my copy of DynaActionForm, and FormDef would pick
> > up transparently whatever properties are defined in struts-config.xml.
> > Is it possible at all? Or is it too much work?
>
> I've wondered about this feature, but there are some problems.  (Not
> to mention, this is the first time someone asked for it).  For
> instance, what if the form defined isn't a DynaBean?  And how would I
> let the user specify formatting requirements (for dates, numbers,
> etc)?
>
> Still, it's feasible.  It's just sort of a reversal of what I tried to
> do.  I wanted to reduce config info.  If you defined your form one
> field at a time in struts-config, then defined them again in
> formdef-config, then you end up with two places you have to keep in
> sync.  Not to mention validation.xml (if you were using it for that
> form).

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 properties in FormDef again.
This is a long shot, so I can live without that. But at this moment I
cannot use resettable properties in FormDef even if I patched my copy
of Struts myself, because you need to explicitly add support for these
properties.

If you could reuse beans already configured in struts-config.xml and
if you could read whatever properties are there transparently, you
would not even have to make a change. But currently I should wait
until you add resettable properties into Formdef explicitly. Long
wat.

I guess what I can do now is create a small actionform just with
reset() method in it, like Craig advised me. Should work, right?

Michael.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[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 of catching up on technologies that have come up in the last
3 years.  Thanks to this list, I have already learned a LOT, and found
most of what I am looking for in terms of tag libraries (i.e. a couple
great looking table components and good looking menu component).

 

I have not found a good date drop-down controls for JSP.  Any ideas on
good ones?

 

Thanks,

Scott

 

 

Virtual Systems International, Inc.
1400 Crescent Green / ste. 215
Cary, NC  27511

Phone:  (919) 319-0888
Fax: (919) 319-0884
[EMAIL PROTECTED]
www.virtual-systems.com  

 



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

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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, 2005 8:50 AM
Subject: RE: [OT] Question using struts-layout TagLib



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 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 individual items based on the (hopefully sortable) column which 
was

clicked
http://struts.application-servers.com/intro/collection.html

Any suggestions?

Thank You,

Martin-




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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-mail: [EMAIL PROTECTED]



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 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 to go back to page 1. How to configure my
action-mapping for this as I only have one "input" attribute, without
paging support ?
   



Have you tried this:
http://struts.sourceforge.net/strutsdialogs/wizardaction.html
Even if you will not use WizardAction, here is the tip: display all
wizard pages from a single action. This way a user won't be able to
navigate to arbitrary page.

Michael.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


 



This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 3 (let's consider the user has used
> a bookmark), I'd like struts to go back to page 1. How to configure my
> action-mapping for this as I only have one "input" attribute, without
> paging support ?

Have you tried this:
http://struts.sourceforge.net/strutsdialogs/wizardaction.html
Even if you will not use WizardAction, here is the tip: display all
wizard pages from a single action. This way a user won't be able to
navigate to arbitrary page.

Michael.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 you go:
http://wiki.apache.org/struts/StrutsPleaseWait

Geeta


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" %>'
  Anyway, I have build all my projects from the "blank" struts war file, and
do not see any validator.tld file anywhere. I am unsure of exactly what I am
looking for here. Could someone give me some guidance on this?


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,

HttpServletRequest request, HttpServletResponse 
response)

throws Exception {
 
  WizardForm wizardForm = (WizardForm) form;



if (...something terrible is happening)

return mapping.findForward("badnext");

else 

return mapping.findForward("next");

}

then the badnext will forward to what ever section of the action mappings you 
choose:
 



 
 

 
 




  

   





  
  







  
  
  

I hope this helps.


-Original Message-
From: Nicolas De Loof [mailto:[EMAIL PROTECTED]
Sent: Thu 11/3/2005 3:07 AM
To: Struts Users Mailing List
Subject: wizard-style form and validator
 

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 to go back to page 1. How to configure my 
action-mapping for this as I only have one "input" attribute, without 
paging support ?

This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]







-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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.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 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 individual items based on the (hopefully sortable) column which was
clicked
http://struts.application-servers.com/intro/collection.html

Any suggestions?

Thank You,

Martin-




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 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 individual items based on the (hopefully sortable) column which was 
clicked
http://struts.application-servers.com/intro/collection.html

Any suggestions?

Thank You,

Martin-



(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 individual items based on the (hopefully sortable) column which was 
clicked
http://struts.application-servers.com/intro/collection.html

Any suggestions?

Thank You,

Martin-


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 forwards the request it
unwraps it, loosing those parameters. So when your validation fails
this happens when it forwards to your "input".

This can be resolved in a Servlet 2.3 environment (which is the
minimum for Struts 1.3.x) - but Struts 1.2.x has a minimum of Servlet
2.2.

Details in the following bug:

http://issues.apache.org/bugzilla/show_bug.cgi?id=17583

Niall


On 11/2/05, Collin VanDyck <[EMAIL PROTECTED]> wrote:


Hello!

I'm using struts-1.2.7.

I have form that needs both file upload functionality as well as normal
form fields interspersed on the same HTML page.  I'm using the built-in
struts file upload utilities, so I create the form:


  ...


If there are no errors, this approach works perfectly.  I correctly
receive the file data submitted, if any, along with the normal form
field values.

However, if my ActionForm fails validation, when the resultant action
gets called (specified by the input attribute) the request object
contains no request data from my form.  My ActionForm, however,
populates correctly.

I understand that for multipart/form-data encoding types that the
framework will wrap the normal request object in a
MultipartRequestWrapper. Indeed, this is the case when this form
submits.  The MultipartRequestWrapper does not contain any of my request
parameters from the form.  I called MultipartRequestWrapper.getRequest()
to get the original request that was wrapped to begin with, but it also
does not have any of my request parameters.

The strange thing is, is that if I convert the form to not be
multipart/form-data encoded, and remove the file upload widget, it works
perfectly, retaining request parameters even when validation fails.

Any ideas on what I may be doing wrong? I feel like this is probably a
common problem. I found some similar problems on the mailing list
archives, but could not find any resolutions.

many thanks
Collin



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 should this be the culprit?


many thanks,
Collin

Adam Hardy wrote:

Collin,

are you using 
org.apache.commons.fileupload.DiskFileUpload.parseRequest(request)


?

I'm not sure anymore if this is wrapped by struts or not, but I guess it 
is and it's this bit that isn't working.


Adam


Collin VanDyck on 02/11/05 20:53, wrote:


Hello All

Any ideas on this one?  I switched to a manual validation, which 
works, though I'd much rather use the built-in mechanism to validate 
where possible.


thanks
Collin


Collin VanDyck wrote:


Hello!

I'm using struts-1.2.7.

I have form that needs both file upload functionality as well as 
normal form fields interspersed on the same HTML page.  I'm using the 
built-in struts file upload utilities, so I create the form:


enctype="multipart/form-data">

   ...


If there are no errors, this approach works perfectly.  I correctly 
receive the file data submitted, if any, along with the normal form 
field values.


However, if my ActionForm fails validation, when the resultant action 
gets called (specified by the input attribute) the request object 
contains no request data from my form.  My ActionForm, however, 
populates correctly.


I understand that for multipart/form-data encoding types that the 
framework will wrap the normal request object in a 
MultipartRequestWrapper. Indeed, this is the case when this form 
submits.  The MultipartRequestWrapper does not contain any of my 
request parameters from the form.  I called 
MultipartRequestWrapper.getRequest() to get the original request that 
was wrapped to begin with, but it also does not have any of my 
request parameters.


The strange thing is, is that if I convert the form to not be 
multipart/form-data encoded, and remove the file upload widget, it 
works perfectly, retaining request parameters even when validation 
fails.


Any ideas on what I may be doing wrong? I feel like this is probably 
a common problem. I found some similar problems on the mailing list 
archives, but could not find any resolutions.




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 to go back to page 1. How to configure my 
action-mapping for this as I only have one "input" attribute, without 
paging support ?


This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]