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
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
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:
>
-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
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
I m sorry, I missed out the jsp part:
templateDir="com/nic/eawedan/components" label="Data
> grid">
>
Regards,
ManiKanta G
twitter.com/manikantag
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
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
se? confused!
Thanks,
ManiKanta G
Twitter/manikantag <http://www.twitter.com/manikantag>
/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>
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
>
> 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
>
> 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
> 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
>
> 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.
>
> http://struts.apache.org/2.x/docs/file-upload.html
>
>
Well I m not using any file upload... it is simple HelloWorld application.
ManiKanta
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
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
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
>
> 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
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
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
>
>
(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
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
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
try this
ManiKanta
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).
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
http://struts.apache.org/2.x/docs/how-do-we-upload-files.html
have some info to start.
ManiKanta
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
>
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
>
> 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
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
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
Thanks a lot Frank & Manos.
I'll try right away the proposed ways.
ManiKanta
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
Thanks.
Will try this.
ManiKanta
> 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
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
> 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
> 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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:
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
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
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
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
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
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
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
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
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
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 <[
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
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
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
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
+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?
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
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
72 matches
Mail list logo