Re: AJAX Jsp tags

2013-08-08 Thread Ken McWilliams
Don't use a JSP AJAX tag library. The dojo JSP tags didn't work well not because of dojo or an fault of the tag authors, the technologies simply don't mesh. It's as sane to program Java via XML as it is to program JavaScript via XML. XML is used for configuration. At first glance you think you'll

Re: AJAX Jsp tags

2013-08-08 Thread Chris Pratt
The dojo based tags are deprecated, the jQuery based tags are not. (*Chris*) On Thu, Aug 8, 2013 at 9:54 AM, Alireza Fattahi wrote: > Hi, > > I have confused with struts 2 ajax please correct me: > 1- The dojo plugin is deprecated ( > http://struts.apache.org/release/2.3.x/docs/ajax-tags.html

AJAX Jsp tags

2013-08-08 Thread Alireza Fattahi
Hi, I have confused with struts 2 ajax please correct me: 1- The dojo plugin is deprecated (http://struts.apache.org/release/2.3.x/docs/ajax-tags.html) 2- According to above we are not recommended to use dojo plugin in new projects. 3- All tags that mentioned in above page like: a, autocompliter

Re: struts 1 to struts2 migration.

2013-08-08 Thread Sreekanth S. Nair
I'm sorry about that, in my migration i never tried to do patches on existing jsp but rewriting the whole jsp. Advise if you take more days but better do it gud migration ;) . And i guess ur problem can be solved by <% OgnlValueStack valStack = (OgnlValueStack)TagUtils.getStack(pageContext); BeanCl

Re: struts 1 to struts2 migration.

2013-08-08 Thread Arpan
Thanks Srikanth, But what about this problem : Such as In struts 1 JSP I have used In JSP scriplet there are many places we used <% String s = x.getName(); %> In struts 2 we can write Now how can I use the "x" object in scriplet. As there are many references of "x" already written, I don't wa

Re: struts 1 to struts2 migration.

2013-08-08 Thread Sreekanth S. Nair
Already suggested by Lukasz, i can see thats only possible way if you don't want to disturb the existing code much. But from my personal experience i can say customizing things will make more complicated when strust2 changes its internal. We were facing so many issues while we started migration. We

Re: struts 1 to struts2 migration.

2013-08-08 Thread Arpan
Hi Sreekanth, We are also planning to do this similar way. In the meanwhile do you have any suggestion or solution for the problems I mentioned. Thank you.. On Thu, Aug 8, 2013 at 11:30 AM, Sreekanth S. Nair < sreekanth.n...@egovernments.org> wrote: > Hi Arpan, >We too did a st

won't show tags on a pojo object

2013-08-08 Thread Greg Huber
Hello, There is probably not much you can do on this one, but I thought I would post it if someone else was having the same issue. I was trying to iterate over a pojo and it was not rendering the tags at all. I trace the source and found that on my pojo I had a method called getTheme() which ret