Hi,
I run into a problem when trying to run Struts 2.1 Ajax based form input and
validation code inside innerHTML
I managed to get the validation working on the server but the Json based
Ajax return simply does not go into the form code inside innerHTML. The
browser treat the Ajax return as hav
I use struts 2.1.6 with dojo plugin.
I written the following in JSP.
When I looked at the page I saw that Usual button is disabled, but sx:button
is enabled.
So what does attribute disabled mean for sx:button ?
--
View this message in context:
http://www.nabble.com/D
good moorning.
today my question is:"How to create a back button wirh struts 2?"
i used this code
but this metod don't operate.
Does someone help me?
--
View this message in context:
http://www.nabble.com/back-button-tp22159144p22159144.html
Sent from the Struts - User mailing list archive at
Maybe you can explain what your requirement is. Your browser already
has a back button ;)
Nils-H
On Mon, Feb 23, 2009 at 11:44 AM, PEGASUS84 wrote:
>
> good moorning.
> today my question is:"How to create a back button wirh struts 2?"
> i used this code action="javascript:history.back();"/>
>
certainly;
but i must create a back button in a jsp page
but the tag submit with action=javascript:history.back(); doesn't work
Nils-Helge Garli wrote:
>
> Maybe you can explain what your requirement is. Your browser already
> has a back button ;)
>
> Nils-H
>
> On Mon, Feb 23, 2009 at 11:44
Struts 1.1; There's something I think I am doing not right.. Here is the
code:
action .java:
public class EditColActionInit extends Action {
public ActionForward execute(ActionMapping mapping, ActionForm form,
HttpServletRequest request, HttpServletResponse
respon
I'm still not convinced... But did you try google?
http://www.google.no/search?q=javascript+back+button
Nils-H
On Mon, Feb 23, 2009 at 11:59 AM, PEGASUS84 wrote:
>
> certainly;
> but i must create a back button in a jsp page
> but the tag submit with action=javascript:history.back(); doesn't wo
thanks,
i'm successful using onclick="javascript:history.back();" instead using
action="javascript:history.back();"
Nils-Helge Garli wrote:
>
> I'm still not convinced... But did you try google?
>
> http://www.google.no/search?q=javascript+back+button
>
> Nils-H
>
> On Mon, Feb 23, 2009
2009/2/23 PEGASUS84 :
>
> today my question is:"How to create a back button wirh struts 2?"
> i used this code action="javascript:history.back();"/>
Don't do it, since using Javascript code to get "back" will lead to
inconsistencies during the navigation: what if you stumble on that
page from an
Antonio se sei italiano potresti dirmi in italiano
--
View this message in context:
http://www.nabble.com/back-button-tp22159144p22159702.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e
2009/2/23 PEGASUS84 :
>
> Antonio se sei italiano potresti dirmi in italiano
Translation (please do not answer here)
Traduzione (non rispondere qui).
Non lo fare, perché usare Javascript per tornare "indietro" ti porterà
ad inconsistenze nella navigazione. Cosa succede se entri in quella
pagina d
If you google: 'hibernate open session in view' you should find plenty
of examples. Especially on hibernate.org
On 2/13/09, Lukasz Lenart wrote:
> 2009/2/13 Security Management :
>> Thanks, the invocation.invoke() will execute all the following
>> interceptors, and render the view, then I can c
Dear List,
I'm writing you hoping to get some insight on a problem that's been haunting
me for quite a while now. I've tried searching the ML archives but I have
not come up with anything useful.
I have a Struts-based web application which makes use of the Tiles framework
and of some dynamic Java
Emmanuele Sordini wrote:
In a "normal"
JSP page I just included the script file, e.g.:
Many browsers have issues with this--you'll have better luck if you
convert this to an (empty) container tag:
src="/scripts/OpenLayers/OpenLayers.js">
The server doesn't control how the browser inter
My problem is that I can't make sx:bind work if it lays in the div that was
rerendered using another sx:bind.
Here is short example.
main.jsp:
<%@ include file="../header.jsp" %>
myAction.jsp:
<%@ include file="../header.jsp" %>
header.jsp
<%@ page contentType="text/html;charset=UTF-8
I'm following the approach given here for writing unit tests for actions:
http://depressedprogrammer.wordpress.com/2007/06/18/unit-testing-struts-2-actions-spring-junit/
My Problem:
I want to write a unit test that will verify that getSettings() returns
back a JSON string. However, when I run t
you are creating an action and invoking a method on it, Struts is not
involved at all in that. You might want to look at the struts junits
to see how you can invoke an action.
musachy
On Mon, Feb 23, 2009 at 12:57 PM, Timothy Astle wrote:
> I'm following the approach given here for writing unit
I had tried using proxy.execute(), which will use Struts. Maybe that's
where I'm a bit lost. I don't implement execute() because of my CRUD
approach.
Can someone point me to some appropriate struts 2 junit tests so I can
figure this out?
Musachy Barroso wrote:
you are creating an action
HiI have inherited a struts 1.2.6 application, i need to add some features
to this web application.
what will be the best migration policy to latest version of Struts without
lot of efforts,
Should i migrate it to struts 1.3.10 or to latest version 2.1.6?
Is there any documentation for this migr
in struts 2.1.6/xwork 2.1.2, annotations @ShortRangeFieldValidator and
@LongRangeFieldValidator do not exist in
com.opensymphony.xwork2.validator.annotations. any way to apply such
validations using annotations?
santos.
Hi All,
Can I use tags in struts 2.1.6 as in struts 1.3? If not please
tell me the replacement for the same.
Thanks & Regards,
Bhushan Sharma
Tata Consultancy Services
Contracted To Pfizer Inc
Application Support Team (SAMS)
Tata Consultancy Services Ltd.
Email: bhushan.sha...@pfizer.co
I've just upgraded to 2.0.14 (from 2.0.11) in the hopes that it would
solve a problem where validation messages are being truncated. I have
a -validation.xml with 26 fields, each field having at least
one field-validator. The validation works fine on all fields except
there is always one
Hi there,
I am trying to use DateTimePicker with struts 2.1.2
I get the following error:
¿Any ideas? ¡Thanks!
Expression parameters.pushId is undefined on line 24, column 6 in
template/ajax/a-close.ftl.
The problematic instruction:
--
==> if parameters.pushId [on line 24, column 1 in temp
Yeah, I think my OGNL expression usage is not correct but I tried
several combination, none of them work.
If I declare my variable as:
ArrayList> userList = new ArrayList>();
//getter and settter
I tried this on JSP and it didn't work.
-O
It is OK to add features to your 1.2.6 app if it is otherwise running OK.
Upgrading to 1.3.10 might not be too painful. Upgrading to 2.1.6 isn't an
upgrade; it's a rewrite. There are vast differences.
jk
On Mon, Feb 23, 2009 at 4:27 PM, Ashish Kulkarni <
ashish.kulkarn...@gmail.com> wrote:
> H
Dear All.
I use struts2.1.6 in a demo app.
but I consult a problem with type conversion.
the following is my source.(just the struts2 blank app,and just a little
modifications)
Login.java(I just modified the type of "password" to Bigdecimal.
public class Login extends ExampleSupport {
p
Check the Struts 2 tag reference [1]. You should be able to find
replacements for most of the "logic" tags. Make sure you also read the
OGNL [2] and Tag Syntax [3] documentation.
Nils-H
[1] - http://struts.apache.org/2.1.6/docs/tag-reference.html
[2] - http://struts.apache.org/2.1.6/docs/ognl.htm
in struts 2.1.6/xwork 2.1.2, annotations @ShortRangeFieldValidator and
@LongRangeFieldValidator do not exist in com.opensymphony.xwork2.
validator.annotations.
any way to apply such validations using annotations?
santos.
Hi
I have test annotation to define Action and its proceeding Results
definition. It works fine, but I got confused about the two properties
definition as shown below:
*You can also tell the plugin to use different strings to locate root
packages using the property struts.convention.package.locat
Hi,
You need to use the not the .
BR,
Andras.
Ignacio de Córdoba wrote:
Hi there,
I am trying to use DateTimePicker with struts 2.1.2
I get the following error:
¿Any ideas? ¡Thanks!
Expression parameters.pushId is undefined on line 24, column 6 in
template/ajax/a-close.ftl.
The problematic i
2009/2/24 EoneZhang :
> Login.java(I just modified the type of "password" to Bigdecimal.
Could you try with username field? Password input field is bit specific in html.
Regards
--
Lukasz
http://www.lenart.org.pl/
-
To unsubsc
31 matches
Mail list logo