Re: Find best open source

2010-06-15 Thread ManiKanta G
Hi, Good initiative though :) ManiKanta G twitter.com/ManiKantaG On Sat, Jun 12, 2010 at 4:28 PM, findbestopensource < findbestopensou...@gmail.com> wrote: > Thanks for your feedback. > > Regards > Aditya > www.findbestopensource.com > > > On Fri, Jun 11, 2010

Re: Is there any way in Struts2 to handle session sharing accross browsers

2010-01-02 Thread ManiKanta G
Hi, May be Spring Security will do the stuff :) Regards, ManiKanta G twitter.com/ManiKantaG On Wed, Dec 30, 2009 at 6:43 PM, Gabriel Belingueres wrote: > Session data handling is the same for all frameworks based on the > Servlet and JSP specification, and AFAIK S2 doesn't provide

Re: Chain a global result to an action?

2009-09-10 Thread ManiKanta G
Hi, I m facing the same problem, and I've posted to list. Please follow for any updates: http://www.nabble.com/Problem-with-result-returning-from-interceptor-td25075486.html Regards, ManiKanta G twitter.com/manikantag On Fri, Sep 11, 2009 at 1:10 AM, Bill Bohnenberger wrote: >

Re: Problem with result returning from interceptor

2009-09-09 Thread ManiKanta G
-privilege /WEB-INF/content/error/excep.jsp /WEB-INF/content/error/error.jsp /WEB-INF/content/ngo-login.jsp Please help. Regards, ManiKanta G twitter.com/manikantag On Fri, Aug 21, 2009 at 7

Problem with result returning from interceptor

2009-08-21 Thread ManiKanta G
ible from any namespace. I m not getting what is the mistake I m doing. Is there any this kind of problem with conventions plugin? Some one please help. Regards, ManiKanta G twitter.com/manikantag

Re: Java template custom component problem

2009-07-28 Thread ManiKanta G
I m sorry, I missed out the jsp part: templateDir="com/nic/eawedan/components" label="Data > grid"> > Regards, ManiKanta G twitter.com/manikantag

Java template custom component problem

2009-07-28 Thread ManiKanta G
xwork2.interceptor.AliasInterceptor.intercept(AliasInterceptor.java:128) > > com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236) > > com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:176) > > com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236) > > org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:52) > > org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:468) > > org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:395) > Can someone please tell me the mistake I m doing or can point out some resource on writing custom java template components? Thanks, Regards, ManiKanta G twitter.com/manikantag

S2 REST xml de-serialization

2009-02-26 Thread ManiKanta G
should have fully qualified package name of the class. But in my case it is not possible as I m getting only (in fact as I m using Orbeon forms, the instance will be submitted to the service in the above format). Is it possible to alter that behavior? Thanks, ManiKanta G Twitter/manikantag

Re: S2 REST plugin URL mapping convention

2009-02-26 Thread ManiKanta G
se? confused! Thanks, ManiKanta G Twitter/manikantag <http://www.twitter.com/manikantag>

S2 REST plugin URL mapping convention

2009-02-26 Thread ManiKanta G
/applications (ex: Orbeon forms, on which I m currently working). Which convention is correct or at least meaningful? Thanks, ManiKanta G Twitter/manikantag <http://www.twitter.com/manikantag>

Re: [ANN] "Ajax on Struts 2" Training at ApacheCon Europe

2009-02-04 Thread ManiKanta G
Hi, Its good to hear... Is there any possibility of getting video of the session or the presentations.. this will be useful for the developers who are not able to come to the conference, at least for the developers in other countries... ManiKanta

Re: How to stop action getting called on click of refresh button

2009-01-31 Thread ManiKanta G
> > So is there any way to stop calling the action/ have one flag on action > Which determines this part of code in action need not be executed on click > on refresh button. > > For this I think Token and/or Token Session interceptors will do the magic. http://struts.apache.org/2.1.6/docs/token-in

Re: how to redirect error page to struts action

2009-01-27 Thread ManiKanta G
> > to which filter mapping? FilterDispatcher's mapping? > And could give sample snippet of web.xml using .action for http 404 error? > Well I got it... yes, for FilterDispatcher's mapping only the dispatcher config should be there. Reason: If no types are specified, the default option is RE

Re: how to redirect error page to struts action

2009-01-27 Thread ManiKanta G
> If you're using Struts 2, have you tried adding > > ERROR > > to the filter mapping? > to which filter mapping? FilterDispatcher's mapping? And could give sample snippet of web.xml using .action for http 404 error? ManiKanta

