HI All,
I have originally define some action as follow:
/jsp/main.jsp
/jsp/main.jsp
/jsp/main.jsp
when the list.action is called, all members will be listed. User can press
the addMember button which will retrieve some form values and add the member
to DB. The list.action pag
2008/1/8, Rick Reumann <[EMAIL PROTECTED]>:
>
>
>
>
>
>
>
>
>
>
>
You are trying to fill the "dashboardContent" attribute of
"tasks.page" definition, that uses the "mainLayout.jsp" page as a
template, that has no "dashboardContent" attribute, so it is "obvious"
that it does n
i have a select that like this..
how should the getter and setter of selectedIds should look like? what
should the selectedIds type?
please help it take me already a long time to figure this out..thanks.
--
View this message in context:
http://www.nabble.com/-S2--What-does-Sele
On 1/9/08, Dave Newton <[EMAIL PROTECTED]> wrote:
>
> --- styl9090 <[EMAIL PROTECTED]> wrote:
> >
> >
> > /pages/assign_user.jsp
> >
>
> The above configuration means that *only* the "log2000" interceptor will
> run.
>
> You need to either (a) include the "defaultStack" intercept
Hi,
Thanks a lot for your idea.
But we can bypass the FilterDipatcher Conditionally and i have done it,
yes it has taken great amount of time.But I can be done.
Actually i have newly joined and i have assigned bug resolution task right
now
so i need to work on existing otherwise i could have used
On Jan 8, 2008 9:04 PM, Sohil Rupani <[EMAIL PROTECTED]> wrote:
> i m using struct 1.3.8
...
>
> "-//Apache Software Foundation//DTD Struts Configuration 1.3//EN"
>"http://struts.apache.org/dtds/struts-config_1_3.dtd";>
And earlier:
>
> 2.2//EN"
> "http://java.sun.com/j2ee/dtds
sorry for making two post ..
appreciate your help and time.
also the struct examples are working fine..
i m using velocity tools 1.3 for view
however i installed another tomcat but the same version 5.5.25 .. and
could see the logs
"hi , i m getting the following error
of which i understand the
hi , i m getting the following error
of which i understand there might be a problem with my struts-config file
but i checked it and couldn fine any
i m using struct 1.3.8
below i have pasted my structs-config file
SEVERE:
javax.servlet.UnavailableException: Parsing error processing r
here is my getter and setter method for selectedModules
private String[] getSelectedModules() {
return selectedModules;
}
private void setSelectedModules(String[] value) {
selectedModules=value;
}
Laurie Harper wrote:
>
> What do you getter and setter
As Dave says, if you're trying to get hired, or trying to hire people,
then Struts 1 is the still the safe choice. More job postings mention
Struts (as in Struts 1) than all other Java web frameworks combined
(including JSF).
But, if you're asking which framework will make it easier to create
eleg
Anyone know of struts training in New York city?
On Jan 8, 2008 8:47 PM, Jack Haynes <[EMAIL PROTECTED]> wrote:
>
> Thanks for the feedback Dave.
>
> Jack> Date: Tue, 8 Jan 2008 16:14:43 -0800> From: [EMAIL PROTECTED]>
> Subject: RE: Struts training...> To: user@struts.apache.org> > --- Jack
> Ha
Thanks for the feedback Dave.
Jack> Date: Tue, 8 Jan 2008 16:14:43 -0800> From: [EMAIL PROTECTED]> Subject:
RE: Struts training...> To: user@struts.apache.org> > --- Jack Haynes <[EMAIL
PROTECTED]> wrote:> > I'm new to struts. I have very limited knowledge of both
struts 1 and 2. > > I would
there was a posting earlier in the day on a similar question which asked
inquired as adding the interceptor to your defaultStack the
struts-default.xml defaultStack declaration looks like
Did I not already answer this?
--- styl9090 <[EMAIL PROTECTED]> wrote:
>
>
> /pages/assign_user.jsp
>
You have configured a *single* interceptor to be run for this action.
If you want the default interceptor stack to be executed you must either
include it in the action's
--- Jack Haynes <[EMAIL PROTECTED]> wrote:
> I'm new to struts. I have very limited knowledge of both struts 1 and 2.
> I would like to learn one of them in detail. Which is most common? Which
> would be most beneficial to have?
Not sure how to answer that.
*I* wouldn't learn S1 now, but ther
Hello All,
In my application I have created a LoginSessionInterceptor.
struts.xml:
/pages/assign_user.jsp
The above code works fine when Initially called that assign action(page
renders first time).. But if there is a submit button in that assign_page
which calls
Hi,
I am using tooltip attribute on a textfield. The problem is that tooltip does
not comes up completely. Is there a limit on the length of characters a tooltip
can have? How can I fix/change this so the whole tooltip comes up?
Thanks,
-Akash
-
Never mi
Hi All,
I'm new to struts. I have very limited knowledge of both struts 1 and 2. I
would like to learn one of them in detail. Which is most common? Which would
be most beneficial to have?
Jack> Date: Mon, 7 Jan 2008 18:18:39 -0800> From: [EMAIL PROTECTED]> To:
user@struts.apache.org> Su
Btw, Martin Gainty wrote me this by email:
Rick's suggestions are very helpful..
2 things would need to know
1)How will the data be represented visually.. starting with a working
example you can use Checkbox as illustrated
http://struts.apache.org/2.x/docs/checkbox-interceptor.html
public class
Thanks for all answers so far.
I know I can wrap them in other, simpler objects; but before doing so (and
having to retouch my Javascript layer that lies on top of it :-( ), I wanted
to find out if there is a way to have Struts2 do this automatically for
me...
I have already found out that by us
Wes Wannemacher wrote:
On Tue, 2008-01-08 at 01:21 -0500, Dale Newfield wrote:
Jeromy Evans wrote:
Wes Wannemacher wrote:
But, if I use the following OGNL -
value="@[EMAIL PROTECTED]().actionInvocation.proxy.namespace"/>
I just get a big fat nothing :(
Works for me
What do you getter and setter methods for the selectedModules property
look like? Remember, you need both for data to be passed in both directions.
L.
carmi_cd wrote:
hi ted..thanks.. i tried to retrieved selectedModules as an array of String..
but it was not able to get the values..
here is m
Le mardi 08 janvier 2008 à 14:08 +0100, Martin Braure de Calignon a
écrit :
Sorry I've forgot [S2] in subject
> Hello,
>
> I'm currently using struts2 for a project.
> I want to validate all elements of a list (each elements should have a
> non-empty value, or the list should be empty).
>
> wha
Mufaddal Khumri wrote:
Hi,
Lets say I have an action and some of the properties being set on that
action are to be validated which I can do a number of ways. Is there a
way in Struts2 to tell the system not to valid the framework the first
time the action is accessed:
[Turn validation off]
Zuquirio is correct, you can't do it. See comments inline below:
[EMAIL PROTECTED] wrote:
Definitely I'll post it to let everyone get benefit if I figure it out.
By the way, welcome everybody to give suggestion.
Thanks.
On Jan 7, 2008 1:33 PM, zuquirio <[EMAIL PROTECTED]> wrote:
I'm not an
No, not a bug. It's as intended. A single character in single quotes is
evaluated as a character constant, not a string. Try this instead:
"T" is a string literal whereas 'T' is a character litteral. Note that
all quotes are switched.
L.
Shuai Zheng wrote:
Just find out the problem, the
kingysball wrote:
Hi,
I am trying to use Struts 2 client side validation to validate if a checkbox
has been selected before submitting a form. I have being trying to use the
regular expression validator but have had no joy with it. Has anyone
encountered this issue before??
I don't think t
Prajapati Manish Narandas wrote:
Hi,
I want to bypass FilterDispatcher for specific request.
Actually i use uploadFilter and here whenever i submit file upload reqeust
first time
the inputStream of the given request is consumed first time might be by
filterDipatcher
so first time i can not uploa
sai reddy wrote:
I'm a newbie to struts. I wanted to practice tag's
'multiple' attribute.
But the problem is i don't know how to set multiple cookies.
Please help me.
I tried this code to set multiple cookies...but only the last
cookie gets added...i mean the first one gets replaced by
On Jan 8, 2008 12:11 PM, Dave Newton <[EMAIL PROTECTED]> wrote:
> Wouldn't you need to quote strings?
>
Well, I wouldn't say that was obvious from the example given, but this
did seem to get the job done:
Thanks.
(*Chris*)
-
send your struts-config.xml and requested url
r^
Dave Newton wrote / napísal(a):
It's probable there's an error in one (or more) of your S1 configuration
files.
d.
--- Sohil Rupani <[EMAIL PROTECTED]> wrote:
hi i m using Struts 1
Following is the content of my web.xml file.
Please l
I could resolve that issue now, the problem was there was an NPE which was
thrown in ContextInterceptor because I didnt set the Session in the
BaseTestCase
proxy.getInvocation().getInvocationContext().setSession(sessionMap);
and hence the infinite recursion. Good Lord I spent lot of time deb
Jan 8, 2008 12:12:37 PM
com.opensymphony.xwork2.util.logging.commons.CommonsLogger warn
WARNING: Could not find property [struts.valueStack]
Jan 8, 2008 12:12:37 PM
com.opensymphony.xwork2.util.logging.commons.CommonsLogger warn
WARNING: Could not find property [org.apache.catalina.jsp_file]
Jan 8,
Wouldn't you need to quote strings?
d.
--- Chris Pratt <[EMAIL PROTECTED]> wrote:
> I'm trying to get something working that is taken almost directly from
> the iterator documentation. The documentation shows this example:
>
>
>
>
>
>
>
>
>
>
> which is actually more co
I'm trying to get something working that is taken almost directly from
the iterator documentation. The documentation shows this example:
which is actually more complicated than I need. All I need is a
collection of links from A - Z, so using the above code as a guide, I
t
Great,
thank you so much. It works fine.
We had:
And should have had:
What a difference two ' make !
jimkski wrote:
>
> Hi Rubbino-
>
> The vita rara blog provided a good example of using the Map method to
> update a list of domain entries.
>
> http://www.vitarara.org/cms/struts_2_coo
--- styl9090 <[EMAIL PROTECTED]> wrote:
>
>
> /pages/assign_user.jsp
>
The above configuration means that *only* the "log2000" interceptor will run.
You need to either (a) include the "defaultStack" interceptor ref (or
whatever stack you're using) or (b) create your own
Hello All,
I am new to Struts 2.
In my application I have created a LoginSessionInterceptor, and would like
to use it for all the actions using below code.
In struts.xml
/pages/assign_user.jsp
The above code works file when Initially called that assign page..
Dojo isn't a plugin in S2.0; it was moved to a plugin in S2.1+.
d.
--- Mufaddal Khumri <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am using struts 2.0.9 ... where do you find the dojo plugin?
>
> Thanks.
>
> -
> To unsubscribe, e-
Hi,
I am using struts 2.0.9 ... where do you find the dojo plugin?
Thanks.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Yup Maps will work also.
On Jan 8, 2008 1:57 PM, Dave Newton <[EMAIL PROTECTED]> wrote:
> I've never used Sets, only Maps, which definitely work...
>
> As a sanity check perhaps you could try using a Map. I know you can get a
> Set
> view of a Map, so perhaps this is an alternative solution (I'm
I've never used Sets, only Maps, which definitely work...
As a sanity check perhaps you could try using a Map. I know you can get a Set
view of a Map, so perhaps this is an alternative solution (I'm not so sure
about going the other direction, however).
This would at least narrow down the problem
I'm assuming you can't change them because someone else created them? There
are still ways you can deal with the beans with sets..
1) Wrap them using the Adapter pattern. However if they are already coming
back nested and you can used the adapters/wrappers in the business layer you
could also..
2)
Pablo, You can refer to Martin's reply in this mail thread. See if that
helps you..
On Jan 8, 2008 11:58 AM, Pablo Vázquez Blázquez <[EMAIL PROTECTED]> wrote:
> Yes, I had already seen this link and I am able to customize my CSS, but
> what I want is to paint *each* tab in a *different* color.
>
I know. Unfortunately i can't change my business beans anymore :-( Anyway,
any other ideas? I am trying now with a EoActivities-conversion.properties
file, containing
Element_eoActivity = com.datamat.care.bean.EoActivity
Element_eoUser = com.datamat.care.bean.EoUser
Element_eoUserAddress = com.da
At least in Struts1.1, If I'm not mistaken, you aren't going to be able to
use indexed properties like you are to set items in a Set. If you use Lists
it would be much easier to accomplish the nested collection population.
On Jan 8, 2008 1:02 PM, jvleminc <[EMAIL PROTECTED]>
wrote:
>
> Hello,
>
>
Hello,
I am facing with automatic type conversion upon the submit of my Form:
Basically I have form fields with the names
eoActivities[0].activityName
eoActivities[0].eoUser[0].eoUserId
eoActivities[0].eoUser[0].eoUserAddress[0].addressType
eoActivities[0].eoUser[0].eoUserAddress[0].name
...
eo
On Tue, 2008-01-08 at 01:21 -0500, Dale Newfield wrote:
> Jeromy Evans wrote:
> > Wes Wannemacher wrote:
> >> But, if I use the following OGNL -
> >> >> value="@[EMAIL PROTECTED]().actionInvocation.proxy.namespace"/>
> >>
> >>
> >> I just get a big fat nothing :(
> >
> > Works for me!
>
> Maybe
Could you give some more information like what version of struts2 are
you using and what is the application server and version?
Mike Jennings
Unnikrishnan wrote:
HI
I am new to struts2 . I have a problem in accessing get parameter. for
example I am working on my local machine and I have the f
I had this same issue when using struts 2.0.5 with OC4J 10.1.3.1. This
issue has now been fixed and I have tested it when using struts 2.0.11
and above. Upgrade your struts release and the problem should be fixed.
Mike Jennings
VJ22 wrote:
Hi,
Our application has to be deployed on a Oracle
Yes, I had already seen this link and I am able to customize my CSS, but
what I want is to paint *each* tab in a *different* color.
So far, I only could paint all tabs with the same color (a different one
from the original tabbedpanel).
Thanks.
Raghuveer Rawat escribió:
You need to custom
It's probable there's an error in one (or more) of your S1 configuration
files.
d.
--- Sohil Rupani <[EMAIL PROTECTED]> wrote:
> hi i m using Struts 1
>
> Following is the content of my web.xml file.
> Please let me know if i m making some mistake in this ..
> Thanks
>
>
>
> PUBLIC "-//Sun
Haven't used Struts 1 for quite some time. Just to check, none of your
actions worked? Would you be able to build your application using the sample
blank WAR file to see if it can work part by part?
On Jan 8, 2008 4:09 PM, Sohil Rupani <[EMAIL PROTECTED]> wrote:
> hi i m using Struts 1
>
> Follow
In FireBug, we get the following errors when using . The
source code follows the list of errors. Additionally, our
tag doesn't appear.
NOTE: There are successfully "gets" for all of these files under the nls
directory without the en-us. Why is it looking in en-us? We're lost.
Pleeease help.
GE
On Yesterday at 11:26am, HR=>Haroon Rafique <[EMAIL PROTECTED]> wrote:
HR> [..snip..]
HR>
HR> Hi Yann,
HR>
HR> Thanks for your work. I haven't tried the plugin yet, but my pain
HR> point (and perhaps many other developers') with IntelliJ and struts2
HR> is lack of syntax support for .ftl (free
On Jan 7, 2008 9:15 PM, mah bub <[EMAIL PROTECTED]> wrote:
>
> is there any nice tutorial which covers the basic with step by step
> examples
> so that i can catch up.
>
I have several step by step Struts lessons here:
http://www.learntechnology.net Most are for Struts1 but someone provided
so
I'm looking into providing some public training, at the moment I'm
scouting out cities and locations that can accommodate training. Of
course, if its private training, then that's easy!
/Ian
--
Ian Roughley
From Down & Around, Inc.
Consulting * Training / Mentoring * Agile Process * Open So
Ok, I'm stuck using some old technologies here. Been googling around for
this but still seemed stumped. All I want to do is to be able to extend a
base tile definition that uses a JSP for main layout, and then create a
sublayout definition that can be extended by other page definitions.
Basically I
pretty sure sun microsystems offers training in santa clara..is that too far
away?
http://developers.sun.com/events/techdays/self_paced_labs.jsp
anyone else?
M-
- Original Message -
From: "Narayan Mandaleeka" <[EMAIL PROTECTED]>
To:
Sent: Monday, January 07, 2008 9:18 PM
Subject: Struts t
Hello,
I'm currently using struts2 for a project.
I want to validate all elements of a list (each elements should have a
non-empty value, or the list should be empty).
what I have done in my validator is :
error ${myList.size}
Then in console I hav
TheServerSide has kindly published an article I wrote some time ago
about the SmartURLs plugin.
* http://www.theserverside.com/tt/articles/article.tss?l=SmartURLs
I'll be updating this piece for the new Conventions plugin, now in the
sandbox, which merges ZeroConfig and CodeBehind with SmartURLs
Hi,
Our application has to be deployed on a Oracle Application server platform
(specific version 10g R3)..So we got an HTTP server which routes requests to
the OC4J server which processes them
I am facing a peculiar problem with this...Whenever I POST data from any
screens either via forms or v
Hello
I'm having a problem with dates in Firefox.
I have a form where a user is expected to enter dates in dd/mm/ format.
I have this in my *-validation.xml
01/01/1900
01/01/2099
> is there any nice tutorial which covers the basic with step by step examples
> so that i can catch up.
I think this is the best place to start
http://struts.apache.org/2.x/docs/struts-2-spring-2-jpa-ajax.html
-
To unsubscribe,
raju wrote:
Hi,
I am trying to find struts 2 rest showcase example and try it out.Can
someone please let me know where i could find the code for download?
Regards
Raj
If you download the trunk of the Struts2.1 source using subversion,
you'll find it in struts2\apps\rest-showcase.
http:/
Yes, on Spring 2 it is :
scope="prototype"
On Jan 7, 2008 8:41 AM, Joachim Ansorg <[EMAIL PROTECTED]> wrote:
> Brian,
> I guess you are using Spring 2.x.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-ma
Oh.. Thanks so much!
You saved me from a lot of troubles.
If possibile it would be great to add it on the wiki page..
Thank you!
GF
> The value attribute is treated an OGNL expression so "John Jackson"
> means its trying to access a property with that name.
> Instead, you need to tell it you're
GF wrote:
But how can I assign a string to a variable?
Something like:
Hello, . How are you?
I tried it but seems not to work..
The value attribute is treated an OGNL expression so "John Jackson"
means its trying to access a property with that name.
Instead, you need to tell it you're
Hi,
I am trying to find struts 2 rest showcase example and try it out.Can
someone please let me know where i could find the code for download?
Regards
Raj
--
View this message in context:
http://www.nabble.com/struts-2-rest-showcase-example-tp14687694p14687694.html
Sent from the Struts - User
The wiki says:
Hello, . How are you?
But how can I assign a string to a variable?
Something like:
Hello, . How are you?
I tried it but seems not to work..
Thanks
GF
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addition
native2ascii is a tool to convert character. you can find it at
JAVA_HOME\bin
2008/1/8, Raghuveer <[EMAIL PROTECTED]>:
>
> Hi Hoang Thang,
>
>
>
> What is this "native2ascii.exe".
>
> Does there will be some other exe file for polish ?
>
> Where do we get this ?
>
>
>
>
>
> My application should
Hi,
I want to access value of property "a" while giving an error message for
value of property "b". e.g. my error message should be " For value ,
value is not in the range ".
where both and are different properties,
Is there any way that I can do that ?
Thanks,
Kavita
Hi Hoang Thang,
What is this “native2ascii.exe”.
Does there will be some other exe file for polish ?
Where do we get this ?
My application should work in english and polish(Poland).
_
From: Th?ng Hoàng [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 08, 2008 3:00 PM
T
Hello Raghuveer,
Ilość is in unicode format. the ApplicationResources_pl file is not save
with unicode format file, so when you save it will lost the right code. we
use native2ascii.exe (in C:\Program Files\Java\jdk1.6.0_02\bin folder) to
convert an unicode file to native file and use this file wi
On saving the polish word quantity in polish language in Application
resource files "ApplicationResources_pl" is changed.
Actual word is changed on saving the property file. Special characters were
lost on saving the file.
Modified Word - Ilosc
Actual Word - Ilość
Is there any
hi i m using Struts 1
Following is the content of my web.xml file.
Please let me know if i m making some mistake in this ..
Thanks
http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";>
action
org.apache.struts.action.ActionServlet
config
Are you using Struts 1? Please check your web.xml file.
On Jan 8, 2008 3:56 PM, Sohil Rupani <[EMAIL PROTECTED]> wrote:
> Hi ,
> Thanks for the reply.. appreciate you time.
>
> Following is the error i m getting on the browser..
>
> HTTP Status 404 - Servlet action is not available
> type Status
77 matches
Mail list logo