Google Web Toolkit with Struts 2?

2014-01-15 Thread Ali Akhtar
I can't find too much info on this topic online. If there's anyone using GWT with struts 2 successfully, can you share some details on your set up / configuration? Specifically, are you able to use GWT-RPC services, or do you have to do JSON encoding / decoding? The documentation I've found for G

Re: Struts seems to reset the action instance while its still in interceptor

2013-11-04 Thread Ali Akhtar
that each db connection put there will only be shared by the instance of the Action for that particular request? Thanks. On Mon, Nov 4, 2013 at 3:10 PM, Lukasz Lenart wrote: > 2013/11/4 Ali Akhtar : > > no, pure struts. The class that it extends from is included in the same > > p

Re: Struts seems to reset the action instance while its still in interceptor

2013-11-04 Thread Ali Akhtar
no, pure struts. The class that it extends from is included in the same package. Not sure why it'd look like a singleton On Mon, Nov 4, 2013 at 12:07 PM, Lukasz Lenart wrote: > 2013/11/4 Ali Akhtar : > > For me, this gives this output: > > > > Original: alia.stru

Re: Struts seems to reset the action instance while its still in interceptor

2013-11-03 Thread Ali Akhtar
lia.strutsTest.actions.ajax.FooBar@1318c29 Original: alia.strutsTest.actions.ajax.FooBar@14d03c1, now: alia.strutsTest.actions.ajax.FooBar@1ef284c Original: alia.strutsTest.actions.ajax.FooBar@14d03c1, now: alia.strutsTest.actions.ajax.FooBar@3eaa0f Please advise if this is the correct / expected behavior? On M

Re: Struts seems to reset the action instance while its still in interceptor

2013-11-03 Thread Ali Akhtar
> MG>2 difference requests..2 different action class signatures > > > > > > On Mon, Nov 4, 2013 at 2:18 AM, Dave Newton > wrote: > > > > > You are incorrect. Actions are instantiated per-request. Other than > that, > > > you will need to provide a w

Re: Struts seems to reset the action instance while its still in interceptor

2013-11-03 Thread Ali Akhtar
One more thing, in my actual code, I am doing ai.invokeActionOnly(), rather than ai.invoke() . On Mon, Nov 4, 2013 at 2:49 AM, Ali Akhtar wrote: > Hopefully I am incorrect, however the following lines in my interceptor's > intercept method: > > action = ai.getActio

Re: Struts seems to reset the action instance while its still in interceptor

2013-11-03 Thread Ali Akhtar
ed to provide a working example that exhibits the incorrect > behavior. > On Nov 3, 2013 12:57 PM, "Ali Akhtar" wrote: > > > Hello, > > > > It seems that if I have two concurrent requests being made to the same > > action, e.g mysite.com/fooAction, then

Struts seems to reset the action instance while its still in interceptor

2013-11-03 Thread Ali Akhtar
Hello, It seems that if I have two concurrent requests being made to the same action, e.g mysite.com/fooAction, then struts resets the first action's instance while that instance may still be in the interceptor. E.g, if I have the following code in my interceptor: action = ai.getAction();

Re: Hi!

2013-02-09 Thread sameer ali
this is spam On Sat, Feb 9, 2013 at 11:54 PM, wrote: > What is this link? > Sent from my BlackBerry® smartphone > > -Original Message- > From: kishore1...@yahoo.com > Date: Sat, 9 Feb 2013 06:18:14 > To: ; ; < > partha.r...@tcs.com> > Reply-To: "Struts Users Mailing List" > Subject: Re

Re: Struts 1.3 Tiles not working

2013-01-14 Thread sameer ali
Il'l keep that in mind the next time. Sameer On Tue, Jan 15, 2013 at 5:19 AM, Dave Newton wrote: > Unrelated, but go ahead and take out all those comments that don't add > anything to the question next time. Some of us read on mobile devices and > useless vertical whitespace generally ends up

Fwd: Struts 1.3 Tiles not working

2013-01-14 Thread sameer ali
Hi, I am Unable to get tiles to work in my application . I am using Struts 1.3 , stuts-tiles-1.3.10.jar is in the lib folder I am building this application on top of struts-blank.war The struts-config.xml http://struts.apache.org/dtds/struts-config_1_3.dtd";>

Struts 1.3 Tiles not working

2013-01-12 Thread sameer ali
Hi, I am Unable to get tiles to work in my application . I am using Struts 1.3 , stuts-tiles-1.3.10.jar is in the lib folder I am building this application on top of struts-blank.war The struts-config.xml http://struts.apache.org/dtds/struts-config_1_3.dtd";>

