Training

2009-06-07 Thread stanlick
Hey Wes and all --

I have thinking about the Wes training thread and would like to get your
feedback.  Do you guys think training can continue to cost what it has
historically?  The reason I ask is that I too have considered dropping down
a gear and doing training for a living.  However, I get the feeling that
techies now expect training to cost exactly what their software cost -
*nothing!*  Open source training if you will.  Are you getting this
impression?  When I mentioned online training in my follow-up to your
thread, I had no idea folks were going to say yeah, and it should also be
free!  I'm seeing the tide switch and curious to get your take.  I have
considered training  support the avenue to picking up some coin relative to
FOSS, and now I wonder if this too is expected to be free.

P.S. You give em an inch and they want a mile

Scott


Overwriting convention plugin classes (2.1.6)

2009-06-07 Thread Jerome ROBERT
Hi,
It is said in the documentation (
http://cwiki.apache.org/WW/convention-plugin.html#ConventionPlugin-Overwritingpluginclasses)
that the plug-in can be extended by overriding its classes using (for
example) the constant struts.convention.actionConfigBuilder to provide a
new implementation. I tried to do so but it seems it has not effect, the
value is simply ignored (i could not find references to this constant in the
source code either.)
am I missing something ?

Jerome.


RE: Training

2009-06-07 Thread Martin Gainty

Hi Scott

to recap a very well known Opensource Database provider who generate revenue 
off customisations of a FOSS DB
http://www.mysql.com
unfortunately this particular opensource database because of unforeseen 
factors founders Scott McNealy and Bill Joy's have seen their revenues fallen 
dramatically in the last 2 years 
the end result was the parent which took on a FOSS entity losing money forced 
the parent entiry to look for rescuer (fortunately the most profitable database 
corporation on the planet saw their planet and threw a lifeline)

In a robust economy opensource works great..freebie core modules are being 
developed by engineers on their off-hours while customisations to code to 
paying clients keep the lights on and food on the table
BUT in a down economy everybody wants free
personally i would be able to justify if we're retraining the graveyard shift 
at local GM plant that was just closed..
on the other hand we've seen new engineers that work for the world's leading
tech companies (supposedly american company that was started by Thomas Watson 
in NY some 75 years ago) saying they were just hired (on the other side of the 
planet) and demand(not request) a free solution from one of the unemployed 
masses here?

FOSS 
the most comprehensive definition of FOSS is available at 
http://en.wikipedia.org/wiki/Free_and_open_source_software as 
Free and open source software, also F/OSS, FOSS, or FLOSS (free/libre/open 
source software) is software which is liberally licensed to grant the right of 
users to study, change, and improve its design through the availability of its 
source code.
This approach has gained both momentum and acceptance as the potential
benefits have been increasingly recognized by both individuals and
corporate players

Individuals benefit because cost of entry to the market is 0..there is a steep 
learning curve but for those with 
lots of time and a computer you can learn how a FOSS project works in a year or 
2
Corporate Players only benefit when there are customisations provided to paying 
clients. An example is if you have 2mill code..1mill in free core ..the 
remainder is your customisation money-maker..but how do you enforce getting 
paid for customisations or new features and functions when most of the people 
demanding free are outside your borders..

thats why I think a rock-solid SSL secure site for pre-paid training modules 
would work best..there is no need to worry about revenue because
1)it was a small amount of money to begin with
2)you have already collected the money meaning no opportunity for 
man-in-the-middle rerouting of funds
http://www.blackboard.com/Commerce-Security/Transact-Resources/Whats-New/Release-3.aspx

whats your take?
Martin Gainty 
__ 
Verzicht und Vertraulichkeitanmerkung
 
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung 
fuer den Inhalt uebernehmen.






 Date: Sun, 7 Jun 2009 08:24:20 -0500
 Subject: Training
 From: stanl...@gmail.com
 To: user@struts.apache.org
 
 Hey Wes and all --
 
 I have thinking about the Wes training thread and would like to get your
 feedback.  Do you guys think training can continue to cost what it has
 historically?  The reason I ask is that I too have considered dropping down
 a gear and doing training for a living.  However, I get the feeling that
 techies now expect training to cost exactly what their software cost -
 *nothing!*  Open source training if you will.  Are you getting this
 impression?  When I mentioned online training in my follow-up to your
 thread, I had no idea folks were going to say yeah, and it should also be
 free!  I'm seeing the tide switch and curious to get your take.  I have
 considered training  support the avenue to picking up some coin relative to
 FOSS, and now I wonder if this too is expected to be free.
 
 P.S. You give em an inch and they want a mile
 
 Scott

