Help coderanch get a
new server
by contributing to the fundraiser

Reghu Ram Thanumalayan

Ranch Hand
+ Follow
since Oct 21, 2003
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Reghu Ram Thanumalayan

Hi Peter,
Welcome to javaranch and thanks a lot for the response. The functionality you have listed is pretty comprehensive for a JS framework and I will definitely take a look at DOJO sometime very soon

Regards,
Reghu
Its interesting to know that Dojo has its own Unit testing system. So far, to be honest, I have not unit tested any javascript code I have written. The code always gets tested during the integration tests. I guess, this would be a very good reason to have to look at DOJO.

BTW, are there any other unit test frameworks for Javascript code?

Regards,
Reghu
Hi,
I guess Dojo does a good job of shielding the javascript programmer from the various browser incompatibilites and hence you will not have to worry about how your javascript code will work in different browsers.

One example for this is the Dojo storage which allows clientside storage on the browser. For Firefox, the native storage is used whereas for other browsers, a hidden flash component is used. So the programmer wouldnt need to worry about how it is implemented

Just my 2 cents.

Regards,
Reghu
[ December 02, 2008: Message edited by: Reghu Ram Thanumalayan ]
Hello Authors,
I have been working on a web application which also involves some javascript coding. I have been using some JS libraries like jQuery, prototype, script.aculo.us. Whats new with Dojo and why do you think Dojo is important to learn for writing web applications? Is the book intended for beginners or advanced users of JS?

Regards,
Reghu
Look like this is an open issue with <html:link> tag, that only HTTP GET is supported.

JIRA issue

What you could try as an alternative to <html:link> is to define a form with POST and add hidden fields with the id and trigger the submit of the form with javascript when the edit link is clicked [ ]
16 years ago

Originally posted by Srinivasan thoyyeti:
Thanks don.
but Ulf Dittmer , I want an web app example in which you have no servlet but have declarative security say basic security.

If you provide that I shall agree you point.



It is possible to define BASIC HTTP security declaratively on a webapp which has say only a jsp file (the jsp can be accessed with a URL pattern). As others have pointed out, the security is tied up to URL patterns and HTTP methods and not to the server side implementation of the URL and the associated HTTP method.
16 years ago
This is the link i found from the web

Plugin source

Here, there is no method body. Could you provide the link from where you got this strange source
16 years ago
Hi Jeremy,

Thanks for the pointers to StrutsTypeConvertor

Regards,
Reghu
16 years ago

Originally posted by abhishek paul:

(1)A method in an Interface cannot have a body...but in case of the Interface org.apache.struts.action.Plugin the methods destroy() and init() have bodies..Please provide an explaination for this.The class org.apache.struts.tiles.TilesPlugin which implements Plugin does however override the above mentioned methods.



Where did you find the source for Plugin interface ? I just checked the source and found only method declarations.

Regards,
Reghu
16 years ago
To add to that list, features like POJO suppport (making the code base a bit more cleaner) and first hand AJAX support, OGNL are certainly candidates to be considered for moving to Struts 2
[ April 29, 2008: Message edited by: Reghu Ram T ]
16 years ago
Hello Brown,
With Struts 1.2, i faced most problems with converting types between the formbean and the domain object. The BeanUtils class wasnt able to cover all the possible kids of conversions.

With Struts 2, I see that type conversion is being handled by OGNL. Does OGNL cover all possible kinds of conversions between the formbean and the domain objects ?

Regards,
Reghu
16 years ago

Originally posted by arulk pillai:
Is struts still popular in india for new projects?



I know from my friends working in some of the top Services companies in India, that Struts is still being used as the framework for building complex web applications
16 years ago
OGNL is the Object Graph Notation Language which according to the Struts 1 vs Struts 2 comparison page, is a more powerful and flexible expression language than JSTL EL.
16 years ago
Hello Brown,
I have been using standard JSTL EL in my projects and since Struts 2 uses OGNL which apparently is a more powerful and flexible language than JSTL EL, would you suggest moving away from EL and start using OGNL ? How much of an effort would it be to migrate from EL to OGNL expression syntax? Does the book cover this aspect?

Regards,
Reghu
16 years ago
Hello Brown,
"No Framework is an Island"

From the TOC, i can see that there is some mention about integration with Spring and Hibernate.

Does the chapter cover integration with Spring in detail with regards to the filter chains and request interceptors?

Regards,
Reghu
16 years ago