Running Struts 2 Project in WebSphere Application Serve 7.0.0.19

2012-04-02 Thread ALI YILDIRIM
Hi , İ just wanted to run base struts 2 HelloWolrd example in WebSphere Application Server 7,but no succeed and i am facing a problem as below. İ tried some solutions like the one this link : http://technicalmumbojumbo.wordpress.com/2010/05/15/struts2-websphere-application-server-was-web-server-

Struts tags browser support

2008-12-19 Thread Mir Ali
Hi All, What browsers do struts2 tag libraries support? IE 6 IE 7 IE 8 Firefox 2.x Firefox 3.x and What HTML or XHTML standards do they support? Thanks, Mir

Re: Please help! Validation Errors

2008-12-15 Thread Faraz Ali
08 09:47:33 +0800 > > From: farazali.fa...@gmail.com > > To: user@struts.apache.org > > Subject: Re: Please help! Validation Errors > > > > Any idea? > > > > On Fri, Dec 12, 2008 at 6:04 PM, Faraz Ali > wrote: > > > > > Hi Andy

Re: Please help! Validation Errors

2008-12-14 Thread Faraz Ali
Any idea? On Fri, Dec 12, 2008 at 6:04 PM, Faraz Ali wrote: > Hi Andy, > > Please take a look at the code snippet and suggest. > > *MyAction.java* > public class MyAction extends ActionSupport { > //getAction > //setAction > public String execute() throws E

Re: Help with S:Select

2008-12-12 Thread Faraz Ali
;name" > /> > > > When you select the multiple values in the select box and submit the form, > variable selectedIds will hold the selected ids as "1,2,14,15". After > obtaining these values, you can process them further as per your business > logic. > >

Re: Please help! Validation Errors

2008-12-12 Thread Faraz Ali
uld you post your struts.xml, > and the action? > > Andy. > > On 10 Dec 2008, at 17:16, Faraz Ali wrote: > > Yes Andy, you are right. I added the , but why it is >> executing automatically. It is executed automatically when i start my >> application. >> >

Re: Help with S:Select

2008-12-11 Thread Faraz Ali
t; For additional commands, e-mail: user-h...@struts.apache.org > > > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Best Regards, Faraz Ali

Re: Problem with

2008-12-10 Thread Faraz Ali
he payoff is huge. > > http://struts.apache.org/2.x/docs/guides.html > > --- On Wed, 12/10/08, Faraz Ali wrote: > > My action class name is MyAction. I define two string > > variables varA and varB and added its setter and getters. > > I added MyAction in struts.xml. > >

Re: Please help! Validation Errors

2008-12-10 Thread Faraz Ali
i mean when i access my application's main page. when i hit http://localhost:8080/mywebapp. On Thu, Dec 11, 2008 at 1:20 AM, Dave Newton <[EMAIL PROTECTED]> wrote: > --- On Wed, 12/10/08, Faraz Ali wrote: > > Yes Andy, you are right. I added the , but why it > > is e

Problem with

2008-12-10 Thread Faraz Ali
I am having many problems while running some very common tasks in a struts2 web application. I just to create an anchor tag which will call some action. I also want to pass some parameters. Below is what i am trying to do. My action class name is MyAction. I define two string variables varA and va

Re: Please help! Validation Errors

2008-12-10 Thread Faraz Ali
source) defined in the input > result element. This is nearly always the JSP containing the form you > submitted from. > > You have to have a because Struts has to know where > to redirect in the event of a validation error. > > Not sure what you mean by the last bit of your questi

Please help! Validation Errors

2008-12-09 Thread Faraz Ali
application. Can anybody help me how to do validation properly in struts2 application? -- Best Regards, Faraz Ali

Accessing constants and enums

2008-12-03 Thread Faraz Ali
Hi All, I have defined few constants in interface and enum. Now i want to access these in my jsp. How to do this? Because when i am trying to do <%=, its saying that expressions are not allowed. How to do this in very struts2 style? -- Best Regards, Faraz Ali

Adding anchor link in treenodes

2008-12-03 Thread Faraz Ali
. -- Best Regards, Faraz Ali

Re: DOJO in struts2

2008-12-03 Thread Faraz Ali
Yes its working now. Thank you very much. On Tue, Dec 2, 2008 at 4:11 PM, Lukasz Lenart <[EMAIL PROTECTED]>wrote: > 2008/12/2 Faraz Ali <[EMAIL PROTECTED]>: > > My struts version is struts 2.0.11.2. > > > > Below is my decorators.xml file: > > > > &

