Re: Get jsp content in struts action

2009-03-09 Thread Nils-Helge Garli Hegvik
Why do you need the contents of the JSP? I'd consider a Servlet Filter instead if you need to process the output before it's returned to the browser. Nils-H On Tue, Mar 10, 2009 at 7:29 AM, D1vy@@Ind1@ wrote: > > Hmm.. I am not sure if the code is problematic because with the same code I > am ab

RE: Get jsp content in struts action

2009-03-09 Thread D1vy@@Ind1@
Hmm.. I am not sure if the code is problematic because with the same code I am able to read the contents of all JSP pages. Only for JSPs using struts tags I get an exception as mentioned previously, I wanted to know how can I get rid of that exception. -D mgainty wrote: > > > the input stream

Re: Please help to get Arabic i18n(internationalization) using struts2.1.6

2009-03-09 Thread kavita P
Hi Friends, I am also trying out the same example and facing the same problem. I am trying to make japanese locale but not able to do that. I have saved the package_ja.properties file as UTF-8 type. I have tried all the option mention below but all in vain. Can anyone please help. Appriciate

RE: Cross Browser issues!

2009-03-09 Thread sajidbigler
can go with static initialization as shown in dynamic tree example.composeMMS.jsp is where i am rendering the tree.other files are propitiatory and cant share -- View this message in context: http://www.nabble.com/Cross-Browser-issues%21-tp22414428p22427511.html Sent from the Struts - User maili

RE: Cross Browser issues!

2009-03-09 Thread Martin Gainty
ShowDynamicTreeInitializeDAO.java? Martin __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse dis

Change TextProvider

2009-03-09 Thread Security Management
I've implemented my own TextProvider and ResourceBundle to pull text from a DB "meaning" table, and need to switch my application to use these instead of the defaults. I've got them wired with Spring to inject the database connection, etc, and have the bean loaded in the struts config file. How d

Re: Convention Plugin and Unit Tests

2009-03-09 Thread Musachy Barroso
It is hard to say, but it could be as simple as DefaultResultMapBuilder not finding the files where it expects them. Set some breakpoints there, and I am sure you will find what is missing. musachy On Mon, Mar 9, 2009 at 3:41 PM, dusty wrote: > > Hi All (err Musachy), > > I have the classes belo

Convention Plugin and Unit Tests

2009-03-09 Thread dusty
Hi All (err Musachy), I have the classes below that I use for unit testing. They are a spin-off/update of the Depressed Programmers unit test class. I like them because they can test the Struts config along with the actions themselves + interceptor execution. Things go well when you have an @Re

Re: Struts 2.6.1 key attribute not working as it did in Struts 2.0.11

2009-03-09 Thread Musachy Barroso
Fixed in trunk. thanks for reporting. musachy On Mon, Mar 9, 2009 at 3:15 PM, Musachy Barroso wrote: > It was broken as a fix to another problem: > > https://issues.apache.org/struts/browse/WW-2171 > > musachy > > On Mon, Mar 9, 2009 at 3:06 PM, phillips1021 wrote: >> >> The personBean's attrib

Re: Struts 2.6.1 key attribute not working as it did in Struts 2.0.11

2009-03-09 Thread Musachy Barroso
It was broken as a fix to another problem: https://issues.apache.org/struts/browse/WW-2171 musachy On Mon, Mar 9, 2009 at 3:06 PM, phillips1021 wrote: > > The personBean's attributes are given values in an ActionSupport class. > > As I mentioned using shows the > value (Bruce) correctly.  This

RE: Struts 2.6.1 key attribute not working as it did in Struts 2.0.11

2009-03-09 Thread phillips1021
The personBean's attributes are given values in an ActionSupport class. As I mentioned using shows the value (Bruce) correctly. This is done in the same jsp as which doesn't show the value (Bruce) correctly but instead shows the value from the global-message.properties file (Your First Name)

Re: Cross Browser issues!

