Re: pagination in struts2

2009-04-24 Thread Stefano Tranquillini
i take a fast look about your link i can done the presentation of the data by myself ? these libraries done only the pagination? On Thu, Apr 23, 2009 at 23:08, denis cabasson wrote: > Display tag is great for table pagination. > If you are looking for pagination without tables, I'd recommend the

DWRValidator not working in Struts 2.1.6

2009-04-24 Thread strutstwouser
Hi, I'm getting an NPE when trying to use DWR validation in Struts 2.1.6. Basically, porting a Struts 2.0.x app that used DWR validation. The ValueStackFactory is null during the invocation and this throws the NPE while calling valueStackFactory.createValueStack(); In normal invocation, all is f

Re: Struts2 localization

2009-04-24 Thread Dave Newton
Johnson nickel wrote: I want to know about struts 2 localization. I have seen the struts 2 documentation i'm not getting clear idea. Can anybody > provide the basic steps for implementing this localization concept. Provide a package.properties file for package-level messages. Provide (actionN

[Struts 2] Menu with tabs: Dojo, Ajax or jQuery tag ?

2009-04-24 Thread Fernandes Celinio
Hi, I need to make a screen with several tabs. I am wondering what is the best solution. I know the Dojo tag that comes with truts 2 : tabbedpanel. It seems to work rather well, but Dojo tags are deprecated i believe ? Are there any other solutions ? With jQuery ? Pure Ajax ? I am using Struts 2

Re: Issue with RequestAware

2009-04-24 Thread Sateesh_Chandra2
You are right Dave. The right one to use is ParameterAware and it is working fine. Thanks for your help. Regards Sateesh Dave Newton 04/14/2009 02:20 PM Please respond to "Struts Users Mailing List" To Struts Users Mailing List cc Subject Re: Issue with RequestAware sateesh_chand

Re: Struts2 localization

2009-04-24 Thread Terry Gardner
Here is an example from a JSP: <%-- use access control --%> name="access_control.access_control.use_access_control.label"/> name="access_control.access_control.use_access_control.description"/> label="% {getT

Re: [Struts 2] Menu with tabs: Dojo, Ajax or jQuery tag ?

2009-04-24 Thread Paweł Wielgus
Hi Fernandes, this question has no good answer. I think the best option is to use something You know, so if it's JQuery, than use it, or anything else You prefer. Best greetings, Paweł Wielgus. 2009/4/24 Fernandes Celinio : > Hi, > I need to make a screen with several tabs. > I am wondering what

"disabled" attribute on s:form not working

2009-04-24 Thread Russell Neufeld
Hi all, I set disabled="true" in an s:form tag, expecting the resulting form to be disabled (greyed out, unable to submit by clicking, etc...) however that appears not be working. I checked the HTML that Struts 2 produced and the "disabled" attribute doesn't show up. I'm using Struts 2.1

RE: Struts2 localization

2009-04-24 Thread Martin Gainty
thanks for the explanation the example uses configuration to preset the value of input element could you provide what configuration is in this context? thx, Martin __ Disclaimer and Confidentiality/Verzicht und Vertraulichkeitanmerkung / Note de d

Re: Struts2 localization

2009-04-24 Thread Dave Newton
Martin Gainty wrote: the example uses configuration to preset the value of input element could you provide what configuration is in this context? I'd bet it's a boolean signifying whether or not to use access control. Dave --

Re: "disabled" attribute on s:form not working

2009-04-24 Thread Dave Newton
Russell Neufeld wrote: I set disabled="true" in an s:form tag, expecting the resulting form to be disabled (greyed out, unable to submit by clicking, etc...) however that appears not be working. I checked the HTML that Struts 2 produced and the "disabled" attribute doesn't show up. I'm usi

Re: "disabled" attribute on s:form not working

2009-04-24 Thread Dave Newton
Russell Neufeld wrote: Hi Dave, Thanks for the quick response. Sorry for the incorrect comparison. I'm porting a Struts 1 app to Struts 2, so I've got both frameworks on my mind. Ok, so the "disabled" attribute on the s:form tag doesn't act the same as S1. That's cool. Seems like

Redirect problem using Ajax and Struts - missing directory for image access

2009-04-24 Thread Qunhuan Mei
Hi there, My app uses Struts 2.1.6 to handle user’s file upload. It creates a user specific directory, say userDir at rumtime before upload starts. The userDir stores user uploaded files, say an intro.html with images. The app uses GDownloadUrl (google’s ajax) to access the intro.html i

Re: "disabled" attribute on s:form not working

