Newbie question: listing files

2004-12-10 Thread Brij Naald
Hi,
I want to list all the files in a directory.
How do I start this?
I assume I have to make an action:
 actionpath=/List
type=app.ListAction
name=evaluatieForm
   forward name=successpath=/pages/ListFiles.jsp/
 /action
The action then creates an array of Strings (so String[]).
and puts it in the request (so request.setAttribute(files,stringArray);)
Then I have to make the jsp-page which uses the strings to display the page.
Is this the correct way?
How can I access the array of strings from the Jsp-page?
Thanks a lot!
_
Heb je MSN WebMessenger al ontdekt? http://webmessenger.msn.com/?mkt=nl-be
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Newbie question: listing files

2004-12-10 Thread Erik Weber

Brij Naald wrote:
Hi,
I want to list all the files in a directory.
How do I start this?
I assume I have to make an action:
 actionpath=/List
type=app.ListAction
name=evaluatieForm
   forward name=successpath=/pages/ListFiles.jsp/
 /action
The action then creates an array of Strings (so String[]).
and puts it in the request (so 
request.setAttribute(files,stringArray);)
Then I have to make the jsp-page which uses the strings to display the 
page.

Is this the correct way?

That would be fine. This assumes your application has permission to 
access the given part of the filesystem on the server box.

You could also set a reference to the File array that 
java.io.File.listFiles retrieves via request attribute. Then your JSP 
could invoke File methods on each instance in a loop created using 
c:forEach (JSTL) or logic:iterate (Struts) tags, to create a table 
equivalent to a directory listing. Perhaps it would be better to write a 
method that returned a Collection of instances of a true JavaBean, 
something like FileDescription (one instance per file), so that your 
Collection would be tag-friendly. Then you could build the table with 
stuff like $fileDescription.name and $fileDescription.length, 
$fileDescription.isDirectory, etc. (see c:out, bean:write and the 
newer way of using the JSP expression language without tags).

Hope that helps,
Erik

How can I access the array of strings from the Jsp-page?
Thanks a lot!
_
Heb je MSN WebMessenger al ontdekt? 
http://webmessenger.msn.com/?mkt=nl-be

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

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


Re: Newbie question: listing files

2004-12-10 Thread Brij Naald
Thanks for your answer. If the approach i'm trying now doesn't work, I 
certainly going to try that one. But it almost works. The action gets 
called, and it puts the right names in the request.

What I want to do now is to put in the JSP-page links to a page (viewfile) 
which shows the file in question. So I need links off the form 
{base}/viewfile?name=filename. Therefore I should use the
html:link tag:

When I try the code below I get an exception:
javax.servlet.ServletException: Cannot create rewrite URL: 
java.net.MalformedURLException: Cannot retrieve ActionForward named 
viewfile?file=%= files[i]%

What can I do about it? (note that the rest of the code works well; if I 
remove the html:link tags, i get a listing of the filenames.

%
String[] files = (String[])request.getAttribute(filenames);
for (int i = 0; i  files.length; i++){
%
html:link forward=viewfile?file=%= files[i]%%= files[i]%/html:link
%
}
%
Thanks for the hellp!
_
Koop geen kat in een zak. Probeer alles 14 dagen bij jou thuis. 
http://linkstat.neckermann.de/go.mb1?benl_11294

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


Re: Newbie question: listing files

2004-12-10 Thread Sunny
Brij Naald wrote:
Hi,
I want to list all the files in a directory.
How do I start this?
I assume I have to make an action:
 actionpath=/List
type=app.ListAction
name=evaluatieForm
   forward name=successpath=/pages/ListFiles.jsp/
 /action
The action then creates an array of Strings (so String[]).
and puts it in the request (so 
request.setAttribute(files,stringArray);)
Then I have to make the jsp-page which uses the strings to display the 
page.

Is this the correct way?
How can I access the array of strings from the Jsp-page?
logic: iterate  id  = sArray property = stringArray name = bean
bean:write name = sArray/
/logic:iterate

Thanks a lot!
_
Heb je MSN WebMessenger al ontdekt? 
http://webmessenger.msn.com/?mkt=nl-be

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

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

Re: Problem with validation (?)

2004-12-10 Thread aris
From: Wendy Smoak [EMAIL PROTECTED]

 From: aris [EMAIL PROTECTED]

   Use String (and occasionally Boolean) for form fields and things will
 work
   the way you need them to.
 
  I don't understand your answer... If I need an Integer field for my
  ActionForm derived class why I've to use a String?

 What happens when somebody types ABCDE into your Integer field on the
 form, and it fails validation?  Can you re-display the incorrect user
input
 so they can see what they typed and why it was wrong?

Ok, so... I didn't understand your answer in the context of my question: I
had an hidden field with value= and my question was does ValidatorPlugin
set a default value on a field of type Integer after validation?.

By the way the answer to your second question is no, I can't ... but I
have an hidden field pre-populated from my Action so it's value is null or
it's an Integer

Bye,
aris


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



Re: Problem with validation (?)

2004-12-10 Thread aris
From: Derek Broughton [EMAIL PROTECTED]

 On Thursday 09 December 2004 14:28, Wendy Smoak wrote:
  From: aris [EMAIL PROTECTED]
 
Use String (and occasionally Boolean) for form fields and things
will
 
  work
 
the way you need them to.
  
   I don't understand your answer... If I need an Integer field for my
   ActionForm derived class why I've to use a String?
 
  What happens when somebody types ABCDE into your Integer field on the
  form, and it fails validation?  Can you re-display the incorrect user
input
  so they can see what they typed and why it was wrong?

 Or more concisely, because HTML only has string types.

Mmmm... I think that HTML has not types at all.


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



LookupDispatchAction issue

2004-12-10 Thread andy wix
Hi,
I am extending the above class and all submissions when the user clicks the 
relevant button work OK, but if the user presses enter (CR) on the keyboard 
to submit the form the following exception is thrown:

StandardWrapperValve[action]: Servlet.service() for
servlet action threw exception
javax.servlet.ServletException: Request[/modifyOutgoingMessage] does not
contain handler parameter named method
   at
org.apache.struts.actions.LookupDispatchAction.execute(LookupDispatchAct
ion.java:199)
   at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
ocessor.java:484)
I have seen a fix in the archives that uses JavaScript to defeat the form 
submission on CR but I would rather have the form submitted.

Thanks,
Andy
_
It's fast, it's easy and it's free. Get MSN Messenger today! 
http://www.msn.co.uk/messenger

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


RE: Conditional forward to target page on form submittal

2004-12-10 Thread David Bolsover
Martin

Sorry perhaps I did not explain the issue well enough...

The problem is that there is no code (at least not in the .jsp) to fill in 
'sometarget'.. I do not know what the target should be until after I evaluate 
the submitted ActionForm.

Others have suggested that I use javascript in a target page to redirect the 
response to the 'correct' target - but this seem very un-struts like to me - 
surely there is a better way.

Actually, I think part of my problem is a lack of understanding about how the 
target=sometarget is evaluated - does the server have any control over this - 
or is it purely a client side fiunction?  - If it is purely client side then I 
guess that javascript is the only option.

db

-Original Message-
From: Laconia Data Systems [mailto:[EMAIL PROTECTED]
Sent: 09 December 2004 21:36
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: Re: [Spam] Conditional forward to target page on form submittal


David-
Cant make an intelligent decision without looking at your code which fills
in 'sometarget'
Martin-
- Original Message - 
From: David Bolsover [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, December 09, 2004 4:16 PM
Subject: [Spam] Conditional forward to target page on form submittal



 I need to extend an existing application with a conditional forward to a
specified page following form submittal.

 For example forward name=top path=/toppage.jsp ... needs to forward to
named target page top
 forward name=side path=/sidepage.jsp ... needs to forward to named
target page side

 Now this kind of functionality is simple to achive if you can put code
like:
 html:form action=/someAction.do?method=somemethod target=sometarget 
 in your .jsp page.

 My problem is that I do not know which is the correct target page until
AFTER the form has been submitted.

 Ideas please

 db
 ===
 This message has been scanned for viruses and dangerous
 content using Vet Anti-Virus Protection and is believed
 to be clean.
 ===

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



=== 
This message has been scanned for viruses and dangerous 
content using Vet Anti-Virus Protection and is believed 
to be clean. 
===

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



RE: Conditional forward to target page on form submittal

2004-12-10 Thread David Bolsover
Hi Jack

Yes I agree, the Action can easily determine which of several pages to present 
back to the user - my problem is that I need to present it back to a specific 
named target page - maybe even a new one - and not back to the original page 
used to submit the form.

What I can't figure out is how to return to a specifc named target page.

db

-Original Message-
From: Dakota Jack [mailto:[EMAIL PROTECTED]
Sent: 09 December 2004 23:01
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: Re: Conditional forward to target page on form submittal


Hi, David,

This seems to be a fairly easy problem if there are no considerations
other than these.  If you don't know which response page you want to
send make until after you receive a request, then you just make the
decision during the execution of the Action with different
ActionForward objects.

Jack


On Thu, 9 Dec 2004 21:16:11 -, David Bolsover [EMAIL PROTECTED] wrote:
 
 I need to extend an existing application with a conditional forward to a 
 specified page following form submittal.
 
 For example forward name=top path=/toppage.jsp ... needs to forward to 
 named target page top
 forward name=side path=/sidepage.jsp ... needs to forward to named target 
 page side
 
 Now this kind of functionality is simple to achive if you can put code like:
 html:form action=/someAction.do?method=somemethod target=sometarget 
 in your .jsp page.
 
 My problem is that I do not know which is the correct target page until AFTER 
 the form has been submitted.
 
 Ideas please
 
 db
 ===
 This message has been scanned for viruses and dangerous
 content using Vet Anti-Virus Protection and is believed
 to be clean.
 ===
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


-- 


You can't wake a person who is pretending to be asleep.

~Native Proverb~

Each man is good in His sight. It is not necessary for eagles to be crows.

~Hunkesni (Sitting Bull), Hunkpapa Sioux~

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


=== 
This message has been scanned for viruses and dangerous 
content using Vet Anti-Virus Protection and is believed 
to be clean. 
===

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



RE: Conditional forward to target page on form submittal

2004-12-10 Thread David Bolsover
Hi Joe

I am beginning to think you are right - care to offer some sample javascript??

db


-Original Message-
From: Joe Germuska [mailto:[EMAIL PROTECTED]
Sent: 09 December 2004 21:19
To: David Bolsover; [EMAIL PROTECTED]
Subject: Re: Conditional forward to target page on form submittal


At 9:16 PM + 12/9/04, David Bolsover wrote:
I need to extend an existing application with a conditional forward 
to a specified page following form submittal.

For example forward name=top path=/toppage.jsp ... needs to 
forward to named target page top
forward name=side path=/sidepage.jsp ... needs to forward to 
named target page side

Now this kind of functionality is simple to achive if you can put code like:
html:form action=/someAction.do?method=somemethod target=sometarget 
in your .jsp page.

My problem is that I do not know which is the correct target page 
until AFTER the form has been submitted.

The only solution I have found to this type of problem is to return a 
page to the originating window or frame, and use javascript in the 
return page to open a new page in the preferred target or frame.

Joe

-- 
Joe Germuska
[EMAIL PROTECTED]  
http://blog.germuska.com
Narrow minds are weapons made for mass destruction  -The Ex

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


=== 
This message has been scanned for viruses and dangerous 
content using Vet Anti-Virus Protection and is believed 
to be clean. 
===

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



RE: LookupDispatchAction issue

2004-12-10 Thread andy wix
Hi,
This is now fixed.  It was because I didn't have a 'default' method 
specified in the form tag. I.e.,

 html:form action=modifyOutgoingMessage?method=save
Regards,
andy
_
It's fast, it's easy and it's free. Get MSN Messenger today! 
http://www.msn.co.uk/messenger

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


Common Chain 1.0 and Struts Chain

2004-12-10 Thread Julian
Hi,

I was wondering if the release of Commons Chain 1.0
will enable a Best Available release of Struts with
struts-chain?  If not, how stable is the COR stuff in
Struts?

Thanks,
Julian



__ 
Do you Yahoo!? 
Take Yahoo! Mail with you! Get it on your mobile phone. 
http://mobile.yahoo.com/maildemo 

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



Re: Newbie question: listing files

2004-12-10 Thread Erik Weber
The way to do this is to create a link to an action that reads the bytes 
in from the file and writes the bytes out to the ServletResponse's 
OutputStream (unless the files are all, for example, text or HTML files 
that you can place directly within the server's public document root). 
So you are not linking to the file, but to an Action that knows how to 
find the file (via a parameter just like you are doing). Perhaps you 
already have thought of this -- I'm just making sure. If not, please 
search the list archives for serving binary content and/or download 
action. This question comes up a lot and you will find lots of useful 
tips on serving binary files.

As far as the error, I'm not sure, but do you have a global forward that 
is named viewfile in your struts-config.xml? Because that's what the 
forward attribute to html:link specifies, and that's where it will look 
for the actual URI . . .

Brij Naald wrote:
Thanks for your answer. If the approach i'm trying now doesn't work, I 
certainly going to try that one. But it almost works. The action gets 
called, and it puts the right names in the request.

What I want to do now is to put in the JSP-page links to a page 
(viewfile) which shows the file in question. So I need links off the 
form {base}/viewfile?name=filename. Therefore I should use the
html:link tag:

When I try the code below I get an exception:
javax.servlet.ServletException: Cannot create rewrite URL: 
java.net.MalformedURLException: Cannot retrieve ActionForward named 
viewfile?file=%= files[i]%

What can I do about it? (note that the rest of the code works well; if 
I remove the html:link tags, i get a listing of the filenames.

%
String[] files = (String[])request.getAttribute(filenames);
for (int i = 0; i  files.length; i++){
%
html:link forward=viewfile?file=%= files[i]%%= 
files[i]%/html:link
%
}
%

Thanks for the hellp!
_
Koop geen kat in een zak. Probeer alles 14 dagen bij jou thuis. 
http://linkstat.neckermann.de/go.mb1?benl_11294

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

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


org.apache.commons.digester.Digester (ERROR) - Parse Error

2004-12-10 Thread David McReynolds
I am having a hard time figuring out which files struts is talking
about in these errors that happen during startup. Everything runs
fine. Here are a few stack trace snippets. I get multiples of these
three.

[App=LS][Dec-10 09:41:16:648] org.apache.commons.digester.Digester
(ERROR) - Parse Error at line 47 column 63: Line 47, Column 63:
XML-0138: (Error) REQUIRED attribute 'link' is not specified.
org.xml.sax.SAXParseException: Line 47, Column 63: XML-0138: (Error)
REQUIRED attribute 'link' is not specified.
at oracle.xml.parser.v2.XMLError.flushErrorHandler(XMLError.java:226)
at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:162)
at 
oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:276)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:149)




[App=LS][Dec-10 09:41:16:945] org.apache.commons.digester.Digester
(ERROR) - Parse Error at line 149 column 19: Line 149, Column 19:
XML-0148: (Error) Invalid element 'tiles:put' in content of
'definition', expected elements '[icon, display-name, descri
ption, put, putList]'.
org.xml.sax.SAXParseException: Line 149, Column 19: XML-0148:
(Error) Invalid element 'tiles:put' in content of 'definition',
expected elements '[icon, display-name, description, put, putList]'.
at oracle.xml.parser.v2.XMLError.flushErrorHandler(XMLError.java:226)
at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:162)
at 
oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:276)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:149)
at org.apache.commons.digester.Digester.parse(Digester.java:1567)