_
Windows Live™: Keep your life in sync. 
http://windowslive.com/explore?ocid=TXT_TAGLM_WL_BR_life_in_synch_062009

Re: trouble retrieving a request parameter with struts2 tags

2009-06-07 Thread Dimitrios Christodoulakis
That is interesting. I tried using the escapeTick=true attribute
with the s:url, but got an exception:

org.apache.jasper.JasperException: /pages/list.jsp(26,6) Attribute
escapeTick invalid for tag url according to TLD

A further look at the struts 2 tag reference:
http://struts.apache.org/2.1.6/docs/url.html
Doesn't indicate that the url tag has such an attribute -- I am using
struts 2 version 2.1.6, was that attribute used in other versions?

Since you mentioned it, I tried an example, without the escapeTick
attribute and the URL now forms like this:
http://localhost/MyApp/edit.action?id=69firstName=colinlastName=o%27hara

Although the tick (or apostrophe) is not escaped, when I retrieve the
lastName parameter to have the field pre-populated, the name is
rendered correctly.

But, you made a good point, are there other ways to escape special
characters with attributes, or further manual coding are needed?

On Sat, Jun 6, 2009 at 10:26 PM, Martin Gaintymgai...@hotmail.com wrote:

 yes that works for john doe
 but those of us with irish names like patrick o'donnell would need the tick 
 mark escaped
  s:url action=edit var=editURL escapeAmp = false escapeTick=true
 ?
 Martin Gainty
 __
 Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité

 Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
 sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
 oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich 
 dem Austausch von Informationen und entfaltet keine rechtliche 
 Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen 
 wir keine Haftung fuer den Inhalt uebernehmen.
 Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
 destinataire prévu, nous te demandons avec bonté que pour satisfaire informez 
 l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci 
 est interdite. Ce message sert à l'information seulement et n'aura pas 
 n'importe quel effet légalement obligatoire. Étant donné que les email 
 peuvent facilement être sujets à la manipulation, nous ne pouvons accepter 
 aucune responsabilité pour le contenu fourni.




 Date: Sat, 6 Jun 2009 13:13:08 -0500
 Subject: Re: trouble retrieving a request parameter with struts2 tags
 From: dimi@gmail.com
 To: user@struts.apache.org

 With a little bit more searching I found the escapeAmp attribute of
 the s:url tag. That did the trick:

 s:url action=edit var=editURL escapeAmp = false

 Thanks!

 On Sat, Jun 6, 2009 at 10:41 AM, Dimitrios
 Christodoulakisdimi@gmail.com wrote:
  Thank you for the information. That ofnl expression actually worked.
  The textfield is populated with the value taken from the URL
  parameter.
 
  But something strange happens when I try to put more parameters on the 
  request:
 
  s:url action=edit var=editURL
         s:param name=id value=%{id} /
         s:param name=firstName value=%{firstName} /
         s:param name=lastName value=%{lastName} /
  /s:url
 
  So the link forms like this:
 
  http://localhost/MyApp/edit.action?id=38firstName=johnlastName=doe
 
  Next, on the update page, I try to retrieve not only the id, but the
  first name and last name too from the URL (in order to pre-fill the
  textfields):
 
  s:form action=save
           s:textfield name=person.firstName
  value=%{#parameters.firstName} label=First Name/
           s:textfield name=person.lastName
  value=%{#parameters.lastName} label=Last Name/
           s:hidden name=person.id value=%{#parameters.id}
  label=Primary Key /
           s:submit/
  /s:form
 
  Although ognl correctly picks up the first parameter (id), takes its
  value and populates the hidden field, I get 2 ognl warnings: one for
  the first name and one for the last name:
 
  WARN OgnlValueStack:49 - Error setting value
  ognl.ExpressionSyntaxException: Malformed OGNL expression:
  amp;firstName [ognl.TokenMgrError: Lexical error at line 1, column 4.
  Encountered: ; (59), after : ]
 
  WARN OgnlValueStack:49 - Error setting value
  ognl.ExpressionSyntaxException: Malformed OGNL expression:
  amp;lastName [ognl.TokenMgrError: Lexical error at line 1, column 4.
  Encountered: ; (59), after : ]
 
  A look at how the URL forms confirms this: Instead of adding the
  parameters in URL using just a , parameters are separated by this:
  
 
  --Is that some sort of bug when evaluating multiple struts2 param tags
  with ognl, or do I have something wrong in the jsp code?
  The actual action ode works ok, I believe the issue is within that jsp 
  only.
 
  Again, I appreciate any further advice on this.
  Regards to everyone.
 
 
 
  On Fri, Jun 5, 2009 at 9:32 PM, Dave Newtonnewton.d...@yahoo.com wrote:
  Dimitrios Christodoulakis wrote:
 
  s:hidden name=person.id value=#attr.id label=Primary Key /
 
  I told you #attr.id on javaranch; I meant #parameters. This information is
  readily 

Re: trouble retrieving a request parameter with struts2 tags

2009-06-07 Thread Dave Newton

Dimitrios Christodoulakis wrote:

A further look at the struts 2 tag reference:
http://struts.apache.org/2.1.6/docs/url.html
Doesn't indicate that the url tag has such an attribute -- I am using
struts 2 version 2.1.6, was that attribute used in other versions?


No. I assumed an attempt at humor, but was just confusing instead.


But, you made a good point, are there other ways to escape special
characters with attributes, or further manual coding are needed?


AFAIK s:url and s:property will encode things in an HTML-reasonable 
way by default. s:property adds the escapeJavaScript property for 
use in JS expressions.


Dave

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: Overwriting convention plugin classes (2.1.6)

2009-06-07 Thread Musachy Barroso
you should be able to (unless there is a bug of course), doing
something like this:

bean type=org.apache.struts2.convention.ActionConfigBuilder
name=mybuilder class=MyBuilderClassHere/
constant name=struts.convention.actionConfigBuilder value=mybuilder/

I will add this to the doc.

musachy

On Sun, Jun 7, 2009 at 7:05 AM, Jerome ROBERTjrm.rob...@gmail.com wrote:
 Hi,
 It is said in the documentation (
 http://cwiki.apache.org/WW/convention-plugin.html#ConventionPlugin-Overwritingpluginclasses)
 that the plug-in can be extended by overriding its classes using (for
 example) the constant struts.convention.actionConfigBuilder to provide a
 new implementation. I tried to do so but it seems it has not effect, the
 value is simply ignored (i could not find references to this constant in the
 source code either.)
 am I missing something ?

 Jerome.




-- 
Hey you! Would you help me to carry the stone? Pink Floyd

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: Overwriting convention plugin classes (2.1.6)

2009-06-07 Thread Musachy Barroso
ah..the example was there already:

bean type=org.apache.struts2.convention.ActionNameBuilder
name=MyActionNameBuilder class=example.SultansOfSwingNameBuilder/
constant name=struts.convention.actionNameBuilder
value=MyActionNameBuilder/

I guess I was listening to Dire Straits when I added that :)

musachy

On Sun, Jun 7, 2009 at 9:04 AM, Musachy Barrosomusa...@gmail.com wrote:
 you should be able to (unless there is a bug of course), doing
 something like this:

 bean type=org.apache.struts2.convention.ActionConfigBuilder
 name=mybuilder class=MyBuilderClassHere/
 constant name=struts.convention.actionConfigBuilder value=mybuilder/

 I will add this to the doc.

 musachy

 On Sun, Jun 7, 2009 at 7:05 AM, Jerome ROBERTjrm.rob...@gmail.com wrote:
 Hi,
 It is said in the documentation (
 http://cwiki.apache.org/WW/convention-plugin.html#ConventionPlugin-Overwritingpluginclasses)
 that the plug-in can be extended by overriding its classes using (for
 example) the constant struts.convention.actionConfigBuilder to provide a
 new implementation. I tried to do so but it seems it has not effect, the
 value is simply ignored (i could not find references to this constant in the
 source code either.)
 am I missing something ?

 Jerome.




 --
 Hey you! Would you help me to carry the stone? Pink Floyd




-- 
Hey you! Would you help me to carry the stone? Pink Floyd

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



struts.tld error when running app

2009-06-07 Thread S. Saberi

Hello,

When I run my app I get an error and I don't know what to make it. Here are the 
errors:

09/06/05 15:43:29 Error: org.apache.struts.taglib.EnumerateTei
09/06/05 15:43:29 Errors parsing 
file:/C:/oc4j_904/j2ee/home/applications/testApp/testApp/WEB-INF/struts.tld

I am using an oracle application server with struts and below is a snippet 
(whole content was too long) of my struts.tld file which seems to create a 
problem with parsing.

A note though that this application is currnelty running successfuly on other 
enviorments and this is the error I am getting on my dev machine.


I am not too familiar with JSTL and this error is really throwing me off

Any help is greatly appreciated.

?xml version=1.0 encoding=ISO-8859-1 ?
!DOCTYPE taglib
PUBLIC -//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN
http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd;

taglib

!-- == Tag Library Description Elements = --

tlibversion1.0/tlibversion
jspversion1.1/jspversion
shortnameSTRUTS Framework Tag Library/shortname
urihttp://jakarta.apache.org/taglibs/struts-1.0/uri
info
This tag library contains useful general-purpose tags supporting the
development of JSP/servlet applications based on the Model 2 (MVC
based) design pattern.

WARNING: ALL OF THE TAGS IN THIS LIBRARY ARE DEPRECATED, AND
ARE MAINTAINED ONLY FOR BACKWARDS COMPATIBILITY. THEY WILL BE
REMOVED IN A FUTURE VERSION OF STRUTS.

/info

!-- = Control Flow Tags == --


tag
nameenumerate/name
tagclassorg.apache.struts.taglib.EnumerateTag/tagclass
teiclassorg.apache.struts.taglib.EnumerateTei/teiclass
bodycontentJSP/bodycontent
attribute
namecollection/name
requiredfalse/required
rtexprvaluetrue/rtexprvalue
/attribute
attribute
nameid/name
requiredtrue/required
rtexprvaluefalse/rtexprvalue
/attribute
attribute
namelength/name
requiredfalse/required
rtexprvaluetrue/rtexprvalue
/attribute
attribute
nameoffset/name
requiredfalse/required
rtexprvaluetrue/rtexprvalue
/attribute
attribute
namename/name
requiredfalse/required
rtexprvaluefalse/rtexprvalue
/attribute
attribute
nameproperty/name
requiredfalse/required
rtexprvaluefalse/rtexprvalue
/attribute
/tag




/taglib 

[OT] Re: Overwriting convention plugin classes (2.1.6)

2009-06-07 Thread Dave Newton

Musachy Barroso wrote:

I guess I was listening to Dire Straits when I added that :)


Remember when the Money For Nothing video came out? It was called 
ground-breaking. It looks pretty rustic now--hard to believe that was 
almost 25 years ago.


Yikes.

Dave

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: [OT] Re: Overwriting convention plugin classes (2.1.6)

2009-06-07 Thread Musachy Barroso
They rocked, but I was just a few years old when that came out ;)

musachy

On Sun, Jun 7, 2009 at 9:20 AM, Dave Newtonnewton.d...@yahoo.com wrote:
 Musachy Barroso wrote:

 I guess I was listening to Dire Straits when I added that :)

 Remember when the Money For Nothing video came out? It was called
 ground-breaking. It looks pretty rustic now--hard to believe that was
 almost 25 years ago.

 Yikes.

 Dave

 -
 To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
 For additional commands, e-mail: user-h...@struts.apache.org





-- 
Hey you! Would you help me to carry the stone? Pink Floyd

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: [OT] Re: Overwriting convention plugin classes (2.1.6)

2009-06-07 Thread Wes Wannemacher
On Sunday 07 June 2009 12:20:00 pm Dave Newton wrote:
 Musachy Barroso wrote:
  I guess I was listening to Dire Straits when I added that :)

 Remember when the Money For Nothing video came out? It was called
 ground-breaking. It looks pretty rustic now--hard to believe that was
 almost 25 years ago.

 Yikes.

 Dave