Re: DOJO in struts2

2008-12-01 Thread Faraz Ali
, Dec 2, 2008 at 12:24 AM, Lukasz Lenart <[EMAIL PROTECTED] > wrote: > 2008/12/1 Faraz Ali <[EMAIL PROTECTED]>: > > yes, i added this. > > Struts 2 version? > How did you map filter? > > > Regards &

Re: DOJO in struts2

2008-12-01 Thread Faraz Ali
yes, i added this. On Mon, Dec 1, 2008 at 7:23 PM, Lukasz Lenart <[EMAIL PROTECTED]>wrote: > 2008/12/1 Faraz Ali <[EMAIL PROTECTED]>: > > Whenever i used any of the struts2 UI tag (with theme="ajax"), nothing > is > > rendered on the browser. And when

DOJO in struts2

2008-12-01 Thread Faraz Ali
JO toolkit, than which version? how i will integrate it with my application? -- Best Regards, Faraz Ali

hi

2007-05-28 Thread Mansoor K.S. Ali
Dear all, I have problem is radio button. I have to put the value in the radio button using bean: write. It s not working I am trying in this way. " /> Simply it s replacing the tag itself. How to rectify. Plz help me in this regard. Regards, Mansoor

Recovery of data whith MySql

2006-12-19 Thread Nabil ALI-MOUSSA
Hi all, I make a request in my dB MySql with a variable "date" : PersistenceManager pm=JDOFactory.getInstance().getPM(); pm.currentTransaction().begin(); Collection c = (Collection) pm.newQuery(SuiviTraitement.class, "'date'=='"+date+"'").execute(); //(-mm-dd)

to list contents repertoire

2006-12-14 Thread Nabil ALI-MOUSSA
Hi, I would like to reach a repertory and to list his contents. how can I make. Thank you. Nam. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Formatting numbers in text field

2006-12-11 Thread Nabil ALI-MOUSSA
[EMAIL PROTECTED] a e'crit : Have you tried the JSTL tag? -Original Message- From: chamal desilva [mailto:[EMAIL PROTECTED] Sent: Thursday, December 07, 2006 3:35 AM To: Struts Users Mailing List Subject: RE: Formatting numbers in text field Thanks Richard But if do it uing get

to format a date

2006-12-07 Thread Nabil ALI-MOUSSA
Hi, I have data dates that I would like to transform into format dates in my page JSP . there is my code JSP : Date de naissance value="dateNaissancePorteur" /> somebody can help me, please, thank you. nam.

AW: Re: AW: Object field validation

2006-07-05 Thread Halgurt Mustafa Ali
in' a String instead of an integer; or use the Integer wrapper-type. If you need to be able to re-display invalid input, using String-type properties is the only solution. An integer (or Integer) property simply can't hold a value of 'm' for redisplay. L. Halgurt Mustafa A

AW: Object field validation

2006-07-04 Thread Halgurt Mustafa Ali
ur form is returining null - so you need to ensure that the taskDefinition property is intialized first. Niall On 7/3/06, Halgurt Mustafa Ali <[EMAIL PROTECTED]> wrote: > Hallo all, > > I posted yasterday the below message. I changed my formset to: > > >

AW: Object field validation

2006-07-03 Thread Halgurt Mustafa Ali
his type. Is there any way to do such a validation? I appreciate your help :-) thanks a lot, Halgurt -Ursprüngliche Nachricht- Von: Halgurt Mustafa Ali Gesendet: Freitag, 30. Juni 2006 13:04 An: Struts Users Mailing List Betreff: AW: Object field validation Hi, Sorry, I tried that also,

AW: Object field validation

2006-06-30 Thread Halgurt Mustafa Ali
Users Mailing List Betreff: Re: Object field validation Try Hope this may help. Halgurt Mustafa Ali wrote: > Hi all, > > I have a form called TASKMANAGERform and in this form I have a fie

Object field validation

2006-06-30 Thread Halgurt Mustafa Ali
Hi all, I have a form called TASKMANAGERform and in this form I have a field called taskDefinition of type TaskDefinition. TaskDefinition has a field domain of type Integer. Is it possible to validate this field? I meen to validate taskDefinition.domain? If aes, in which way? I have tried this:

AW: Date Validation on the Clients side

2006-06-27 Thread Halgurt Mustafa Ali
hy it was done that way. On 6/27/06, Halgurt Mustafa Ali <[EMAIL PROTECTED]> wrote: > Hi, > > Ok, that means client side date validation is still not perfect. The point > is, in a big application it is very usefull to have client side validation, > even to unburden th

AW: Date Validation on the Clients side

