[Apache Struts Wiki] New: ValidatorFAQ

2004-04-22 Thread dev
   Date: 2004-04-22T07:10:20
   Editor: 195.3.97.152 <>
   Wiki: Apache Struts Wiki
   Page: ValidatorFAQ
   URL: http://wiki.apache.org/struts/ValidatorFAQ

   no comment

New Page:

Validator - html:javascript

question:
what is wrong, if  only renders the javascript-code, but not 
the enclosing  tags?

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[Apache Struts Wiki] Updated: ValidatorFAQ

2004-04-22 Thread dev
   Date: 2004-04-22T07:10:48
   Editor: 195.3.97.152 <>
   Wiki: Apache Struts Wiki
   Page: ValidatorFAQ
   URL: http://wiki.apache.org/struts/ValidatorFAQ

   no comment

Change Log:

--
@@ -1,4 +1,4 @@
 Validator - html:javascript
 
 question:
-what is wrong, if  only renders the javascript-code, but not 
the enclosing  tags?
+what is wrong, if  only renders the javascript-code, but not 
the enclosing   tags?

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[Apache Struts Wiki] Updated: ValidatorFAQ

2004-04-22 Thread dev
   Date: 2004-04-22T07:11:07
   Editor: 195.3.97.152 <>
   Wiki: Apache Struts Wiki
   Page: ValidatorFAQ
   URL: http://wiki.apache.org/struts/ValidatorFAQ

   no comment

Change Log:

--
@@ -1,4 +1,4 @@
 Validator - html:javascript
 
 question:
-what is wrong, if  only renders the javascript-code, but not 
the enclosing   tags?
+what is wrong, if  only renders the javascript-code, but not the 
enclosing   tags?

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[Apache Struts Wiki] Updated: ValidatorFAQ

2004-04-22 Thread dev
   Date: 2004-04-22T07:26:20
   Editor: 68.79.151.2 <>
   Wiki: Apache Struts Wiki
   Page: ValidatorFAQ
   URL: http://wiki.apache.org/struts/ValidatorFAQ

   no comment

Change Log:

--
@@ -2,3 +2,6 @@
 
 question:
 what is wrong, if  only renders the javascript-code, but not the 
enclosing   tags?
+
+answer:
+You have used a value in the "formName" attribute of html:javascript which is not in 
the ["Validator configuration file"].  In ["Struts 1.1"], this produces exactly the 
results you see.  After ["Struts 1.1"], this throws a JSPException instead.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



new struts mailing lists

2004-04-22 Thread Michael Davey
Hi,

It is very difficult to find your mailing lists now that you have become 
a top-level project.
Your home page provides a link to the old users list.  Perhaps it could 
point to a page
that includes the old and new archives and also the sourceforge archives?

Also, it would be nice if the Jakarta web pages were updated to point to 
your new lists:
, or alternatively 
provide a single link
to the page I suggested above.

Please copy me in any replies.

Regards,
--
Michael
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Struts Problem - Urgent Help Required

2004-04-22 Thread Srinivas.Amarnadh
Hi All,

 

I have a problem in struts development. I have to generate content from
a custom tag. but I want to display the labels in multilingual format
for which I need to use  tag.

But from a custom tag we can't use another tag like
out.println("")

This will be executed/evaluated as a string not as a tag.

 

How do I access "a message associated with a key in application
resources file programmatically"?

 

Plz kindly provide me a approach to come out of this problem.

 

Regards,

M.Srinivas Amarnadh

i-Flex Solutions Ltd., 

4th Floor, Shankar Narayana building,

M G Road,

Bangalore - 560001.

Phone: +91-80-25321440, x: 3887.

 



Re: new struts mailing lists

2004-04-22 Thread Martin Cooper
I'm not sure if we're looking in different places, but the links all look
correct to me, including those at the URL you provided below. Can you be
more precise in where you see errors? A patch would be even better. ;-)

--
Martin Cooper


"Michael Davey" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> It is very difficult to find your mailing lists now that you have become
> a top-level project.
> Your home page provides a link to the old users list.  Perhaps it could
> point to a page
> that includes the old and new archives and also the sourceforge archives?
>
> Also, it would be nice if the Jakarta web pages were updated to point to
> your new lists:
> , or alternatively
> provide a single link
> to the page I suggested above.
>
> Please copy me in any replies.
>
> Regards,
> -- 
> Michael




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 28544] New: - processNoCache() method does not expire properly

2004-04-22 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=28544

processNoCache() method does not expire properly

   Summary: processNoCache() method does not expire properly
   Product: Struts
   Version: Nightly Build
  Platform: Other
