leon,
I think what you did is wonderful :) did you put in sourceforge?
Hashim
On 2/17/06, Leon Rosenberg <[EMAIL PROTECTED]> wrote:
>
> I have developed a solution where each struts action has an
> ActionStats object which counts automatically number of requests,
> number of errors, min/mid/max/l
Our app's websphere log has a lot of errors lised below, this is not a class
path issue, but whatelse reasons? And also what does "us" in the message below
mean? Thanks in advace.
: [Servlet Error]-[us]: Failed to load servlet:
java.lang.ClassNotFoundException: us
at
com.ibm.ws.clas
How would I display the text equivilent of a selected value in a dropdown box?
On 2/17/06, Laurie Harper <[EMAIL PROTECTED]> wrote:
> That would have a rather different meaning. Closer would be
>
>
>
> 'methodName' is suspicious, though. Are you trying to invoke a method,
> or retrieve a proper
That worked! Thanks so much.
On 2/17/06, Laurie Harper <[EMAIL PROTECTED]> wrote:
> That would have a rather different meaning. Closer would be
>
>
>
> 'methodName' is suspicious, though. Are you trying to invoke a method,
> or retrieve a property? You can't invoke arbitrary methods with EL.
>
Michael Jouravlev wrote:
Does Struts wiki have a testing page that can be changed without
sending notification to dev list?
The ASF wikis are deliberately configured to always send change
notifications to the dev lists to ensure that we can maintain oversight
of the content of those wikis. Me
[EMAIL PROTECTED] wrote:
Laurie:
Thanks for your response.
You are right big mistake !
Even if Java has pass by value, if you want to make it work like
pass by reference you need to have Valid object ( one which is
instatiated).
Also I wanted initialize method
-- Forwarded message --
Date: Fri, 17 Feb 2006 15:29:56 -0500
From: Rich Bowen <[EMAIL PROTECTED]>
Subject: ApacheCon EU 2006
The ApacheCon Planners are pleased to announce that ApacheCon Europe
2006 will be held in Dublin, Ireland, at the Burlington Hotel
(http://www.jurysdoyle.
Sony Thomas wrote:
Hi friends,
I am using ditchnet tabs in my project. I want to pass more than one
parameter through a link to my action class. I have used the following
code to pass the parameters.
<% java.util.Map paramMap = new
java.util.HashMap();
Ahmed Hashim wrote:
> link
> body
>
Ignoring that I already answered this question, your example is wrong:
etc.
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
link
body
it is so simple and powerfull.
Ahmed Hashim
www.egjug.org
On 2/17/06, Chris Cheshire <[EMAIL PROTECTED]> wrote:
>
> I am new to using Struts and I can't see how to specify the font class
> and styles for an html:link tag.
>
> Previously I would have something like link body
>
> I don't
Mineau, Christian wrote:
I tried the crosscontext forward in my action and this worked well. But
the only problem is I need to return an ActionForward from the execute
method. I tried to return NULL and all worked great ie. :
...
getServlet().getServletContext().getContext("/We
Never mind, I am goofy in the head. I looked at my code to send the request
via xmlHttp and I was appending my params to the end of the location string
instead of putting them in the body of the request, now all is working fine. I
had a couple of other saintly people help me out on this group and t
Tony Dahbura wrote:
I have an action that needs to call another action and pass data to it.
The first action has the data in a form action1form, but the second
action uses a different form bean action2form. The first action has
completed its work and needs to pass off to this second action as w
[EMAIL PROTECTED] wrote:
Hi folks,
I am new to the user list. I have been developing with Struts for about 2
years. I have an open source ajax project that I am building an integration
piece now so that you can use it with Struts. I believe that my syntax for a
dynamic form property is correct (
That would have a rather different meaning. Closer would be
'methodName' is suspicious, though. Are you trying to invoke a method,
or retrieve a property? You can't invoke arbitrary methods with EL.
'methodName' means 'call the method named getMethodName'.
L.
Keith Sader wrote:
I think
Bharathi Kattamuri wrote:
Hi,
I have with javascript in a struts application. I am trying to insert a
text into a TextArea.Somehow document.selection.createRange().text
is not working. I am using IE6.0.29
Below is the code.
function addToMessageText(sendText){
// alert("add
On 2/17/06, Timo Schnölzer <[EMAIL PROTECTED]> wrote:
> Hi folks,
>
> my dialogs are working fine in shale with clay for composition. Now i am
> wondering how to achieve the following:
>
> Usecase:
>
> User is working in a defined dialog, say with view 1 to 10. when arrived in
> "view 5" he wants t
Paul Benedict wrote:
Spring can give you method-level security if you're interested in it.
http://acegisecurity.org/
It will use AOP to proxy your classes and make sure any thread has the proper
credentials to
access your code.
And that's how to re-invent the wheel in chrome ;-) Seriously, P
The Java security manager infrastructure. That's what it's there for :-)
L.
Frank W. Zammetti wrote:
What is so objectionable about it? If you think securing a method is a
good idea (I'm not sure I do, but let's assume for the sake of
argument), why is this answer "square"? :) I don't doubt
I wish that was the case. I don't know what field from the bean I
will retrieve until runtime. For example: in the html-el:text example
below, it first gets the value of displayData.property which, lets say
is 'myField1', then retrieves the myBean.myNestedBean.myField1. My
problem now is how do I
I think you need ${} around the whole expression.
${myBean.myNestedBean.displayData.property}
On 2/17/06, Dennis Hoer <[EMAIL PROTECTED]> wrote:
> Tried
>
>
> and it resolves to a string
> "myBean.myNestedBean.methodX"
>
> I also tried
>
>
>
> and get the same thing. I need the result of the
Ah! thank you very much, you ROCK!
Bryan LaPlante
-- Original Message ---
From: "Niall Pemberton" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Fri, 17 Feb 2006 16:40:56 -
Subject: Re: DynaActionForm question
> http://tinyurl.com/csarz
>
> - Original Messag
On 2/17/06, Hermod Opstvedt <[EMAIL PROTECTED]> wrote:
>
> Hi
>
> That's a different issue. I can off the top of my head remember if you
> maintain the session with target '_new'. I know for a fact that doing
> ctrl-N
> in IE and Firefox maintains the session, so I leaning towards beliving
> that
>
Tried
and it resolves to a string
"myBean.myNestedBean.methodX"
I also tried
and get the same thing. I need the result of the string to be
resolved after the method name is returned.
On 2/17/06, Niall Pemberton <[EMAIL PROTECTED]> wrote:
> How about ?
>
> Niall
>
> - Original Messag
On 2/17/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> You can use Webflow extension...
>
--Really?? How??
You can use Webflow extension...
-- Original message --
From: Michael Jouravlev <[EMAIL PROTECTED]>
> On 2/17/06, Leila Carvalho <[EMAIL PROTECTED]> wrote:
> > What is the best way to implement the logic of a second combobox that
> > depends
> > on the choice made
Hi
That's a different issue. I can off the top of my head remember if you
maintain the session with target '_new'. I know for a fact that doing ctrl-N
in IE and Firefox maintains the session, so I leaning towards beliving that
'_new' will to. Have actually verified that it does not?
Med vennlig h
On 2/17/06, Leila Carvalho <[EMAIL PROTECTED]> wrote:
> What is the best way to implement the logic of a second combobox that
> depends
> on the choice made in a first combobox in a JSP page, inside Struts
> framework ??
> For instance: if I choose EUA in the first combobox, the second combobox
> m
What is the best way to implement the logic of a second combobox that
depends
on the choice made in a first combobox in a JSP page, inside Struts
framework ??
For instance: if I choose EUA in the first combobox, the second combobox
must be
populated with EUA's states. The same for countries X stat
How about ?
Niall
- Original Message -
From: "Dennis Hoer" <[EMAIL PROTECTED]>
Sent: Friday, February 17, 2006 5:43 PM
I'm trying to write out the text of a string instead of creating a
form text object where the property dynamically gets the name of the
field. I tried the following
Jim Reynolds asked:
> For whatever reason, I have alwasy called the application
> with /test/welcome.do or something like that.
>
> Question1) Does the name in the servlet-name, have to be the
> same name as the context? Or did it just work because of that.
I don't know Tomcat configuration, bu
I'm trying to write out the text of a string instead of creating a
form text object where the property dynamically gets the name of the
field. I tried the following but there is no bean write el
equivilent:
Is there tag lib out there that can do this or a different way to do this?
Does Struts wiki have a testing page that can be changed without
sending notification to dev list?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Ahh good, your're welcome - its a relief :-)
Niall
- Original Message -
From: "Chris Cheshire" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Friday, February 17, 2006 5:13 PM
Subject: Re: using a resource key to extra validation errors
Doh. Thanks Niall. I see now.
Thanks
Doh. Thanks Niall. I see now.
Thanks for perservering
Chris
On 2/17/06, Niall Pemberton <[EMAIL PROTECTED]> wrote:
> You want to inernationalize your labels/messages/text - but not the names of
> your properties on your form bean
[snip]
--
You want to inernationalize your labels/messages/text - but not the names of
your properties on your form bean - if you had a property "house" - you
wouldn't have a different property on your form bean depending on the Locale
(getHouse() / setHouse() for English and getMaison() setMaison() for
Fren
zahid mohammed wrote:
> If something was fundamentally wrong then why would it work in "FIREFOX".
>
Perhaps because Firefox is less fundamentally broken than IE?
> And moreover these two printlns are giving the same result in Firefox but
> not in IE i.e after clicking next these are printing the
If something was fundamentally wrong then why would it work in "FIREFOX".
And moreover these two printlns are giving the same result in Firefox but
not in IE i.e after clicking next these are printing the next page's first
element. I am in the process of using HTTPWatch. I'll let u guys know the
re
http://tinyurl.com/csarz
- Original Message -
From: <[EMAIL PROTECTED]>
Sent: Friday, February 17, 2006 2:32 PM
> Hi,
>
> Does anyone know if there is a way to process form parameters with a
> DynaActionForm without first declaring the property names as form-property
> tags in strtuts-c
Chris Cheshire wrote:
>
> breaks internationalisation.
>
You want to internationalize the names of the properties?
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Jim Reynolds wrote:
> I am running a struts application in a directory (context?) named "test".
> In my web.xml I configured the following:
>
> test
> org.apache.struts.action.ActionServlet
> ..
>
> test
> *.do
>
>
>
> For whatever reason, I have alwasy called the appli
[EMAIL PROTECTED] wrote:
> I am looking at DynaActionForm. If I can subclass that and get it to add all
> parameters without first looking at the config, then I won't need to declare
> them first. If anyone has a better idea please shout.
>
What are you trying to accomplish?
Dave
---
zahid mohammed wrote:
> Yes. After clicking next "System.out.println" is printing the right name on
> the console whereas "out.println" is printing the wrong name (first page
> element) on the jsp.
>
Well, it certainly wouldn't be the first page element. It's after a
logic:iterate and table etc.
Internationalisation.
Resource bundle contains (among other things):
label.password=password
The label of the field is looked up from the resource bundle:
The validation error in the form is keyed on that same value, looked
up from the resource bundle:
String label = resources.getMessage("label
>From: Timo Schnölzer <[EMAIL PROTECTED]>
>
> Hi,
>
> I have to stay in the same browser session. So _blank or _new is not a
> solution.
> I have to leave the screenflow and come back.
>
I think the heart of the dialog state is the StatusImpl object that is cached
in session scope. I wond
Wow. I read about Spring last night. No wonder people are having to do a lot
of unit testing, if one has to create all of these XML entries that get linked
together. That's a pretty radical change to make just to get the ability to
use the Shale Test Framework, especially given that we haven'
I am looking at DynaActionForm. If I can subclass that and get it to add all
parameters without first looking at the config, then I won't need to declare
them first. If anyone has a better idea please shout.
Bryan LaPlante
-- Original Message ---
From: "[EMAIL PROTECTED]" <[EMAIL
LOL! Wunnerful! And I agree.
> -Original Message-
> From: Josh McDonald [mailto:[EMAIL PROTECTED]
> Sent: Thursday, February 16, 2006 7:04 PM
> To: user@struts.apache.org
> Subject: Re: [OT] Hiding methods
>
>
> Strewth! I just went back and read this thread... Throw an
> exception a
On 2/17/06, Marco Mistroni <[EMAIL PROTECTED]> wrote:
> Hello,
> >> On Thu, February 16, 2006 4:51 pm, Michael Jouravlev said:
> >>
> >>> The last thing I can think of is a hook, a rope and some soap.
> >
>
> Uhmm.. you mean last resort is hanging? Or by soap you were really
> Meaning SOAP :)
Heh
Hello,
I am probbly wrong on a couple of issues here, so I am needing
assistance on the following:
I am running a struts application in a directory (context?) named "test".
In my web.xml I configured the following:
test
org.apache.struts.action.ActionServlet
..
test
*.do
Yes. After clicking next "System.out.println" is printing the right name on
the console whereas "out.println" is printing the wrong name (first page
element) on the jsp.
Thanks
On 2/17/06, Dave Newton <[EMAIL PROTECTED]> wrote:
>
> zahid mohammed wrote:
> >> System.out.println("The First cand
Hello,
>> On Thu, February 16, 2006 4:51 pm, Michael Jouravlev said:
>>
>>> The last thing I can think of is a hook, a rope and some soap.
>
Uhmm.. you mean last resort is hanging? Or by soap you were really
Meaning SOAP :)
Regards
marco
---
zahid mohammed wrote:
>> System.out.println("The First candidates first name is
>> "+firstCandidate.getFirstName());
>> out.println("First candidates first name is
>> "+firstCandidate.getFirstName());
>>
You're saying these two things print something different?
Dave
---
I don't spot anything immediately that looks wrong to me... have you
viewed the transaction at a low level via HTTPWatch or similar tool as
suggested? Until you do that you have not fully explored the problem
and hence don't need the rope quite yet :) (or the soap... still not
sure where that
Hi,
I have to stay in the same browser session. So _blank or _new is not a
solution.
I have to leave the screenflow and come back.
When using seam (jboss) i had the same situation without a proper solution.
How do you deal with this??? Whenever u are in a dialog like a wizzard you
can not disable
Frank, Michael and Dave,
> On Thu, February 16, 2006 4:51 pm, Michael Jouravlev said:
>
>> The last thing I can think of is a hook, a rope and some soap.
Is this the only option left...Did u guys find any problem in
the code?
Thanks
On 2/16/06, zahid mohammed <[EMAIL PROTECTED]> wro
Hi,
Does anyone know if there is a way to process form parameters with a
DynaActionForm without first declaring the property names as form-property
tags in strtuts-config?
Bryan LaPlante
-
To unsubscribe, e-mail: [EMAIL PROTECTE
I tried the crosscontext forward in my action and this worked well. But
the only problem is I need to return an ActionForward from the execute
method. I tried to return NULL and all worked great ie. :
...
getServlet().getServletContext().getContext("/Webapp2").getRequestDispat
ch
Hi
The thing I need at first was actually basic user-statistics.
- How many users the last day/week/month
- Who's the referer
i use a PHP skript for that.
* http://www.phpee.com/11.html
It does all the needed data very well.
Have fun,
Chris
-
I am beginner for struts.now I have developed one simple
application using Struts 1.24 with Mysql 4.1.I have created all the tables
successfully.and Program is also correct.And I have copied the "
mm.mysql-2.0.6.jar" into lib Folder.But it Shows some database exceptions.
Is
Hi
Why don't just add in a standard link, with target='_new'?
Hermod
-Original Message-
From: Timo Schnölzer [mailto:[EMAIL PROTECTED] Behalf Of Timo
Schnölzer
Sent: Friday, February 17, 2006 12:17 PM
To: 'Struts Users Mailing List'
Subject: [shale] escaping and resuming dialog
Hi folk
Hi,
I have with javascript in a struts application. I am trying to insert a
text into a TextArea.Somehow document.selection.createRange().text
is not working. I am using IE6.0.29
Below is the code.
function addToMessageText(sendText){
Re: Statistics
The thing I need at first was actually basic user-statistics.
- How many users the last day/week/month
- Who's the referer
But your program sounds like a nice optimization tool.
Regards
Morten
Leon Rosenberg skrev:
I have developed a solution where each struts action has an
ActionStats objec
I have developed a solution where each struts action has an
ActionStats object which counts automatically number of requests,
number of errors, min/mid/max/last execution times and does all this
for any specified intervals (5minutes, 15 minutes, 1 hour etc).
Another action then generates xml and ht
netsql wrote:
> Ahh... that's what code defensively means. :-)
Programming for job security.
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi folks,
my dialogs are working fine in shale with clay for composition. Now i am
wondering how to achieve the following:
Usecase:
User is working in a defined dialog, say with view 1 to 10. when arrived in
"view 5" he wants to use a link not beeing a workflow link, e.g. "my
account" or "what e
Ahh... that's what code defensively means. :-)
Some threads are just more fun.
.V
Frank W. Zammetti wrote:
What's wrong with the implementation?
And, if it took my replacement a week to figure that out, I would hope
he'd have a replacement shortly thereafter :)
Frank
Hi friends,
I am using ditchnet tabs in my project. I want to pass more than one
parameter through a link to my action class. I have used the following
code to pass the parameters.
<%
java.util.Map paramMap = new
java.util.HashMap();
How do you do statistics for your website solutions?
Just using standard statistics packages or solutions?
If then what package?
I'm currently developing an XML based statistics module for J2EE that
saves the stats info using XML. This makes it more flexible and easier
to use.
But is it wort
So what are you after? Why do you need to use a value from the resources as
the message property?
Niall
- Original Message -
From: "Chris Cheshire" <[EMAIL PROTECTED]>
Sent: Friday, February 17, 2006 7:09 AM
Yes what I have in my code is exactly what is in the example. It is
not howeve
70 matches
Mail list logo