[App=LS][Dec-10 09:41:16:992] org.apache.commons.digester.Digester
(ERROR) - Parse Error at line 149 column 24: Line 149, Column 24:
XML-0137: (Error) Attribute 'name' used but not declared.
org.xml.sax.SAXParseException: Line 149, Column 24: XML-0137:
(Error) Attribute 'name' used but not declared.
at oracle.xml.parser.v2.XMLError.flushErrorHandler(XMLError.java:226)
at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:162)
at 
oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:276)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:149)
at org.apache.commons.digester.Digester.parse(Digester.java:1567)

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



RE: org.apache.commons.digester.Digester (ERROR) - Parse Error

2004-12-10 Thread Robert Taylor
Looks like your tiles configuration file may be hosed
or your DTD and configuration file are out of sync.

robert

 -Original Message-
 From: David McReynolds [mailto:[EMAIL PROTECTED]
 Sent: Friday, December 10, 2004 9:50 AM
 To: Struts User List
 Subject: org.apache.commons.digester.Digester (ERROR) - Parse Error
 
 
 I am having a hard time figuring out which files struts is talking
 about in these errors that happen during startup. Everything runs
 fine. Here are a few stack trace snippets. I get multiples of these
 three.
 
 [App=LS][Dec-10 09:41:16:648] org.apache.commons.digester.Digester
 (ERROR) - Parse Error at line 47 column 63: Line 47, Column 63:
 XML-0138: (Error) REQUIRED attribute 'link' is not specified.
 org.xml.sax.SAXParseException: Line 47, Column 63: XML-0138: (Error)
 REQUIRED attribute 'link' is not specified.
 at oracle.xml.parser.v2.XMLError.flushErrorHandler(XMLError.java:226)
 at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:162)
 at 
 oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:276)
 at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:149)
 
 
 
 
 [App=LS][Dec-10 09:41:16:945] org.apache.commons.digester.Digester
 (ERROR) - Parse Error at line 149 column 19: Line 149, Column 19:
 XML-0148: (Error) Invalid element 'tiles:put' in content of
 'definition', expected elements '[icon, display-name, descri
 ption, put, putList]'.
 org.xml.sax.SAXParseException: Line 149, Column 19: XML-0148:
 (Error) Invalid element 'tiles:put' in content of 'definition',
 expected elements '[icon, display-name, description, put, putList]'.
 at oracle.xml.parser.v2.XMLError.flushErrorHandler(XMLError.java:226)
 at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:162)
 at 
 oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:276)
 at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:149)
 at org.apache.commons.digester.Digester.parse(Digester.java:1567)
 
 
 
 
 [App=LS][Dec-10 09:41:16:992] org.apache.commons.digester.Digester
 (ERROR) - Parse Error at line 149 column 24: Line 149, Column 24:
 XML-0137: (Error) Attribute 'name' used but not declared.
 org.xml.sax.SAXParseException: Line 149, Column 24: XML-0137:
 (Error) Attribute 'name' used but not declared.
 at oracle.xml.parser.v2.XMLError.flushErrorHandler(XMLError.java:226)
 at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:162)
 at 
 oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:276)
 at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:149)
 at org.apache.commons.digester.Digester.parse(Digester.java:1567)
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 

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



Re: Common Chain 1.0 and Struts Chain

2004-12-10 Thread Joe Germuska
At 6:28 AM -0800 12/10/04, Julian wrote:
Hi,
I was wondering if the release of Commons Chain 1.0
will enable a Best Available release of Struts with
struts-chain?  If not, how stable is the COR stuff in
Struts?
The struts-chain was working just fine against pre-1.0 releases of 
Struts Chain.  If you're interested, there's no reason to wait.  It 
will be longer before you can download a nightly build of Struts 
which uses the Chain request processor, but work on that was mostly 
waiting for the 1.0 release (and for time, which unfortunately I've 
had a short supply of, and this time of year, it will continue that 
way.)

I have a few pending questions on the dev list that I may need to 
re-raise about a few implementation details, but now that 1.0 is 
fully released, I do hope to begin making changes to the core code 
base to use commons-chain and the Composable Request Processor.  I 
don't see the point of just merging struts-chain into the 'core' 
project and cutting a release; rather, we'll want to obsolete the 
PlugIn which configures the command catalogs in struts-chain in favor 
of direct support in the ActionServlet.  I am also inclined to 
package the set of commands which provide legacy Struts support as a 
separate JAR, rather than pushing a few dozen classes into the core 
which in some sense are legacy bound.  (Whether there's consensus on 
that is one of the questions to re-raise on the dev list.)

I've been using struts-chain in a production project for close to a 
year now (including original development time).  We flushed a few 
bugs out along the way, but it's fundamentally stable with Struts 
1.2.x.

Joe
--
Joe Germuska
[EMAIL PROTECTED]  
http://blog.germuska.com
Narrow minds are weapons made for mass destruction  -The Ex

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


Re: Common Chain 1.0 and Struts Chain

2004-12-10 Thread Vic
Afaik Struts v1.3 will have request processor based on Chain.
Future versions may have Action be chain - like.
.V
Julian wrote:
Hi,
I was wondering if the release of Commons Chain 1.0
will enable a Best Available release of Struts with
struts-chain?  If not, how stable is the COR stuff in
Struts?
Thanks,
Julian
		
__ 
Do you Yahoo!? 
Take Yahoo! Mail with you! Get it on your mobile phone. 
http://mobile.yahoo.com/maildemo 
 


--
RiA-SoA w/JDNC http://www.SandraSF.com forums
blog http://www.sandrasf.com/adminBlog
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: LookupDispatchAction issue

2004-12-10 Thread Vadim Petrenko
I would suggest not doing it like that, define a hidden property instead,
otherwise one day when you decide to debug your page and add method=get to
the form tag (attribute, not parameter) you'd be surprised that it doesn't
work.

  html:form action=modifyOutgoingMessage
nested:hidden property=method value=save/

Also with this construction you can quite elegantly add an onclick event to
your submit buttons which would set value of method to the value related
to the clicked button.


-Original Message-
From: andy wix [mailto:[EMAIL PROTECTED] 
Sent: Friday, December 10, 2004 2:56 PM
To: [EMAIL PROTECTED]
Subject: RE: LookupDispatchAction issue

Hi,

This is now fixed.  It was because I didn't have a 'default' method 
specified in the form tag. I.e.,

  html:form action=modifyOutgoingMessage?method=save

Regards,
andy

_
It's fast, it's easy and it's free. Get MSN Messenger today! 
http://www.msn.co.uk/messenger


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



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



Re: Nested form validation

2004-12-10 Thread Hubert Rabago
I would think so, but you'd have to call Validator yourself.  Take a
look at how the ValidatorForm#validate() calls it, and base your
nested.validate() code on that.  After the call, append the errors
from your main form and those in your nested form.

On Fri, 10 Dec 2004 10:41:36 +1100, Ben [EMAIL PROTECTED] wrote:
 If I do this, can I use Struts validators and my custom validate method?
 
 
 
 
 On Thu, 9 Dec 2004 16:08:03 -0600, Hubert Rabago [EMAIL PROTECTED] wrote:
  Why not call nested.validate() inside NormalForm#validate(), then add
  the appropriate ActionMessage objects in the resulting ActionErrors?
 
 
 
 
  On Fri, 10 Dec 2004 08:57:17 +1100, Ben [EMAIL PROTECTED] wrote:
   Hi
  
   Within my normal form there is a nested form. The nested form has
   custom validation. The validate attribute of the action is set to
   false. My question is how do I validate the normal form and
   automatically validate the nested form with my custom validation
   method?
  
   E.g.
  
   NormalForm () {
   NestedForm nested = new NestedForm();
   }
  
   NestedForm () {
   validate(...) {
   // checking the data here
   }
   }
  
   So my action would validate the form as:
  
   MyAction () {
   NormalForm nForm = (NormalForm) form;
   ActionErrors errors = nForm.validate(); // Validate the data
   }
  
   The problem here is that it validates the NormalForm and ignores my
   validation in the NestedForm.
  
   I hope this question makes sense to you... :)
  
   Thanks,
   Ben
  
   -
 
 
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 


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



Re: LookupDispatchAction issue

2004-12-10 Thread Dakota Jack
Since this is at issue, I would suggest that you not use
LookupDispatchAction at all.  It is clever but too convoluted.  There
are better solutions.  See http://www.michaelmcgrady.com/button/ and
http://www.michaelmcgrady.com/button/jsp/button_talk.jsp .  As always,
I recommend DispatchUtil in the options presented.

Jack