OS/Version: Other
Status: NEW
  Severity: Normal
  Priority: Other
 Component: Controller
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


processNoCache() method does not expire properly.

The Cache-Control header is set by processNoCache() method in RequestProcessor
as follows:
response.setHeader("Cache-Control", "no-cache");
With IE everything is fine. Hitting the back button works wonderfully and if the
previous request was a GET it would be "re GOTTEN" and if it was a POST, it
displays the "POST data has expired warning. U wanna resubmit?" dialog.

However, for some other browsers, it doesn't quite work.

In Galeon and mozilla, regardless of whether the HTTP request was a POST or a
GET, hitting the back button shows the previous screen in its original glory
(not good).

I made a slight tweak and over-rode the processNoCache() method in "my
RequestProcessor" (which incidentally overrides TilesRP). Inside this
overriddent, I changed the Cache-Control setting to:
response.setHeader("Cache-Control", "no-cache,no-store,max-age=0");

After this IE, galeon, mozilla, netscape 7, all were correctly either re-GETting
the GET request or posting a warning about re-POSTing the POST request when the
back button was hit.

Could this modification be made directly in
src/share/org/apache/struts/action/RequestProcessor.java, please? I don't see
any side-effects (yet :-)).

I see from the annotation history that this line has been in this file since the
intial commit (2 years, 3 months ago) done by craigmcc. Craig, do you have any
thoughts?

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 28544] - processNoCache() method does not expire properly

2004-04-22 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=28544

processNoCache() method does not expire properly





--- Additional Comments From [EMAIL PROTECTED]  2004-04-22 19:07 ---
Created an attachment (id=11315)
Proper Cache-Control header directive

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 28544] - processNoCache() method does not expire properly

2004-04-22 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=28544

processNoCache() method does not expire properly

[EMAIL PROTECTED] changed:

   What|Removed |Added

   Keywords||PatchAvailable

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 27992] - FIFO ordering in ActionMessages

2004-04-22 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=27992

FIFO ordering in ActionMessages

[EMAIL PROTECTED] changed:

   What|Removed |Added

   Keywords||PatchAvailable

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Struts Problem - Urgent Help Required

2004-04-22 Thread Edgar P Dollin
Look at the source code of the bean message tag and extract the code to
perform the lookup to the internationalized messages in your own tag.  

Edgar

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, April 21, 2004 8:56 AM
> To: [EMAIL PROTECTED]
> Subject: Struts Problem - Urgent Help Required
> 
> 
> Hi All,
> 
>  
> 
> I have a problem in struts development. I have to generate 
> content from
> a custom tag. but I want to display the labels in multilingual format
> for which I need to use  tag.
> 
> But from a custom tag we can't use another tag like
> out.println("")
> 
> This will be executed/evaluated as a string not as a tag.
> 
>  
> 
> How do I access "a message associated with a key in application
> resources file programmatically"?
> 
>  
> 
> Plz kindly provide me a approach to come out of this problem.
> 
>  
> 
> Regards,
> 
> M.Srinivas Amarnadh
> 
> i-Flex Solutions Ltd., 
> 
> 4th Floor, Shankar Narayana building,
> 
> M G Road,
> 
> Bangalore - 560001.
> 
> Phone: +91-80-25321440, x: 3887.
> 
>  
> 
> 
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.663 / Virus Database: 426 - Release Date: 4/20/2004
>  
> 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.663 / Virus Database: 426 - Release Date: 4/20/2004
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[Apache Struts Wiki] Updated: StrutsWebLinks

2004-04-22 Thread dev
   Date: 2004-04-22T22:47:34
   Editor: 64.36.7.154 <>
   Wiki: Apache Struts Wiki
   Page: StrutsWebLinks
   URL: http://wiki.apache.org/struts/StrutsWebLinks

   no comment

Change Log:

--
@@ -36,7 +36,7 @@
  *  http://www.telecomfinance.com (Financial journal and newsletter)
  *  http://www.ideasfactory.com (Career portal for the creative industries - Channel 
4 UK)
  *  http://www.asw2.net (Online school)
- *  http://dublin.citycollective.com (Online community for local Dublin people, 
featuring small ads, personals and forums)
+ *  http://dublin.citycollective.com (Online community for Dubliners, featuring small 
ads, personals and forums)
  *  http://www.raumverwaltung.de (Online room management - equipment and catering 
service)
  * http://www.telewest.co.uk/ (large UK Telco)
  * http://www.blueyonder.co.uk (Leading UK ISP)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]