I am trying to figure out how to set the default class that is executed when
a class is not specified on an declaration. When you specify
something like:
/home.jsp
Struts automatically runs com.opensymphony.xwork2.ActionSupport. But I am
trying to figure out how to accomplish this:
user
Hi,
could you please provide struts2 version?
thanks
ramesh
Hubert Hers wrote:
>
> Hi,
>
> I am new to Struts 2 and have a problem installing Struts 2 on tomcat
> 5.5.23.
> After copying the war files to the webapps directory of tomcat(but did NOT
> copy the jars anywhere), I get a problem d
Good Day,
I have been using FreeMarker for the S2 plug-in development and some other
projects. I find the FTL language more expressive than JSP and I was
wondering if there is a sample S2 application that makes use of FTL for the
views.
Regards,
Mark P Ashworth
http://www.connext.co.za
--
View
because you have the list, you can do the following
You dont need to iterate
--- Andreja <[EMAIL PROTECTED]> wrote:
> Thank you very much Sharad, that WORKS! :]
>
>
>
> Just for the archive, this is also a possibility:
>
>
> fieldValue="${manyNames[cnt.index]}">
>
All the traces points me to this function on the xwork library
Since it contains an infinte loop it's promising ;)
Need to sleep now, I hope tomorrow to find someone else solution in
my inbox :)
Thank you
public static Object translateVariables(char open, String
expression, ValueStac
On 7/4/07, Dave Newton <[EMAIL PROTECTED]> wrote:
--- Richard Sayre <[EMAIL PROTECTED]> wrote:
> http://struts.apache.org/2.0.8/docs/select.html
>
> I was wondering what:
>
> list="petDao.pets"
> listKey="id"
> listValue="name"
>
> are referring to?
>
> 1) Is petDao a java bean? 2) Is it an acti
--- Richard Sayre <[EMAIL PROTECTED]> wrote:
> http://struts.apache.org/2.0.8/docs/select.html
>
> I was wondering what:
>
> list="petDao.pets"
> listKey="id"
> listValue="name"
>
> are referring to?
>
> 1) Is petDao a java bean? 2) Is it an action?
> 3) How do you set it up on the page? 4)
Hi,
for the readers of my previous messages I'm still facing the problem.
After having upgraded the application server and even re-designed
some code to not use JMS to exclude some possible causes now I think
I've found something interesting. And it's struts related.
I've keeped some thre
You might look into the Tiles project (http://tiles.apache.org), that's
exactly what it's designed to do.
(*Chris*)
On 7/4/07, Ezra Jennings <[EMAIL PROTECTED]> wrote:
I tried using s:include with nested s:param tags, but could not read the
parameters using the s:property tag at all. The onl
When directly calling an action we can send a petition like
.../ActionName.action?var1=val1&var2=val2
using the GET method.
I understand that that calls an action with a couple of parameters.
Can I do something similar when calling an action from the
tag ? that is, Can I call an action using
I tried using s:include with nested s:param tags, but could not read the
parameters using the s:property tag at all. The only way that I could read
the parameter was by using:
<%= "param1:" + request.getParameter("param1") %>
as suggested in:
http://www.nabble.com/struts2-how-to-access-a-param
Hi,
This is the 3rd attempt I make to get an answer on how to force a jsp result
page to be returned as a single window if html frames are used. Please give me
any hint as to how I can get this done.
Thanks,
Session
-
To uns
Hi All,
Does anyone have a link to a simple example for unit testing an interceptor and
creating a mock ActionInvocation? The example in the Struts 2 documentation
(http://struts.apache.org/2.0.8/docs/how-can-we-test-actions.html) is hard to
understand and reuse in my code.
Thanks for any hel
There is a example for populating a select using alist on this page:
http://struts.apache.org/2.0.8/docs/select.html
I was wondering what:
list="petDao.pets"
listKey="id"
listValue="name"
are referring to?
Is petDao a java bean? Is it an action? How do you set it up on the
page? What is pe
Dear Strtuts users
It is possible, in checkboxlist, to arrange checkboxes vertically?
Thanks
--
Filippo De Luca
[EMAIL PROTECTED]
http://www.filosganga.it
--
Circolo Canottieri Roma
Lungotevere Flaminio, 39 - 00196 - Roma - Italia
http://www.canott
Hi,
I am new to Struts 2 and have a problem installing Struts 2 on tomcat
5.5.23.
After copying the war files to the webapps directory of tomcat(but did NOT
copy the jars anywhere), I get a problem deploying
struts2-portlet-2.0.8.war:
INFO: ... initialized Struts-Spring integration successfully
Hy guys,
I`m trying use the tag . The
param 'name' of this tag contains the name of a action that I create. The
result of this action redirect to a jsp that contains a combobox populated
with a iterator.
The problem is that, when the first page is loaded the content of the jsp
that is loaded by
I am new to struts and I am trying to write an interceptor.
I have the interceptor set up so it runs on every action (except one).
The interceptor checks the users session to make sure it has not
timed out.
If the session is after timing out I want to create a new session and
add some values to
Um... is there corresponding HTML/AJAX code you know of that can
accomplish that?
I don't think I've ever seen the like.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
2007/7/4, Filippo De Luca <[EMAIL PROTECTED]>:
Hello Struts users,
I am new for the struts 2 and i have some problem with param setting. I
develop a simple action to view user detail: UserViewAction this action have
only a execute method, loading a user by userId param. So the action work
fine,
Hello Struts users,
I am new for the struts 2 and i have some problem with param setting. I
develop a simple action to view user detail: UserViewAction this action have
only a execute method, loading a user by userId param. So the action work
fine, but the jsp page do not display anything.
Follow
I'am using struct 2.0.6.
I need to populate a select tag list with different colors for each item
according to some conditions.
example:
First Item (in BLACK)
Second Item (in GREEN)
Third Item(in GREEN)
Fourth Item (in RED)
Is it possible? I haven't seen something like that i
I am trying to populate a s:select using a Hashtable.
<% customer.getCustomersForUser(sessionObject.getUserName()); %>
The customer.getCustomersForUser() method populates a Hashtable called
customerList which has the appropiate get and set.
I assumed that calling customer.custome
Thank you very much Sharad, that WORKS! :]
Just for the archive, this is also a possibility:
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
or
Any of this should solve your problem. first one will iterate for itself second
we are doing that.
But still all checkbox shouldhave same name. You bean of will surely get list
of values(not true).
- Original Message
From: Andreja <[EMAIL PROTECTED]>
Hi, I don't know if I can post here a question about version 2.1 but ... I do
:)
I have downloaded and compiled (from svn) the version 2.1 of Struts2. My
question is: is it possible
to set the default value of a datepicker field so that when i make a mistake
filling the field it don't change
the
Sharad, thank you for the answer.
Keeping in mind what you said, I tried to make it work like this:
This populates the checkboxes, but when I submit the data, all I can
get is ArrayList of true booleans: [true, true...], and I can not use
that. I need something like:
27 matches
Mail list logo