Mr. Dave Newton - once again succeeding in making me feel old :) 

Thanks a lot!

-Wes


-- 

Wes Wannemacher
Author - Struts 2 In Practice 
Includes coverage of Struts 2.1, Spring, JPA, JQuery, Sitemesh and more
http://www.manning.com/wannemacher


-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Auto generate Struts 2 CRUD functionality

2009-06-07 Thread Roger
I'm experimenting with Struts 2 and OpenJPA. I've got the database set up and 
the Entity classes are all defined. I was wondering if there was a tool 
available that would generate basic Struts 2 CRUD functionality for me.

Regards

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: Auto generate Struts 2 CRUD functionality

2009-06-07 Thread Musachy Barroso
you might want to take a look at this:
http://code.google.com/p/strutson/, which will generate stuff from the
entities, I haven't tried with OpenJPA tho (just hibernate)

musachy

On Sun, Jun 7, 2009 at 10:13 AM, Rogerroger.var...@googlemail.com wrote:
 I'm experimenting with Struts 2 and OpenJPA. I've got the database set up and
 the Entity classes are all defined. I was wondering if there was a tool
 available that would generate basic Struts 2 CRUD functionality for me.

 Regards

 -
 To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
 For additional commands, e-mail: user-h...@struts.apache.org





-- 
Hey you! Would you help me to carry the stone? Pink Floyd

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: Training

