tonny bruckers ha scritto:
Does any one have a working example of the use of tiles multi-channels by
implementing the org.apache.struts.tiles.DefinitionsFactory interface?
Dimensions uses FactorySet to use the multi-channel facility of Tiles.
http://mutidimensions.sf.net/
Ciao
Antonio
Hi
I want to use ajax in my java application.How to use it.
Any samples for one jsp page that contains some fields.
Kindly Regards
gomes
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Take a look at the dwr framework. It allows you to easily map server
object request to local forms / div
It's prety easy to use, and convert server dwr exposed objects to
javascript object, with similar method names. It pretty looks from
javascript point of view like having an asynchronous version
gomathi ha scritto:
Hi
I want to use ajax in my java application.How to use it.
Any samples for one jsp page that contains some fields.
Kindly Regards
gomes
http://www.ajaxian.com/resources/
Go to Java based section
Ciao
Antonio
Dave Newton a écrit :
Thibaut wrote:
In the WEB-INF/user/struts-config.xml
actionpath=/insertANewCandidate
type=com.cvdunet.controller.action.UpdateResponsesForRequestAction
input=essai.html
Your input page is an HTML file?
Yes it's just to
http://www.omnytex.com/articles/xhrstruts/
- Original Message -
From: gomathi [EMAIL PROTECTED]
To: user@struts.apache.org
Sent: Thursday, March 23, 2006 1:31 PM
Subject: Regards ajax
Hi
I want to use ajax in my java application.How to use it.
Any samples for one jsp page that
Hi
I am using struts and my application downloads data in a PDF file. To
make sure the download was successful I close the stream or flush it.
Now I want to continue with my session by forwarding to another Struts
action, unfortunately when the request is closed you cannot do a thing.
Is
Can anyone give more information on
AVK tests for my struts application
-
Raghuveer
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi Mabusela,
Try popping up a new window (try out with target=new attribute for html
anchor element)that should call the action to generate PDF, while continue
with your rest of the action in the parent browser.
Regards,
Thomas Joseph
- Original Message -
From: Mabusela, Koketso K
Henri Yandell wrote:
On 3/22/06, Jonathan Revusky [EMAIL PROTECTED] wrote:
Henri Yandell wrote:
foo.apache.org maps to a PMC, which maps to a coding community, not to
a codebase.
Henri, I feel I should give you a bit of end-user feedback. I am not
active in any apache.org projects, but,
Hi
I did design it that way initially, unfortunately it was declined. No
pop ups allowed.
Thanks for the reply.
-Original Message-
From: Thomas Joseph [mailto:[EMAIL PROTECTED]
Sent: 23 March, 2006 12:36
To: Struts Users Mailing List
Subject: Re: Download through Outputstream
Hi
Niall Pemberton wrote:
On 3/23/06, Henri Yandell [EMAIL PROTECTED] wrote:
Struts is a cool community. The users are actively involved, in terms
of answering and asking; people obviously care about the community -
as shown by both your and Dakota's questions and by the desire of the
committers
Hi Koketso, I don't think you are going to be able to do what you want, at
least not the way you describe. You won't be able to do anything server
side with the binary stream (pdf) response once it is complete and you won't
know on the client side when the pdf is finished or hung or whatever.
Jonathan, I can't seem to find your patch to fix the website anywhere in
bugzilla. Can you point me to it?
--
James Mitchell
Software Engineer / Open Source Evangelist
Consulting / Mentoring
678.910.8017
- Original Message -
From: Jonathan Revusky [EMAIL PROTECTED]
To:
On 3/23/06, Jonathan Revusky [EMAIL PROTECTED] wrote:
Niall Pemberton wrote:
I don't believe this is true - from what I see Jonathan Revusky's only
desire is to see the demise of Apache -
Very good, Niall. Since you're so good at reading my mind, could you
tell me how I plan to bring
James Mitchell wrote:
Jonathan, I can't seem to find your patch to fix the website anywhere in
bugzilla. Can you point me to it?
James, I understand that this is some kind of attempt at sarcasm. The
problem is that you're obviously not really thinking about what you're
saying. Let's try to
Hi
Thanks for that tip. I will put a link to download if the download did
not start. I can download the file the main problem was the post
conditions.
To execute my post condition, I just decided to call the execute methods
of those Action classes directly because calling them with a findForward
thanks for all your ideas and advice especially the one with the filter was
very helpful. :)
ciao 4 now
Julian
--- Ursprüngliche Nachricht ---
Von: Mark Lowe [EMAIL PROTECTED]
An: Struts Users Mailing List user@struts.apache.org
Betreff: Re: Strategy for Controlling the Session Size
Datum:
Hello,
As a mortal user i would suggest that all this discussion to be taken
somewhere else, but i have a strong feeling that the motives behind this
and many other thread posts during the last few months are actually fed
by the visibility of the mailing list itself.
Anyway, just wanted to
If you want to just return to the same page after you submit, then simply
provide that as the return value in your Action and have it mapped just
like you would for going to any other page in your flow. There is no
difference what so ever. Maybe I'm confused what you are trying to
accomplish?
Jonathan Revusky wrote:
As regards insults, there is a difference of perspective here. My own
feeling is that in all of my posts I have exercised a great degree of
self-restraint.
Unless you count being able to state your view concisely.
[...] people literally claim that the managers of the
Marcio Ghiraldelli wrote:
How? Supose I have a form with an select combo. The itens should be
populated with a database result. The only way I could acomplish this
is getting data on the Action before the form view, set the list in
the request, redirect to the view. Then, the view creates an
By far the most complete AppServer comparison matrix I have seen
At the risk of sounding like Red Green.. Thanks Moose!
Martin--
- Original Message -
From: Hey Nony Moose [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Wednesday, March 22, 2006 5:33 PM
Let me make it simple for all you noobs:
Resin!
(It does PHP just like JSP, Groovy, 5x faster, easy reloader, used by
most seniors on this list )
and most popular of the list:
http://news.netcraft.com/archives/2003/04/10/java_servlet_engines.html
.V
Martin Gainty wrote:
By far the most
In the example below, the FirstAction action is responsable for
getting a list from the db and pass it to the form Form.
During the execution of the action.First class, doesn't exists yet any
instance of the form. When the action.First class redirects to the
form.jsp, after loading
Hi Guys,
I have a formBean which has a collection of objects within it called Apps.
Each App object has several fields with one of these fields being a
collection or list of Strings.
ExampleFormBean properties are
String Name
String Class
String Student
List apps
Each app object
Thanks for the information on disallowing direct access via chain-config!
I couldn't find any exceptions that were thrown while trying to access
WEB-INF$pages$welcome.
Craig McClanahan wrote:
I suspect an exception (due to not being able to directly access things
under /WEB-INF) is getting
You can use EL extention of html tag and use something like this:
html:option value=${exampleFormBean.apps.actions.act}bean:write
name=act//html:option
Assuming getters are defined for all properties.
Regds,
On 3/23/06, Shoukat, Faisal [EMAIL PROTECTED] wrote:
Hi Guys,
I have a formBean
In struts config
form-bean name=Form1 type=org.apache.struts.validator.DynaValidatorForm
dynamic=true
form-property name=netRevenue type=java.lang.Double/
.
..
..
/form-bean
In prepare action I am not doing
Jonathan, I can't seem to find your patch to fix the website anywhere in
bugzilla. Can you point me to it?
James, I understand that this is some kind of attempt at sarcasm. The
problem is that you're obviously not really thinking about what you're
saying.
Oh, maybe you are right. What I
When I do the below in the form it submits
{exampleFormBean.apps.actions.act}
As the value. I have a getter defined for apps in the formbean and in apps
there is a getter for actions.
There is no getter for act as this is deifined in the iterate tag
Still stuck!!
-Original Message-
Try using:
html:option value=${exampleFormBean.apps.actions[3]}bean:write
name=act//html:option
If act is the third element in the list apps.
On 3/23/06, Shoukat, Faisal [EMAIL PROTECTED] wrote:
When I do the below in the form it submits
{exampleFormBean.apps.actions.act}
As the value. I
I don't see how the order of elements would matter because apps is a
collection within the formBean. A get on this returns the actions
collection. The action collection is just a list of Strings.
The act variable you are speaking about is just something I have assigned as
an id in my logic
James Mitchell wrote:
Jonathan, I can't seem to find your patch to fix the website anywhere
in bugzilla. Can you point me to it?
James, I understand that this is some kind of attempt at sarcasm. The
problem is that you're obviously not really thinking about what you're
saying.
Oh, maybe
Jonathan Revusky ha scritto:
James Mitchell wrote:
blah
blah
Will you stop to flood this mailing list and continue this flame war in
your private mail boxes, please? I think we all had enough of this.
-
To unsubscribe,
Brantley Hobbs ha scritto:
All,
At runtime I need to get a list of /all/ the actions that are defined in
Struts. I'd rather not extract them directly from the conf file(s)
unless it's absolutely necessary, but I don't (readily) see an API for
doing this so I might be forced into it.
It
I have a HashMap with some data .I must alter the Map by replacing the
keys with their upper case.
Map searchResultMap=
(Map)request.getAttribute(searchResults);
ListIterator
temp temp ha scritto:
I have a HashMap with some data .I must alter the Map by replacing the
keys with their upper case.
Ok first of all you cannot modify a HashMap while you are iterating it.
But your problem has a solution.
Iterate the map and store into another map the key-value
I get this Map from a collection and collection might have 1000 or more Maps
so I first iterate over this collection retrieve the map and then iterate
over this map so creating a new Map for each iteration is this a good design
?
Thanks Regards
Antonio Petrelli [EMAIL PROTECTED]
Jonathan Revusky wrote:
Maybe that's what you meant to say but you didn't have the intestinal
fortitude to say it so you posted the asinine stuff about a patch.
Oooo! Me! Me! Pick me!
Put up or shut up!
I'm leaning towards the shut up myself, but that didn't work years ago
on the Velocity
Lord, Mitchell, he said the problem was not the website. Do you just take
jabs or do you every actually come up with a position and defend it?
On 3/23/06, James Mitchell [EMAIL PROTECTED] wrote:
Jonathan, I can't seem to find your patch to fix the website anywhere in
bugzilla. Can you point
Try using a good browser. I am not willing to change my life to suit your
apparent inability to handle email.
On 3/23/06, Emmanouil Batsis [EMAIL PROTECTED] wrote:
Hello,
As a mortal user i would suggest that all this discussion to be taken
somewhere else, but i have a strong feeling that
When someone is telling you that you are going in the wrong direction, a
good answer is not Help me go faster.
On 3/23/06, James Mitchell [EMAIL PROTECTED] wrote:
Jonathan, I can't seem to find your patch to fix the website anywhere
in
bugzilla. Can you point me to it?
James, I
Sometimes I wonder if you are just not working on too little horsepower,
James. Do you really, no kidding, honestly, think Jonathan was talking
about a business model here? If so, I apologize for arguing with you. If
not, try to be more genuine and to reply to what people are saying versus
I have this working using the following code:
tdhtml:select property=action
logic:iterate id=act name=app property=actions indexId=index
%
String literal =(String) act;
%
html:option value=%=literal%bean:write name=act//html:option
/logic:iterate
/html:select
But as you can see I am
PREFACE: You is slang for a nice Southern You all. :)
I can't speak for anybody else, but I don't have an inability to handle
email. Or maybe I do, and I just don't know how to code a filter to
determine when you are posting crap, and when you aren't.
Regardless, I'm generally interested in
[EMAIL PROTECTED] wrote:
If not, then please be courteous enough to send a private email. Because
maybe, just maybe, it's not that important to have the last word in a
public forum.
Sez you.
;)
Dave
-
To
On 3/23/06, Emmanouil Batsis [EMAIL PROTECTED] wrote:
Hello,
As a mortal user i would suggest that all this discussion to be taken
somewhere else, but i have a strong feeling that the motives behind this
and many other thread posts during the last few months are actually fed
by the
Jonathan Revusky wrote:
George Dinwiddie wrote:
There are many companies using Struts for far
more important things than simple websites. I believe that many of
these companies would be unwilling to trust Struts for
these uses if
the project were to greatly open up the commit
Do something like this:
logic:iterate name=exampleformbean property=apps id=app
html:select name=app property=action
html:optionCollections propety=actions /
/html:select
/logic:iterate
You also need to add action property to your app class. This is to
hold the input specified by html:select
[EMAIL PROTECTED] wrote:
Jonathan Revusky wrote:
George Dinwiddie wrote:
snip
Scott Adams has made his fortune displaying the cynical view of managers
that you describe. Indeed, from the point of view of the technical
staff or others with limited access to those managers, it often looks
Dave Newton wrote:
Jonathan Revusky wrote:
As regards insults, there is a difference of perspective here. My own
feeling is that in all of my posts I have exercised a great degree of
self-restraint.
Unless you count being able to state your view concisely.
There are 2 basic reasons that
Dave Newton wrote:
Jonathan Revusky wrote:
Maybe that's what you meant to say but you didn't have the intestinal
fortitude to say it so you posted the asinine stuff about a patch.
Oooo! Me! Me! Pick me!
Put up or shut up!
I'm leaning towards the shut up myself, but that didn't work years
Do EL expressions only evaluate to String and primitive types? I have code
similar to the following in my jsp.
logic:iterate name=uriList id=uri
write:iterate name= uriValueMap property=${uri}/
/logic:iterate
Where uriList is an object of type java.util.List only containing
I have found taglibs to do breadcrumb trails for
servlet and JSP technology.
Is there breadcrumb trails code available for the
Struts technology? I mean that I plan to create a
list of links that has a horizontal orientation on a
web page. It shows users where they are in the
hierarchy of a
Hello all,
I'm coding a simple action that retrieves some data from the database in
order to create an xml object for an ajax-based autocomplete field, I'm
worried about the load of the database beacuse this action is called
from a javascript event onkeyup() this means that the action will be
Joel Alejandro Espinosa Carra wrote the following on 3/23/2006 3:45 PM:
I'm worried about the load of the database beacuse this action is
called from a javascript event onkeyup() this means that the action
will be executed every time when user press a key in the field, is
there an other way to
Jonathan Revusky wrote:
[EMAIL PROTECTED] wrote:
Now we're leaving empiricism for speculation.
No, because the above propositions can, in principle, be put to an
empirical test.
If it _hasn't_ been put to an empirical test then it's speculation.
Obviously, it is completely natural to wonder
Hello,
The first thing I would suggest is this is one of those cases where the
X in AJAX probably isn't appropriate. Remember that there is NO
requirement to use XML when doing AJAX (although I suppose it isn't AJAX
then strictly speaking).
Take Google Suggests for example. They are not
Jonathan Revusky wrote:
I already am spending too much time on this [...]
Agreed.
2. I know that there is significant animosity towards me here [...]
My animosity towards you is from years ago, actually; I won't speak for
anybody else.
From whence From whence Is the Shakespearean
On 3/23/06, James Mitchell [EMAIL PROTECTED] wrote:
You claim that someone who hits the website cannot understand what the
product is or does. How can you claim this unless you actually DO
understand what it is and therefore it must be confusing for someone who
doesn't.
This is hilarious
On 3/23/06, Frank W. Zammetti [EMAIL PROTECTED] wrote:
Hello,
The first thing I would suggest is this is one of those cases where the
X in AJAX probably isn't appropriate. Remember that there is NO
requirement to use XML when doing AJAX (although I suppose it isn't AJAX
then strictly
On 3/23/06, Jonathan Revusky [EMAIL PROTECTED] wrote:
In order to be able to offer something
reasonably state of the art, the Struts community is basically
abandoning the Struts 1.x codebase and inviting the Webwork people in.
The Webwork 2.2 codebase then gets rechristened Struts Action
The bar to committing on Struts is NOT the issue. The issue is the mess.
I cannot agree more with Jonathan. It is s good to hear from someone
who sounds mature and sensible.
On 3/23/06, Dave Newton [EMAIL PROTECTED] wrote:
Jonathan Revusky wrote:
I already am spending too much time on
Lord, Al, do you realize you have just concluded that it is impossible to
fail to see what a product is or does from a website? This is not like
you. Usually you make sense. But, this is right along the lines of a
Newton (Dave) or a Mitchell (James). Oh, wait, it was Mitchell. LOL
Sorry, Al.
Dave Newton wrote:
Jonathan Revusky wrote:
I already am spending too much time on this [...]
Agreed.
2. I know that there is significant animosity towards me here [...]
My animosity towards you is from years ago, actually;
I remember that vaguely, yes. Still feeling animosity over
(caveat: it's a joke, i have no actual emotional investment in cars or
any other childish my X is better than yours manifestation)
Michael Jouravlev wrote:
Do you care that Pontiac GTO is actually a
Holden Monaro, which is heavily based on Opel Omega?
GODAM HERESY
Michael Jouravlev wrote:
On 3/23/06, Jonathan Revusky [EMAIL PROTECTED] wrote:
In order to be able to offer something
reasonably state of the art, the Struts community is basically
abandoning the Struts 1.x codebase and inviting the Webwork people in.
The Webwork 2.2 codebase then gets
On 3/23/06, Jonathan Revusky [EMAIL PROTECTED] wrote:
Michael Jouravlev wrote:
In the above you say you will try again to explain this. I have no
recollection that you ever tried to explain it to me before.
It was in the other longer thread :)
Core Struts people are moving to JSF/Shale,
[NSC] = No Struts Content ... a tagging that I've seen used on other
lists ( N?C ) where ? = initial of the lists name
Emmanouil Batsis wrote:
Hello,
As a mortal user i would suggest that all this discussion to be taken
somewhere else,
There have been a few similar calls for this. I already
Hey Nony Moose wrote:
It's FRIDAY, have a bloody laugh for crying out loud!
here ... take your pick:
http://www.google.com.au/search?hl=enq=%22how+many%22+%22does+it+take+to+change+a+light+bulb%22btnG=Google+Searchmeta=
-
To
The Struts team is pleased to announce the release of Struts 1.2.9 for
General Availability. This release is primarily to fix three security issues
which have been identified and supersedes the earlier 1.2.8 version as the
latest official release of Struts from The Apache Software Foundation. For
I like your analogy, however I disagree with the following:
Core Struts people are moving to JSF/Shale ...
That's not true for everyone. The whole reason Shale is not Struts
2.0 in the first place is that a majority of the Struts leadership
decided that JSF should not be the future
LMAO..I like this one:
http://www.rider.edu/suler/psycyber/listbulb.html
--
James Mitchell
EdgeTech, Inc.
http://edgetechservices.net/
678.910.8017
Skype: jmitchtx
On Mar 23, 2006, at 8:35 PM, Hey Nony Moose wrote:
Hey Nony Moose wrote:
It's FRIDAY, have a bloody laugh for crying out
It's always better to use context root to access web site content instead of
using ../.. in the path. For eg, your application context root is MyApp and
your images folder is a part of WebContent folder in Websphere, then image
src should be:
img src=/MyApp/images/arrow_collapsed.gif border=0
Jonathan Revusky wrote:
I have no recollection of having wronged you in any specific way.
You sprayed then, you spray now. No change. They told me not to feed
the trolls then, they tell me not to feed the trolls now.
I really don't believe we're so far apart on this: I think the bar for
fea jabi wrote:
In struts config
form-bean name=Form1
type=org.apache.struts.validator.DynaValidatorForm dynamic=true
form-property name=netRevenue type=java.lang.Double/
..
...
...
/form-bean
In prepare
Caroline Jen wrote:
I have found taglibs to do breadcrumb trails for
servlet and JSP technology.
Is there breadcrumb trails code available for the
Struts technology? I mean that I plan to create a
list of links that has a horizontal orientation on a
web page. It shows users where they are in
fea jabi wrote:
In struts config
form-bean name=Form1
type=org.apache.struts.validator.DynaValidatorForm dynamic=true
form-property name=netRevenue type=java.lang.Double/
..
...
...
/form-bean
In prepare
I flat don't believe this. Who, what, where, when, etc?
On 3/23/06, Dave Newton [EMAIL PROTECTED] wrote:
Jonathan Revusky wrote:
I have no recollection of having wronged you in any specific way.
You sprayed then, you spray now. No change. They told me not to feed
the trolls then, they
Hi All,
This ons is off topic again.
When I loop for an arraylist I normally use the the first option as it seems
to me that it will execute the quickest. I know supposedly I should use the
foreach loop.
All that I want to do is go through the list no adding new elements or
anything.
Am I
Hi,
for ArrayList it is.
But you should code to interfaces so you can change the implementation
without any problems.
Anf if your a is declared as a List then you won't know.
The for loop is faster for an ArrayList but it can't be faster for a linked
listed for example.
If you take it on step
temp temp ha scritto:
I get this Map from a collection and collection might have 1000 or more Maps
so I first iterate over this collection retrieve the map and then iterate
over this map so creating a new Map for each iteration is this a good design
?
Surely it is not a good
83 matches
Mail list logo