2006-06-27 Thread Halgurt Mustafa Ali
de. Server side validation should work, because that makes use of SimpleDateFormat. So unless your pattern is being cut off somewhere I would expect that to do the trick. For client side you probably will have to write the js code to check for minutes and seconds. mvg, Jasper On 6/26/06, Halgurt M

AW: Date Validation on the Clients side

2006-06-26 Thread Halgurt Mustafa Ali
Ali <[EMAIL PROTECTED]> wrote: > Hello All, > > I posted today the message below, unfortunately without any success. May be > can somebody tell me if it is at all possible to validate date values like > "dd.MM. HH:mm" on the clients side. I really appreciate yo

Date Validation on the Clients side

2006-06-26 Thread Halgurt Mustafa Ali
s, Halgurt -Ursprüngliche Nachricht- Von: Halgurt Mustafa Ali Gesendet: Montag, 26. Juni 2006 13:04 An: user@struts.apache.org Betreff: Date Validation like "dd.MM. HH:mm" Hello all, Well I am trying to validate a field on the clients side. The field schould be validatet as a date in this

Date Validation like "dd.MM.yyyy HH:mm"

2006-06-26 Thread Halgurt Mustafa Ali
Hello all, Well I am trying to validate a field on the clients side. The field schould be validatet as a date in this format: "dd.MM. HH:mm" but I saw that the time would not be considerd, although I initialize datePattern in validation.xml with this value "dd.MM. HH:mm", the date will

Re: [OT] PropertyEditor

2006-03-16 Thread Mujahid Ali
Yep thats what I ended up doing. The code (Locale)ExpressionEvaluatorManager.evaluate("locale", expr,Locale.class, this, pageContext) was working against standard.jar (1.0).So just not sure why this is breaking all of a sudden. Thanks, Mujahid Frank W. Zammetti wrote: I'm not sure

[OT] PropertyEditor

2006-03-16 Thread Mujahid Ali
I have a custom tag in which I am evaluating an attribute as follow: (Locale)ExpressionEvaluatorManager.evaluate("locale", expr, Locale.class, this, pageContext) But I get an error: javax.servlet.jsp.JspException: An error occurred while evaluating custom action attribute "locale" with value

Re: Struts-el and Weblogic 9.1

2006-03-14 Thread Mujahid Ali
Weblogic has an option where you can force it load classes from the WEB-INF directory. I did that to eliminate any potential class loading conflicts... Still the same issue. I found a known issue http://edocs.bea.com/wls/docs91/issues/known_resolved.html#1056681 [CR210907] : Netui databind

Re: Struts-el and Weblogic 9.1

2006-03-14 Thread Mujahid Ali
When you say Weblogic is provdinig JSTL 1.1 version, you are reffering to standard.jar ? I don't have anything deployed except the example war. So I am not sure about the conflicts. Thanks, Mujahid Wendy Smoak wrote: On 3/14/06, Mujahid Ali <[EMAIL PROTECTED]> wrote: 9

Re: Struts-el and Weblogic 9.1

2006-03-14 Thread Mujahid Ali
rvletRequestImpl.java:1310) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207) at weblogic.work.ExecuteThread.run(ExecuteThread.java:179) If you need any more info, please let me know. I really want to find a way to resolve this... Thanks, Mujahid Wendy Smoak wrote: On 3/14/06,

Struts-el and Weblogic 9.1

2006-03-14 Thread Mujahid Ali
Hey Guys, I am using some tags from the struts-el package and they used to work fine under weblogic 8.1; After switching over to weblogic 9.1, it seems that the BeanInfo class for a given tan is never called, so the jstl expression ${...} is never evaluated. Has anyone seen similar problems?

weird exception every once in a while!!

2004-05-30 Thread ali
every once in a while when i try to Run my application in JBuilder X i get the following exception. (i just stop the Run and start it again and everything is ok). i am afraid this bug will frighten my customer while running the app: E:\JBuilderX\jdk1.4\bin\javaw - classpath "E:\JBuilderX\thirdp

taglibs bitter for web designers!!!

2004-05-07 Thread ali
the first time i used taglibs like our web designer in the company came to me with a face red as tomato and told me that she has trouble with them, because she uses dreamweaver for web development and the visual designer dont recognize these taglibs. do you have any solution for this? thanks

problem sending data to velocity view

2004-04-13 Thread ali
i use JBuilderX visual designer for struts. my problem is to send an array of objects to the view layer(which is velocity). i have tried many approaches like passing by request parameter, using struts-velocity tools but i failed to get them in the view. anybody knows any solution?