2009-06-07 Thread Wes Wannemacher
On Sunday 07 June 2009 09:24:20 am stanl...@gmail.com wrote:
 Hey Wes and all --

 I have thinking about the Wes training thread and would like to get your
 feedback.  Do you guys think training can continue to cost what it has
 historically?  The reason I ask is that I too have considered dropping down
 a gear and doing training for a living.  However, I get the feeling that
 techies now expect training to cost exactly what their software cost -
 *nothing!*  Open source training if you will.  Are you getting this
 impression?  When I mentioned online training in my follow-up to your
 thread, I had no idea folks were going to say yeah, and it should also be
 free!  I'm seeing the tide switch and curious to get your take.  I have
 considered training  support the avenue to picking up some coin relative
 to FOSS, and now I wonder if this too is expected to be free.

 P.S. You give em an inch and they want a mile

 Scott

This is where I have to put on my business hat and take off my engineer's 
hat for a minute. Personally, I can contribute to OSS simply because it makes 
economic sense for me. Being an independent (read, non-Fortune-100) developer, 
I can showcase my talents and make myself relevant in a scenario where karma 
and merit help you get ahead. Now, I don't directly get paid for contributing 
to Struts, but the karma and merit are the best form of advertising I've seen 
for the things I do. A few years ago I presented to a potential client a 
scenario where they could contract me, long-term, and I would help them to 
create a deliver a product that they had seen as pie-in-the-sky for a while. I 
couldn't quite make it work out. Last year, we re-visited the same scenario, 
but this time I came to the table with the same resume, but few line items 
added (the OSS projects I am now a contributor to). This closed the deal. 

