Re: jsp page not display data when using ModelDriven---class can get parameter from jsp file

2009-03-31 Thread Junhua gao
the problem is action file can get data from jsp file,but jsp file can not get data from action file,which means,after do some execution in action file, jsp display blank,while, it should display some data. Thanks. public abstract class BaseActionS2 extends ActionSupport implements SessionAw

Struts 2.1.6 DateTimePicker

2009-03-31 Thread satyanarayana katta
Hi All, Does DateTimePicker has any way to disable a particular date or set of dates? I didn't find any parameters in the tag. I was looking at Dojo DatePicker and has parameter isDisabledDate. Don't we have something like that in sx:datetimepicker? For now I have used the DatePicker from the D

RE: user Digest 31 Mar 2009 20:39:45 -0000 Issue 8569

2009-03-31 Thread Sivaswamynatha K
Thank you, Hope it will help me. -Original Message- From: user-digest-h...@struts.apache.org [mailto:user-digest-h...@struts.apache.org] Sent: Wednesday, April 01, 2009 2:10 AM To: user@struts.apache.org Subject: user Digest 31 Mar 2009 20:39:45 - Issue 8569 user Digest 31 Mar 2009

Any news on WW-2352 bug?

2009-03-31 Thread xbranko
Bug https://issues.apache.org/struts/browse/WW-2352 WW-2352 was filed over a year ago, and it is still there in struts 2.1.6, specifically in the dojo plugin. Any chance someone can take a look at it? If dojo is deprecated, what is the preferred way to connect struts2 and ajax calls from webapp

RE: ServletUrlRenderer.renderFormUrl NPE moving from 2.0.14 to 2.1.16

2009-03-31 Thread Martin Gainty
Hi Derrick- could you check your jsp to determine where you push nameValue onto the OGNL ValueStack? Martin Gainty __ Verzicht und Vertraulichkeitanmerkung / Disclaimer and confidentiality note Diese Nachricht ist vertraulich. Sollten Sie nicht der

RE: jsp page not display data when using ModelDriven---class can get parameter from jsp file

2009-03-31 Thread Martin Gainty
Where is your code for BaseActionS2? Glad to know Im not the only person who watches BBC! 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

ServletUrlRenderer.renderFormUrl NPE moving from 2.0.14 to 2.1.16

2009-03-31 Thread Derrick Koes
I'm upgrading to use the latest best available struts 2 (I use freemarker in both 2.0.14 and the new 2.1.16) and I am hitting a problem with the form tag I believe. ServletUrlRenderer.renderFormUrl method accesses the actionMapper member, but this member is null. Hence, I get the stack trace N

Re: Skinning, themeing with stuts 2.1.x and the convention plugin

2009-03-31 Thread Adam Ruggles
It's definitely more than just css changes. I like the idea of creating my own result type. I'm already defining my own interceptor stack so that should be relatively simple to implement. Thanks. Musachy Barroso wrote: > > If the changes are just CSS-releated, the you just need to save the

Re: jsp page not display data when using ModelDriven---class can get parameter from jsp file

2009-03-31 Thread mitch gorman
Musachy Barroso wrote: > The answer is 42. If you explain what the problem is, the answer might > vary. c'mon, musachy... it's patently obvious that the frobnication calibration is off. you really need to adjust the skergle-factor setting in the next release, too... this is, what, the 14th report

Re: jsp page not display data when using ModelDriven---class can get parameter from jsp file