Re: Converting HTML content to PDF

2009-01-27 Thread ManiKanta G
> > i am trying to load page from url and write in to the pdf. > can please reviw my code and send the solution. > if u want any more information send me mail. > This is a bit interesting situation... I m eager to listen... feel free to share that will us too... though it is off topic I dont mind.

Re: Exception while upgrading from S 2.0.11 to 2.1.6

2009-01-27 Thread ManiKanta G
> > http://struts.apache.org/2.x/docs/file-upload.html > > Well I m not using any file upload... it is simple HelloWorld application. ManiKanta

Exception while upgrading from S 2.0.11 to 2.1.6

2009-01-27 Thread ManiKanta G
Hi, Today I've upgraded my application from 2.0.11 to 2.1.6, and I've added only the 5 basic libraries (commons-logging-1.0.4.jar, freemarker-2.3.13.jar, ognl-2.6.11.jar, struts2-core-2.1.6.jar, xwork-2.1.2.jar) required for S2.1.6 to be up and run. I encountered the below exception... (i've give

Re: [OT] Looking for a Team-Based Solution for Storing Account Credentials

2008-12-23 Thread ManiKanta G
what abt KeePass (http://keepass.info/). But I m not sure whether it supports multiple users... but it stores the passwords like mysql databases... we can switch from one password db to another... this is open source may be many of this list know this... If some know better program, I m happy

Re: Graphical Configuration Utility

2008-12-16 Thread ManiKanta G
well that is not the issue with the S2GUI jar... but with the Java itself... When the jar file having dependencies is in folder names '!' (with out quotes, only exclamatory sign) in windows, is is failing to open the main class. When I moved out the '!' folder, it is working fine. This is second

Re: alignment problem in struts2

2008-12-16 Thread ManiKanta G
> > It should appear in the same row.But the problem is here it is apperaing > in two rows. > Which i want in one row.And the same thing with the buttons cancel and > reset button should appear in same row. > If u've seen the S2 docs, S2 uses templates/themes while constructing the views. By

Re: Graphical Configuration Utility

2008-12-15 Thread ManiKanta G
It is good to hear some one started and done some thing reg gui console. Well I got the below error when I tried to run the Struts2GUI-0.1-alpha.jar from Struts2GUI-0.1-alfa-fulldist.zip java.lang.NullPointerException at struts2gui.Struts2GUIView.(Struts2GUIView.java:46) at struts

Re: Struts 2 - Conditional Validation

2008-12-13 Thread ManiKanta G
Hi, > Thanks for the reply. Checkbox always has a value of true/false. > Well this is not case with all the frameworks... Truly speaking browser will send only the field name and value to the server (along with some headers). But S2 deals in this way such that checkbox will have false if it was

Re: Struts 2 - Conditional Validation

2008-12-11 Thread ManiKanta G
> > (checkbox == true) and (textbox).equals("") > Unless u wrote ur custom validator dealig the 'checkbox == true' comparison, by default these type of comparisons will not work. You have to specify the check box's value (check box based which you want to perform conditional v

Re: S2 custom tag - Passing custom tag attribute into action class

2008-11-24 Thread ManiKanta G
Hi, Can I implement my tag logic in the UIBean or AbstractUITag sub classes? And as UIBean subclass will be provided with request and response references, I think I can implement my logic here. I mean is this a best practice to use these classes like this? ManiKanta

Re: Display the string line by line in s:textarea

2008-11-24 Thread ManiKanta G
Hi, For example: I am having, String str="I like struts; I like webworks"; > I want that string to be displayed as two lines in textarea. > try using HTML special char: , like String str="I like struts; I like webworks"; I found this some where. ManiKanta

Re: [HELP]: struts tag and OGNL

2008-11-23 Thread ManiKanta G
try this ManiKanta

Re: S2 custom tag - Passing custom tag attribute into action class

2008-11-23 Thread ManiKanta G
Hi, I think you have it backwards, or I don't understand what you are trying to > do. Depending on the value given for an attribute (say length) of my custom tag, I need to populate that many number of options in the select box (my custom tag will have one select box and few other controls).

S2 custom tag - Passing custom tag attribute into action class

2008-11-21 Thread ManiKanta G
Hi, I m struck with an issue with custom tag. And its kind of important for my project completion. I wrote a custom tag in S2 and of course related ftl file. It is just like wrapper around a select box and few other controls. And I need to populate the select box according to the attribute 'lengt

Re: File Upload into database

2008-10-20 Thread ManiKanta G
http://struts.apache.org/2.x/docs/how-do-we-upload-files.html have some info to start. ManiKanta

Re: Alternatives to DisplayTag

2008-10-13 Thread ManiKanta G
You could try JMesa (http://code.google.com/p/jmesa/), which is also a good one. ManiKanta On 10/10/08, Pat <[EMAIL PROTECTED]> wrote: > Hi All, > > I'm just wandering if anybody here has some experience with some 'grid > tags'. I've been always using DisplayTag - it's very good table tag with >

Re: Accessing UIBean property value in action class

2008-09-27 Thread ManiKanta G
I've a custom tag's attribute. Based on that value, an action class need to generate a random string (this string length will be specified as the custom tag' attribute) which will be put in the cookie. So as I need to generate the random string based on the length specified for the attribute, is t

Re: Accessing UIBean property value in action class

2008-09-26 Thread ManiKanta G
> > Put it as a hidden variable in the template??? Wont it work. > Thanks for the tip. But it doesn't suites my requirement. I need to specify that as the attribute. I've to access total of 6 attributes in the action class. Is there any other solution? ManiKanta

Accessing UIBean property value in action class

2008-09-25 Thread ManiKanta G
Hi, I've written a class that extends UIBean (for my custom tag) and defined few custom properties (which represents the attribute values of the custom tag). I want to access those attribute values in the requested action class. Can some one help me with this? Regards, ManiKanta

Writing custom S2 tag

2008-09-25 Thread ManiKanta G
Hi, I m trying to write a custom tag for S2. I've prepared taglib.tld file specifying the tag name & its attribute. I've taken size as one of its optional attribute. But I don't know what to write after this. When I looked into the source from S2 distribution and some other plugin sources, I've f

Re: Refreshing image with AJAX request

2008-09-25 Thread ManiKanta G
Thanks a lot Frank & Manos. I'll try right away the proposed ways. ManiKanta

Refreshing image with AJAX request

2008-09-25 Thread ManiKanta G
Hi, I m returning an image through custom result from action, and when the page launches the image is getting displayed correctly. But when I clicked the link to refresh, image is coming from action, but as I've specified the targets="" as the div, (instead of img tag) some garbage values are bei

Re: Getting acknowledgment for an AJAX request

2008-09-25 Thread ManiKanta G
Thanks. Will try this. ManiKanta

Re: Getting acknowledgment for an AJAX request

2008-09-24 Thread ManiKanta G
> As I said, the JSON plugin would be a good starting point. > > http://cwiki.apache.org/S2PLUGINS/json-plugin.html Thanks. I've experimented with the JSON and I m able to return a JSON string, but was not able to process that in the jsp. How I m going to process the JSON in jsp? Do I need to w

Re: Getting acknowledgment for an AJAX request

2008-09-24 Thread ManiKanta G
Thanks Laurie, If all you need to return is a number or true/false, simply write that to > the response in your action method and return null what do you mean writing to response? You mean using response.xxx methods? or some thing else? The bottom line is that, once you understand what it is yo

Re: Getting acknowledgment for an AJAX request

2008-09-23 Thread ManiKanta G
> Please check http://www.roseindia.net/ajax well I didn't find any thing. More over site speaks about regular AJAX there. Can some tell me how to do that in S2. I mean JSON or some other. Regards, ManiKanta

Re: Quest on actionInvocation

2008-09-23 Thread ManiKanta G
> in an interceptor is possible to know which action's method is called? You can get the requesting method name by using invocation.getProxy().getMethod(). Similarly you can get the action name: invocation.getProxy().getNamespace(). Of cource invocation.getInvocationContext().getName() will also

Getting acknowledgment for an AJAX request

2008-09-23 Thread ManiKanta G
Hi, I m practicing AJAX in S2. And in response to my previous mail, Dave replied > That's what Ajax does (loosely speaking): returns HTML fragments (or data as > JSON, XML, etc.). That's the point of it--so you don't have to return entire > pages and refresh the entire window. > > So, If I wan

Re: [S2] Ajax error

2008-09-10 Thread ManiKanta G
Thanks Dave. I'll Will do accordingly. Thanks, ManiKanta Dave Newton wrote: --- On Wed, 9/10/08, ManiKanta G wrote: Yes, from action class I m returning entire jsp page. Well, that would explain why you're seeing an entire page in the div, then. How can I return HTM

Re: [S2] Ajax error

2008-09-10 Thread ManiKanta G
t is the case I may have to create many small jsps, which may in the order of 100s. Or you talking about some thing else? And is there any way to substitute the with . I've tried with this, but only submit is making request to action. Thanks for resource links. Regards, ManiKanta

[S2] Ajax error

2008-09-10 Thread ManiKanta G
ime from server .. It is getting time from server asynchronously, but the is displaying the whole page again inside it. What am I doing wrong? Can some one tell or direct me to some good example about ajax usage in S2, when to and how to use listenTopic/notifyTopics Regar

Re: retrieve action name

2008-09-05 Thread ManiKanta G
If from action class or some other class, can use the below one. ActionContext.getContext().getName() Regards, ManiKanta ManiKanta G wrote: In what you want to get the action name? If from an interceptor, public String intercept(ActionInvocation actionInvocation) throws

Re: retrieve action name

2008-09-05 Thread ManiKanta G
In what you want to get the action name? If from an interceptor, public String intercept(ActionInvocation actionInvocation) throws Exception { /* Requested action name */ String requestedAction = actionInvocation.getInvocationContext().getName(); // other

Re: [S2] Adding objects to application context at the application startup

2008-09-04 Thread ManiKanta G
Hi Dave, It is very generous of you. I've implemented this just before. I forgot to reply again. Thanks any way. Regards, ManiKanta G Dave Newton wrote: --- On Thu, 9/4/08, ManiKanta G wrote: How to add an object at the Struts2 based application startup? And what is the best w

[S2] Adding objects to application context at the application startup

2008-09-04 Thread ManiKanta G
Hi, How to add an object at the Struts2 based application startup? And what is the best way to process some logic while S2 application startup, like parsing XML and storing it in the application context for further processing in the later actions? Thanks in advance. Regards, ManiKanta G

Re: [OT] Re: How to use Jasper plugin with multiple reports

2008-08-22 Thread ManiKanta G
Thanks Dave. I'll see that. Regards, ManiKanta Dave Newton wrote: --- On Fri, 8/22/08, ManiKanta G wrote: Please see the JasperReport docs for how to deal with that. Workarounds include making the field very small but making it "expand to size of largest element" and

Re: How to use Jasper plugin with multiple reports

2008-08-22 Thread ManiKanta G
tatic text, if adjusted with in page boundaries, the text is being cropped and is displaying only some portion. Isn't possible to include two .jasper's in location param, like comma separated or by some other means? Regards, ManiKanta Dave Newton wrote: --- On Fri, 8/22/08, ManiKant

How to use Jasper plugin with multiple reports

2008-08-22 Thread ManiKanta G
full page static text. When I googled for this, I found this can be implemented using 2 or more jasper reports and merging them as a single final report. Can any one tell me how to merge two jasper reports usign S2 Jasper plugin? Thanks in advance, Regards, ManiKanta G ** DISCLAIMER

Re: is this right?

2008-08-20 Thread ManiKanta G
intended recipient is prohibited. If you have received this message in error, please notify the sender immediately by return e-mail and securely discard this message. -Original Message- From: ManiKanta G [mailto:[EMAIL PROTECTED] Sent: Wednesday

Re: is this right?

2008-08-20 Thread ManiKanta G
intended recipient is prohibited. If you have received this message in error, please notify the sender immediately by return e-mail and securely discard this message. -Original Message- From: ManiKanta G [mailto:[EMAIL PROTECTED] Sent: Wednesday

Re: is this right?

2008-08-20 Thread ManiKanta G
e in error, please notify the sender immediately by return e-mail and securely discard this message. -Original Message- From: ManiKanta G [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 20, 2008 12:18 PM To: Struts Users Mailing List Subject: Re:

Re: is this right?

2008-08-19 Thread ManiKanta G
Hi, Yeah, it is correct. And as of Struts2.1.x all the hyphenated names are converted to camelCase words... Better use redirectAction instead redirect-action. Regards, ManiKanta G Muralidhar Y wrote: Hi Friends, I want to redirect to an action and at the same time I want to set one of

Re: Redirect after stream result

2008-07-31 Thread ManiKanta G
ectURL(url); httpServletResponse.sendRedirect(encoded_url); Is there a reason why you would'nt want to use Struts prescribed method of that is return a valid ActionForward via findMapping from execute() method actionMapping.findForward("error") ? Martin- - Original Message - Fro

Re: Redirect after stream result

2008-07-30 Thread ManiKanta G
Thanks for your help. Regards, ManiKanta Laurie Harper wrote: ManiKanta G wrote: Hi, How can I redirect to another page after stream result. For example redirecting to another page saying successfully downloaded the file or adding some action message and redirecting to the same page. You

Redirect after stream result

2008-07-30 Thread ManiKanta G
Hi, How can I redirect to another page after stream result. For example redirecting to another page saying successfully downloaded the file or adding some action message and redirecting to the same page. Thanks in advance Regards, ManiKanta G ** DISCLAIMER ** Information

Re: [s2] Do I need to define the struts2 filter?

2008-07-29 Thread ManiKanta G
Hi, You always need to include S2 FilterDispatcher as it is the front controller in S2. In those tiles example the authors assume that the reader is having basic usage knowledge of S2. Thats why they might have excluded the S2 filter config. for ex, consider this... struts2

Re: and tag

2008-07-22 Thread ManiKanta G
Hi, I think 'sort' value is available from action class. If yes, when it is directly available from action, you do not need to use . U can use the value from action itself. ManiKanta Kibo wrote: Hi ManiKanta G Thank for you replay. It help me. But, the problem was in wr

Re: and tag

2008-07-22 Thread ManiKanta G
is like out.println(). It is useful for printing (outputs) some value, but not to store a value. To store a value in to the value stack (coz this is S2), you may use where the name attribute indicates the name of the variable and the value indicates the value to be store. You may use anothe

Re: disabling textfield....problem

2008-07-21 Thread ManiKanta G
According to html, browser will not send the disabled fields to the server along with the request headers. So you've to send that value in the form of a hidden value. Regards, ManiKanta Narayana S wrote: Hi, i have a text field, with disabled property set to TRUE, and when i coming bac

Re: DateTimePicker

2008-07-15 Thread ManiKanta G
I would suggest Struts2JSCalendar plug-in, which has lot of features,which is working fine for me. http://code.google.com/p/struts2jscalendarplugin/ Regards, ManiKanta Pablo Vázquez Blázquez wrote: Hello, I have several problems with DateTimePicker widget used for selecting times (type="time

Re: [S2] downloadaction class

2008-07-15 Thread ManiKanta G
Thanks pal, it's been very kind of you: but is the name of the file hardcoded in the conf file?!? I'll try something ASAP and, eventually, abuse one more time of your kindness (let's hope not!! ;-))... My best. Riccardo - Messaggio originale - Da: ManiKanta G <[

Re: [S2] downloadaction class

2008-07-15 Thread ManiKanta G
Yes, it is even pretty simple in S2. You can use result of type 'stream' for that action configuration. Use a InputStream to read the content you want to provide as the download, and specify the same name in the result config, as below text/csv

Re: Customizing CSS

2008-07-10 Thread ManiKanta G
In which theme u want to implement? If it is in S2, u can use DisplayTag (displaytag.sourceforge.net), which will look almost all needs of tabular reports or form (including paging, sorting). If you want to implement using tag, then use rowStatus of the iterator and using the modulo (%) div

Re: Action method specific custom validation

2008-07-09 Thread ManiKanta G
Thanks... I'll try right away... Regards, ManiKanta Gabriel Belingueres wrote: Yes. To form the validation method name just concatenate "validate" with your action's method name. 2008/7/9 ManiKanta G <[EMAIL PROTECTED]>: Hi, I've three execute() kind o

Action method specific custom validation

2008-07-09 Thread ManiKanta G
e are provision like validateMethodsName() kind of thing in S2? or some thing else? Thanks in advance, Regards, ManiKanta G ** DISCLAIMER ** Information contained and transmitted by this E-MAIL is proprietary to Sify Limited and is intended for use only by the individual or e

Re: Struts1 and Struts2 mailing lists separation ?

2008-07-07 Thread ManiKanta G
+1 me too Alessio Mereu wrote: +1 for me too 2008/7/7 Marc Logemann <[EMAIL PROTECTED]>: +1 for the suggestion Marc On Mon, 7 Jul 2008 12:53:14 +0200 (MEST), "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: Could Struts project admins separate Struts1 and Struts2 users mailing lists?

Re: validation problem

2008-06-25 Thread ManiKanta G
Hi, Even I've this problem... Here is my requirement I've 3 fields. On successful validation of 1st field ONLY the 2nd field should be validated, and only with the successful validation of second, then only the 3rd field should be validated against some validation. I did this by using fi

Re: validation problem

2008-06-25 Thread ManiKanta G
rror). U can get more info regarding validations from Struts2 documentation. Feel free to ask if u've need any clarification. Regards, ManiKanta G ** DISCLAIMER ** Information contained and transmitted by this E-MAIL is proprietary to Sify Limited and is intended for use on