I generally subscribe to the F/L OSS philosophy, but my kids have to eat too. 
Training, like a college education should be expensive, simply because there 
is more to it than classroom time. Materials should take a while to gather 
into a presentable format. Instructors should be experienced in the art of 
content delivery and the instructor should have some name recognition. 

These factors sort of brought me to the notion that I might be a good 
instructor. I have experience teaching, I taught at a community college for 
years. Add to that, I am one of the struts developers and you should have a 
compelling argument for choosing me as a trainer. Scott, you probably fall 
pretty close in line with my notion because you co-authored Struts 2 In Action 
and you have worked as a trainer in the past. 

What bugs me is that I searched online for struts training and found some 
things offered, but I had not heard of many of these companies. Not that I 
think these guys couldn't do a good job, but I think that people offering 
training should at least be a part of this community. I have one of those 
photographic memories :) so I would recognize names of people and companies if 
they were regular posters here or at d...@struts.a.o. I sort of feel like IT 
training is becoming like local dance and martial arts studios. Someone sees 
that there is a potential market and decides to exploit it by charging the 
market price for delivering sub-par quality material. 

I have been to training from both sides, one training where I ended up 
answering questions from the crowd (as a participant... yep, it was that bad). 
And I also attended a Sybase training once from one of the Sybase engineers. 
The Sybase training was worth every penny and then some. At the time, it was a 
training paid for by the company who employed me, but had I known the quality, 
I would have paid out of my own pocket since the material was relevant to what 
I was doing. (this was a 5-day training with the typical $5k price tag)

Personally, I think companies would approve training if they knew that they 
would be getting their money's worth. But, I also think that right now would 
be about as hard as it could get because budgets are so tight. I am not 
necessarily convinced that a low-price online training will work for me 
because I would have to procure the necessary equipment and software to create 
something presentable. I could just whip something together, but I personally 
am one of those guys that if I do something, I do it all-the-way or not at 
all. I feel like there are a few risks with the glue-together low-price 
modules of online training. 1. I think someone mentioned that taking a $35 
training would lead to more than a few relationships that start out like this, 
hey, I paid for your [$35] beginner struts training, now you owe me and I 
need you to help me write a MacOS clone in Struts I always feel like every 
relationship should be professional, so if I prefer to set the bar a little 
higher. It's not that money = professional, but having been in this industry a 
while, I'm sure many of you know that 

struts.tld error when running app

2009-06-07 Thread S. Saberi

Hello,

When I run my app I get an error and I don't know what to make it. Here are the 
errors:

09/06/05 15:43:29 Error: org.apache.struts.taglib.EnumerateTei
09/06/05 15:43:29 Errors parsing 
file:/C:/oc4j_904/j2ee/home/applications/testApp/testApp/WEB-INF/struts.tld

I am using an oracle application server with struts and below is a snippet 
(whole content was too long) of my struts.tld file which seems to create a 
problem with parsing.

A note though that this application is currnelty running successfuly on other 
enviorments and this is the error I am getting on my dev machine.


I am not too familiar with JSTL and this error is really throwing me off

Any help is greatly appreciated.

?xml version=1.0 encoding=ISO-8859-1 ?
!DOCTYPE taglib
PUBLIC -//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN
http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd;

taglib

!-- == Tag Library Description Elements = --

tlibversion1.0/tlibversion
jspversion1.1/jspversion
shortnameSTRUTS Framework Tag Library/shortname
urihttp://jakarta.apache.org/taglibs/struts-1.0/uri
info
This tag library contains useful general-purpose tags supporting the
development of JSP/servlet applications based on the Model 2 (MVC
based) design pattern.

WARNING: ALL OF THE TAGS IN THIS LIBRARY ARE DEPRECATED, AND
ARE MAINTAINED ONLY FOR BACKWARDS COMPATIBILITY. THEY WILL BE
REMOVED IN A FUTURE VERSION OF STRUTS.

/info

!-- = Control Flow Tags == --


tag
nameenumerate/name
tagclassorg.apache.struts.taglib.EnumerateTag/tagclass
teiclassorg.apache.struts.taglib.EnumerateTei/teiclass
bodycontentJSP/bodycontent
attribute
namecollection/name
requiredfalse/required
rtexprvaluetrue/rtexprvalue
/attribute
attribute
nameid/name
requiredtrue/required
rtexprvaluefalse/rtexprvalue
/attribute
attribute
namelength/name
requiredfalse/required
rtexprvaluetrue/rtexprvalue
/attribute
attribute
nameoffset/name
requiredfalse/required
rtexprvaluetrue/rtexprvalue
/attribute
attribute
namename/name
requiredfalse/required
rtexprvaluefalse/rtexprvalue
/attribute
attribute
nameproperty/name
requiredfalse/required
rtexprvaluefalse/rtexprvalue
/attribute
/tag




/taglib 


Re: [OT] Re: Overwriting convention plugin classes (2.1.6)

2009-06-07 Thread Jerome ROBERT
Musachy,
The example was already there, but i failed making it work. My custom
ActionConfigBuilder class is simply ignored, and
looking at the code i failed in finding where
struts.convention.actionConfigBuilder is injected. (bad day, way too much
failure for one man.)
That's why i began to think that the feature has been forgotten... I
probably made a mistake (a typo) or absuse wine at lunch.

2009/6/7 Wes Wannemacher w...@wantii.com

 On Sunday 07 June 2009 12:20:00 pm Dave Newton wrote:
  Musachy Barroso wrote:
   I guess I was listening to Dire Straits when I added that :)
 
  Remember when the Money For Nothing video came out? It was called
  ground-breaking. It looks pretty rustic now--hard to believe that was
  almost 25 years ago.
 
  Yikes.
 
  Dave

 Mr. Dave Newton - once again succeeding in making me feel old :)

 Thanks a lot!

 -Wes


 --

 Wes Wannemacher
 Author - Struts 2 In Practice
 Includes coverage of Struts 2.1, Spring, JPA, JQuery, Sitemesh and more
 http://www.manning.com/wannemacher


 -
 To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
 For additional commands, e-mail: user-h...@struts.apache.org




cannot post messaga

2009-06-07 Thread S. Saberi

Hello,

 

I have been trying to post a message to this mailing list but my e-mail keeps 
getting rejected.

 

Does anyone know what's going wrong here?

 

Thanks

-S


Re: [OT] Re: Overwriting convention plugin classes (2.1.6)

2009-06-07 Thread Musachy Barroso
it is used in a couple of places:

ClasspathConfigurationProvider constructor
ClasspathPackageProvider constructor

you will see the code for the implementation lookup there, put some
breakpoints and see what is going on.

musachy

