RE: RequestProcessor Issue

2009-01-10 Thread ECLIPSE + CVS
Hi Rajil, You are absolutely right.. We can extend ActionServlet and can solve this prob... But here for my project i am using Struts 1.3 and i am planning to use custom Requestprocessor class with processRoles method. If we are extending ActionServlet then we can easily forward one using mapp

[DispatchAction] no handler parameter

2009-01-10 Thread maisaki_ko
Hello My client reported that they have received this error only once. Request[/app/Keyword] does not contain handler parameter named 'command'. at org.apache.struts.actions.DispatchAction.unspecified(DispatchAction.java:222) They tried to replicate the error to find the cause by doing the exact

Re: confirm unsubscribe from user@struts.apache.org

2009-01-10 Thread Wes Wannemacher
On Wed, 2009-01-07 at 16:33 +0530, battipatisainagendra Bhavaniprasad wrote: > Hi, > I am prasad i am new to open source.I am interested in > participating in ASF (Any Project).Let me tell about me first.I am basically > test engineer with 5+ years of exp.I know "selenium tool" which is

Re: OGNL exceptions are swallowed by struts2

2009-01-10 Thread Musachy Barroso
I have a patch that will throw a runtime exception when either(iff 'struts.el.throwExceptionOnFailure' is true): * Property is not found * Method is not found * An exception is thrown from the expression evaluation It seems to work fairly well, but I am sure it will need more tweaking and lots of

Re: AJAX with JSON, dojo rpc (smd)

2009-01-10 Thread Ercan Kayaonu
Hi, I should probably listen your advice and first try to do without ajax. I was confusing lots of things. But maybe my last question on this topic, because i feel that it is almost working. I have UsersAjaxAction class in actions.admin package. This is the class: (I'm basically trying to do pagin

Re: [S2] Avoiding nested tags / Using Sitemesh properties within Struts 2 tags

2009-01-10 Thread Christian Priebe
Thanks Dave für your answer! That's what I thought of first :) But I haven't found a solution yet. Unfortunately there apparently isn't an accepted notation like name="dynInc" scope="request">property="paramName" />. The value can only be set by the value-attribute, right? I hope there is anot

Re: [S2] Avoiding nested tags / Using Sitemesh properties within Struts 2 tags

2009-01-10 Thread Dave Newton
Christian Priebe wrote: " /> won't work. Now my question: What alternative do I have to achieve what I want (if there is a possibility at all)? Is there a way to put the decorator properties into a JEE scope? If so, you can just use OGNL. Dave

Re: anybody get to work dojo in struts 2.0.14 or 2.1.2

2009-01-10 Thread Dave Newton
TomazM wrote: For now time I think that struts2 is no use in web 2.0 frameworks, it is shame. I use S2 w/ the included Dojo (although not much) in S2.0/S2.1, and, more frequently, with jQuery. I know of several people using YUI. Are you having a specific issue? Dave --

Re: AJAX with JSON, dojo rpc (smd)

2009-01-10 Thread Musachy Barroso
> a) Can I extend the first line as action="SMDAction" *method="list"*/> (save ,delete also) and NOT define any > interceptors? yes you can specify method in the url. You do not define interceptors in the url, but the action mapping. > b) If I have to define interceptors is it gonna be something

anybody get to work dojo in struts 2.0.14 or 2.1.2

2009-01-10 Thread TomazM
I think that feature as ajax in web 2.0 framework should be commitment. But in examples /struts2-showcase2.x doesn't work in no browser. For now time I think that struts2 is no use in web 2.0 frameworks, it is shame. - To unsub

Re: struts 2.1.5 listed on http://struts.apache.org/2.x/

2009-01-10 Thread hernan gonzalez
Another issue with the web site (probably it has been already noted) : The "Recent Threads" box, in prominent place in the main page http://struts.apache.org/ has not been updated in more than a year (!) Hernán J. González http://hjg.com.ar/ ---

[S2] Avoiding nested tags / Using Sitemesh properties within Struts 2 tags

2009-01-10 Thread Christian Priebe
Hey, I want to use a sitemesh property got by the tag within a Struts2 tag to make a special include dynamically controllable by the decorated content page. But as we all know a nested tag like " /> won't work. Now my question: What alternative do I have to achieve what I want (if there is a

RE: RequestProcessor Issue

2009-01-10 Thread Rajil
Hi Crazy; Well, I given example of extending ActionServlet class itself. You also can do this by extending RequestProcessor method. If you are using extension of ActionServlet you don't have to specify it in struts-config.xml file, instead you need to specify it in web.xml file. That is; Inste

RE: RequestProcessor Issue

2009-01-10 Thread ECLIPSE + CVS
Hi Rajil , First of all thanks a lot for your response... But one more thing i need to get clarify from you..Where shold i specify this newly created class(newly created ActionServlet) in our project . Some where in Struts-config.xml ? Thanks in Advance. Crazy worker. rajil wrote:

RE: RequestProcessor Issue

2009-01-10 Thread Rajil
Hi Crazy; I had same requirement in one of my project. And as I am using struts1.0 I have extended ActionServlet class to validate all requests. I have extended following method of ActionServlet.. protected ActionForward processActionPerform(Action arg0, ActionMapping arg1, ActionForm arg2, Ht

[S2] Avoiding nested tags / Using Sitemesh properties within Struts 2 tags

2009-01-10 Thread Christian Priebe
Hey, I want to use a sitemesh property obtained by the tag within a Struts2 tag to make a special include dynamically controllable by the decorated content page. But as we all know a nested tag like " /> won't work. Now my question: What alternative do I have to achieve what I want (if the

RequestProcessor Issue

2009-01-10 Thread ECLIPSE + CVS
Hi, I have a small query on Request Processor class. In my project i want to consider the user roles in some of the pages. For that i am planning to extend the RequestProcessor class to create one custom request processor and handle the role based things in the processRoles method. Here my prob