2009-03-31 Thread Musachy Barroso
The answer is 42. If you explain what the problem is, the answer might vary. musachy 2009/3/31 Junhua gao : > > public class SortTiersAction extends BaseActionS2 implements ModelDriven { > SortTierService sorttierservice = new SortTierService(); > private SortTierVO sorttiervo = ne

Re: Visible form validation missing after upgrade from 2.0.11 to 2.1.6

2009-03-31 Thread Henrik Brautaset Aronsen
On 31-03-09 17:48, Henrik Brautaset Aronsen wrote: On 31-03-09 17:22, Musachy Barroso wrote: yeah you need the assignment. Put a breakpoint in ActionSupport.getFieldErrors() and see if it is getting called. Thanks for your answer. I put a checkpoint in there, and getFieldErrors() is definit

Re: Visible form validation missing after upgrade from 2.0.11 to 2.1.6

2009-03-31 Thread Henrik Brautaset Aronsen
On 31-03-09 17:22, Musachy Barroso wrote: yeah you need the assignment. Put a breakpoint in ActionSupport.getFieldErrors() and see if it is getting called. Thanks for your answer. I put a checkpoint in there, and getFieldErrors() is definitely called (about five times per field, it seem

RE: DWR and S2 setup problem

2009-03-31 Thread Andy
Even though the servlet doesnt work the DWR calls are still made somehow. I havent looked into it too much to understand how it all works. Maybe the test servlet it just for testing? I dont know.. I ended up sticking with the Spring plugin instead of using the S2 plugin. I like to defin

Re: Visible form validation missing after upgrade from 2.0.11 to 2.1.6

2009-03-31 Thread Musachy Barroso
yeah you need the assignment. Put a breakpoint in ActionSupport.getFieldErrors() and see if it is getting called. musachy On Tue, Mar 31, 2009 at 11:08 AM, Henrik Brautaset Aronsen wrote: > hasFieldErrors -- "Hey you! Would you help me to carry the stone?" Pink Floyd ---

Re: ExecuteAndWaitInterceptor not working (2.1.6)

2009-03-31 Thread Musachy Barroso
Add the full stack trace and as much information as possible. thanks musachy On Tue, Mar 31, 2009 at 10:58 AM, Dale Newfield wrote: > musom...@aol.com wrote: >> >> Exactly -- used to work in 2.0.x but must have broken in the transition. > > Please create a JIRA issue for this. > > -Dale > >

Re: Visible form validation missing after upgrade from 2.0.11 to 2.1.6

2009-03-31 Thread Henrik Brautaset Aronsen
On 31-03-09 16:15, Henrik Brautaset Aronsen wrote: On 31-03-09 15:12, Henrik Brautaset Aronsen wrote: The form validation error messages are missing after I upgraded from 2.0.11 to 2.1.6, and I can't figure out why. When I submit an invalid form, the form just comes back without the visible er

Re: Skinning, themeing with stuts 2.1.x and the convention plugin

2009-03-31 Thread Musachy Barroso
If the changes are just CSS-releated, the you just need to save the selected "theme" name in a cookie, and then link to the appropriate CSS file in Sitemesh, or whatever it is you are using that outputs the header. If you need to have different jsps for the different themes, then the easiest thing

Re: $.getJSON(ur,params,function(data)(){}‏

2009-03-31 Thread Adam Ruggles
I'm not that familiar with the JSON result type, but it looks like data would contain the property methods of your SortTierVO bean. An easy way to see whats going on is to browse to SortTiersAction and see what spits out of the browser. It should look something like this: { method1: 'value',

Re: ExecuteAndWaitInterceptor not working (2.1.6)

2009-03-31 Thread Dale Newfield
musom...@aol.com wrote: Exactly -- used to work in 2.0.x but must have broken in the transition. Please create a JIRA issue for this. -Dale - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands,

Re: Skinning, themeing with stuts 2.1.x and the convention plugin

2009-03-31 Thread Adam Ruggles
Hi Pawel, Thanks for your response. What I'm looking for is a user selectable skin/theme for the look and feel of a website. One example would be a user goes to /theme1/home/index and the jsp page for theme1 for home/index is used to render the page. If the user goes to /theme2/home/index a di

Re: Visible form validation missing after upgrade from 2.0.11 to 2.1.6

2009-03-31 Thread Henrik Brautaset Aronsen
On 31-03-09 15:12, Henrik Brautaset Aronsen wrote: The form validation error messages are missing after I upgraded from 2.0.11 to 2.1.6, and I can't figure out why. When I submit an invalid form, the form just comes back without the visible error messages. ... The jsp: ... ...

Re: Struts 1.3.10 + Ajax

2009-03-31 Thread Cody Burleson
We are using the Yahoo User Interface Library (YUI) with Struts 1. It has several widgets such as DataTable, TabView, TreeView, AutoComplete, and more. It has Ajax loaders. One of the reasons we chose this package is because it is so well documented and because we wanted our CSS framework and JS fr

Visible form validation missing after upgrade from 2.0.11 to 2.1.6

2009-03-31 Thread Henrik Brautaset Aronsen
Hi. The form validation error messages are missing after I upgraded from 2.0.11 to 2.1.6, and I can't figure out why. When I submit an invalid form, the form just comes back without the visible error messages. The form: @Validation public class MySupportForm { private String supportCate

Re: Struts 1.3.10 + Ajax

2009-03-31 Thread Mileidys Gonzalez Prieto
Im using Ajax Tags and its very good. http://ajaxtags.sourceforge.net/ Hope it helps Mileidys Gonzalez - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

type conversion versus validation

2009-03-31 Thread Christian Kindler
Hi there, when using domain objects in a struts action I'm facing the problem that type conversion throws an error before validation is executed when having non string properties. Example: in my action I have a property organization which has itself a property contact. The contact object has

Re: post-redirect-get in Firefox

2009-03-31 Thread Adam Hardy
GET HTTP 302 according to httpheaders It looks fine and should be fine, assuming the struts2 redirect resulttype is OK. But somehow firefox seems to be too clever and appears to be breaking the standard browser contract to replace the POST with the GET To confuse me more, it is only doing th

jsp page not display data when using ModelDriven---class can get parameter from jsp file

2009-03-31 Thread Junhua gao
public class SortTiersAction extends BaseActionS2 implements ModelDriven { SortTierService sorttierservice = new SortTierService(); private SortTierVO sorttiervo = new SortTierVO(); public void setModel(SortTierVO sorttiervo) { this.sorttiervo = sorttiervo;

$.getJSON(ur,params,function(data)(){}‏

2009-03-31 Thread Junhua gao
Hello, I am using struts2 and Jquery now. And who can please tell me how to access the sorttiervo from the 'data' $.getJSON('SortTiersAction',params,function(data)(){} data.sorttiervo? or other ways? public class SortTiersAction extends BaseActionS2 impl

Re: Struts woes

2009-03-31 Thread Henrik Brautaset Aronsen
On 31-03-09 10:17, struts-u...@henrik.synth.no wrote: I am upgrading from Struts 2.0.11 to 2.1.6, which mostly works as it should thanks to the migration guide [1]. A couple of things elude me, though: 1) I am not able to get fetch static files from dojo. They are supposed to be in the clas

Struts 1.3.10 + Ajax

2009-03-31 Thread Sivaswamynatha K
Hi, I am working on Struts 1.3.10 application and want to use Ajax widgets (datagrid, autocomplete feature). Could you suggest me some good open source ajax frameworks? What about SweetDev RIA? Regards, Siva

Re: Re:Re: Error - 2.1.6 - index()

2009-03-31 Thread strangerinu
thanks a lot, that works, Kindly state , why was it now working earlier, Why is it overriding the method in the struts.xml and trying to call index() xnpeng wrote: > > delete struts2-rest-plugin-2.1.6.jar from your lib. > > > > > 在2009-03-30,strangerinu 写道: >> >>Would you please tell me h

Re: if nested property is null

2009-03-31 Thread elyes sallem
i forgot this tag ! exactly, it avoids null properties Thanks Regards Elyes 2009/3/31 Nils-Helge Garli Hegvik > Have you checked the 'present' tag? > > > http://struts.apache.org/1.3.10/struts-taglib/tagreference.html#nested:present > > http://struts.apache.org/1.3.10/struts-taglib/tagreferenc

Re: if nested property is null

2009-03-31 Thread Nils-Helge Garli Hegvik
Have you checked the 'present' tag? http://struts.apache.org/1.3.10/struts-taglib/tagreference.html#nested:present http://struts.apache.org/1.3.10/struts-taglib/tagreference.html#logic:present Nils-H On Tue, Mar 31, 2009 at 9:09 AM, elyes sallem wrote: > Hello, > i have a nested property  that

Struts woes

2009-03-31 Thread struts-user
Hi. I am upgrading from Struts 2.0.11 to 2.1.6, which mostly works as it should thanks to the migration guide [1]. A couple of things elude me, though: 1) I am not able to get fetch static files from dojo. They are supposed to be in the classpath per default [2], but the /struts/dojo/str

if nested property is null

2009-03-31 Thread elyes sallem
Hello, i have a nested property that i display in the jsp page : but , i can have a null value of iee property how can i implement this to avoid an exception such as this one in the jsp page : javax.servlet.j

Re: Skinning, themeing with stuts 2.1.x and the convention plugin

2009-03-31 Thread Paweł Wielgus
Hi Adam, could You tell a little more about how would you like to use convention for templating? Also check the other thread about this subject, that was on the list feew days (maybe weeks) ago. Best greetings, Pawel Wielgus. 2009/3/31, Adam Ruggles : > > I'm looking for a way using the conventio