On Sun, Jun 7, 2009 at 10:27 AM, Jerome ROBERTjrm.rob...@gmail.com wrote:
 Musachy,
 The example was already there, but i failed making it work. My custom
 ActionConfigBuilder class is simply ignored, and
 looking at the code i failed in finding where
 struts.convention.actionConfigBuilder is injected. (bad day, way too much
 failure for one man.)
 That's why i began to think that the feature has been forgotten... I
 probably made a mistake (a typo) or absuse wine at lunch.

 2009/6/7 Wes Wannemacher w...@wantii.com

 On Sunday 07 June 2009 12:20:00 pm Dave Newton wrote:
  Musachy Barroso wrote:
   I guess I was listening to Dire Straits when I added that :)
 
  Remember when the Money For Nothing video came out? It was called
  ground-breaking. It looks pretty rustic now--hard to believe that was
  almost 25 years ago.
 
  Yikes.
 
  Dave

 Mr. Dave Newton - once again succeeding in making me feel old :)

 Thanks a lot!

 -Wes


 --

 Wes Wannemacher
 Author - Struts 2 In Practice
 Includes coverage of Struts 2.1, Spring, JPA, JQuery, Sitemesh and more
 http://www.manning.com/wannemacher


 -
 To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
 For additional commands, e-mail: user-h...@struts.apache.org






-- 
Hey you! Would you help me to carry the stone? Pink Floyd

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: cannot post messaga

2009-06-07 Thread Dave Newton

S. Saberi wrote:

Does anyone know what's going wrong here?


It's not being reject; please stop posting it.

Dave

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



RE: Training

2009-06-07 Thread Martin Gainty

trainers eat,work and sleep their topic 24/7

in 02 the market here dropped to 0 i took on teaching a  Electrical Design 
course where i was designing a circuits thank GOD for Mathworks Cad program to 
put forth a good design but I dont design circuits for Trident class subs as 
some of my class members worked at GD were doing on a daily basis
for me going to the books repeatedly allowed me to stay *one step ahead* of the 
course curriculae

granted Struts is extensive (but not as extensive as Spring) so most of us can 
still get 8 hours/sleep per nite
Rod and Juergen are handling SpringFactories,MVC pattern design and 
prototypeVsSingleton types, swapping Struts taglibs for JSF and vice-versa 
while getting by on 2 hours/sleep and speaking at least 3 different languages!

the better instructors gauge class flow and say I'll get back to you and hold 
to that promise that you should never leave a student hanging
granted we cant all be stephen hawking but you would need to adhere to these 
basic requirements
0)order the classes to build on each other ..start with funamentals and iterate 
forward using the fundamentals
1)teach a subject every week that the students can use in their present 
situation
2)keep the typeA students occupied with 'special projects' 
try to get a J2EE project operational on Mono on BSDUnix will keep your most 
most driven engineers and techs
wes-I cant speak for Motorola 64k code (MAC) as i have yet to coded for that 
platform but it sounds challenging
does Struts work on Motorola

Price:
Bruce works in a subsidised public environment..the rest of us are closer to 
corporate life where ALL costs are scrutinised down to the penny
since budgets are extremely tight..the instructor needs to readily demonstrate 
if you take my course you will double your output with facts and figures and 
testimony to justify..5,000 is too much except for the likes of Gates and 
Ellison

Wes:
our new prez is anxious to retrain laid off workers to get them working 
again..Ohio has a potential market of
thousands of new recruits.. most schools have at least 1 individual who handles 
how to get money from bureaucracy
FAFSA/Pell/BEOG ..i would look at US Dept of Education as a viable funding 
source for your location.. some links:
http://www.brookings.edu/opinions/2009/0108_stimulus_package_burtless.aspx
http://www.educationgrant.com/blog/

Scott et al: like to hear some more about this as this is a GREAT idea
Anyone else?
Martin Gainty 
__ 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
 
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung 
fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez 
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est 
interdite. Ce message sert à l'information seulement et n'aura pas n'importe 
quel effet légalement obligatoire. Étant donné que les email peuvent facilement 
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité 
pour le contenu fourni.




 From: w...@wantii.com
 To: user@struts.apache.org
 Subject: Re: Training
 Date: Sun, 7 Jun 2009 13:12:34 -0400
 
 On Sunday 07 June 2009 09:24:20 am stanl...@gmail.com wrote:
  Hey Wes and all --
 
  I have thinking about the Wes training thread and would like to get your
  feedback.  Do you guys think training can continue to cost what it has
  historically?  The reason I ask is that I too have considered dropping down
  a gear and doing training for a living.  However, I get the feeling that
  techies now expect training to cost exactly what their software cost -
  *nothing!*  Open source training if you will.  Are you getting this
  impression?  When I mentioned online training in my follow-up to your
  thread, I had no idea folks were going to say yeah, and it should also be
  free!  I'm seeing the tide switch and curious to get your take.  I have
  considered training  support the avenue to picking up some coin relative
  to FOSS, and now I wonder if this too is expected to be free.
 
  P.S. You give em an inch and they want a mile
 
  Scott
 
 This is where I have to put on my business hat and take off my engineer's 
 hat for a minute. Personally, I can contribute to OSS simply because it makes 
 economic sense for me. Being an independent (read, non-Fortune-100) 
 developer, 
 I can showcase my talents and make myself relevant in a scenario where karma 
 and merit help you get ahead. Now, I don't directly get paid for contributing 
 to 

