2009/3/2 Musachy Barroso :
> You need to file a CLA: http://www.apache.org/licenses/icla.txt
>
> and then drop and email to @dev, and someone will grant you wiki rights.
I did that months ago but now answer, should I repeat that?
Regards
--
Lukasz
http://www.lenart.org.pl/
2009/3/3 Suresh254597 :
> anyone help me how to install struts in eclipse , I am new to eclipse.
Just copy or add references to that jar files [1]
[1] http://struts.apache.org/2.1.6/docs/simple-setup.html
Regards
--
Lukasz
http://www.lenart.org.pl/
---
Hi ,
anyone help me how to install struts in eclipse , I am new to eclipse.
--
View this message in context:
http://www.nabble.com/Install-struts-in-eclipse-tp22303749p22303749.html
Sent from the Struts - User mailing list archive at Nabble.com.
--
Either style it as you want it with css, or use the "simple" theme to
have full control of how elements are rendered.
Nils-.H
On Tue, Mar 3, 2009 at 7:19 AM, sajidbigler wrote:
>
> Hi List,
>
> I think we need to fix this issue by adding one more tag as for example
> By default struts-tags plac
When is the request null? And what do you need the server port for?
Nils-H
On Tue, Mar 3, 2009 at 5:24 AM, kate_cl wrote:
>
> Hi,anyone know how to get server port if request is null?
> --
> View this message in context:
> http://www.nabble.com/Get-Server-Port-tp22302338p22302338.html
> Sent fr
How can i render this text filed to have color for (*) with space as its
required field how can i make this field to show * in some color with space
and then label for example
* space or tab User name
how i need to modify below field to get as above
--
View this message in context:
http://
Hi List,
I think we need to fix this issue by adding one more tag as for example
http://www.nabble.com/when-we-add-any-UI-Tag-how-can-we-eliminate-next-line-tp22284662p22303099.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
Hi,anyone know how to get server port if request is null?
--
View this message in context:
http://www.nabble.com/Get-Server-Port-tp22302338p22302338.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To uns
On Monday 02 March 2009 14:00:04 ChadDavis wrote:
> Is there one of these for 2.1 yet? When I follow the links I end up
> at a 2.0.11 version. I'm just wondering if the docs are behind or
> this just isn't available yet.
>
As far as I know, Chad, the archetypes aren't up to date. I still use the
You need to file a CLA: http://www.apache.org/licenses/icla.txt
and then drop and email to @dev, and someone will grant you wiki rights.
On Mon, Mar 2, 2009 at 4:19 PM, ChadDavis wrote:
> I'd be more than happy to fix this kind of thing. How would I do that?
>
> On Mon, Mar 2, 2009 at 2:17 PM,
I'd be more than happy to fix this kind of thing. How would I do that?
On Mon, Mar 2, 2009 at 2:17 PM, Musachy Barroso wrote:
> That should be "default.properties"
>
> On Mon, Mar 2, 2009 at 4:14 PM, ChadDavis wrote:
>> On the page that explains the struts.properties, the documentation says:
>>
That should be "default.properties"
On Mon, Mar 2, 2009 at 4:14 PM, ChadDavis wrote:
> On the page that explains the struts.properties, the documentation says:
>
> " the list of properties can be found in struts-default.properties
> (inside struts2.jar). "
>
> Shouldn't that just be "default.prop
On the page that explains the struts.properties, the documentation says:
" the list of properties can be found in struts-default.properties
(inside struts2.jar). "
Shouldn't that just be "default.properties" or is there another
properties file called "struts-default.properties"?
Ok, this helps a lot. Simply from a usability standpoint though, the latter example seems more in line with what I'd want. It seems silly to have to bring the user to a page where, in my case, they
would invariably click a link. I was aware of the TokenSession interceptor, and as you stated, it do
To avoid the problem of duplicated submissions (not only when
refreshing the result page, but also when double clicking the submit
button, or going back to the submited form and submitting again) you
should take a look at the TokenSessionStoreInterceptor.
But that is complementary with the other
I'm not really sure what you're suggesting here. Are you saying that I should put the dataId attribute in the session instead of passing it to the page? I'm not really sure what that helps, and in
fact it only seems to complicate the issue. Maybe I'm misunderstanding?
Thanks,
-Tim
Martin Gainty
Tim-
any reason why you would'nt put the attributes in Session by implementing
SessionAware
http://struts.apache.org/2.0.14/docs/how-do-we-get-access-to-the-session.html
put them in with setSession() and access with Map parameters=this.getSession()
http://struts.apache.org/2.0.14/struts2-core/
Hello All,
I'm relatively new to Struts 2 and have a few questions as far as how to lay
out a form correctly.
I have the following scenario:
1. User is presented a form. (addData.jsp)
2. User submits form, we go off to an action to add form information to the
database. (SubmitData.action)
3.
Implement Preparable interface [1] and take a look on Prepare
interceptor [2], it should be what you want
[1]
http://struts.apache.org/2.1.6/struts2-core/apidocs/com/opensymphony/xwork2/Preparable.html
[2] http://struts.apache.org/2.1.6/docs/prepare-interceptor.html
Regards
--
Lukasz
http://ww
Is there one of these for 2.1 yet? When I follow the links I end up
at a 2.0.11 version. I'm just wondering if the docs are behind or
this just isn't available yet.
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
Fo
http://mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/struts/struts2-blank/2.1.6/
(struts2=blank) may be just the thing to use for writing a struts2 hello world.
Is this David Newton's contribution?
Thanks.
-Original Message-
From: Lukasz Lenart [mailto:lukasz.len...@googlemail.com
In your action class, write a method like so:
public String input() {
// populate my dropdowns
return Action.INPUT;
}
Obviously you will have to write the code to populate your dropdowns there,
as that depends on what you are up to. But the input() method of your
action class will be called if va
Hi,
Yes, can submit two different actions. It's the problem with
namespace. I don't see a way to specify namespace for tag. I
guess, I will have to add JavaScript. I don't want to use two separate
forms.
Thanks For the help,
Leena
On Sun, Mar 1, 2009 at 5:52 AM, Dave Newton wrote:
> Zarar S
Hi,
Would you able to specify in little more detail? Sorry for that as I am new
to Struts 2.
Thanks,
Anand
-Original Message-
From: Jim Kiley [mailto:jhki...@summa-tech.com]
Sent: Monday, March 02, 2009 12:23 PM
To: Struts Users Mailing List
Subject: Re: Struts 2 - After validation f
Populating the dropdowns in an input() method that returns Action.INPUT
should do the trick.
jk
On Mon, Mar 2, 2009 at 1:19 PM, Sundararaman, Anand <
anand.sundarara...@ps.net> wrote:
> Hi,
> I guess there is an elegant solution for this but I could not find out in
> the user list.
>
> I am usin
Hi,
I guess there is an elegant solution for this but I could not find out in the
user list.
I am using Struts 2 and creating some form validations. If a validation fails
on a JSP screen, the input result takes back the control to the same screen,
but the drop downs are not populated. I nee
Um So the location option list (and rest of the page) is rendered
just fine? Then I guess it's the jsp that is the result of the submit
that causes the error?
Nils-H
On Mon, Mar 2, 2009 at 4:22 PM, wrote:
> Yes, adding to my code does render the
> locationList. I don't get the exception u
laredotornado wrote:
I only want to forward if validation fails -- i.e. don't need to run the
"execute" method. But I don't know how to set that up in my
struts-config.xml file (or some other file if that's what's needed). How do
I do that?
IIRC execute isn't executed on a validation failure;
VenuGopalArkala wrote:
if ur using
and in js ur giving
function formSubmit(){
document.populationSetForm.addNewR.value = '';
form.submit(); // this is the problem
}
Instead of form.submit() give return true; // ur problem will be solved
O_o
Hi everybody:
I have a web application with struts 1.2 where I make the user authenticate,
so the user can't enter to the application if the credentials have not been
validated, when the user is surfing by the web application and after a
period of inactivity the session expires he is returned to t
Good day. I have a question"
Please, see fragment from struts.xml:
Search
/
${id}
id is an int[]. SavePersonInSession accepts id well (I see
Yes, adding to my code does render the
locationList. I don't get the exception until the 'submit' button is
clicked.
Nils-Helge Garli Hegvik
02/27/2009 01:27 PM
Please respond to
"Struts Users Mailing List"
To
Struts Users Mailing List
cc
Subject
Re: javax.servlet.jsp.JspException: C
Please post what you have if it is different than the example. More examples
are better than less.
From: Mohan Radhakrishnan
To: user@struts.apache.org
Sent: Sunday, March 1, 2009 10:42:46 PM
Subject: Re: Acegi with Struts 2.
Hi,
I was able to fix th
hello,
i have a select element where i display prjLib as label
here is the code part of this component :
the problem is when ,in the list of project , i have several elements
Hi,
I only want to forward if validation fails -- i.e. don't need to run the
"execute" method. But I don't know how to set that up in my
struts-config.xml file (or some other file if that's what's needed). How do
I do that?
Or is the only way to do this is as David Newton suggested -- moving
v
if ur using
and in js ur giving
function formSubmit(){
document.populationSetForm.addNewR.value = '';
form.submit(); // this is the problem
}
Instead of form.submit() give return true; // ur problem will be solved
Manish(Java) wrote:
>
> HI
I think it will be even better to start from scratch with Struts2 archetype [1]
[1] http://struts.apache.org/2.1.6/docs/struts-maven-archetypes.html
Regards
--
Lukasz
http://www.lenart.org.pl/
-
To unsubscribe, e-mail: user-un
The Struts 2 Maven 2 examples follows general Maven 2 web application
guidelines. I agree that the guide could be clearer, but a good
starting point would be to read some Maven 2 web application tutorials
[1].
Nils-H
[1] - http://www.google.com/search?q=maven+2+web+application
On Mon, Mar 2, 200
Hi all,
I am trying Struts 2 with Maven 2:
Simple Setup:
http://struts.apache.org/2.1.6/docs/simple-setup.html
Hello World:
http://struts.apache.org/2.1.6/docs/hello-world.html
But the Hello World sample is not completely clear for beginner:
- where to place files: HelloWorld.jsp, HelloWorld.j
I want to add three button as shown below in a same row but i am not able
to make it.i tried using table ,tr,td but still when ever i place
--
View this message in context:
http://www.nabble.com/when-we-add-any-UI-Tag-how-can-we-eliminate-next-line-tp22284662p22284662.html
Hi List,
I was trying to apply style to my label as shown below.i want it to be in
center of my form and bold how can i do it?
--
View this message in context:
http://www.nabble.com/how-can-we-apply-style-to-label---tp22284249p22284249.html
Sent from the Struts - User mailing list archive a
41 matches
Mail list logo