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
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
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
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
> 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
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
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
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();
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
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
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";>
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";>
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-
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
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
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
;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.
>
>
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.
>>
>
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
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.
> >
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
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
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
application. Can anybody help me how to do validation properly
in struts2 application?
--
Best Regards,
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
.
--
Best Regards,
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:
> >
> >
&
, 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
&
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
JO toolkit, than
which version? how i will integrate it with my application?
--
Best Regards,
Faraz 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
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)
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]
[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
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.
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
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:
>
>
>
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,
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
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:
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
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
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
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
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
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
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
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
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
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,
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?
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
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
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?
54 matches
Mail list logo