2009-04-24 Thread Russell Neufeld
Hi Dave, Thanks for the quick response. Sorry for the incorrect comparison. I'm porting a Struts 1 app to Struts 2, so I've got both frameworks on my mind. Ok, so the "disabled" attribute on the s:form tag doesn't act the same as S1. That's cool. Seems like the "disabled" attribute

RE: Struts2 localization

2009-04-24 Thread Martin Gainty
a definite maybe I like specific examples e.g. such as this implementation of i18n tag e.g. s:i18n http://struts.apache.org/2.0.14/docs/localization.html if only someone would write a book which would explain all of this Martin __ Disclaimer and C

request requires HTTP authentication

2009-04-24 Thread Bhaarat Sharma
All of a sudden I am getting this when clicking a link that was previously working on my site HTTP Status 401 - -- *type* Status report *message* ** *description* *This request requires HTTP authentication ().* link is in the navigation and is pretty simple. here is

How to define a String array in FreeMarker

2009-04-24 Thread Ignacio de Córdoba
Hi there, i am using FreeMarker to generate HTML content for mails in my application (not for the web presentation; I use JSP for that). I so use FreeMarker directly, not integrated to struts. My problem is localizing messages with parameters. I am invoking the freemaker template passing the acti

The future of the dojo plugin

2009-04-24 Thread Russell Neufeld
Hi all, What's the future of the dojo plugin for Struts2? We're starting to port an existing web app from Struts1 to Struts2, and one of the features which was very appealing in Struts2 was the dojo plugin. Our web app doesn't do anything too fancy, but we're planning on making heavy use

Re: How to define a String array in FreeMarker

2009-04-24 Thread Dave Newton
Ignacio de Córdoba wrote: i am using FreeMarker to generate HTML content for mails in my application (not for the web presentation; I use JSP for that). I so use FreeMarker directly, not integrated to struts. My problem is localizing messages with parameters. I am invoking the freemaker template

Re: The future of the dojo plugin

2009-04-24 Thread Dave Newton
Russell Neufeld wrote: What's the future of the dojo plugin for Struts2? It's deprecated; beyond that I'm not sure where it will end up. It's unlikely there will be many bugfixes for it (although some may happen), and it's substantially less likely that it will ever be upgraded to a modern v

RE: HTML:errors

2009-04-24 Thread McDowell, Paula
Thanks, for your response. So is "Globals" a session bean with constant variable ERROR_KEY? Thanks, Paula -Original Message- From: Lukasz Lenart [mailto:lukasz.len...@googlemail.com] Sent: Thursday, April 23, 2009 12:51 PM To: Struts Users Mailing List Subject: Re: HTML:errors 2009/4/23

Re: HTML:errors

2009-04-24 Thread Dave Newton
McDowell, Paula wrote: So is "Globals" a session bean with constant variable ERROR_KEY? No, the value of Globals.ERROR_KEY names a session bean. http://struts.apache.org/1.2.x/userGuide/struts-html.html#messages Dave - To u

RE: The future of the dojo plugin

2009-04-24 Thread Martin Gainty
Good Afternoon Russ- Is there a feature in latest version of Dojo http://dojocampus.org/explorer/#Dojo_Drag%20And%20Drop_Flickr%20Viewer YUI, GWT, jQuery, Prototype, Scriptaculous that you would like to see implemented that is not present in Dojo 0.4.3? ? Martin __

how to achieve this with s:iterator tag

2009-04-24 Thread Bhaarat Sharma
I have the following code in jsp scriplet <% ArrayList statisticsList = something.getStatistics(); Iterator itr1 = statisticsList.iterator(); while (itr1.hasNext()) { dvo3_a = (VerificationVO) itr1.next();

result type -- redirect-action vs dispatcher.

2009-04-24 Thread Siddiq Syed
Hi all,   Problem statement. :   When validation happens in struts 2 it will redirect to result type "Input" if type="tiles" JSP will display the validation message and If result type="redirect-action" , validation message will not get display. In order to display validation messages , I am using

Re: result type -- redirect-action vs dispatcher.

2009-04-24 Thread Wes Wannemacher
On Friday 24 April 2009 19:47:04 Siddiq Syed wrote: > Hi all, > > Problem statement. : > > When validation happens in struts 2 it will redirect to result type > "Input" if type="tiles" JSP will display the validation message and If > result type="redirect-action" , validation message will not g

ModelDrivenInterceptor not refreshing model for Struts2

2009-04-24 Thread Yellek
I have a ModelDrivenInterceptor set up as follows in struts.xml: true My save method in my action is as follows: /** * Create or update the entity. * * @return Show */ public String save() {