Display tag : how to format the page number, Please help

2008-09-05 Thread Varun Deep
Hello to all I am using the display tag to show the employee data , it showing the page banner in the following style. "25 items found, displaying 1 to 10 [first] [previous] 1 2 3 [next][last]" I want give it a look of google page banner or any aother type as we see in the many sites. For the I

Re: REST plug-in & Tiles

2008-09-05 Thread Jeromy Evans
stanlick wrote: Does the plug-in support tiles definition names in its search? No. It was discussed briefly once in srtuts-dev that the codebehind plugin & tiles plugin together could support tiles naming conventions. eg. if OrderController.show() is invoked then search for a tile called

Re: [S2] and Integer lists

2008-09-05 Thread Dave Newton
--- On Fri, 9/5/08, stanlick wrote: > If getting one of these tags to work requires either > leaving an attribute off It's a list of non-composite objects. Why should the select tag require a non-required attribute that can't provide any useful information? Dave

Re: [S2] and Integer lists

2008-09-05 Thread stanlick
If getting one of these tags to work requires either leaving an attribute off or intValue() or %{intValue()} Should it be referred to as intelligent? I seriously think these crazy S2 tags are causing new Struts 2 users more pain than they are worth. Lyallex wrote: > > 2008/9/5 L

REST plug-in & Tiles

2008-09-05 Thread stanlick
Does the plug-in support tiles definition names in its search? -- View this message in context: http://www.nabble.com/REST-plug-in---Tiles-tp19339428p19339428.html Sent from the Struts - User mailing list archive at Nabble.com. --

Submit button with no form

2008-09-05 Thread danipruebas
Hi, How can I render a button in a jsp page to call an action directly with no form? I just want to call an action from a button in a jsp page, no links. I will use Dispatch_Action so how should I name it in the strus-config file? I understand Dispatch Action theory ;) Any ideas would be apprec

Re: Stream Windows Executable From Linux Machine

2008-09-05 Thread Gabriel Belingueres
Interesting. Never used myself the contentLength parameter before. You may want trying to provide a hint of the attached file size by writing it this way: attachment; filename=setup.exe; size=43665667 2008/9/5, Geffrey Caruso <[EMAIL PROTECTED]>: > I actually figured it out, I had to remove the

Struts 1.0.2, Maps and complex, dynamic forms

2008-09-05 Thread Stone, Timothy
Struts gurus Help. But allow me to head off any discussion about Struts versions, etc. It is suffice to say the following: http://struts.apache.org/1.0.2/ is bookmarked by every developer on the team and the application is one that is highly active and used by millions of users. Upgrading the JAR

RE: Stream Windows Executable From Linux Machine

2008-09-05 Thread Geffrey Caruso
I actually figured it out, I had to remove the contentLength parameter from the results XML. After I did that it started working fine on Linux. -Original Message- From: Gabriel Belingueres [mailto:[EMAIL PROTECTED] Sent: Friday, September 05, 2008 10:15 AM To: Struts Users Mailing List S

Re: Stream Windows Executable From Linux Machine

2008-09-05 Thread Gabriel Belingueres
filename= setup.exe is there an space there? (try removing it) what you mean by corrupt? 2008/9/5, Geffrey Caruso <[EMAIL PROTECTED]>: > Quick question for anyone who's tried this before. > > > > I've got a windows executable created using NSIS from a wrapped jar file. > > > > I've got the follow

Stream Windows Executable From Linux Machine

2008-09-05 Thread Geffrey Caruso
Quick question for anyone who's tried this before. I've got a windows executable created using NSIS from a wrapped jar file. I've got the following Stream Result for use in downloading it. When it's on a windows machine it works fine, but when I transfer everything to Linux the file is

Re: [S2] and Integer lists

2008-09-05 Thread Lyallex
2008/9/5 Lukasz Lenart <[EMAIL PROTECTED]>: >> > listKey="intValue" listValue="intValue" required="true"/> ... > > or don't specify listKey and listValue Dave and Lukasz Thanks, it works, no idea how just yet, it must be those 'intelligent defaults' I keep reading about ... Lyallex

Re: [S2] and Integer lists

2008-09-05 Thread Lukasz Lenart
> listKey="intValue" listValue="intValue" required="true"/> Try intValue() or %{intValue()} or don't specify listKey and listValue Regards -- Lukasz http://www.lenart.org.pl/ - To unsubscribe, e-mail: [EMAIL PROTECTED] Fo

Re: [S2] and Integer lists

2008-09-05 Thread Dave Newton
--- On Fri, 9/5/08, Lyallex wrote: > it's exposed to the ValueStack in the action (List > years ...) and I know it's populated and I want to do this > > listKey="intValue" listValue="intValue" required="true"/> > > but of course it doesn't work, I've tried all sorts > of things without luck (th

[S2] and Integer lists

2008-09-05 Thread Lyallex
Hi I have a form It requires the user select year and month of birth I have a little class Month that has getters and setters for monthNo and monthName This works perfectly when the months list is exposed to the ValueStack in the action ( List months ...) I also have a List of Integers, it's

Struts2 + Dojo 0.4 + unbeforeunload problem

2008-09-05 Thread Pablo Vázquez Blázquez
Hi!! If I have the following code in a jspx loaded via , when I go to another page (also loaded via ) the "onbeforeunload" event is not triggered. It is only triggered when the page is not loaded using ajax. What can I do to make it works both when the page is downloaded at all from server a

"Exception invoking method destroy" on redeploy

2008-09-05 Thread Dallas
Hello! I´m having troble whenever I redeploy my Struts 2 application on our Jboss server 4.2.1. I have to stop the server, reploy the application and then restart the server. I always get this same stacktrace. Anyone had the same problem? What can I do to work around this problem? See stacktrace

Re: retrieve action name

2008-09-05 Thread ManiKanta G
If from action class or some other class, can use the below one. ActionContext.getContext().getName() Regards, ManiKanta ManiKanta G wrote: In what you want to get the action name? If from an interceptor, public String intercept(ActionInvocation actionInvocation) throws Exception

Re: retrieve action name

2008-09-05 Thread ManiKanta G
In what you want to get the action name? If from an interceptor, public String intercept(ActionInvocation actionInvocation) throws Exception { /* Requested action name */ String requestedAction = actionInvocation.getInvocationContext().getName(); // other

retrieve action name

2008-09-05 Thread attiaoui
how can i retrieve the action name from request -- View this message in context: http://www.nabble.com/retrieve-action-name-tp19326279p19326279.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscr