Hi Chris,
i'm using S1 and S2 with jdk 1.6,
but i don't know what's the story with Weblogic 10.3,
then again if weblogic 10.3 runs on jdk1.6 it should work.
Best for You would be to try it out - simply.
Best greetings,
Paweł Wielgus.
2008/12/18 Chris_W christian.wu...@deutsche-leasing.com:
I
Hi!
With Struts1, i am used to getting runtime exceptions when for example
html:text name=whatever was used and when the underlying form class
did not offer a getter or setter for the property whatever. Now with
Struts2 (V2.0.14), i'm using s:textfield name=whatever and i'm
observing that
Hi James,
is it possible for you to use the s:component.. tag??
I think that is exactly what you are searching for.
As an example:
s:component template=menuEntry.jsp theme=foo
s:param name=menuNamedowntime/s:param
s:param name=menuLinkhttp://www.mylink.org/s:param
Hi,
I am working on a application where i would convert the code developed with
struts1.2 to struts2.1
In my struts1.2 application ActionErrors were replaced with addActionMessage or
addActionError methods in struts2.1
But what method should i use in struts2.1 if i have to replace saveErrors
This was brought up some time ago by Matt Raible--searching the archive may
provide more helpful information. To be honest I don't really remember what, if
any, the resolution was.
If it hasn't been dealt with I'll probably look into it now that my time is
somewhat more available.
Dave
---
--- On Thu, 12/18/08, taj uddin tajuddi...@yahoo.com wrote:
I am working on a application where i would convert the
code developed with struts1.2 to struts2.1
In my struts1.2 application ActionErrors were replaced with
addActionMessage or addActionError methods in struts2.1
But what method
Hi,
I have a Action class than extends ActionSupport and implements ModelDriven
and Preparable.
Into prepare method, I put in request scope a class bean. If in my jsp (into
a form) I can recover the property's value with a s:textfield, but how to
recover this value without s:textfield?
Ej.
s:property value=WHAT_I_HAVE_TO_PUT_HERE/
Zanks
Assuming you expose the bean with a property on your action:
s:property value=propertyName/
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional
Thanks Mr.Newton
--- On Thu, 12/18/08, Dave Newton newton.d...@yahoo.com wrote:
From: Dave Newton newton.d...@yahoo.com
Subject: Re: what is the repalcement for saveErrors method?
To: Struts Users Mailing List user@struts.apache.org
Date: Thursday, December 18, 2008, 6:42 AM
--- On Thu,
Into prepare method, I put in request scope a class bean.
If in my jsp (into form) I can recover the property's value
with a s:textfield, but how to recover this value without
s:textfield?
s:property value=WHAT_I_HAVE_TO_PUT_HERE/
As Nils said the Struts 2 way would be to expose the bean
I would like not user Java scriptlet in my JSP. Only tags.
have you any examples?
2008/12/18 Dave Newton newton.d...@yahoo.com
Into prepare method, I put in request scope a class bean.
If in my jsp (into form) I can recover the property's value
with a s:textfield, but how to recover this
JSP EL isn't a scriptlet.
--- On Thu, 12/18/08, Juanjo Cuadrado jjcuadr...@gmail.com wrote:
From: Juanjo Cuadrado jjcuadr...@gmail.com
Subject: Re: Recover property's value of bean from jsp
To: Struts Users Mailing List user@struts.apache.org
Date: Thursday, December 18, 2008, 10:04 AM
Sorry, I don't knew it. But, can you give me any example, please? Or, any
URL with info about this.
2008/12/18 Dave Newton newton.d...@yahoo.com
JSP EL isn't a scriptlet.
--- On Thu, 12/18/08, Juanjo Cuadrado jjcuadr...@gmail.com wrote:
From: Juanjo Cuadrado jjcuadr...@gmail.com
Subject:
Hello,
i wanna call javascript from an action class,
any one has an example?
Thanks
Regards
Elyes.
This may be trivial, in which case I apologise in advance.
I have an application that has several action classes (20 or so), each of
which belongs conceptually to a *group* of actions. I would like to be able
to extract lists of Actions by group from within a JSP/Action in order to
present them
2008/12/18 elyes sallem elyes.sal...@gmail.com:
Hello,
i wanna call javascript from an action class,
any one has an example?
DWR 2.0 should have such functionality.
Regards
--
Lukasz
http://www.lenart.org.pl/
-
To
If what you want is to be able to access the configured actions, look
at the config browser plugin, which does that, it will get you started
in the right direction.
musachy
On Thu, Dec 18, 2008 at 10:32 AM, Andy Law andy@roslin.ed.ac.uk wrote:
This may be trivial, in which case I apologise
in fact , i wanna display a message from an action
i won't use joptionPane
is there an alternative, for a web application
2008/12/18 Lukasz Lenart lukasz.len...@googlemail.com
2008/12/18 elyes sallem elyes.sal...@gmail.com:
Hello,
i wanna call javascript from an action class,
any one has
I would be a lot easier to help if you gave some examples what you're
actually trying to do. Invoking javascript from the action doesn't
make much sense. Please provide som more information.
Nils-H
On Thu, Dec 18, 2008 at 4:27 PM, elyes sallem elyes.sal...@gmail.com wrote:
Hello,
i wanna call
i wanna display a pop up information
2008/12/18 Nils-Helge Garli Hegvik nil...@gmail.com
I would be a lot easier to help if you gave some examples what you're
actually trying to do. Invoking javascript from the action doesn't
make much sense. Please provide som more information.
Nils-H
On
Usually, you do those things with javascript in the browser. I suggest
that you google for a web application/javascript tutorial.
Nils-H
On Thu, Dec 18, 2008 at 4:38 PM, elyes sallem elyes.sal...@gmail.com wrote:
in fact , i wanna display a message from an action
i won't use joptionPane
is
As mentioned, google is a good source for information:
http://www.google.com/search?q=javascript+tutorial
http://www.google.com/search?q=javascript+popup
Nils-H
On Thu, Dec 18, 2008 at 4:40 PM, elyes sallem elyes.sal...@gmail.com wrote:
i wanna display a pop up information
2008/12/18
dou you understand my question first?,
i don't want to display a confirmation message from a javascript
i wanna display it from an action, so from java class
i wanna make query in database
depending on the result of the query,
i will display the pop up
and second time, depending on the user is
On Thu, Dec 18, 2008 at 5:04 PM, elyes sallem elyes.sal...@gmail.com wrote:
dou you understand my question first?,
Yes.
Nils-H
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail:
i'm not sure
Elyes
2008/12/18 Nils-Helge Garli Hegvik nil...@gmail.com
On Thu, Dec 18, 2008 at 5:04 PM, elyes sallem elyes.sal...@gmail.com
wrote:
dou you understand my question first?,
Yes.
Nils-H
-
To unsubscribe,
2008/12/18 elyes sallem elyes.sal...@gmail.com:
i'm not sure
Yes he did
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
those who are interested :
example to call javascript via java :
http://java.sun.com/developer/technicalArticles/J2SE/Desktop/scripting/
Regards
Elyes
-- Forwarded message --
From: elyes sallem elyes.sal...@gmail.com
Date: 2008/12/18
Subject: call javascript from an action class
-- Forwarded message --
From: elyes sallem elyes.sal...@gmail.com
Date: 2008/12/18
Subject: Fwd: call javascript from an action class
To: Struts Users Mailing List user@struts.apache.org
those who are interested :
example to call javascript via java :
2008/12/18 elyes sallem elyes.sal...@gmail.com:
those who are interested :
example to call javascript via java :
http://java.sun.com/developer/technicalArticles/J2SE/Desktop/scripting/
Eh... I suppose that you don't understand your own questions :-D
This is an article about using of Javascript
my question was :
i wanna call javascript from an action class,
any one has an example?
so if an action is a html for you, sorry, but now i'm too busy to explain to
you the difference
have a nice day ...
Elyes
2008/12/18 Antonio antonio.petre...@gmail.com
2008/12/18 elyes sallem
2008/12/18 elyes sallem elyes.sal...@gmail.com:
my question was :
i wanna call javascript from an action class,
any one has an example?
so if an action is a html for you, sorry, but now i'm too busy to explain to
you the difference
Ok I try to explain myself.
To show a popup in a browser you
Just to get this straight
You _are_ developing a web application? Or are you creating an applet?
Have you done web application development before? If not, I suggest
that you take some time learning the basics and fundamentals of web
application/servlet development. As always, google is a good
I'm sorry if it offended you, but if you cared to take some of our
advices, you might understand that we're actually trying to help.
Nils-H
On Thu, Dec 18, 2008 at 6:21 PM, elyes sallem elyes.sal...@gmail.com wrote:
if you are an expert in web dev
hmm ..., my answer i never make web dev ...
And also, you should try and loose that attitude. People here is trying to
help and remember that they are taking the time to read and answer emails
for FREE, so we should appreciate their efforts.
Carlos Luis Zúñiga Sibaja
__
carlosluiszun...@gmail.com
divide et
Hi,
Right now my application supports localization for portuguese. Resource
bundle name is MessageResources_pt.properties. As I know resource bundle
file must follow the same naming convention as the default properties file,
except that it must include the two-letter ISO language code of the
Hi
Thanks for your response:
Please find below my CreateContactAction class:
@SuppressWarnings(serial)
@Namespace(value=/)
@Results({
@Result(name=success, value=viewContact, params= {actionName,
viewContact,contactId,${contactId}, contactType,$
{contactType}},
Is it working even with the exception? This result is a little bit
different, as it take as parameters, not only its own parameters, but
parameters passed to the redirect, so OGNL will complain about it
because those fields are not defined in the result class.
musachy
On Thu, Dec 18, 2008 at
Actions do not control the users browser and therefore can't create popups.
JSP Pages are sent to the browser which can contain Javascript which can
do what you want.
Follow Nils-H's links to see how to do create a pop-up in a page, and
the Struts2 tutorials
--- On Thu, 12/18/08, elyes sallem wrote:
so if an action is a html for you, sorry, but now i'm too busy to
explain to you the difference
No, the action is the Java part. The HTML part is generated by the JSP
page--this is also where the JavaScript layer lives.
Unless you're writing an
Hi All,
We're currently using struts 2 and using velocity in order to include
some existing templates from another project. Everything has been
working great... until we try to use i18n with parameters. I've read
all the pages on the struts 2 site, there's no clear example of what
we're supposed
Could you guys just tell me where the #stext velocity macro is defined? PLEASE!?
On Thu, Dec 18, 2008 at 4:16 PM, James Carr james.r.c...@gmail.com wrote:
Hi All,
We're currently using struts 2 and using velocity in order to include
some existing templates from another project. Everything has
Hi riya,
eclipse plugin ResourceBoundleEditor might help You with that kind of stuff.
Best greetings,
Pawel Wielgus.
2008/12/18, riya rachan...@gmail.com:
Hi,
Right now my application supports localization for portuguese. Resource
bundle name is MessageResources_pt.properties. As I know
--- On Thu, 12/18/08, James Carr wrote:
Could you guys just tell me where the #stext velocity macro
is defined? PLEASE!?
Chill, I was eating dinner.
AFAICT the #stext macro isn't set up to be a multi-line macro (like #sform is),
which I think would preclude the use of nested macros like the
If you are using Struts 1, extend from ValidatorActionForm which
chooses the validation config based on the URI. That means you can
have one form, but different configurations per use case.
On Wed, Dec 17, 2008 at 5:14 AM, m.harig m.ha...@gmail.com wrote:
once again thanks for giving me answer
If you want both, create a logger in your handler and log the
exception given to you.
On Wed, Dec 17, 2008 at 4:27 AM, Marsman mars@gmx.de wrote:
Hi!
As mentioned in my Struts 2 guide, I've coded a general error page for
unexpected errors and included it over the global-message-mapping
Sounds like an interesting idea. Are you using set-property within
the action config to turn caching off only where you need it?
On Fri, Dec 5, 2008 at 9:13 AM, Givler, Eric egiv...@state.pa.us wrote:
I'm using Struts 1.3.5.
I've run into a snag lately that my struts-config.xml controller
Do you have a stack trace?
On Tue, Dec 2, 2008 at 2:36 PM, Adam Gordon adam.gor...@readytalk.com wrote:
Hi-
We're using a MappingDispatchAction (Struts 1.2.9) and occasionally when a
user makes a request to the URI for this action we get a
NullPointerException in the class because the
Hi
No it does not work as exception is thrown. I can't understand how it
doesn't work as I have followed the example from site.
Cheers
Amin
On 18 Dec 2008, at 19:26, Musachy Barroso musa...@gmail.com wrote:
Is it working even with the exception? This result is a little bit
different, as
48 matches
Mail list logo