Dakota Jack wrote:
you cannot use the ActionForm. From your question I assume you are
using the ActionForm and wondering what in the heck happened to your
multipart request?
no. i just wanted to know if i do request.getParameter("paramname")
within an Action for an ActionForm submitted as multipa
Are you sure there is no way out ? I really feel , there might be some way
out .
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Grzegorz Stasica
Sent: Thursday, April 28, 2005 9:51 PM
To: user@struts.apache.org
Subject: Re: Tiles Exception
Nimish Chourey , Tidel Par
[EMAIL PROTECTED] wrote:
I was a beginner too, so don't be so cruel with yourself ;-) By the way,
Heh :-)
if you want to make something complicated, remember that you can put ANY
URL in your element. For example, I put an Action's URL, so that it
loads some data. This Action forwards to a JSP page
Case in point: www.autotrader.com One of the worst web intefaces ever.
It got only marginally better after redesign. Go to the search page,
enter the criteria, and get your car list. Then go back. Oops, all
fields that had been carefully selected before, are now cleared! Have
they tried to use it t
I am using jsp include to include a jsp in a jsp.
+
I want to pass dynamic value to name attribute is this
possible.
"
value=<%"string from an object"%>/>
I want to pass property of a bean for the value of
name attribute .How can I acheive this.
thanks®ards
___
handling orphaned columns in a dynamic check boxes tile:
How about putting some debugging stuff in the unspecified() method in your
action. Something like the following and see what it shows...
protected ActionForward unspecified(ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServ
From: "draegoon Z" <[EMAIL PROTECTED]>
> Just trying to find the ${my_collection.size} or ${my_collection.length}!
> Why is it not that simple?
Unfortunately, the Collection interface only has a 'size' method, not the
'getSize' that would be required for what you wrote to work.
What are you tryi
This is a more important question than you might realize and the
answer is not obvious. When you have a multipart request in Struts,
what happens depends upon whether or not you have an ActionForm
associated with your Action. If you do, then the Struts application
grabs the multipart request and
Just trying to find the ${my_collection.size} or ${my_collection.length}!
Why is it not that simple?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Yes.
Normally, you don't have to distinguish between POST and GET.
leon
> -Ursprüngliche Nachricht-
> Von: rmanchu [mailto:[EMAIL PROTECTED]
> Gesendet: Freitag, 29. April 2005 00:26
> An: Struts Users Mailing List
> Betreff: multipart-formdata
>
>
> hi guys,
>
> long day today so am
Yes.
Normally, you don't have to distinguish between POST and GET.
leon
> -Ursprüngliche Nachricht-
> Von: rmanchu [mailto:[EMAIL PROTECTED]
> Gesendet: Freitag, 29. April 2005 00:26
> An: Struts Users Mailing List
> Betreff: multipart-formdata
>
>
> hi guys,
>
> long day today so am
What you can do instead, Michael, is make going back going forward.
Do you have a do/undo/redo app in your programming toolkit?
Jack
On 4/28/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote:
> On 4/28/05, Rick Reumann <[EMAIL PROTECTED]> wrote:
> > Michael Jouravlev wrote the following on 4/28/20
hi guys,
long day today so am not thinking clearly :(
if a multipart-formdata form was submitted, would a
request.getParameter("paramname") return the correct values in an Action?
the wrapper takes care of this right?
)|(
riyaz
-
nutsI was looking under struts xhtml html:text and I found
nothing.to exact of a search I guess.
Thanks
Randall
-Original Message-
From: Michael Jouravlev [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 28, 2005 3:05 PM
To: Struts Users Mailing List
Subject: Re: DTD xhtml 1.0
google: struts xhtml
The first line of search result:
"Kickstart FAQ - Apache Struts: Are the Struts tags XHTML compliant?"
http://struts.apache.org/faqs/kickstart.html#xhtml:
If you use an ";
} else {
return ">";
}
}
On 4/28/05, Randall Svancara <[EMAIL PROTECTE
Eric,
Are you ever pressing the enter/return key to submit the form instead of
clicking on the "method" submit button? That could cause a submit without
the method submit button being set (possibly).
Regards,
David
-Original Message-
From: Eoin Dunne [mailto:[EMAIL PROTECTED]
Sent: Thur
By "refresh" do you mean "clear", Michael?
On 4/28/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote:
> >> How do you refresh the page?
> >>
> >
> >
> >
> >
>
> What I meant is that if you always resubmit, then you cannot refresh a
> form without resubmitting again.
>
> On 4/28/05, Rick
Leon Rosenberg wrote:
Aehm... Don't know any, but i can give you mine?
Tell me what the engine has to do, and I'll check whether my engine can
provide it.
Maybe take it off-list :-)
Leon
That is ok. Thank you. I am looking at NFC Chat.
BaTien
-Ursprüngliche Nachricht-
Von: Duong Ba
I am wondering if can be altered to generate valid DTD xhtml
1.0 strict xhtml.
For example, I have:
which generates:
For valid xhtml 1.0 strict dtd, it needs to look like this:
Any ideas, suggestions or comments.
Thanks in advance.
Randall
-
Aehm... Don't know any, but i can give you mine?
Tell me what the engine has to do, and I'll check whether my engine can
provide it.
Maybe take it off-list :-)
Leon
> -Ursprüngliche Nachricht-
> Von: Duong BaTien [mailto:[EMAIL PROTECTED]
> Gesendet: Donnerstag, 28. April 2005 21:01
>
Aehm... Don't know any, but i can give you mine?
Tell me what the engine has to do, and I'll check whether my engine can
provide it.
Maybe take it off-list :-)
Leon
> -Ursprüngliche Nachricht-
> Von: Duong BaTien [mailto:[EMAIL PROTECTED]
> Gesendet: Donnerstag, 28. April 2005 21:01
>
Leon Rosenberg wrote:
JSPWiki. We are happy with it.
Thanks Leon:
Yes, i did take a look and seem to like it. How about Java Chat engine?
BaTien
DBGROUPS
-Ursprüngliche Nachricht-
Von: Duong BaTien [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 28. April 2005 20:08
An: Struts Users
Lucas Bern wrote the following on 4/28/2005 12:44 PM:
> I am making a custom tag that reder a chart with jfrechart...
>
> This custom tag take a dataSet ( an object that store data for
generate the chart ), but, i have to set the content type to image, and
when i use the tag, and the jsp page go
I'd suggest putting the format of your dates in your application properities
files like so..
store.date.simple=MM-dd-
store.date.detailed=MM-dd- h:mm:ss a
And then referencing them from your jsp like this..
Note: We have different bundles so that's why bundle="storeResources"..
This way
JSPWiki. We are happy with it.
> -Ursprüngliche Nachricht-
> Von: Duong BaTien [mailto:[EMAIL PROTECTED]
> Gesendet: Donnerstag, 28. April 2005 20:08
> An: Struts Users Mailing List
> Betreff: [OT] Recommendation of Wiki and Chat engines
>
> Hello list:
>
> I am in the market for a Ja
JSPWiki. We are happy with it.
> -Ursprüngliche Nachricht-
> Von: Duong BaTien [mailto:[EMAIL PROTECTED]
> Gesendet: Donnerstag, 28. April 2005 20:08
> An: Struts Users Mailing List
> Betreff: [OT] Recommendation of Wiki and Chat engines
>
> Hello list:
>
> I am in the market for a Ja
Hello list:
I am in the market for a Java Wiki and a Java Chat (open sources or
commercial). Do you mind to share your experience in using these
collaboration tools and/or your recommendations.
Thanks
BaTien
DBGROUPS
-
To unsub
strange error that happens every second or third time the form is
submitted. Otherwise it works? I was orignially using 1.1 struts but just
upgraded with the same issue to 1.2.4. I thinking it's a timing or
threading
issue, because of the way it works then doesn't work. The error message was
Well thanks again !
I did remember that thread and did not have the time to follow its lengthy
trail.
- Glenn
"Frank W. Zammetti" <[EMAIL PROTECTED]>
28/04/2005 12:54 PM
Please respond to
"Struts Users Mailing List"
To
"Struts Users Mailing List"
cc
"Struts Users Mailing List"
Subject
Actually, I'm not entirely sure :) I can't remember ever using an
anonymous function in JS myself frankly, but I remembered a sample that
Martin posted a week or so ago during our discussion on Ajax, and it just
kind of clicked!
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex T
Excellent Frank, thanks a million !!!
What was your inspiration for this ?
- Glenn
"Frank W. Zammetti" <[EMAIL PROTECTED]>
28/04/2005 10:47 AM
Please respond to
"Struts Users Mailing List"
To
"Struts Users Mailing List"
cc
"Struts Users Mailing List"
Subject
Re: [OT] DOM & JavaScript
Cla
I am makeing a custom tag that reder a chart with jfrechart...
This custom tag take a dataSet ( an object that store data for generate the
chart ), but, i have to set the content type to image, and when i use the tag,
and the jsp page goes on rendering the rest of the page i get a
java.lang.
At 5:57 PM +0200 4/28/05, Sébastien GALLET wrote:
Joe Germuska a écrit :
At 3:11 PM +0200 4/24/05, Sébastien GALLET wrote:
Hello,
I'm looking for a good way to manage exceptions in struts.
Any links in your bookmarks ?
That's a pretty general question!
yes, it was :-[
With your help, I can catch e
On 4/28/05, Rick Reumann <[EMAIL PROTECTED]> wrote:
> Michael Jouravlev wrote the following on 4/28/2005 11:35 AM:
>
> > What I meant is that if you always resubmit, then you cannot refresh a
> > form without resubmitting again.
>
> I'm not sure what you mean here. If you plan to reshow the same
Nimish Chourey , Tidel Park - Chennai wrote:
Hi ,
I am using struts struts-1.2.4 . I am not able to catch the
exception which are caused whenever there is a problem in laying the tiles .
For Eg in the below code , if ftpStatus.jsp gives a error , I do not get the
exception either in the bro
Joe Germuska a écrit :
At 3:11 PM +0200 4/24/05, Sébastien GALLET wrote:
Hello,
I'm looking for a good way to manage exceptions in struts.
Any links in your bookmarks ?
That's a pretty general question!
yes, it was :-[
With your help, I can catch exceptions in my servlet and display them in
my ap
Michael Jouravlev wrote the following on 4/28/2005 11:35 AM:
What I meant is that if you always resubmit, then you cannot refresh a
form without resubmitting again.
I'm not sure what you mean here. If you plan to reshow the same form
again after you submit you could either A) if you using Request
Before you file ea bug, please do as much as you
can to be sure there's a real bug, and if
possible, provide a test case. (in theory, this
is something which should be verifiable with a
JUnit test, although some parts of Struts are
still a bit complicated to "mock". I haven't
looked in this
>> How do you refresh the page?
>>
>
>
>
>
What I meant is that if you always resubmit, then you cannot refresh a
form without resubmitting again.
On 4/28/05, Rick Reumann <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote the following on 4/28/2005 3:16 AM:
> >
> >
> >
>
[EMAIL PROTECTED] wrote the following on 4/28/2005 3:16 AM:
Blah. Maintenance nightmare. Use the Session if you need your form to
persist across requests.
I don't see your point about the form being opened in other windows and
having it interfere. If you have to control so that dup
Anindya Bandyopadhyay wrote:
I've developed one small application which will be used in different area
using different database connection. I want to make properties file which
will say all the value of ** in *struts-config* and put the
value in *struts-config* when tomcat starts and that's how
Ah, got it! You can use an anonymous function... The suggestion of
setting a common handler is fine except that you will have to use
getElementById to get a reference to the element to change... using an
anonymous function you have access to the this keyword, so it's cleaner.
Here's a complete wo
Merci Laurent !
Okay so then when you say that it must be functions..
I presume that the HTML with coded attributes such as onMouseOver and
onMouseOut... in IE the browser parses the data and internally creates
functions to handle the mouse events.
So when I try to dynamically modify the DOM for
Using struts validation I am validating date entered.
datePatternStrict
MM-dd-
On entering an invalid date Validation error message says "Entered Date of
Birh is invalid".
But what i would like the m
IMO, when you take away JSTL *and* custom tags *and* Java code escapes from
JSP, there's not much left to JSP.
-Original Message-
From: Rodolfo García Esteban/CYII [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 28, 2005 9:28 AM
To: user@struts.apache.org
Subject: Re: The best place f
I also gave this a try without any succcess.
Thanks for your time and patience Frank !
(see my reply to Laurent).
- Glenn
"Frank W. Zammetti" <[EMAIL PROTECTED]>
28/04/2005 09:10 AM
Please respond to
"Struts Users Mailing List"
To
"Struts Users Mailing List"
cc
"Struts Users Mailing List
thanks
Rodolfo García Esteban
Canal Isabel II
División de Aplicaciones Técnicas
C/ Santa Engracia, 125
Edificio 8
Tel. 91 545 10 00 - Ext. 2128
Fax. 91 545 14 41
___
"Marsh-Bourdon, Christopher" <[EMAIL PROTECTED]>
28/04/2005 15:35
Por favor, respond
Well can you use Struts Bean Tags? If so, this would be your option:
Not really a custom tag as such.
Christopher Marsh-Bourdon
www.marsh-bourdon.com
-Original Message-
From: Rodolfo García Esteban/CYII [mailto:[EMAIL PROTECTED]
Sent: 28 April 2005 14:28
To: user@struts.apache.org
S
Hi,
This is my first idea doing it in the jsp. But in this project we can't
use jstl neither custom tags neither <% java code %> which could be the
solution?
Thanks
Rodolfo García Esteban
Canal Isabel II
División de Aplicaciones Técnicas
C/ Santa Engracia, 125
Edificio
Hi,
imho the jsp (view), because the action is just the controller and each
view component should be able to decide how to format data. Maybe the
fmt tags (jstl) or a custom tag could take care of formatting the output.
Regards,
Tom
Leon Rosenberg wrote:
imho the action, because the neither the
imho the action, because the neither the jsp nor the beans/forms should
know anything about a query. But I'm often very alone with this
opinion :-)
regards
Leon
On Thu, 2005-04-28 at 14:41 +0200, Rodolfo García Esteban/CYII wrote:
> Hi,
>
> I have a screen with the results of a query. this scre
[EMAIL PROTECTED] wrote:
> // Only add a row when changing the last row of the table
> if ("s"+(rowWithData) == selectId) {
> var row = table.insertRow(lastRowInTable);
> var className = "rowNormal";
>
> if (lastRowInTable % 2 == 0) {
> className = "rowAlter
How about trying one last thing... how about instead of using the row
reference you get back from insertRow(), instead do a getElementById() to
get a new reference and try setting the handlers on that.
I'm grabbing at straws here admittedly, but it might be worth a try. I've
seenstranger things :
Hi,
I have a screen with the results of a query. this screen shows dates, and
I need to format it. Which is the proper place to do this? the action, the
form, the jsp.
Thanks
Rodolfo García Esteban
Canal Isabel II
División de Aplicaciones Técnicas
C/ Santa Engracia, 125
Hi Joe,
Well I have followed your advise, I create other action mapping to the
same path. I used matches before, and I find and error in Struts.
My original action is
...
The new action would be (doesn't work)
...
Well with t
Hi Joe,
Well I have followed your advise, I create other action mapping to the
same path. I used matches before, and I find and error in Struts.
My original action is
...
The new action would be (doesn't work)
...
Well with t
Okay Frank I gave it a shot and still nothing.
I believe that the setAttribute is the proper way according to the DOM
API.
The other way may be supported depending on the browser.
But in the end it is still not working.
I'm thinking of an alternate solution, since the page is complete except
for
Thanks for the help much appreciated.
-Original Message-
From: Leon Rosenberg [mailto:[EMAIL PROTECTED]
Sent: 28 April 2005 12:16 PM
To: Struts Users Mailing List
Subject: RE: HTML Stripping Spaces.
add a filter="false"
this prevents bean:write tag from encoding.
btw, a table would p
Hi all!
We are using Struts for the view in a "intranet" application. After
one year of developing the application, we need to improve the way we
do the JSPs, since we put many many scriptlet in the JSPs to check
whenever we should show the attributes, and when these attributes
shoud be read-on
You could also try css white-space: pre. Beware though that this doesn't
work in IE. Also note that this is a CSS1 feature that was support back in
NS4.
abcdefg123 006
Regards,
Robin
-Original Message-
From: Neil Meyer [mailto:[EMAIL PROTECTED]
Sent: den 28 april 2005 11:25
To:
Style is the tag for html
(BWhile struts implements the same with the name as styleclass
(B
(B-Original Message-
(BFrom: Harsh Panwar [mailto:[EMAIL PROTECTED]
(BSent: Thursday, April 28, 2005 6:20 PM
(BTo: Struts Users Mailing List
(BSubject: RE: Xdoclet & Struts modules
(B
(
Hi All,
I've developed one small application which will be used in different area
using different database connection. I want to make properties file which
will say all the value of ** in *struts-config* and put the
value in *struts-config* when tomcat starts and that's how we can get the
rig
add a filter="false"
this prevents bean:write tag from encoding.
btw, a table would probably better fit your requirements.
regards
Leon
On Thu, 2005-04-28 at 11:40 +0200, Neil Meyer wrote:
> Hi Mark,
>
> I tried this when I do a
>
> The get property has a replaceAll function in it which re
Hi Mark,
I tried this when I do a
The get property has a replaceAll function in it which removes all the spaces
and replaces this with
I then get the following:
abcdefg123 &nb
sp; 006
Regards
-Original Message-
From: Mark Benussi
Hi Neil. This is what HTML does. If you really want a few spaces you will
have to put 123 456 789
Original Message Follows
From: "Neil Meyer" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List"
To: "Struts Users Mailing List"
Subject: HTML Stripping Spaces.
Date: Thu, 28 Apr 2
Hi All
(B
(BCan some one tell me what is the difference between Class and styleClass in CSS
(Bbecoz I have some differences when I implement in my JSP
(B
(BRegards
$B%O%k%9!!%Q%s%o%k(J
(BHarsh Panwar
(BInfosys Technologies Ltd
(BBanglore
(BExtension no-51574
(B
(B
(B-Original M
Hi All,
My system needs to present a string with some text spaces and text again. The
browser strips all spaces to 1. Is there any struts tag to prevent this from
happening?
I have "abcdefg123 006" the browser will display this
as "abcdefg123 006"
Regards
Neil Meyer
--
Hi ,
I am using struts struts-1.2.4 . I am not able to catch the
exception which are caused whenever there is a problem in laying the tiles .
For Eg in the below code , if ftpStatus.jsp gives a error , I do not get the
exception either in the browser or on Tomcat console .
Ideally , I gue
Hello all,
Is anyone aware of XDoclet plugins for dealing with Struts
modules?
Let me clarify better issue..
If I am correct, with Struts modules you can have multiple 'struts
configuration files', one for each module in your app.
As far as I know, with xdoclet you can build 1 struts-confi
put a session to know what page you are just in case you need to do
sumthing with it.
create a javascript function that will submit the form and put that
function on
i.e.
function jsfunc(){
form.submit();
}
hope this helps,
Richard
At 05:54 AM 4/28/2005, you wrote:
I
Hello all,
HUUGE apologies to Struts 1.3 & Tiles 1.3 team..
Tiles worked just fine..it was me that in migrating app
>From 1.2 to 1.3 I removed one plugin that was storing
Some data in applicationContext
The null pointer exception in tiles made me think that
Tiles was the problem..
Aga
Ciao
Antonio
Michael Jouravlev wrote:
>How do you refresh the page?
>
>On 4/28/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>>Yes, this solution is simple, but beware that it is dangerous,
especially
>>when a client opens different pages, within the same session: forms will
>
How do you refresh the page?
On 4/28/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Yes, this solution is simple, but beware that it is dangerous, especially
> when a client opens different pages, within the same session: forms will
> interfere!
> What I usually do is to put the data collected
Yes, this solution is simple, but beware that it is dangerous, especially
when a client opens different pages, within the same session: forms will
interfere!
What I usually do is to put the data collected in the previous step into
hidden fields, so that they are re-posted in the next step. This way
75 matches
Mail list logo