Re: Training

2009-06-07 Thread Dave Newton

Martin Gainty wrote:

wes-I cant speak for Motorola 64k code (MAC) as i have yet to coded

 for that platform but it sounds challenging does Struts work on Motorola



Old Macs used the 68K. Struts works on Java and in app containers, not 
on specific processors.


And coding for the 68K is substantially less challenging than the x86.


Price:
the instructor needs to readily demonstrate if you take my course you

 will double your output with facts and figures and testimony to justify..

That is not possible. You cannot guarantee something you cannot control. 
I can think of several people that I could sit down for a week-long 
course and they'd still be worthless as developers at the end of it.


Dave

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



RE: Training

2009-06-07 Thread Martin Gainty

font size=1you cannot guarantee something you have no control/font
scott could you make sure that gets into brochure?

vielen danke/thanks,
Martin 
__ 
Verzicht und Vertraulichkeitanmerkung
 
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung 
fuer den Inhalt uebernehmen.





 Date: Sun, 7 Jun 2009 14:38:22 -0400
 From: newton.d...@yahoo.com
 To: user@struts.apache.org
 Subject: Re: Training
 
 Martin Gainty wrote:
  wes-I cant speak for Motorola 64k code (MAC) as i have yet to coded
   for that platform but it sounds challenging does Struts work on Motorola
 
 
 
 Old Macs used the 68K. Struts works on Java and in app containers, not 
 on specific processors.
 
 And coding for the 68K is substantially less challenging than the x86.
 
  Price:
  the instructor needs to readily demonstrate if you take my course you
   will double your output with facts and figures and testimony to justify..
 
 That is not possible. You cannot guarantee something you cannot control. 
 I can think of several people that I could sit down for a week-long 
 course and they'd still be worthless as developers at the end of it.
 
 Dave
 
 -
 To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
 For additional commands, e-mail: user-h...@struts.apache.org
 

_
Windows Live™ SkyDrive™: Get 25 GB of free online storage.
http://windowslive.com/online/skydrive?ocid=TXT_TAGLM_WL_SD_25GB_062009

Re: Auto generate Struts 2 CRUD functionality

2009-06-07 Thread Thomas Sattler
Try Struts2Builder.

http://struts2builder.sourceforge.net



On Sun, Jun 7, 2009 at 1:13 PM, Roger roger.var...@googlemail.com wrote:

 I'm experimenting with Struts 2 and OpenJPA. I've got the database set up
 and
 the Entity classes are all defined. I was wondering if there was a tool
 available that would generate basic Struts 2 CRUD functionality for me.

 Regards

 -
 To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
 For additional commands, e-mail: user-h...@struts.apache.org




RE: cannot post messaga

2009-06-07 Thread S. Saberi

Sorry but I thought it was rejected because I kept getting the following 
message in return:

 

Is this normal?

 

Hi. This is the deliver program at bjtu.edu.cn.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

02211...@mail.bjtu.edu.cn
quota exceed
--- Attachment is a copy of the message.

[这是服务器 bjtu.edu.cn 的投递程序返回的提示信息]

到下列地址的信件投递失败,对方服务器无法正常接受或者拒绝接受这封邮件,
这是一个永久性的错误,服务器已经放弃继续投递。
02211...@mail.bjtu.edu.cn

对方服务器返回错误提示:
quota exceed
--
[附件是您所发送信件的原件]

 
 Date: Sun, 7 Jun 2009 13:45:41 -0400
 From: newton.d...@yahoo.com
 To: user@struts.apache.org
 Subject: Re: cannot post messaga
 
 S. Saberi wrote:
  Does anyone know what's going wrong here?
 
 It's not being reject; please stop posting it.
 
 Dave
 
 -
 To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
 For additional commands, e-mail: user-h...@struts.apache.org