2009-03-09 Thread sajidbigler
dynamicTreeSelect.jsp <%...@taglib prefix="s" uri="/struts-tags"%> <%@ taglib prefix="sx" uri="/struts-dojo-tags"%> <% System.out.println("in jsp nodeId-->"+ request.getParameter("nodeId")); System.out.println("in jsp nodeName-->"+ request.getPa

Cross Browser issues!

2009-03-09 Thread sajidbigler
Hi friends, is How to resolve cross browser issues.i was doing dynamic tree in firefox it works fine but in IE the div wont be updated .later i come to conclusion its bcoz if innerHTML or table,tr,td tags.in the showcase example we don't use any tables so it works fine onc u wanna use table it sc

Re: Struts 2.6.1 key attribute not working as it did in Struts 2.0.11

2009-03-09 Thread Musachy Barroso
I was able to replicate this problem in showcase, I opened a ticket with your email: https://issues.apache.org/struts/browse/WW-3029 I am looking into it. thanks musachy On Mon, Mar 9, 2009 at 11:52 AM, Musachy Barroso wrote: > That look like a bug, I will take a look at it. > > musachy > > On

Re: Struts 2.6.1 key attribute not working as it did in Struts 2.0.11

2009-03-09 Thread Musachy Barroso
That look like a bug, I will take a look at it. musachy On Mon, Mar 9, 2009 at 11:00 AM, phillips1021 wrote: > > We are moving some applications from using Struts 2.0.11 to Struts 2.1.6.  In > our applications using Struts 2.0.11 we used the label tag's key attribute > to specify the name, value

RE: Struts 2.6.1 key attribute not working as it did in Struts 2.0.11

2009-03-09 Thread Martin Gainty
in your 2.0.11 test where did you populate personBean.firstName with 'Bruce' ? Martin __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confident

Examples of Using Spring and Struts 2 Frameworks Together

2009-03-09 Thread phillips1021
I created two example applications that use Spring and Struts 2 together and also a short presentation on how to integrate Spring with Struts 2. See: http://tinyurl.com/bvkzu4 Bruce Phillips University of Kansas -- View this message in context: http://www.nabble.com/Examples-of-Using-Spring-

Struts 2.6.1 key attribute not working as it did in Struts 2.0.11

2009-03-09 Thread phillips1021
We are moving some applications from using Struts 2.0.11 to Struts 2.1.6. In our applications using Struts 2.0.11 we used the label tag's key attribute to specify the name, value, label on some of our jsp view pages. So for example: would render in the jsp page as: Your first na

RE: Password Input

2009-03-09 Thread Security Management
OK, duh, and just so it's answered in the archives, Firefox was saving the password, and auto-setting it in the form for me. -Original Message- From: Mike Baranski [mailto:m...@secmgmt.com] Sent: Friday, March 06, 2009 2:20 PM To: 'Struts Users Mailing List' Subject: Password Input Tha

How to set 'pager.offset' in struts2 action?

2009-03-09 Thread red phoenix
I use struts2 and Pager Taglib2.0, in jsp file,it has a parameter,like follows: when I run above code,it raise warning message: Warn: ParametersInterceptor - [setParameters]: Unexpected Exception caught setting 'pager.offset' on 'class test.ArticleAction: Error setting expression 'pager.offset' w

Re: OGNL problem in s:checkbox

2009-03-09 Thread justin2zj
hi,i think i maybe like this:when you set a var attribute on the iterator,i was saved under top level in the ActionContext object,which contains ValueStack,parameters,attr,etc. and when you refer the value using OGNL later,you have to specify the data objects that you're refering,which by

Re: OGNL problem in s:checkbox

2009-03-09 Thread Ignacio de Córdoba
Hi, I fond the answer to my problem. Maybe it helps anyone here... if "service" is the var from a s:iterator doing %{serviceNames.contains(service)} will not work but %{serviceNames.contains(#attr.service)} will work. I don't know how. Must be related of how objects are set into OGNL valueSt