RE: Using Anchor Component for creating custom anchor tag

2009-03-25 Thread Manoj Dhore
Hi Martin Yes, I have insured that the stack, request and response objects are not null. Here is an extract of mergeTemplate function in Anchor class. I tried setting the template as well before initializing Anchor object but no luck.

User changing theme in Struts 2

2009-03-25 Thread Johnson nickel
Hi all, Is there any default settings in struts2. where user can select their own theme. My requirement is we have set buttons in our applications with different colors. For,ex in orkut and gmail change theme options the same way i want to implement in my

Struts 2 Type conversion

2009-03-25 Thread mahanare
Hi, I need help in resolving type conversion issue in struts 2. Here is my problem definition. I have a structs 2 action class called AuditTrailAction. Here is the class definition. It contains a ListAuditView I have given my AuditView bean definition below. Action contains a List which intern

Re: Pagination with struts 2.x

2009-03-25 Thread mahanare
FYI, just recording my experience here. I looked at displaytag it looks good but if there are some minor changes (it encodes property names etc so when you post for sort/pagination, setting the structs 2 action properties is difficult) other wise it looks simple. Also I looked at jqGrid using

Re: did any one sussesfully able to use org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter

2009-03-25 Thread mahanare
FYI, here is my web.xml we use spring with struts 2. define all beans in spring context and map them in struts2.xml (instead of the class=class_with_paackage we give class=springbean_id ?xml version=1.0 encoding=UTF-8? web-app id=starter version=2.4

file download problem in application server

2009-03-25 Thread Shannon, Andrew
I posted this question on the OTN - OC4J list a second ago, but am hoping someone here might have some insight. I have a web app running in an OC4J stand alone 10.1.3.3 and am having a problem with downloading files over http. Its a struts2 app whose file downloading impl is easy to use and

breaking struts.xml

2009-03-25 Thread sudhi123
Hello ... I am quite new to struts2 I just want to know how to break struts.xml in to a module (jar). Anybody has done this ...? Thanks for your help in advance. -- View this message in context: http://www.nabble.com/breaking-struts.xml-tp22702041p22702041.html Sent from

Re: breaking struts.xml

2009-03-25 Thread David C. Hicks
It's just a resource on your classpath like any other. Never done it, but you should be able to without any problem. sudhi123 wrote: Hello ... I am quite new to struts2 I just want to know how to break struts.xml in to a module (jar). Anybody has done this ...? Thanks for

Re: breaking struts.xml

2009-03-25 Thread Robert Graf-Waczenski
David C. Hicks wrote: It's just a resource on your classpath like any other. Never done it, but you should be able to without any problem. sudhi123 wrote: Hello ... I am quite new to struts2 I just want to know how to break struts.xml in to a module (jar). Anybody has done this

Re: Struts 2 Type conversion

2009-03-25 Thread mahanare
kind of got a fix. here is my jsp content. tr s:iterator value=columnLabels var=label ths:property value='label' //th /s:iterator /tr s:iterator value=results var=auditViewBean tr s:iterator value=propertyList

RE: [S1]: Resource configuration. message-resources parameter=one,two,three

2009-03-25 Thread Givler, Eric
This could be caused by the differences in Digester/BeanUtils versions between the two. You could step it in the old version and in the new one and see how it parses those properties. -Original Message- From: MassimoH [mailto:massimohei...@gmail.com] Sent: Monday, March 23, 2009 10:54

Re: Pagination with struts 2.x

2009-03-25 Thread Mileidys Gonzalez Prieto
I recomend jMesa... is very good and is possible to do pagination with Ajax using limits. On Wed, 2009-03-25 at 05:37 -0700, mahanare wrote: FYI, just recording my experience here. I looked at displaytag it looks good but if there are some minor changes (it encodes property names etc so

RE: User changing theme in Struts 2

2009-03-25 Thread Martin Gainty
could you explain how sitemesh installs to (presumably the) template folder? which sitemesh parameters are configurable? thanks, Martin __ Disclaimer and confidentiality note This message is confidential and may be privileged. If you are not the

Re: User changing theme in Struts 2

2009-03-25 Thread Wes Wannemacher
On Wed, Mar 25, 2009 at 2:56 PM, Martin Gainty mgai...@hotmail.com wrote: could you explain how sitemesh installs to (presumably the) template folder? which sitemesh parameters are configurable? thanks, Martin [snip]        My requirement is we have set buttons in our applications with

How to avoid validation if request was done by GET method?

2009-03-25 Thread boraldo
I have a form. And I want to have one url for form itself and for submitting it. Controller should look at method and if it is GET, show form, if POST - make validations and so on. How can I do it ? -- View this message in context:

Re: breaking struts.xml

2009-03-25 Thread sudhi123
Hello, thanks very much for the reply. I was going to have maven modules in my project ..so was thinking how to handle struts xml. Hence asked the question. Thanks again... Robert Graf-Waczenski wrote: David C. Hicks wrote: It's just a resource on your classpath like any other. Never

RE: breaking struts.xml

2009-03-25 Thread Martin Gainty
yes thats one way of handling it.. Another way is to implement Castor XML to Javaclass code generation feature http://www.castor.org/features.html#Castor-XML-code-generator after the code is gen'ed you can of course / compile /configure and jar it up HTH Martin

Re: Struts 2 Type conversion

2009-03-25 Thread dusty
Seems like you have it down. Why is it kind of? It is only a really type conversion issue if you need to reconstruct the graph of MapBeanList from a string posted from a web page. mahanare wrote: kind of got a fix. here is my jsp content. tr s:iterator

Re: Pagination with struts 2.x

2009-03-25 Thread dusty
displayTag is not terrible when working with Struts propertiesthese days. Remember that you can get to stuff on the value stack via JSTL expressions as well. Which works well with displayTag. Mileidys Gonzalez Prieto wrote: I recomend jMesa... is very good and is possible to do

Config-browser properties tab broken (2.1.6)

2009-03-25 Thread musomesa
I find it doesn't matter which action you are looking at -- you get the same list of 38 key-value pairs which are clearly not the bean properties of your action. The list is pasted below: It looks very much like we are getting the bean properties of some Class? object ...? Chris M annotation

RE: Config-browser properties tab broken (2.1.6)

2009-03-25 Thread Martin Gainty
can you post jsp and xml action config? thx, Martin __ Disclaimer and confidentiality note This message is confidential and may be privileged. If you are not the intended recipient, we kindly ask you to please inform the sender. Any unauthorised