On Fri, 10 Dec 2004 16:14:47 +0100, Vadim Petrenko [EMAIL PROTECTED] wrote:
 I would suggest not doing it like that, define a hidden property instead,
 otherwise one day when you decide to debug your page and add method=get to
 the form tag (attribute, not parameter) you'd be surprised that it doesn't
 work.
 
   html:form action=modifyOutgoingMessage
 nested:hidden property=method value=save/
 
 Also with this construction you can quite elegantly add an onclick event to
 your submit buttons which would set value of method to the value related
 to the clicked button.
 
 
 
 
 -Original Message-
 From: andy wix [mailto:[EMAIL PROTECTED]
 Sent: Friday, December 10, 2004 2:56 PM
 To: [EMAIL PROTECTED]
 Subject: RE: LookupDispatchAction issue
 
 Hi,
 
 This is now fixed.  It was because I didn't have a 'default' method
 specified in the form tag. I.e.,
 
   html:form action=modifyOutgoingMessage?method=save
 
 Regards,
 andy
 
 _
 It's fast, it's easy and it's free. Get MSN Messenger today!
 http://www.msn.co.uk/messenger
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


-- 


You can't wake a person who is pretending to be asleep.

~Native Proverb~

Each man is good in His sight. It is not necessary for eagles to be crows.

~Hunkesni (Sitting Bull), Hunkpapa Sioux~

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



Re: Common Chain 1.0 and Struts Chain

2004-12-10 Thread Dakota Jack
I'm really looking forward to this.  Big jump forward, I think.

Jack


On Fri, 10 Dec 2004 08:54:30 -0600, Joe Germuska [EMAIL PROTECTED] wrote:
 At 6:28 AM -0800 12/10/04, Julian wrote:
 Hi,
 
 I was wondering if the release of Commons Chain 1.0
 will enable a Best Available release of Struts with
 struts-chain?  If not, how stable is the COR stuff in
 Struts?
 
 The struts-chain was working just fine against pre-1.0 releases of
 Struts Chain.  If you're interested, there's no reason to wait.  It
 will be longer before you can download a nightly build of Struts
 which uses the Chain request processor, but work on that was mostly
 waiting for the 1.0 release (and for time, which unfortunately I've
 had a short supply of, and this time of year, it will continue that
 way.)
 
 I have a few pending questions on the dev list that I may need to
 re-raise about a few implementation details, but now that 1.0 is
 fully released, I do hope to begin making changes to the core code
 base to use commons-chain and the Composable Request Processor.  I
 don't see the point of just merging struts-chain into the 'core'
 project and cutting a release; rather, we'll want to obsolete the
 PlugIn which configures the command catalogs in struts-chain in favor
 of direct support in the ActionServlet.  I am also inclined to
 package the set of commands which provide legacy Struts support as a
 separate JAR, rather than pushing a few dozen classes into the core
 which in some sense are legacy bound.  (Whether there's consensus on
 that is one of the questions to re-raise on the dev list.)
 
 I've been using struts-chain in a production project for close to a
 year now (including original development time).  We flushed a few
 bugs out along the way, but it's fundamentally stable with Struts
 1.2.x.
 
 Joe
 
 --
 Joe Germuska
 [EMAIL PROTECTED]
 http://blog.germuska.com
 Narrow minds are weapons made for mass destruction  -The Ex
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


-- 


You can't wake a person who is pretending to be asleep.

~Native Proverb~

Each man is good in His sight. It is not necessary for eagles to be crows.

~Hunkesni (Sitting Bull), Hunkpapa Sioux~

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



RE: Common Chain 1.0 and Struts Chain

2004-12-10 Thread Pilgrim, Peter
Where does it say Common Chain is now released at V1.0


--
Peter Pilgrim
Operations/IT - Credit Suisse First Boston, 
10 South Colonnade, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497



 -Original Message-
 From: Julian [mailto:[EMAIL PROTECTED]
 Sent: 10 December 2004 14:29
 To: Struts Users Mailing List
 Subject: Common Chain 1.0 and Struts Chain
 
 
 Hi,
 
 I was wondering if the release of Commons Chain 1.0
 will enable a Best Available release of Struts with
 struts-chain?  If not, how stable is the COR stuff in
 Struts?
 
 Thanks,
 Julian
 
 
   
 __ 
 Do you Yahoo!? 
 Take Yahoo! Mail with you! Get it on your mobile phone. 
 http://mobile.yahoo.com/maildemo 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 

==
This message is for the sole use of the intended recipient. If you received
this message in error please delete it and notify us. If this message was
misdirected, CSFB does not waive any confidentiality or privilege. CSFB
retains and monitors electronic communications sent through its network.
Instructions transmitted over this system are not binding on CSFB until they
are confirmed by us. Message transmission is not guaranteed to be secure.
==


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



Re: Common Chain 1.0 and Struts Chain

2004-12-10 Thread Niall Pemberton
http://article.gmane.org/gmane.comp.jakarta.commons.devel/58801

- Original Message - 
From: Pilgrim, Peter [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Friday, December 10, 2004 4:34 PM
Subject: RE: Common Chain 1.0 and Struts Chain


 Where does it say Common Chain is now released at V1.0


 --
 Peter Pilgrim
 Operations/IT - Credit Suisse First Boston,
 10 South Colonnade, London E14 4QJ, United Kingdom
 Tel: +44-(0)207-883-4497



  -Original Message-
  From: Julian [mailto:[EMAIL PROTECTED]
  Sent: 10 December 2004 14:29
  To: Struts Users Mailing List
  Subject: Common Chain 1.0 and Struts Chain
 
 
  Hi,
 
  I was wondering if the release of Commons Chain 1.0
  will enable a Best Available release of Struts with
  struts-chain?  If not, how stable is the COR stuff in
  Struts?
 
  Thanks,
  Julian
 
 
 
  __
  Do you Yahoo!?
  Take Yahoo! Mail with you! Get it on your mobile phone.
  http://mobile.yahoo.com/maildemo
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 



==
 This message is for the sole use of the intended recipient. If you
received
 this message in error please delete it and notify us. If this message was
 misdirected, CSFB does not waive any confidentiality or privilege. CSFB
 retains and monitors electronic communications sent through its network.
 Instructions transmitted over this system are not binding on CSFB until
they
 are confirmed by us. Message transmission is not guaranteed to be secure.


==


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






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



Re: Common Chain 1.0 and Struts Chain

2004-12-10 Thread Niall Pemberton
Also in jakarta news

http://jakarta.apache.org/site/news/news-2004-2ndHalf.html

and its listed in the Releases section on the Commons Chain site:

http://jakarta.apache.org/commons/chain/

Niall

- Original Message - 
From: Niall Pemberton [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, December 10, 2004 4:43 PM
Subject: Re: Common Chain 1.0 and Struts Chain


 http://article.gmane.org/gmane.comp.jakarta.commons.devel/58801

 - Original Message - 
 From: Pilgrim, Peter [EMAIL PROTECTED]
 To: 'Struts Users Mailing List' [EMAIL PROTECTED]
 Sent: Friday, December 10, 2004 4:34 PM
 Subject: RE: Common Chain 1.0 and Struts Chain


  Where does it say Common Chain is now released at V1.0
 
 
  --
  Peter Pilgrim
  Operations/IT - Credit Suisse First Boston,
  10 South Colonnade, London E14 4QJ, United Kingdom
  Tel: +44-(0)207-883-4497
 
 
 
   -Original Message-
   From: Julian [mailto:[EMAIL PROTECTED]
   Sent: 10 December 2004 14:29
   To: Struts Users Mailing List
   Subject: Common Chain 1.0 and Struts Chain
  
  
   Hi,
  
   I was wondering if the release of Commons Chain 1.0
   will enable a Best Available release of Struts with
   struts-chain?  If not, how stable is the COR stuff in
   Struts?
  
   Thanks,
   Julian
  
  
  
   __
   Do you Yahoo!?
   Take Yahoo! Mail with you! Get it on your mobile phone.
   http://mobile.yahoo.com/maildemo
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 
 


 ==
  This message is for the sole use of the intended recipient. If you
 received
  this message in error please delete it and notify us. If this message
was
  misdirected, CSFB does not waive any confidentiality or privilege. CSFB
  retains and monitors electronic communications sent through its network.
  Instructions transmitted over this system are not binding on CSFB until
 they
  are confirmed by us. Message transmission is not guaranteed to be
secure.
 


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



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






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



RE: Common Chain 1.0 and Struts Chain

2004-12-10 Thread Pilgrim, Peter

 -Original Message-
 From: Niall Pemberton [mailto:[EMAIL PROTECTED]
 
 
 http://article.gmane.org/gmane.comp.jakarta.commons.devel/58801
 
 - Original Message - 
 From: Pilgrim, Peter [EMAIL PROTECTED]

 
  Where does it say Common Chain is now released at V1.0
 
 
  --
  Peter Pilgrim

====
 
Sugar.

I looked and downloaded the thing this morning and it was still said 0.2
There's nothing like Internet time!
--
Peter Pilgrim
Operations/IT - Credit Suisse First Boston, 
10 South Colonnade, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497


==
This message is for the sole use of the intended recipient. If you received
this message in error please delete it and notify us. If this message was
misdirected, CSFB does not waive any confidentiality or privilege. CSFB
retains and monitors electronic communications sent through its network.
Instructions transmitted over this system are not binding on CSFB until they
are confirmed by us. Message transmission is not guaranteed to be secure.
==


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



[OT] Complicated Digester Rules [ RE: Common Chain 1.0 and Struts Chain ]

2004-12-10 Thread Pilgrim, Peter

 -Original Message-
 From: Niall Pemberton [mailto:[EMAIL PROTECTED]
 
 Also in jakarta news
 
 http://jakarta.apache.org/site/news/news-2004-2ndHalf.html
 
 and its listed in the Releases section on the Commons Chain site:
 
 http://jakarta.apache.org/commons/chain/
 
====

Cheers Niall

The reason I downloaded the chain again, because I want to study
the chain implementation. I think the Chain would make a good 
invocation AOP/IoC element, if you want to inject some complicated
rules driven advice ... but not this thread

I also wanted looked close at the Digester rules in the Chain 
implementation. I am not if I follow everything in it.

Does any one have a HOWTO and GUIDE into writing Digester rules,
config set and possibly regexp rules?

I have written some Digester stuff and now I want to refactor it
because there is a lot of commonality with the XML grammar (DTD) 
and the stuff I have now is becoming terser every version.

mtia

--
Peter Pilgrim
Operations/IT - Credit Suisse First Boston, 
10 South Colonnade, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497

==
This message is for the sole use of the intended recipient. If you received
this message in error please delete it and notify us. If this message was
misdirected, CSFB does not waive any confidentiality or privilege. CSFB
retains and monitors electronic communications sent through its network.
Instructions transmitted over this system are not binding on CSFB until they
are confirmed by us. Message transmission is not guaranteed to be secure.
==


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



RE: Problem with validation (?)

2004-12-10 Thread Jim Barrows
 -Original Message-
 From: aris [mailto:[EMAIL PROTECTED]
 Sent: Thursday, December 09, 2004 11:23 AM
 To: Struts Users Mailing List
 Subject: Re: Problem with validation (?)
 
 
 From: Wendy Smoak [EMAIL PROTECTED]
 
  From: aris [EMAIL PROTECTED]

SNIP

 
 I use the debugger for my Java code but before to debug 
 Struts Java code I
 think it's a best practice to read the documentation or post 
 a question on
 the ml... don't you?

That depends on who you think is manning this list.  I, for instance, post and 
help because I learn more about struts this way then I would just doing 
everything myself.   This makes me a more employable.  I also do this at work, 
so I have to balance what I answer and what I don't.
So, I like it when people come to the list who have already done the leg work 
on a problem.  Spending some time with a debugger and the documentation is a 
good thing. 
 
Now, that doesn't mean that I don't like newbie questions, I just don't answer 
them with more then pointing them at the documentation. Then, if they still 
have trouble will get more detailed.  

The bottom line though is this there are no list members who are getting 
paid to man the list (as their primary job).  So, making a minimum of impact on 
our time and resources is just being a good neighbor.

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



[Friday] SF Bay Area DJ Dream Team Voting

2004-12-10 Thread Mick.Knutson
I hope this is appropriate for Friday postings.But the Struts 1.2.4 upgrade 
has kicked me hard, now that I am done, I can focus on my favorite past time... 
House Music!

Just wanted to request that anyone in the SF Bay Area, willing to donate just a 
couple of minutes of your time, to Vote for me DJ Mick Knutson in the SF DJ 
Dream Team voting:
http://www.djdreamteam.com/sfpoll/page1.asp

Your help would be greatly appreciated as I am WAY behind in this competition 
and could use all the help I can get!
The voting ends Dec 17th so I am short on time. Plus, the voting only counts if 
you have a Bay Area zip code.



Mick Knutson
http://www.MickKnutson.com




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



Alternative Presentation Layers

2004-12-10 Thread Jerry Jalenak
been-away-awhile-but-now-back! /

Starting a major rewrite of one of our client facing webapps, along with a
significant change to the underlying production system that feeds the
webapp.  One of the changes is that I know have the option of receiving
well-formed XML documents instead of big, ugly result sets.  So, I started
looking into using either StrutsCX or STXX as my presentation layer, but it
appears that both projects are no longer being developed or maintained.

So, is there a XML/XSLT presentation layer that is 1) currently being
developed and maintained, and 2) works with Struts 1.2.x?

I've also started looking into Apache Cocoon as a replacement for Struts,
but hate to loose the 'ease' with which I can develop this webapp...

Comments?

Thanks!

Jerry Jalenak
Senior Programmer / Analyst, Web Publishing
LabOne, Inc.
10101 Renner Blvd.
Lenexa, KS  66219
(913) 577-1496

[EMAIL PROTECTED]


This transmission (and any information attached to it) may be confidential and
is intended solely for the use of the individual or entity to which it is
addressed. If you are not the intended recipient or the person responsible for
delivering the transmission to the intended recipient, be advised that you
have received this transmission in error and that any use, dissemination,
forwarding, printing, or copying of this information is strictly prohibited.
If you have received this transmission in error, please immediately notify
LabOne at the following email address: [EMAIL PROTECTED]


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



OT: Syntax checker

2004-12-10 Thread Apte, Dhanashree (Noblestar)
Sorry for the deviation, but is there an easy way to find out what exactly
is causing 
org.apache.jasper.compiler.ParseException: End of content reached while more
parsing required: tag nesting error?
error on a jsp? Maybe run it through some tool which points out the
problematic tag?
 
Thanks!
Dhanashree.


RE: More generic cookie question

2004-12-10 Thread Jim Barrows


 -Original Message-
 From: Nagiel, Shahak (Mission Systems) [mailto:[EMAIL PROTECTED]
 Sent: Thursday, December 09, 2004 11:33 AM
 To: [EMAIL PROTECTED]
 Subject: More generic cookie question
 
 
 We have a customized login/authentication scheme in our site, 
 using an extended Struts ActionMapping class.  The 
 authentication check itself (handled in our extended 
 ActionServlet class) is simple: if the user has a username, 
 proceed, otherwise forward to the login page.  In order to 
 smoothly handle session timeouts, right before forwarding to 
 the login page, we capture the incoming request and save it 
 as a session attribute (this session being brand new).  Then, 
 assuming a successful login, we proceed to that originally 
 requested URL, and pass along whatever parameters were 
 contained in it.  (This allows submission of a form after the 
 original session timed out.)
  
 This approach works fine with cookies enabled, but with 
 cookies disabled, it appears the new session is not 
 persisting that request after timing out.  Does anyone have 
 any clues about what's going on here?  Is the lack of cookie 
 access somehow requiring an additional round-trip to the 
 server that's preventing this from working?

Yes iirc struts will figure out for you if it's using cookies or url 
rewriting for session management.   This figure out process is two step... 
first time it checks for cookies and then if none, switches to url rewriting.  
It looks like you're interfering with that process.

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



RE: Controller Form not forwarding to Action

2004-12-10 Thread Jim Douglas
That was it exactly,
Thanks,
Jim
From: David G. Friedman [EMAIL PROTECTED]
To: Struts Users Mailing List 
[EMAIL PROTECTED],[EMAIL PROTECTED]
Subject: RE: Controller Form not forwarding to Action
Date: Thu, 9 Dec 2004 17:52:16 -0500

Jim,
Since the ActionForm is working but you're getting no data from your Action
class, are you using perform() instead of execute()?  Old tutorials (and
some older books) on Struts all show the perform() method which is not
present in the current releases (1.2.4, it was deprecated in 1.1 and 
removed
by 1.2.4).   This would result in an action not forwarding after validation
succeeds since you would not have setup the appropriate execute() method
that 1.2.4 Action's invoke.   Just my theory without having seen your 
action
class but knowing your expectations. :)

Regards,
David
-Original Message-
From: Laconia Data Systems [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 09, 2004 11:32 AM
To: Struts Users Mailing List
Subject: Re: Controller Form not forwarding to Action
Jim:
could we see the entire struts-config.xml
could you print out the head for your LogonAction so we can see the
Package specification for LogonAction?
Has the LogonAction class been included in the war?
Martin-
- Original Message -
From: Jim Douglas [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, December 09, 2004 10:57 AM
Subject: Re: Controller Form not forwarding to Action
 Niall,
   I fixed that but it didn't matter.  Any other suggestions?
 Thanks,
 Jim


 From: Niall Pemberton [EMAIL PROTECTED]
 Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
 To: Struts Users Mailing List [EMAIL PROTECTED]
 Subject: Re: Controller Form not forwarding to Action
 Date: Thu, 9 Dec 2004 05:23:15 -
 
 Looks like you have a missing  in your struts-config after
 input=/logon.jsp
 
   actionpath=/logon
  type=app.web.LogonAction
  name=logonForm
  scope=request
  input=/logon.jsp
forward name=success path=/portal/welcome.jsp/
forward name=failure path=/portal/error.jsp/
   /action
 
 Niall
 
 - Original Message -
 From: Jim Douglas [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Thursday, December 09, 2004 3:29 AM
 Subject: Controller Form not forwarding to Action
 
 
   To all,
 I have an LoginForm which is working fine.  The problem is struts 
is
 not
   forwarding after form validation.  It never gets into the 
LoginAction
 class.
  
 This is the output to the log file.
  
   DEBUG -  Validating input form properties
   INFO - IN LogonForm CLASS: ActionErrors METHOD
   INFO - password = jim
   INFO - username = butter
   DEBUG -   No errors detected, accepting input
   DEBUG -  Looking for Action instance for class app.web.LogonAction
   DEBUG -   Creating new Action instance
  
   This is my struts-config.xml
  
 !-- == Form Bean Definitions
 ===
   --
 form-beans
   !-- Logon form bean --
   form-bean  name=logonForm
   type=app.web.LogonForm/
 /form-beans
   !-- == Global Forward Definitions
 ==
   --
 global-forwards
   forward   name=logonpath=/logon.jsp/
   forward   name=success  
path=/portal/welcome.jsp
   rewrite=true/ --
 /global-forwards
  
 action-mappings
   !-- Process a user logon --
   actionpath=/logon
  type=app.web.LogonAction
  name=logonForm
  scope=request
  input=/logon.jsp
  forward name=success path=/portal/welcome.jsp/
  forward name=failure path=/portal/error.jsp/
   /action
  
   Where else can I look?
  
   Thanks,
   Jim
  
  
  
   
-
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
  
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 



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


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

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


Re: Controller Form not forwarding to Action

2004-12-10 Thread Jim Douglas
Martin,
 I was using an old example which is referenced extensively in 
documentation.

 Ths solution was to chage perform to execute in the ActionForward 
method in the LoginAction example.

Thanks,
Jim
From: Laconia Data Systems [EMAIL PROTECTED]
Reply-To: Laconia Data Systems [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: Re: Controller Form not forwarding to Action
Date: Thu, 9 Dec 2004 11:32:24 -0500
Jim:
could we see the entire struts-config.xml
could you print out the head for your LogonAction so we can see the
Package specification for LogonAction?
Has the LogonAction class been included in the war?
Martin-
- Original Message -
From: Jim Douglas [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, December 09, 2004 10:57 AM
Subject: Re: Controller Form not forwarding to Action
 Niall,
   I fixed that but it didn't matter.  Any other suggestions?
 Thanks,
 Jim


 From: Niall Pemberton [EMAIL PROTECTED]
 Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
 To: Struts Users Mailing List [EMAIL PROTECTED]
 Subject: Re: Controller Form not forwarding to Action
 Date: Thu, 9 Dec 2004 05:23:15 -
 
 Looks like you have a missing  in your struts-config after
 input=/logon.jsp
 
   actionpath=/logon
  type=app.web.LogonAction
  name=logonForm
  scope=request
  input=/logon.jsp
forward name=success path=/portal/welcome.jsp/
forward name=failure path=/portal/error.jsp/
   /action
 
 Niall
 
 - Original Message -
 From: Jim Douglas [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Thursday, December 09, 2004 3:29 AM
 Subject: Controller Form not forwarding to Action
 
 
   To all,
 I have an LoginForm which is working fine.  The problem is struts 
is
 not
   forwarding after form validation.  It never gets into the 
LoginAction
 class.
  
 This is the output to the log file.
  
   DEBUG -  Validating input form properties
   INFO - IN LogonForm CLASS: ActionErrors METHOD
   INFO - password = jim
   INFO - username = butter
   DEBUG -   No errors detected, accepting input
   DEBUG -  Looking for Action instance for class app.web.LogonAction
   DEBUG -   Creating new Action instance
  
   This is my struts-config.xml
  
 !-- == Form Bean Definitions
 ===
   --
 form-beans
   !-- Logon form bean --
   form-bean  name=logonForm
   type=app.web.LogonForm/
 /form-beans
   !-- == Global Forward Definitions
 ==
   --
 global-forwards
   forward   name=logonpath=/logon.jsp/
   forward   name=success  
path=/portal/welcome.jsp
   rewrite=true/ --
 /global-forwards
  
 action-mappings
   !-- Process a user logon --
   actionpath=/logon
  type=app.web.LogonAction
  name=logonForm
  scope=request
  input=/logon.jsp
  forward name=success path=/portal/welcome.jsp/
  forward name=failure path=/portal/error.jsp/
   /action
  
   Where else can I look?
  
   Thanks,
   Jim
  
  
  
   
-
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
  
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 



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


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

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


Re: [OT] Complicated Digester Rules [ RE: Common Chain 1.0 and Struts Chain ]

2004-12-10 Thread Craig McClanahan
Here's an informal description of what that ruleset is about. 
Informally, we want to be able to parse things like:

  foo
...
bar
  ...
  catalog name=xyz
chain name=abc
  command .../
  command .../
/chain
  /catalog
  ...
/bar
...
  /foo

With a few extra wrinkles:

* I want to be able to substitute the names of the elements that have
  default names catalog, chain, and name above.  This is done by
  instantiating a ConfigRuleSet and setting the corresponding properties
  before using that RuleSet instance to set up a ConfigParser.

* I want to be able to change the names of some attributes that the
  configuration rules look for, such as class (for the FQCN of a chain
  or command instance), customized the same way.

* I want to be able to define alias elements for commands that are used
  a lot, so I don't have to specify the FQCN on every one of them.  For example,
  the following element (from the unit tests):

define name=adding-command
  className=org.apache.commons.chain.impl.AddingCommand/

  means I can use the following:

adding-command .../

  instead of the more verbose:

command className=org.apache.commons.chain.impl.AddingCommand .../

  every time I want to use that particular command.

I'm particularly pround of that custom Digester rule :-), but it is
definitely an intricate one, because it calculates and adds some
additional rules during the parse, instead of before.

Craig


On Fri, 10 Dec 2004 16:52:54 -, Pilgrim, Peter
[EMAIL PROTECTED] wrote:
 
  -Original Message-
  From: Niall Pemberton [mailto:[EMAIL PROTECTED]
 
  Also in jakarta news
 
  http://jakarta.apache.org/site/news/news-2004-2ndHalf.html
 
  and its listed in the Releases section on the Commons Chain site:
 
  http://jakarta.apache.org/commons/chain/
 
 ====
 
 Cheers Niall
 
 The reason I downloaded the chain again, because I want to study
 the chain implementation. I think the Chain would make a good
 invocation AOP/IoC element, if you want to inject some complicated
 rules driven advice ... but not this thread
 
 I also wanted looked close at the Digester rules in the Chain
 implementation. I am not if I follow everything in it.
 
 Does any one have a HOWTO and GUIDE into writing Digester rules,
 config set and possibly regexp rules?
 
 I have written some Digester stuff and now I want to refactor it
 because there is a lot of commonality with the XML grammar (DTD)
 and the stuff I have now is becoming terser every version.
 
 mtia
 
 --
 Peter Pilgrim
 Operations/IT - Credit Suisse First Boston,
 10 South Colonnade, London E14 4QJ, United Kingdom
 Tel: +44-(0)207-883-4497
 
 ==
 This message is for the sole use of the intended recipient. If you received
 this message in error please delete it and notify us. If this message was
 misdirected, CSFB does not waive any confidentiality or privilege. CSFB
 retains and monitors electronic communications sent through its network.
 Instructions transmitted over this system are not binding on CSFB until they
 are confirmed by us. Message transmission is not guaranteed to be secure.
 ==
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


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



Opinions on Struts Layout

2004-12-10 Thread Brantley Hobbs
Hi all!

When our organization was making the decision between .NET and J2EE, we
were really struck by how powerful MS's idea of web forms were.  The
ability to drag/drop web controls onto a page is very attractive, simply
because our developers were hired to develop; not generate HTML (as I'm
sure most of you were).  What eventually did .NET in (at least for us)
was MS's abysmal security record, and the flexibility afforded by J2EE
(i.e., can be deployed on any platform that has a JVM for the most
part).

Struts was the first framework project we ran into after we took the
J2EE plunge.  We all really like Struts, but we have been looking for
more streamlined ways of developing the view.

Well, I ran across Struts Layout
(http://struts.application-servers.com/index.html).  Perhaps I've been
living under a rock for a while, but it was something that I'd never
heard of before, and it seems to offer exactly what we longed for with
MS's canned web controls.

Does anyone here have any familiarity with this project?  How does it
compare with JSF or even with some of the other presentation layer
projects like Velocity, etc.

One idea that I really like about struts layout is that it's tied
directly back to struts, so it seems that it might be a more elegant
solution than mixing technologies.

Any input?

Thanks,
Brantley Hobbs


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



RE: Syntax checker

2004-12-10 Thread Slattery, Tim - BLS
 Sorry for the deviation, but is there an easy way to find out 
 what exactly is causing 
 org.apache.jasper.compiler.ParseException: End of content 
 reached while more parsing required: tag nesting error? error 
 on a jsp? Maybe run it through some tool which points out the 
 problematic tag?

Sound to me like you haven't closed a tag somewhere.

[EMAIL PROTECTED]


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



Re: OT: Syntax checker

2004-12-10 Thread Bryce Fischer
Since JSP is XML, why not load it up in an XML editor. It should 
complain and show you where the problem is.

Apte, Dhanashree (Noblestar) wrote:
Sorry for the deviation, but is there an easy way to find out what exactly
is causing 
org.apache.jasper.compiler.ParseException: End of content reached while more
parsing required: tag nesting error?
error on a jsp? Maybe run it through some tool which points out the
problematic tag?
 
Thanks!
Dhanashree.


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

RE: Opinions on Struts Layout

2004-12-10 Thread Jim Barrows


 -Original Message-
 From: news [mailto:[EMAIL PROTECTED] Behalf Of Vic
 Sent: Friday, December 10, 2004 12:46 PM
 To: [EMAIL PROTECTED]
 Subject: Re: Opinions on Struts Layout
 
 
 Brantley Hobbs wrote:
 
 Hi all!
 
 When our organization was making the decision between .NET 
 and J2EE, we
 were really struck by how powerful MS's idea of web forms were.  The
 ability to drag/drop web controls onto a page is very 
 attractive, simply
 because our developers were hired to develop; not generate 
 HTML (as I'm
 sure most of you were).  
 
 
 It's a great 90% solution. The last mile kills you.
 
 What eventually did .NET in (at least for us)
 was MS's abysmal security record, and the flexibility 
 afforded by J2EE
 (i.e., can be deployed on any platform that has a JVM for the most
 part).
   
 
 :-)
 
 Struts was the first framework project we ran into after we took the
 J2EE plunge.  We all really like Struts, but we have been looking for
 more streamlined ways of developing the view.
 
   
 
 I let people do prototypes in HTML tools, there are many. 
 Then I do ren 
 *.html *.jsp.
 
 Well, I ran across Struts Layout
 (http://struts.application-servers.com/index.html).  Perhaps 
 I've been
 living under a rock for a while, but it was something that I'd never
 heard of before, and it seems to offer exactly what we 
 longed for with
 MS's canned web controls.
 
 Does anyone here have any familiarity with this project?  How does it
 compare with JSF or even with some of the other presentation layer
 projects like Velocity, etc.
 
 One idea that I really like about struts layout is that it's tied
 directly back to struts, so it seems that it might be a more elegant
 solution than mixing technologies.
 
 Any input?
 
   
 
 There are many GUI and UI tools for Struts, Java, etc.. You can just 
 google,  http://www.scioworks.com http://www.scioworks.com/ is one.
 For pro applications, you live in the last 10% and the last mile, so 
 some of us like to hand code. It's acctualy cheaper and 
 faster to do so.
 Why?
 80% of cost of software is maitnance and upgrades. Once you hand code 
 it, it's very maintainable.  If somone says change that and 
 make it do 
 X, with handcoded JSP/html I have ninimal problems.
 (For JDNC I have tried JFormDesigner).
 It depends how you compute your cost of development.
 So I don't use generators, nor UI generators.

Then add in that most html generators suck at generating fast, w3c compliant 
code and you have a real mess on your hands.
Take any .net site developed with MS's so called tools... they in general are 
NOT w3c compliant, and monkeys on keyboards could generate better code.
Then modifying it all... yuck. Nope.. hand coding is much faster.


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



Re: [OT] Complicated Digester Rules [ RE: Common Chain 1.0 and Struts Chain ]

2004-12-10 Thread Hubert Rabago
On Fri, 10 Dec 2004 09:30:49 -0800, Craig McClanahan [EMAIL PROTECTED] wrote:
 * I want to be able to define alias elements for commands that are used
   a lot, so I don't have to specify the FQCN on every one of them.  For 
 example,
   the following element (from the unit tests):
 define name=adding-command
   className=org.apache.commons.chain.impl.AddingCommand/
 
   means I can use the following:
 adding-command .../
 
   instead of the more verbose:
 command className=org.apache.commons.chain.impl.AddingCommand .../
 
   every time I want to use that particular command.

WOW.

This rule will be NICE to play with.  I haven't checked yet, but I'm
assuming this rule isn't part of Digester (heck, Hubert, that's why he
said custom).  If so, maybe it's something that can be added to the
core, or (if it needs to be customized per use) even just in a
Digester example app.

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



Re: Opinions on Struts Layout

2004-12-10 Thread Derek Broughton
On Friday 10 December 2004 14:03, Brantley Hobbs wrote:

 Well, I ran across Struts Layout
 (http://struts.application-servers.com/index.html).  Perhaps I've been
 living under a rock for a while, but it was something that I'd never
 heard of before, and it seems to offer exactly what we longed for with
 MS's canned web controls.

 Does anyone here have any familiarity with this project?  How does it
 compare with JSF or even with some of the other presentation layer
 projects like Velocity, etc.

No experience - I just ran across struts layout, too, and find it's working 
well for some of what I want to do.  I know nothing about JSF, and tried to 
get into Velocity and it seemed like just too much work.  I think that's 
really because I got some bad advice, early, but I gave up on it. 

The responses you've received so far strike me as odd - which makes me think 
none of the respondents have actually looked at Struts Layout.  It's a 
properly struts-based tag library, and fits fine with _Struts_, but I had 
trouble getting it to do tabbed menus with Tiles.  Since that's not it's 
major purpose, I just stopped doing that.
-- 
derek

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



Re: Opinions on Struts Layout

2004-12-10 Thread Dakota Jack
If you look at the Struts dev an user lists, Brantley, you will find
quite a bit on this too.

Jack


On Fri, 10 Dec 2004 13:03:59 -0500, Brantley Hobbs [EMAIL PROTECTED] wrote:
 Hi all!
 
 When our organization was making the decision between .NET and J2EE, we
 were really struck by how powerful MS's idea of web forms were.  The
 ability to drag/drop web controls onto a page is very attractive, simply
 because our developers were hired to develop; not generate HTML (as I'm
 sure most of you were).  What eventually did .NET in (at least for us)
 was MS's abysmal security record, and the flexibility afforded by J2EE
 (i.e., can be deployed on any platform that has a JVM for the most
 part).
 
 Struts was the first framework project we ran into after we took the
 J2EE plunge.  We all really like Struts, but we have been looking for
 more streamlined ways of developing the view.
 
 Well, I ran across Struts Layout
 (http://struts.application-servers.com/index.html).  Perhaps I've been
 living under a rock for a while, but it was something that I'd never
 heard of before, and it seems to offer exactly what we longed for with
 MS's canned web controls.
 
 Does anyone here have any familiarity with this project?  How does it
 compare with JSF or even with some of the other presentation layer
 projects like Velocity, etc.
 
 One idea that I really like about struts layout is that it's tied
 directly back to struts, so it seems that it might be a more elegant
 solution than mixing technologies.
 
 Any input?
 
 Thanks,
 Brantley Hobbs
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


-- 


You can't wake a person who is pretending to be asleep.

~Native Proverb~

Each man is good in His sight. It is not necessary for eagles to be crows.

~Hunkesni (Sitting Bull), Hunkpapa Sioux~

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



Re: Opinions on Struts Layout

2004-12-10 Thread Dakota Jack
Look under struts-layout.  The results of googling for struts-layout
are somewhat surprising and you might want to do that too.  Naming is
so important.  Why Struts Layout went with struts-layout is a mystery
to me.  Wrong side of the brain problem, I guess.

Jack


On Fri, 10 Dec 2004 12:41:50 -0800, Dakota Jack [EMAIL PROTECTED] wrote:
 If you look at the Struts dev an user lists, Brantley, you will find
 quite a bit on this too.
 
 Jack
 
 
 
 
 On Fri, 10 Dec 2004 13:03:59 -0500, Brantley Hobbs [EMAIL PROTECTED] wrote:
  Hi all!
 
  When our organization was making the decision between .NET and J2EE, we
  were really struck by how powerful MS's idea of web forms were.  The
  ability to drag/drop web controls onto a page is very attractive, simply
  because our developers were hired to develop; not generate HTML (as I'm
  sure most of you were).  What eventually did .NET in (at least for us)
  was MS's abysmal security record, and the flexibility afforded by J2EE
  (i.e., can be deployed on any platform that has a JVM for the most
  part).
 
  Struts was the first framework project we ran into after we took the
  J2EE plunge.  We all really like Struts, but we have been looking for
  more streamlined ways of developing the view.
 
  Well, I ran across Struts Layout
  (http://struts.application-servers.com/index.html).  Perhaps I've been
  living under a rock for a while, but it was something that I'd never
  heard of before, and it seems to offer exactly what we longed for with
  MS's canned web controls.
 
  Does anyone here have any familiarity with this project?  How does it
  compare with JSF or even with some of the other presentation layer
  projects like Velocity, etc.
 
  One idea that I really like about struts layout is that it's tied
  directly back to struts, so it seems that it might be a more elegant
  solution than mixing technologies.
 
  Any input?
 
  Thanks,
  Brantley Hobbs
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 --
 
 You can't wake a person who is pretending to be asleep.
 
 ~Native Proverb~
 
 Each man is good in His sight. It is not necessary for eagles to be crows.
 
 ~Hunkesni (Sitting Bull), Hunkpapa Sioux~
 


-- 


You can't wake a person who is pretending to be asleep.

~Native Proverb~

Each man is good in His sight. It is not necessary for eagles to be crows.

~Hunkesni (Sitting Bull), Hunkpapa Sioux~

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



RE: Opinions on Struts Layout

2004-12-10 Thread Brantley Hobbs
Thanks for the tip about the spelling.  I did some googling, but didn't
really see too much information about struts-layout as compared to some
of the other technologies, which is really what I'm after.

Also, does anyone know of a way to search the lists?  Every time I use
the search page
(http://mail-archives.apache.org/eyebrowse/[EMAIL PROTECTED]
ts.apache.org), I get Text search not available for this list.

Thanks,
B.

 -Original Message-
 From: Dakota Jack [mailto:[EMAIL PROTECTED]
 Sent: Friday, December 10, 2004 3:44 PM
 To: Struts Users Mailing List
 Subject: Re: Opinions on Struts Layout
 
 Look under struts-layout.  The results of googling for struts-layout
 are somewhat surprising and you might want to do that too.  Naming is
 so important.  Why Struts Layout went with struts-layout is a mystery
 to me.  Wrong side of the brain problem, I guess.
 
 Jack
 
 
 On Fri, 10 Dec 2004 12:41:50 -0800, Dakota Jack
[EMAIL PROTECTED]
 wrote:
  If you look at the Struts dev an user lists, Brantley, you will find
  quite a bit on this too.
 
  Jack
 
 
 
 
  On Fri, 10 Dec 2004 13:03:59 -0500, Brantley Hobbs
[EMAIL PROTECTED]
 wrote:
   Hi all!
  
   When our organization was making the decision between .NET and
J2EE,
 we
   were really struck by how powerful MS's idea of web forms were.
The
   ability to drag/drop web controls onto a page is very attractive,
 simply
   because our developers were hired to develop; not generate HTML
(as
 I'm
   sure most of you were).  What eventually did .NET in (at least for
us)
   was MS's abysmal security record, and the flexibility afforded by
J2EE
   (i.e., can be deployed on any platform that has a JVM for the most
   part).
  
   Struts was the first framework project we ran into after we took
the
   J2EE plunge.  We all really like Struts, but we have been looking
for
   more streamlined ways of developing the view.
  
   Well, I ran across Struts Layout
   (http://struts.application-servers.com/index.html).  Perhaps I've
been
   living under a rock for a while, but it was something that I'd
never
   heard of before, and it seems to offer exactly what we longed for
with
   MS's canned web controls.
  
   Does anyone here have any familiarity with this project?  How does
it
   compare with JSF or even with some of the other presentation layer
   projects like Velocity, etc.
  
   One idea that I really like about struts layout is that it's tied
   directly back to struts, so it seems that it might be a more
elegant
   solution than mixing technologies.
  
   Any input?
  
   Thanks,
   Brantley Hobbs
  
  
-
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 
 
  --
 
  You can't wake a person who is pretending to be asleep.
 
  ~Native Proverb~
 
  Each man is good in His sight. It is not necessary for eagles to be
 crows.
 
  ~Hunkesni (Sitting Bull), Hunkpapa Sioux~
 
 
 
 --
 
 
 You can't wake a person who is pretending to be asleep.
 
 ~Native Proverb~
 
 Each man is good in His sight. It is not necessary for eagles to be
 crows.
 
 ~Hunkesni (Sitting Bull), Hunkpapa Sioux~
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



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



Re: Opinions on Struts Layout

2004-12-10 Thread Hubert Rabago
It already does.  It's the third option on http://struts.apache.org/mail.html 

H

On Fri, 10 Dec 2004 15:53:19 -0500, Brantley Hobbs [EMAIL PROTECTED] wrote:
 Ahhh...
 
 Perhaps the link for the list archives on the struts project page should
 point to this URL!
 
 
 
 Thanks!
 
 B.
 
  -Original Message-
  From: David G. Friedman [mailto:[EMAIL PROTECTED]
  Sent: Friday, December 10, 2004 3:52 PM
  To: Struts Users Mailing List
  Subject: RE: Opinions on Struts Layout
 
  Try the search key struts-layout at his archive:
 
  http://marc.theaimsgroup.com/?l=struts-user
 
  I just performed that search and numerous results
  show up for that word.
 
  Regards,
  David
 
  -Original Message-
  From: Brantley Hobbs [mailto:[EMAIL PROTECTED]
  Sent: Friday, December 10, 2004 3:49 PM
  To: Struts Users Mailing List; Dakota Jack
  Subject: RE: Opinions on Struts Layout
 
 
  Thanks for the tip about the spelling.  I did some googling, but
 didn't
  really see too much information about struts-layout as compared to
 some
  of the other technologies, which is really what I'm after.
 
  Also, does anyone know of a way to search the lists?  Every time I use
  the search page
 
 (http://mail-archives.apache.org/eyebrowse/[EMAIL PROTECTED]
  ts.apache.org), I get Text search not available for this list.
 
  Thanks,
  B.
 
   -Original Message-
   From: Dakota Jack [mailto:[EMAIL PROTECTED]
   Sent: Friday, December 10, 2004 3:44 PM
   To: Struts Users Mailing List
   Subject: Re: Opinions on Struts Layout
  
   Look under struts-layout.  The results of googling for struts-layout
   are somewhat surprising and you might want to do that too.  Naming
 is
   so important.  Why Struts Layout went with struts-layout is a
 mystery
   to me.  Wrong side of the brain problem, I guess.
  
   Jack
  
  
   On Fri, 10 Dec 2004 12:41:50 -0800, Dakota Jack
  [EMAIL PROTECTED]
   wrote:
If you look at the Struts dev an user lists, Brantley, you will
 find
quite a bit on this too.
   
Jack
   
   
   
   
On Fri, 10 Dec 2004 13:03:59 -0500, Brantley Hobbs
  [EMAIL PROTECTED]
   wrote:
 Hi all!

 When our organization was making the decision between .NET and
  J2EE,
   we
 were really struck by how powerful MS's idea of web forms were.
  The
 ability to drag/drop web controls onto a page is very
 attractive,
   simply
 because our developers were hired to develop; not generate HTML
  (as
   I'm
 sure most of you were).  What eventually did .NET in (at least
 for
  us)
 was MS's abysmal security record, and the flexibility afforded
 by
  J2EE
 (i.e., can be deployed on any platform that has a JVM for the
 most
 part).

 Struts was the first framework project we ran into after we took
  the
 J2EE plunge.  We all really like Struts, but we have been
 looking
  for
 more streamlined ways of developing the view.

 Well, I ran across Struts Layout
 (http://struts.application-servers.com/index.html).  Perhaps
 I've
  been
 living under a rock for a while, but it was something that I'd
  never
 heard of before, and it seems to offer exactly what we longed
 for
  with
 MS's canned web controls.

 Does anyone here have any familiarity with this project?  How
 does
  it
 compare with JSF or even with some of the other presentation
 layer
 projects like Velocity, etc.

 One idea that I really like about struts layout is that it's
 tied
 directly back to struts, so it seems that it might be a more
  elegant
 solution than mixing technologies.

 Any input?

 Thanks,
 Brantley Hobbs


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


   
   
--
   
You can't wake a person who is pretending to be asleep.
   
~Native Proverb~
   
Each man is good in His sight. It is not necessary for eagles to
 be
   crows.
   
~Hunkesni (Sitting Bull), Hunkpapa Sioux~
   
  
  
   --
  
  
   You can't wake a person who is pretending to be asleep.
  
   ~Native Proverb~
  
   Each man is good in His sight. It is not necessary for eagles to be
   crows.
  
   ~Hunkesni (Sitting Bull), Hunkpapa Sioux~
  
  
 -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For 

RE: Opinions on Struts Layout

2004-12-10 Thread David G. Friedman
Try the search key struts-layout at his archive:

http://marc.theaimsgroup.com/?l=struts-user

I just performed that search and numerous results
show up for that word.

Regards,
David

-Original Message-
From: Brantley Hobbs [mailto:[EMAIL PROTECTED]
Sent: Friday, December 10, 2004 3:49 PM
To: Struts Users Mailing List; Dakota Jack
Subject: RE: Opinions on Struts Layout


Thanks for the tip about the spelling.  I did some googling, but didn't
really see too much information about struts-layout as compared to some
of the other technologies, which is really what I'm after.

Also, does anyone know of a way to search the lists?  Every time I use
the search page
(http://mail-archives.apache.org/eyebrowse/[EMAIL PROTECTED]
ts.apache.org), I get Text search not available for this list.

Thanks,
B.

 -Original Message-
 From: Dakota Jack [mailto:[EMAIL PROTECTED]
 Sent: Friday, December 10, 2004 3:44 PM
 To: Struts Users Mailing List
 Subject: Re: Opinions on Struts Layout
 
 Look under struts-layout.  The results of googling for struts-layout
 are somewhat surprising and you might want to do that too.  Naming is
 so important.  Why Struts Layout went with struts-layout is a mystery
 to me.  Wrong side of the brain problem, I guess.
 
 Jack
 
 
 On Fri, 10 Dec 2004 12:41:50 -0800, Dakota Jack
[EMAIL PROTECTED]
 wrote:
  If you look at the Struts dev an user lists, Brantley, you will find
  quite a bit on this too.
 
  Jack
 
 
 
 
  On Fri, 10 Dec 2004 13:03:59 -0500, Brantley Hobbs
[EMAIL PROTECTED]
 wrote:
   Hi all!
  
   When our organization was making the decision between .NET and
J2EE,
 we
   were really struck by how powerful MS's idea of web forms were.
The
   ability to drag/drop web controls onto a page is very attractive,
 simply
   because our developers were hired to develop; not generate HTML
(as
 I'm
   sure most of you were).  What eventually did .NET in (at least for
us)
   was MS's abysmal security record, and the flexibility afforded by
J2EE
   (i.e., can be deployed on any platform that has a JVM for the most
   part).
  
   Struts was the first framework project we ran into after we took
the
   J2EE plunge.  We all really like Struts, but we have been looking
for
   more streamlined ways of developing the view.
  
   Well, I ran across Struts Layout
   (http://struts.application-servers.com/index.html).  Perhaps I've
been
   living under a rock for a while, but it was something that I'd
never
   heard of before, and it seems to offer exactly what we longed for
with
   MS's canned web controls.
  
   Does anyone here have any familiarity with this project?  How does
it
   compare with JSF or even with some of the other presentation layer
   projects like Velocity, etc.
  
   One idea that I really like about struts layout is that it's tied
   directly back to struts, so it seems that it might be a more
elegant
   solution than mixing technologies.
  
   Any input?
  
   Thanks,
   Brantley Hobbs
  
  
-
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 
 
  --
 
  You can't wake a person who is pretending to be asleep.
 
  ~Native Proverb~
 
  Each man is good in His sight. It is not necessary for eagles to be
 crows.
 
  ~Hunkesni (Sitting Bull), Hunkpapa Sioux~
 
 
 
 --
 
 
 You can't wake a person who is pretending to be asleep.
 
 ~Native Proverb~
 
 Each man is good in His sight. It is not necessary for eagles to be
 crows.
 
 ~Hunkesni (Sitting Bull), Hunkpapa Sioux~
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



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


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



RE: Opinions on Struts Layout

2004-12-10 Thread Brantley Hobbs
Ahhh...


Perhaps the link for the list archives on the struts project page should
point to this URL!

Thanks!

B.

 -Original Message-
 From: David G. Friedman [mailto:[EMAIL PROTECTED]
 Sent: Friday, December 10, 2004 3:52 PM
 To: Struts Users Mailing List
 Subject: RE: Opinions on Struts Layout
 
 Try the search key struts-layout at his archive:
 
 http://marc.theaimsgroup.com/?l=struts-user
 
 I just performed that search and numerous results
 show up for that word.
 
 Regards,
 David
 
 -Original Message-
 From: Brantley Hobbs [mailto:[EMAIL PROTECTED]
 Sent: Friday, December 10, 2004 3:49 PM
 To: Struts Users Mailing List; Dakota Jack
 Subject: RE: Opinions on Struts Layout
 
 
 Thanks for the tip about the spelling.  I did some googling, but
didn't
 really see too much information about struts-layout as compared to
some
 of the other technologies, which is really what I'm after.
 
 Also, does anyone know of a way to search the lists?  Every time I use
 the search page

(http://mail-archives.apache.org/eyebrowse/[EMAIL PROTECTED]
 ts.apache.org), I get Text search not available for this list.
 
 Thanks,
 B.
 
  -Original Message-
  From: Dakota Jack [mailto:[EMAIL PROTECTED]
  Sent: Friday, December 10, 2004 3:44 PM
  To: Struts Users Mailing List
  Subject: Re: Opinions on Struts Layout
 
  Look under struts-layout.  The results of googling for struts-layout
  are somewhat surprising and you might want to do that too.  Naming
is
  so important.  Why Struts Layout went with struts-layout is a
mystery
  to me.  Wrong side of the brain problem, I guess.
 
  Jack
 
 
  On Fri, 10 Dec 2004 12:41:50 -0800, Dakota Jack
 [EMAIL PROTECTED]
  wrote:
   If you look at the Struts dev an user lists, Brantley, you will
find
   quite a bit on this too.
  
   Jack
  
  
  
  
   On Fri, 10 Dec 2004 13:03:59 -0500, Brantley Hobbs
 [EMAIL PROTECTED]
  wrote:
Hi all!
   
When our organization was making the decision between .NET and
 J2EE,
  we
were really struck by how powerful MS's idea of web forms were.
 The
ability to drag/drop web controls onto a page is very
attractive,
  simply
because our developers were hired to develop; not generate HTML
 (as
  I'm
sure most of you were).  What eventually did .NET in (at least
for
 us)
was MS's abysmal security record, and the flexibility afforded
by
 J2EE
(i.e., can be deployed on any platform that has a JVM for the
most
part).
   
Struts was the first framework project we ran into after we took
 the
J2EE plunge.  We all really like Struts, but we have been
looking
 for
more streamlined ways of developing the view.
   
Well, I ran across Struts Layout
(http://struts.application-servers.com/index.html).  Perhaps
I've
 been
living under a rock for a while, but it was something that I'd
 never
heard of before, and it seems to offer exactly what we longed
for
 with
MS's canned web controls.
   
Does anyone here have any familiarity with this project?  How
does
 it
compare with JSF or even with some of the other presentation
layer
projects like Velocity, etc.
   
One idea that I really like about struts layout is that it's
tied
directly back to struts, so it seems that it might be a more
 elegant
solution than mixing technologies.
   
Any input?
   
Thanks,
Brantley Hobbs
   
   
 -
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
   
   
  
  
   --
  
   You can't wake a person who is pretending to be asleep.
  
   ~Native Proverb~
  
   Each man is good in His sight. It is not necessary for eagles to
be
  crows.
  
   ~Hunkesni (Sitting Bull), Hunkpapa Sioux~
  
 
 
  --
 
 
  You can't wake a person who is pretending to be asleep.
 
  ~Native Proverb~
 
  Each man is good in His sight. It is not necessary for eagles to be
  crows.
 
  ~Hunkesni (Sitting Bull), Hunkpapa Sioux~
 
 
-
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



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



RE: Opinions on Struts Layout

2004-12-10 Thread Brantley Hobbs
Yeah, but there's a link in the navigation menu right on the main page
at http://struts.apache.org that points to that other unsearchable
archive.  To get to the link that you're talking about required at least
three page views.  I can't be the only person who would opt to take the
path of least resistance if I'm looking up a quick fact; I'd click on
the link on the main page every single time.

IMHO, that link should be changed.  It's worse than useless, since it
points to a site that appears to be the only official mailing list
archive, and that site has limited functionality.  Now, if you're an
occasional list user and you don't know about the other list archive,
you'd immediately fire off an email to the list not knowing that you're
duplicating some other message (and risking receiving STFW and RTFM/RTFL
replies).

/gripe

B.

 -Original Message-
 From: Hubert Rabago [mailto:[EMAIL PROTECTED]
 Sent: Friday, December 10, 2004 3:55 PM
 To: Struts Users Mailing List
 Subject: Re: Opinions on Struts Layout
 
 It already does.  It's the third option on
 http://struts.apache.org/mail.html
 
 H
 
 On Fri, 10 Dec 2004 15:53:19 -0500, Brantley Hobbs
[EMAIL PROTECTED]
 wrote:
  Ahhh...
 
  Perhaps the link for the list archives on the struts project page
should
  point to this URL!
 
 
 
  Thanks!
 
  B.
 
   -Original Message-
   From: David G. Friedman [mailto:[EMAIL PROTECTED]
   Sent: Friday, December 10, 2004 3:52 PM
   To: Struts Users Mailing List
   Subject: RE: Opinions on Struts Layout
  
   Try the search key struts-layout at his archive:
  
   http://marc.theaimsgroup.com/?l=struts-user
  
   I just performed that search and numerous results
   show up for that word.
  
   Regards,
   David
  
   -Original Message-
   From: Brantley Hobbs [mailto:[EMAIL PROTECTED]
   Sent: Friday, December 10, 2004 3:49 PM
   To: Struts Users Mailing List; Dakota Jack
   Subject: RE: Opinions on Struts Layout
  
  
   Thanks for the tip about the spelling.  I did some googling, but
  didn't
   really see too much information about struts-layout as compared to
  some
   of the other technologies, which is really what I'm after.
  
   Also, does anyone know of a way to search the lists?  Every time I
use
   the search page
  
 
(http://mail-archives.apache.org/eyebrowse/[EMAIL PROTECTED]
   ts.apache.org), I get Text search not available for this list.
  
   Thanks,
   B.
  
-Original Message-
From: Dakota Jack [mailto:[EMAIL PROTECTED]
Sent: Friday, December 10, 2004 3:44 PM
To: Struts Users Mailing List
Subject: Re: Opinions on Struts Layout
   
Look under struts-layout.  The results of googling for
struts-layout
are somewhat surprising and you might want to do that too.
Naming
  is
so important.  Why Struts Layout went with struts-layout is a
  mystery
to me.  Wrong side of the brain problem, I guess.
   
Jack
   
   
On Fri, 10 Dec 2004 12:41:50 -0800, Dakota Jack
   [EMAIL PROTECTED]
wrote:
 If you look at the Struts dev an user lists, Brantley, you
will
  find
 quite a bit on this too.

 Jack




 On Fri, 10 Dec 2004 13:03:59 -0500, Brantley Hobbs
   [EMAIL PROTECTED]
wrote:
  Hi all!
 
  When our organization was making the decision between .NET
and
   J2EE,
we
  were really struck by how powerful MS's idea of web forms
were.
   The
  ability to drag/drop web controls onto a page is very
  attractive,
simply
  because our developers were hired to develop; not generate
HTML
   (as
I'm
  sure most of you were).  What eventually did .NET in (at
least
  for
   us)
  was MS's abysmal security record, and the flexibility
afforded
  by
   J2EE
  (i.e., can be deployed on any platform that has a JVM for
the
  most
  part).
 
  Struts was the first framework project we ran into after we
took
   the
  J2EE plunge.  We all really like Struts, but we have been
  looking
   for
  more streamlined ways of developing the view.
 
  Well, I ran across Struts Layout
  (http://struts.application-servers.com/index.html).  Perhaps
  I've
   been
  living under a rock for a while, but it was something that
I'd
   never
  heard of before, and it seems to offer exactly what we
longed
  for
   with
  MS's canned web controls.
 
  Does anyone here have any familiarity with this project?
How
  does
   it
  compare with JSF or even with some of the other presentation
  layer
  projects like Velocity, etc.
 
  One idea that I really like about struts layout is that it's
  tied
  directly back to struts, so it seems that it might be a more
   elegant
  solution than mixing technologies.
 
  Any input?
 
  Thanks,
  Brantley Hobbs
 
 
  
-
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional 

Re: Opinions on Struts Layout

2004-12-10 Thread Hubert Rabago
Oh, you mean THAT link.

Yeah, maybe it can.  Or at least to the section that points to the
list of available archives.

I once started on the main struts page and tried to find the page that
explained how to contribute patches, and got thoroughly lost.  Sure I
know how to find a lot more stuff now, but I remember getting lost in
the site several times as a noob.

H

On Fri, 10 Dec 2004 16:11:33 -0500, Brantley Hobbs [EMAIL PROTECTED] wrote:
 Yeah, but there's a link in the navigation menu right on the main page
 at http://struts.apache.org that points to that other unsearchable
 archive.  To get to the link that you're talking about required at least
 three page views.  I can't be the only person who would opt to take the
 path of least resistance if I'm looking up a quick fact; I'd click on
 the link on the main page every single time.
 
 IMHO, that link should be changed.  It's worse than useless, since it
 points to a site that appears to be the only official mailing list
 archive, and that site has limited functionality.  Now, if you're an
 occasional list user and you don't know about the other list archive,
 you'd immediately fire off an email to the list not knowing that you're
 duplicating some other message (and risking receiving STFW and RTFM/RTFL
 replies).
 
 /gripe
 
 B.
 
 
 
  -Original Message-
  From: Hubert Rabago [mailto:[EMAIL PROTECTED]
  Sent: Friday, December 10, 2004 3:55 PM
  To: Struts Users Mailing List
  Subject: Re: Opinions on Struts Layout
 
  It already does.  It's the third option on
  http://struts.apache.org/mail.html
 
  H
 
  On Fri, 10 Dec 2004 15:53:19 -0500, Brantley Hobbs
 [EMAIL PROTECTED]
  wrote:
   Ahhh...
  
   Perhaps the link for the list archives on the struts project page
 should
   point to this URL!
  
  
  
   Thanks!
  
   B.
  
-Original Message-
From: David G. Friedman [mailto:[EMAIL PROTECTED]
Sent: Friday, December 10, 2004 3:52 PM
To: Struts Users Mailing List
Subject: RE: Opinions on Struts Layout
   
Try the search key struts-layout at his archive:
   
http://marc.theaimsgroup.com/?l=struts-user
   
I just performed that search and numerous results
show up for that word.
   
Regards,
David

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



RE: [OT - Friday]Corporate Stupidity

2004-12-10 Thread David G. Friedman
Oooh, oooh (makes Horshack sound)

So the stupidest thing they did was what?
a) Make you WRITE that? (kidding)
b) Upgraded you with illiterate computer technicians like the ones who wrote
that paragraph?

The stupidest thing they ever did to me was, when I asked for more to do,
gave me NOTHING so I eventually left out of boredom!  (And they soon lost
their funding anyway so bye-bye company in two meanings)

Regards,
David, the EVIL one this Friday, mua-ha-ha-ha!

-Original Message-
From: Durham David R Jr Contr 805 CSPTS/SCE
[mailto:[EMAIL PROTECTED]
Sent: Friday, December 10, 2004 4:49 PM
To: Struts Users Mailing List
Subject: RE: [OT - Friday]Corporate Stupidity


 so what's the stupidest thing a company has ever done to YOU?

Read the last paragraph on this page:

   http://www.techdoctors.com/custom.htm


- Dave

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


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



RE: [OT - Friday]Corporate Stupidity

2004-12-10 Thread Durham David R Jr Contr 805 CSPTS/SCE
 so what's the stupidest thing a company has ever done to YOU?

Read the last paragraph on this page:

   http://www.techdoctors.com/custom.htm


- Dave

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



Re: [OT - Friday]Corporate Stupidity

2004-12-10 Thread Dakota Jack
Does the company want to do defense contracting?  Bush was re-elected.
 This will speed up, I think.  The old shallow analysis of Well, I am
innocent of everything and I don't mind it answer will become the
word of the day soon, I predict.

There might be a business reason to do this.

Jack


On Fri, 10 Dec 2004 13:57:57 -0700, Jim Barrows [EMAIL PROTECTED] wrote:
 Just found out that the 800lb brass monkeys have decided that it's a good 
 idea to do full background and checks on all their employees.
 Which has got to be the dumbest thing ever been done to me as a contractor or 
 employee...
 
 so what's the stupidest thing a company has ever done to YOU?


-- 


You can't wake a person who is pretending to be asleep.

~Native Proverb~

Each man is good in His sight. It is not necessary for eagles to be crows.

~Hunkesni (Sitting Bull), Hunkpapa Sioux~

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



RE: [OT - Friday]Corporate Stupidity

2004-12-10 Thread Barnett, Brian W.
Probably when my CEO tried for week to get me to stay at the company instead
of taking another opportunity. I spent about 2 hours a day for week in his
office as he explained why I should stay, comparing the opportunities, my
future, my pay, benefits, etc.

After additional research and a lot of thinking, I decided to leave the
company and take the other opportunity. Two weeks later, I learned that the
CEO reduced everyone in the company to minimum wage because of financial
problems!

I was glad I made the right choice and sickened by the behavior of the CEO.

-Original Message-
From: Jim Barrows [mailto:[EMAIL PROTECTED] 
Sent: Friday, December 10, 2004 1:58 PM
To: Struts User List (E-mail)
Subject: [OT - Friday]Corporate Stupidity

Just found out that the 800lb brass monkeys have decided that it's a good
idea to do full background and checks on all their employees.
Which has got to be the dumbest thing ever been done to me as a contractor
or employee... 

so what's the stupidest thing a company has ever done to YOU?

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

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



RE: [OT - Friday]Corporate Stupidity

2004-12-10 Thread Jim Barrows


 -Original Message-
 From: David G. Friedman [mailto:[EMAIL PROTECTED]
 Sent: Friday, December 10, 2004 2:56 PM
 To: Struts Users Mailing List
 Subject: RE: [OT - Friday]Corporate Stupidity
 
 
 Oooh, oooh (makes Horshack sound)
 
 So the stupidest thing they did was what?
 a) Make you WRITE that? (kidding)
 b) Upgraded you with illiterate computer technicians like the 
 ones who wrote
 that paragraph?
 
 The stupidest thing they ever did to me was, when I asked for 
 more to do,
 gave me NOTHING so I eventually left out of boredom!  (And 
 they soon lost
 their funding anyway so bye-bye company in two meanings)

Well... I could say that as well except that the VP HR apologized for putting 
the team in a position to ask en masse to leave, and let us keep our laptops as 
a goodbye present... so I guess it balanced out.


 
 Regards,
 David, the EVIL one this Friday, mua-ha-ha-ha!
 
 -Original Message-
 From: Durham David R Jr Contr 805 CSPTS/SCE
 [mailto:[EMAIL PROTECTED]
 Sent: Friday, December 10, 2004 4:49 PM
 To: Struts Users Mailing List
 Subject: RE: [OT - Friday]Corporate Stupidity
 
 
  so what's the stupidest thing a company has ever done to YOU?
 
 Read the last paragraph on this page:
 
http://www.techdoctors.com/custom.htm
 
 
 - Dave
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 

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



RE: [OT - Friday]Corporate Stupidity

2004-12-10 Thread Durham David R Jr Contr 805 CSPTS/SCE
  So the stupidest thing they did was what?
  a) Make you WRITE that? (kidding)

Well, I don't work for that company anymore, but yeah, writing the site
was basically wasteful.


  b) Upgraded you with illiterate computer technicians like 
  the ones who wrote that paragraph?

Hah!

What makes you think a computer technician wrote that?   No, in fact,
this was a classic top-down approach to petty minutia.


- Dave

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



RE: [OT - Friday]Corporate Stupidity

2004-12-10 Thread David G. Friedman
 Hah!
 What makes you think a computer technician
 wrote that?   No, in fact, this was a classic
 top-down approach to petty minutia.

I've worked with far to many computer professionals who were unable to put
even the most simple of thoughts into a well written paragraph.  Then again,
I'm one of those picky email writers who hates it when an email sounds like
a 'kid from da hood' instead of something readable with decent punctuation!

-David, the EVIL one today with a kick on PUNCTUATION!


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



Re: OT: Syntax checker

2004-12-10 Thread Laconia Data Systems
Been there ...Done that
End of content means you have mismatched StartOfJava,EndofJava tags here is
an example

htmlheadTitleThis is your title/head
body
%
import java.io.*;
form name=MyForm submit=PerlCode.pl/
/body
/html

WOOPS forgot ending tag%

Martin-
- Original Message - 
From: Bryce Fischer [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, December 10, 2004 1:42 PM
Subject: Re: OT: Syntax checker


 Since JSP is XML, why not load it up in an XML editor. It should
 complain and show you where the problem is.

 Apte, Dhanashree (Noblestar) wrote:
  Sorry for the deviation, but is there an easy way to find out what
exactly
  is causing
  org.apache.jasper.compiler.ParseException: End of content reached while
more
  parsing required: tag nesting error?
  error on a jsp? Maybe run it through some tool which points out the
  problematic tag?
 
  Thanks!
  Dhanashree.
 









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


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



Key for org.apache.struts.taglib.bean.LocalStrings?

2004-12-10 Thread Dakota Jack
Is there a constant key for
org.apache.struts.taglib.bean.LocalStrings?  Thanks.

Jack


-- 


You can't wake a person who is pretending to be asleep.

~Native Proverb~

Each man is good in His sight. It is not necessary for eagles to be crows.

~Hunkesni (Sitting Bull), Hunkpapa Sioux~

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



Re: [OT - Friday]Corporate Stupidity

2004-12-10 Thread Dakota Jack
Incredible!  

Jack


On Fri, 10 Dec 2004 15:10:06 -0700, Jim Barrows [EMAIL PROTECTED] wrote:
 
 
 
 
  -Original Message-
  From: David G. Friedman [mailto:[EMAIL PROTECTED]
  Sent: Friday, December 10, 2004 2:56 PM
  To: Struts Users Mailing List
  Subject: RE: [OT - Friday]Corporate Stupidity
 
 
  Oooh, oooh (makes Horshack sound)
 
  So the stupidest thing they did was what?
  a) Make you WRITE that? (kidding)
  b) Upgraded you with illiterate computer technicians like the
  ones who wrote
  that paragraph?
 
  The stupidest thing they ever did to me was, when I asked for
  more to do,
  gave me NOTHING so I eventually left out of boredom!  (And
  they soon lost
  their funding anyway so bye-bye company in two meanings)
 
 Well... I could say that as well except that the VP HR apologized for putting 
 the team in a position to ask en masse to leave, and let us keep our laptops 
 as a goodbye present... so I guess it balanced out.
 
 
 
 
 
  Regards,
  David, the EVIL one this Friday, mua-ha-ha-ha!
 
  -Original Message-
  From: Durham David R Jr Contr 805 CSPTS/SCE
  [mailto:[EMAIL PROTECTED]
  Sent: Friday, December 10, 2004 4:49 PM
  To: Struts Users Mailing List
  Subject: RE: [OT - Friday]Corporate Stupidity
 
 
   so what's the stupidest thing a company has ever done to YOU?
 
  Read the last paragraph on this page:
 
 http://www.techdoctors.com/custom.htm
 
 
  - Dave
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


-- 


You can't wake a person who is pretending to be asleep.

~Native Proverb~

Each man is good in His sight. It is not necessary for eagles to be crows.

~Hunkesni (Sitting Bull), Hunkpapa Sioux~

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



RE: [OT - Friday]Corporate Stupidity

2004-12-10 Thread Jim Barrows


 -Original Message-
 From: Dakota Jack [mailto:[EMAIL PROTECTED]
 Sent: Friday, December 10, 2004 3:03 PM
 To: Struts Users Mailing List
 Subject: Re: [OT - Friday]Corporate Stupidity
 
 
 Does the company want to do defense contracting?  Bush was re-elected.
  This will speed up, I think.  The old shallow analysis of Well, I am
 innocent of everything and I don't mind it answer will become the
 word of the day soon, I predict.

No, if it was for a government contract (ie security clearance) then I wouldn't 
mind.  That I understand.  This is to determine how good a contractor I am.  


 
 There might be a business reason to do this.
 
 Jack
 
 
 On Fri, 10 Dec 2004 13:57:57 -0700, Jim Barrows 
 [EMAIL PROTECTED] wrote:
  Just found out that the 800lb brass monkeys have decided 
 that it's a good idea to do full background and checks on all 
 their employees.
  Which has got to be the dumbest thing ever been done to me 
 as a contractor or employee...
  
  so what's the stupidest thing a company has ever done to YOU?
 
 
 -- 
 
 
 You can't wake a person who is pretending to be asleep.
 
 ~Native Proverb~
 
 Each man is good in His sight. It is not necessary for 
 eagles to be crows.
 
 ~Hunkesni (Sitting Bull), Hunkpapa Sioux~
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 

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



Re: [OT - Friday]Corporate Stupidity

2004-12-10 Thread Dakota Jack
I have to count myself as personally very lucky.  I have actually
never had a company do anything really objectionable to me.  I have
had very good luck, and remain a friend and even a close friend to the
people I have worked for in IT and in other areas.

I hope you did not suffer over this, Jim

Jack


On Fri, 10 Dec 2004 13:57:57 -0700, Jim Barrows [EMAIL PROTECTED] wrote:
 Just found out that the 800lb brass monkeys have decided that it's a good 
 idea to do full background and checks on all their employees.
 Which has got to be the dumbest thing ever been done to me as a contractor or 
 employee...
 
 so what's the stupidest thing a company has ever done to YOU?
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


-- 


You can't wake a person who is pretending to be asleep.

~Native Proverb~

Each man is good in His sight. It is not necessary for eagles to be crows.

~Hunkesni (Sitting Bull), Hunkpapa Sioux~

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



Re: Nested form validation

2004-12-10 Thread Ben
Thanks, I am doing just that.

Just a quick question, how do I use the property name as the error key
in the validate() method?

I have this but it uses the form name as the key, not the name of the
property currently validating.

public ActionErrors validate(ActionMapping mapping, HttpServletRequest
request) {
 ActionErrors errors = new ActionErrors();
 String validationKey = getValidationKey(mapping, request);
 
 errors.add(validationKey, new ActionMessage(errors.input));
 
 return errors;
}

Thanks

On Fri, 10 Dec 2004 09:34:26 -0600, Hubert Rabago [EMAIL PROTECTED] wrote:
 I would think so, but you'd have to call Validator yourself.  Take a
 look at how the ValidatorForm#validate() calls it, and base your
 nested.validate() code on that.  After the call, append the errors
 from your main form and those in your nested form.
 
 
 
 On Fri, 10 Dec 2004 10:41:36 +1100, Ben [EMAIL PROTECTED] wrote:
  If I do this, can I use Struts validators and my custom validate method?
 
 
 
 
  On Thu, 9 Dec 2004 16:08:03 -0600, Hubert Rabago [EMAIL PROTECTED] wrote:
   Why not call nested.validate() inside NormalForm#validate(), then add
   the appropriate ActionMessage objects in the resulting ActionErrors?
  
  
  
  
   On Fri, 10 Dec 2004 08:57:17 +1100, Ben [EMAIL PROTECTED] wrote:
Hi
   
Within my normal form there is a nested form. The nested form has
custom validation. The validate attribute of the action is set to
false. My question is how do I validate the normal form and
automatically validate the nested form with my custom validation
method?
   
E.g.
   
NormalForm () {
NestedForm nested = new NestedForm();
}
   
NestedForm () {
validate(...) {
// checking the data here
}
}
   
So my action would validate the form as:
   
MyAction () {
NormalForm nForm = (NormalForm) form;
ActionErrors errors = nForm.validate(); // Validate the data
}
   
The problem here is that it validates the NormalForm and ignores my
validation in the NestedForm.
   
I hope this question makes sense to you... :)
   
Thanks,
Ben
   
-
  
  
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
   
   
  
 
 
 -
 
 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


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



Validator upgrade?

2004-12-10 Thread Mick.Knutson
with the new struts 1.2.4 upgrade, I started to change all the arg0 ... to 
arg position=0... but find that my custom validators are not being found.
1. Is there a doc on upgrading the validator?
2. Anyone ever heard of this happening?

Here is  my form validator:
==
field property=businessLineSelected 
depends=isequalif
msg name=isequalif 
key=requiredif.productSelectionRequired/
arg position=0 
key=form.businessLineSelected/
var
var-namethisValue[0]/var-name
var-valuetrue/var-value
/var
var
var-namefield[0]/var-name

var-valuebusinessCardSelected/var-value
/var
var
var-namefieldTest[0]/var-name
var-valueEQUAL/var-value
/var
var
var-namefieldValue[0]/var-name
var-valuefalse/var-value
/var
var
var-namefield[1]/var-name

var-valuebusinessSecuredCardSelected/var-value
/var
var
var-namefieldTest[1]/var-name
var-valueEQUAL/var-value
/var
var
var-namefieldValue[1]/var-name
var-valuefalse/var-value
/var
var
var-namefield[2]/var-name

var-valueequipmentExpressSelected/var-value
/var
var
var-namefieldTest[2]/var-name
var-valueEQUAL/var-value
/var
var
var-namefieldValue[2]/var-name
var-valuefalse/var-value
/var
var
var-namefieldJoin/var-name
var-valueAND/var-value
/var
/field

And here is my custom validator:
===  validator name=isequalif
 classname=com.wf.bd.ice.rules.validation.ICEFieldChecks
 method=validateIsEqualIf
 methodParams=java.lang.Object,
   org.apache.commons.validator.ValidatorAction,
   org.apache.commons.validator.Field,
   org.apache.struts.action.ActionMessages,
   org.apache.commons.validator.Validator,
   javax.servlet.http.HttpServletRequest
 msg=isequalif.default
  /validator


and here is the method in our ICEFieldChecks:
===

public static boolean validateIsEqualIf(
Object bean, ValidatorAction va, Field field, ActionMessages errors,
org.apache.commons.validator.Validator validator,
HttpServletRequest request
) {
Object form =
validator.getResource(
org.apache.commons.validator.Validator.BEAN_KEY
);
String value = null;

if(isString(bean)) {
value = (String) bean;
} else {
value = ValidatorUtil.getValueAsString(bean, field.getProperty());
}

if(value == null) {
value = ;
}

boolean required = false;
java.util.Collection theseValues = new ArrayList();

int j = 0;

while(
!GenericValidator.isBlankOrNull(
field.getVarValue(thisValue[ + j + ])
)
) {
theseValues.add(field.getVarValue(thisValue[ + j++ + ]));
}

if(theseValues.isEmpty()) {
return true;
}

int i = 0;
String fieldJoin = AND;

if(!GenericValidator.isBlankOrNull(field.getVarValue(fieldJoin))) {
fieldJoin = field.getVarValue(fieldJoin);
}

if(fieldJoin.equalsIgnoreCase(AND)) {
required = true;
}

while(
  

logic tag

2004-12-10 Thread Pramod
I have a bean object in the jsp page. How can i use the logic:iterate tag to 
producing the result?

Re: logic tag

2004-12-10 Thread Sunny
Pramod wrote:
I have a bean object in the jsp page. How can i use the logic:iterate tag to producing the result?
 

If the bean has a Collection say collection , you can do
logic:iterate id = element name = bean property = collection
!-- here you can refer to each element in collection using element --
/logic:iterate
note: you should have a getter method for collection in the bean, 
for e.g. getCollection()



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

Re: [STRUTS] Issues switching context paths

2004-12-10 Thread Chad Lauritsen (Struts User)
In the struts-config.xml, you still leave things as /appEntryPoint, and
the same holds true for custom tags e.g.

html:form action=/appEntryPoint/html:form
html:link action=/appEntryPoint/html:link

The struts controller and the taglibs will take /appEntryPoint, find
matching actions, and translate into /ice/appEntryPoint.do for you.

Keep in mind that if you don't use the custom tags, then you may have to
prepend /ice, and add the .do (or whatever you specified in web.xml)
suffix e.g.
form action=/ice/appEntryPoint.do/form
a href=/ice/appEntryPoint.do?.../form

 I just upgraded to struts 1.2.4, and now we want to move from our app at
 /, to being /ice/ So I modified my application.xml to be /ice and then
 pre-pended /ice to all of my actions. So I went from /appEntryPoint to
 /ice/appEntryPoint in the struts-config.xml

 Now when I navigate to http://www.localhost/ice/appEntryPoint.do: I
 get Invalid Path to /appEntryPoint requested.

 Any ideas on what is wrong?

 
 Mick Knutson
 Wells Fargo Business Direct Information Systems
 (415) 222-1020

 This message may contain confidential and/or privileged information. If
 you are not the addressee or authorized to receive this for the
 addressee, you must not use, copy, disclose, or take any action based on
 this message or any information herein. If you have received this
 message in error, please advise the sender immediately by reply e-mail
 and delete this message. Thank you for your cooperation.
 



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


-- 
Chad S. Lauritsen |
3658 Daleford Rd  | 216-751-4709
Shaker Heights, OH 44120-5255 | http://planetlauritsen.com




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


RE: [OT] Struts Networking / BOF VI / Friday 10 Dec 2004 / AGENDA

2004-12-10 Thread Pilgrim, Peter
Hello
 
I will be in the area of Leicester Square for 6:30PM I think. I will be in
the pub The Trafalgar? which is next door to the Odean Leicester
Square and to left of the Capital Radio. 
 
If you arrive early you can meet me there before going to the restaurant.
 
--
Peter Pilgrim
Operations/IT - Credit Suisse First Boston,
10 South Colonnade, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497



-Original Message-
From: Pilgrim, Peter 
Sent: 09 December 2004 14:02
To: Pilgrim, Peter; Adam Hardy (E-mail); Alan Mehio (E-mail); Alex McLintock 
(E-mail); Allister Sneddon (E-mail); Charles Cordingley (E-mail); Christopher 
Marsh-Bourdon (E-mail); Daniel Perry (E-mail); Duncan Mills (E-mail); Hue 
Holleran (E-mail); John Bell (E-mail); Jonathan Butler (E-mail); Marco Mistroni 
(E-mail); Niall Pemberton (E-mail); 'Peter Pilgrim (Xenonique)'; Suman 
Prashanth. S (E-mail); Thomas Plümpe (E-mail); Tim Penhey (E-mail)
Cc: 'Struts User Apache (E-mail)'
Subject: RE: [OT] Struts Networking / BOF VI / Friday 10 Dec 2004 / AGENDA




London Struts Networking BOF VI


 


Agenda


 

Since it is nearly Xmas, rather than concentrate entirely on niche and very 
specialist topics, I want to generalise and open-up the discussions during the 
evening. I have put together a basic agenda of themes.

 

Depending on the seating arrangements and who turns up I might swap seats with 
somebody after the starter, and then again before the desert or extra drinks to 
give everyone a chance to talk to everyone else.

 




Looking forward to next year 2005


 

*   Which technologies are going to be hot? 

*   What was the brilliant in 2004? 

*   What are the things that should be consigned to /dev/null forever?

 


The State of the Struts Address


 

[This topic probability ties into the next one.]

*   Struts was literally rocking in 2001. It is still doing its thang in 
2004, but will it continue to glide splendidly across the dance floors in 2007? 

*   What is the different between Jericho and Shale?


Is anyone planning a project with Faces?


 

*   Jumping into bed with Struts and/or JSF? 

*   If you have such plans we'd definitely like to hear them.

 


Your Shout


 

*   What topics are interesting to you?

 


Networking Website


 

*   We haven't done much with the official web site  
http://www.strutslondon.com/ http://www.strutslondon.com. Why not?


AOB


 

 

 

See you there!

 

Wagamamas, Leicester Square

serving great, fresh and nutritious [orientally asian 

derived rice/noodles] food in an elegant, yet 

simple environment. 

14a Irving street

London WC2H 7AF

Tel 020 7839 2323

 

  http://www.streetmap.co.uk/newmap.srf?x=529944 
http://www.streetmap.co.uk/newmap.srf?x=529944y=180641z=0sv=WC2H+7AFst=2pc=WC2H+7AFmapp=newmap.srfsearchp=newsearch.srf
 
y=180641z=0sv=WC2H+7AFst=2pc=WC2H+7AFmapp=newmap.srfsearchp=newsearch.srf
 

  Nearest tube Leicester square or Charing cross

 

  Friday 10th Dec 2004 @ 19:15

 

 

Peter Pilgrim

--
Peter Pilgrim
Operations/IT - Credit Suisse First Boston,
10 South Colonnade, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497



==
This message is for the sole use of the intended recipient. If you received 
this message in error please delete it and notify us. If this message was 
misdirected, CSFB does not waive any confidentiality or privilege. CSFB retains 
and monitors electronic communications sent through its network. Instructions 
transmitted over this system are not binding on CSFB until they are confirmed 
by us. Message transmission is not guaranteed to be secure.
==


Re: Common Chain 1.0 and Struts Chain

2004-12-10 Thread Julian
Joe,

Thanks a lot.  I will plan on implementing the chain
after a bit more due dilligence.  btw, I agree on
making a seperate jar for the set of commands which
provide legacy support.  Thanks.

-Julian

--- Joe Germuska [EMAIL PROTECTED] wrote:

 At 6:28 AM -0800 12/10/04, Julian wrote:
 Hi,
 
 I was wondering if the release of Commons Chain 1.0
 will enable a Best Available release of Struts
 with
 struts-chain?  If not, how stable is the COR stuff
 in
 Struts?
 
 The struts-chain was working just fine against
 pre-1.0 releases of 
 Struts Chain.  If you're interested, there's no
 reason to wait.  It 
 will be longer before you can download a nightly
 build of Struts 
 which uses the Chain request processor, but work on
 that was mostly 
 waiting for the 1.0 release (and for time, which
 unfortunately I've 
 had a short supply of, and this time of year, it
 will continue that 
 way.)
 
 I have a few pending questions on the dev list that
 I may need to 
 re-raise about a few implementation details, but now
 that 1.0 is 
 fully released, I do hope to begin making changes to
 the core code 
 base to use commons-chain and the Composable Request
 Processor.  I 
 don't see the point of just merging struts-chain
 into the 'core' 
 project and cutting a release; rather, we'll want to
 obsolete the 
 PlugIn which configures the command catalogs in
 struts-chain in favor 
 of direct support in the ActionServlet.  I am also
 inclined to 
 package the set of commands which provide legacy
 Struts support as a 
 separate JAR, rather than pushing a few dozen
 classes into the core 
 which in some sense are legacy bound.  (Whether
 there's consensus on 
 that is one of the questions to re-raise on the dev
 list.)
 
 I've been using struts-chain in a production project
 for close to a 
 year now (including original development time).  We
 flushed a few 
 bugs out along the way, but it's fundamentally
 stable with Struts 
 1.2.x.
 
 Joe
 
 -- 
 Joe Germuska
 [EMAIL PROTECTED]  
 http://blog.germuska.com
 Narrow minds are weapons made for mass destruction
  -The Ex
 

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


=
Live simply so others may simply live. 
 
-Ghandi 
 
Pluralitas non est ponenda sine neccesitate.
Entities should not be multiplied unneccesarily 
 
-William of Occam




__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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


Re: Opinions on Struts Layout

2004-12-10 Thread Vic
Brantley Hobbs wrote:
Hi all!
When our organization was making the decision between .NET and J2EE, we
were really struck by how powerful MS's idea of web forms were.  The
ability to drag/drop web controls onto a page is very attractive, simply
because our developers were hired to develop; not generate HTML (as I'm
sure most of you were).  

It's a great 90% solution. The last mile kills you.
What eventually did .NET in (at least for us)
was MS's abysmal security record, and the flexibility afforded by J2EE
(i.e., can be deployed on any platform that has a JVM for the most
part).
 

:-)
Struts was the first framework project we ran into after we took the
J2EE plunge.  We all really like Struts, but we have been looking for
more streamlined ways of developing the view.
 

I let people do prototypes in HTML tools, there are many. Then I do ren 
*.html *.jsp.

Well, I ran across Struts Layout
(http://struts.application-servers.com/index.html).  Perhaps I've been
living under a rock for a while, but it was something that I'd never
heard of before, and it seems to offer exactly what we longed for with
MS's canned web controls.
Does anyone here have any familiarity with this project?  How does it
compare with JSF or even with some of the other presentation layer
projects like Velocity, etc.
One idea that I really like about struts layout is that it's tied
directly back to struts, so it seems that it might be a more elegant
solution than mixing technologies.
Any input?
 

There are many GUI and UI tools for Struts, Java, etc.. You can just 
google,  http://www.scioworks.com http://www.scioworks.com/ is one.
For pro applications, you live in the last 10% and the last mile, so 
some of us like to hand code. It's acctualy cheaper and faster to do so.
Why?
80% of cost of software is maitnance and upgrades. Once you hand code 
it, it's very maintainable.  If somone says change that and make it do 
X, with handcoded JSP/html I have ninimal problems.
(For JDNC I have tried JFormDesigner).
It depends how you compute your cost of development.
So I don't use generators, nor UI generators.

.V

Thanks,
Brantley Hobbs
 


--
RiA-SoA w/JDNC http://www.SandraSF.com forums
blog http://www.sandrasf.com/adminBlog
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Opinions on Struts Layout

2004-12-10 Thread David G. Friedman
Derek,

If you made a list of bullet points for the parts of struts layout you like
most, perhaps we listmembers could point you in the direction of native
Struts parts or equivalent add-ons.

Regards,
David

-Original Message-
From: Derek Broughton [mailto:[EMAIL PROTECTED]
Sent: Friday, December 10, 2004 3:07 PM
To: Struts Users Mailing List
Subject: Re: Opinions on Struts Layout


On Friday 10 December 2004 14:03, Brantley Hobbs wrote:

 Well, I ran across Struts Layout
 (http://struts.application-servers.com/index.html).  Perhaps I've been
 living under a rock for a while, but it was something that I'd never
 heard of before, and it seems to offer exactly what we longed for with
 MS's canned web controls.

 Does anyone here have any familiarity with this project?  How does it
 compare with JSF or even with some of the other presentation layer
 projects like Velocity, etc.

No experience - I just ran across struts layout, too, and find it's working
well for some of what I want to do.  I know nothing about JSF, and tried to
get into Velocity and it seemed like just too much work.  I think that's
really because I got some bad advice, early, but I gave up on it.

The responses you've received so far strike me as odd - which makes me think
none of the respondents have actually looked at Struts Layout.  It's a
properly struts-based tag library, and fits fine with _Struts_, but I had
trouble getting it to do tabbed menus with Tiles.  Since that's not it's
major purpose, I just stopped doing that.
--
derek


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