Hi everyone, I'm having some problems on html select Tag.
This is part of my jsp code
Testing
This is part of my action.java
HttpServletRequest request =
(HttpServletRequest)ActionContext.getContext().get(ServletActionContext.HTTP_REQUEST);
String[] de
It could be a character that represents which tab is selected. A, B, C, etc.
On Mon, Oct 5, 2009 at 9:40 PM, SanJ.SANJAY wrote:
>
> Paul,
>
> I will try that..hidden field will be a java variable. So it should be like
> a boolean which toggles every user select Tab?
>
> Thanks ..
>
>
>
> Paul Ben
I solved my problem.
As I had determined earlier, it was a problem with the Apache - to - Tomcat
connection configuration.
What I didn't realize was that when SSL is turned on in Apache through the
httpd-ssl.conf file, the mapped URL patterns that the AJP13 (mod_jk)
connector is supposed to send
Look here:
http://struts.apache.org/2.x/docs/testing-actions.html
dolsen-2 wrote:
>
> I am looking for some good ways of using TestNG to test my actions. I
> know I can test them like any other POJO but I would like it to include
> all the interceptors if possible. Can anyone give me any good
Hi Alex,
Thank you very much for your help=). It worked like a charm. I tried using
s:set but forgot to put .count at the end of the index_count. But thanks for
figuring this out.
-Sameer
Alex Siman wrote:
>
> I use such approach:
>
>
>
> ...
> "%{'form.cvgcode' + #i}"
> .
I am looking for some good ways of using TestNG to test my actions. I
know I can test them like any other POJO but I would like it to include
all the interceptors if possible. Can anyone give me any good resources
on how to do this. I am using Struts 2.1.6 and have the TestNG plugin. I
am also
From: Alex Siman
To: user@struts.apache.org
Sent: Mon, October 5, 2009 8:10:53 PM
Subject: Re: Struts 2 runtime variable names
I use such approach:
...
"%{'form.cvgcode' + #i}"
...
"%{'form.cvglimit' + #i}"
...
hisameer wrote:
>
It is found at the bottom of this message.
On 10/5/2009 6:29 PM, Martin Gainty wrote:
what is the exact error and or stacktrace from console or log?
Martin Gainty
__
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
Diese Nachr
I use such approach:
...
"%{'form.cvgcode' + #i}"
...
"%{'form.cvglimit' + #i}"
...
hisameer wrote:
>
> hello everyone,
>
> I need to change the s:select name parameter's value depending on the
> index of the list.
>
> I have the following code :
>
> <%! int i=1;
I use such approach:
...
"%{'form.cvgcode' + #i}"
...
"%{'form.cvglimit' + #i}"
...
hisameer wrote:
>
> hello everyone,
>
> I need to change the s:select name parameter's value depending on the
> index of the list.
>
> I have the following code :
>
> <%! int i=1;
Paul,
I will try that..hidden field will be a java variable. So it should be like
a boolean which toggles every user select Tab?
Thanks ..
Paul Benedict-2 wrote:
>
> SanJ,
>
> When a user selects the tab, modify a hidden form field that indicates
> the tab selected. Do you know javascript?
SanJ,
When a user selects the tab, modify a hidden form field that indicates
the tab selected. Do you know javascript? That's what you would use.
Paul
On Mon, Oct 5, 2009 at 9:15 PM, SanJ.SANJAY wrote:
>
> Thanks Paul,
>
> I thought about that also but selecting a tab isn't alwa
Thanks Paul,
I thought about that also but selecting a tab isn't always
mean that I change the data inside that tab.
Paul Benedict-2 wrote:
>
> SanJ,
>
> Can you track which tab the user selected? Perhaps you can set a
> javascript variable when one is selected. The only do
hello everyone,
I need to change the s:select name parameter's value depending on the index
of the list.
I have the following code :
<%! int i=1; %>
<%= i
%>
<% i++; %>
All I want is if the list is in
SanJ,
Can you track which tab the user selected? Perhaps you can set a
javascript variable when one is selected. The only down side here is
that you'll have to hardcode which fields belong to which tab. Once
you do that, you can do what you want.
Paul
On Mon, Oct 5, 2009 at 7:42 PM, SanJ.SANJAY
I am using struts 1. I have Adobe SPRY tabs in my JSP.
There are two separate set of fields/ data in each tab. So suppose someone
changes fields in Tab 2 only and save the JSP, I do not want to save the tab
1 fields also because those fields are not changed.
I was wondering if there is any way
what is the exact error and or stacktrace from console or log?
Martin Gainty
__
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger
sein, so bitten w
Some additional information -
I added some debug logging to monitor the URL requests passing through my
Struts application servlet filter.
For the HTTP requests I see my logs in the tomcat server log. For example I
see -
request URI: /MyWebApp/
and
request URI: /MyWebWeb/sectPh.do
When I c
I am trying to provide http/https switching on some URL patterns in my web
application. This web application is running on Tomcat 5.5 and is using
Apache 2.2 as the web server. The version of Struts that I am using is
1.2.9.
I have the Apache 2.2 web server setup with a self-signed certificate
did you try asking in the GAE forums? This is more of a GAE problem,
so you have a better chance to find an answer there.
musachy
On Mon, Oct 5, 2009 at 12:58 PM, Dan R. Olsen III wrote:
> I have been able to open the jar with WinZip so I don't think it is an
> invalid jar.
>
> I am using Google
I have been able to open the jar with WinZip so I don't think it is an
invalid jar.
I am using Google App Engine so there is no catalina.policy. Also, since
I am on Windows permissions are done a different way and I have given
all the permissions my working 2.1.6 jar has but to no avail.
On
1)check that the jar is located is a valid jar(can be opened by tomcat
container)
chances are if you cant open with winzip or 7zip its an invalid jar
2)in $CATALINA_HOME/conf/catalina.policy grant permissions for catalina
container to read that jar
grant codeBase
"file:${catalina.home}/webapps
It looks like the help Paul gave was spot-on, and sufficient. If you have a
focused question on one aspect of your code, please post it here. If you want
someone to write or modify code for you, perhaps you should ask some
co-workers, classmates, or the person who originally wrote the code.
>
Hi,
validator-rules contents:
Thanks again,
André
From: Martin Gainty
To: acastanheira2...@yahoo.com.br
Sent: Monday, October 5, 2009 3:19:25 PM
Subject: RE: Struts validation (validwhen)
please post contents of validator-rules.xml
Martin Gainty
Hi All,
Anyone implemented struts2 file upload with Ajax? file upload will display
progress bar for showing file upload status.
I tried below one but it is not working
http://www.struts2.org/ajax-file-upload-in-struts2-using-ajax-file-upload-plugin/
Please send me links/docum
I am still looking for a solution to my problem. Does anyone have any
other ideas. I'm not quite sure how to go about checking the security
manager as mentioned below. I tried the 2.1.8.1 version but that didn't
work. That's what I expected since it looks like 2.1.8.1 did not touch
the struts2
Hi All,
Anyone implemented struts2 file upload with Ajax? file upload will display
progress bar for showing file upload status.
I tried below one but it is not working
http://www.struts2.org/ajax-file-upload-in-struts2-using-ajax-file-upload-plugin/
Please send me links/docum
Hi,
perhaps a simple type :
omg.alocation
try with allocation (twin l)
Regards
Eduard
SanJ.SANJAY schrieb:
I am setting this new bena in form like this:
private NewBean omg= new NewBean ();
public NewBean getOmg() {
return omg;
}
public void setOmg(Ne
Hi, I have a form with two fields, when one is null the other is required, so
I need to check one against the other. I´ve done the config below, but
nothing happens:
test
((codigo == null) or (*this* != null))
mask ${alfa}
test
((nome == null) or (*this* != null))
mask ${numInst}
Nils - thanks for the assistance. I did add the ".action" to the actionName
and it now works in my Portlet Container (Pluto 2.0).
For example:
index.action
/portlet/employe
Sanj,
When you create a new bean in your code, you need to attach it to the
request. Otherwise, how else will the page find it? Remember, all JSP
expressions look into the request scope, session scope, or application
scope or beans.
Do something similar:
request.setAttribute("omg", omg);
And in
I am setting this new bena in form like this:
private NewBean omg= new NewBean ();
public NewBean getOmg() {
return omg;
}
public void setOmg(NewBean omg) {
this.omg= omg;
}
Now I have the instance of bean (omg) in my form.
So to call
Hi,
where are You setting this bean into form?
Try < bean:write name="myForm" property="omg" />
in jsp, it might be null.
Best greetings,
Paweł Wielgus.
2009/10/5 SanJ.SANJAY :
>
> Hello,
>
> I am using Struts 1. I am having some issue with creating a new bean
> inside the form.
>
> I have
Hello,
I am using Struts 1. I am having some issue with creating a new bean
inside the form.
I have JSP with its form. Now I need to add a feature in my same JSP page.
With this feature will come lots of new fields in JSP. So I thought instead
of writing the fields and getter/setters in t
Hi Wes,
I just notice that I can select mirror from the download page, I tried many
different mirrors site, but still the MD5 and PGP link still not work.
Could you give me the mirror you use which is working for your?
Thanks
Louis
From: "mailtolouis2020-str.
Yes, that was what I meant, and I worked just fine with me, using your
web application (on Jetty/pluto). I haven't had time looking any more
into it, but I'll keep you updated.
Nils-H
On Fri, Oct 2, 2009 at 3:40 PM, phillips1021 wrote:
>
> Nils - I'm not following how to implement your quick fix
36 matches
Mail list logo