Re: action mapping question

2002-08-30 Thread Ted Husted
The html:form tag expects there to be a ActionForm bean associated with the form. If you are using a button-only form, you still need to provide an ActionForm bean, even if it is an empty implementation. I generally keep one of these in my Struts toolkit to use throughout an application. Or, y

Re: Dynamic name to the text fields

2002-08-30 Thread Ted Husted
Don, Don't hestitate to submit this through Bugzilla when you are ready. -Ted. Donald Ball wrote: >On 8/30/2002 at 7:28 PM Anoop wrote: > >>Hi All, >> >> I am a newbie to struts and taglibs, was trying to display text fields >>dynamically using "html:iterator". Below is the scenario I was

Re: Is having serveral actions mappings to one Action bad design?

2002-08-30 Thread Ted Husted
form bean for all actions and your validate needs to do >a big if else check on parameter to see which validition to execute. > > Does anybody have any ideas on which design they preferor are there other ways >as well to design web apps with struts. > > Thanks > > Fra

[ANNOUNCE] Artimus 1.0 beta 2 available

2002-08-30 Thread Ted Husted
they would like to donate to the community are invited to join the Struts Sourceforge site. -- Ted Husted, Husted dot Com, Fairport NY US -- Author, Java Web Development with Struts -- Order it today: -- http://husted.com/struts/book.html -- To unsubscribe, e-mail: <mailto:[EMAIL PROTEC

[ANNOUNCE] MockObjects 0.4 released

2002-08-30 Thread Ted Husted
r Java application. http://mockobjects.sourceforge.net Developers working with the MockObjects project include Struts committers Vincent Masool and Ted Husted. ### -- Ted Husted, Husted dot Com, Fairport NY US -- Author, Java Web Development with Struts -- Order it today: -- http://husted.com/

[ANNOUNCE] Struts Book Moves Ahead

2002-08-30 Thread Ted Husted
The publication date for Developing Web Applications with Struts by Ted Husted, Cedric Dumoulin, George Franciscus, and David Winterfeldt (Foreword by Craig R. McClanahan) has been advanced to October 2002. Details about the book are available at Ted Husted's Struts site http://huste

Re: [VOTE] Should this list discontinue it's long, treasured heri tage of "relaxed fridays"?

2002-08-30 Thread Ted Husted
+1 Martin Cooper wrote: >>Do you feel this list should discontinue it's long heritage >>of "relaxed >>fridays"? >> >>( ) Yes >>( ) No >> > ( X ) Don't particularly care, as long as it's only on FRIDAY. +1 Craig R. McClanahan wrote: > I'm not interested in squashing the fun. I am

Re: Struts and authentication of requests in a webapp. Generic framework possible/available?

2002-09-02 Thread Ted Husted
In Struts 1.1, you can assign a list of roles to each ActionMapping. By default, this uses the same JAAS scheme used by the container. However, you can also provided your own RequestProcessor that can override this and use whatever scheme works for your application. -- Ted Husted, Husted dot

Re: Accessing Struts form beans from JSP's/Custom Tag Libraries

2002-09-02 Thread Ted Husted
e bean and letting the custom tags do the rest. Most Struts applicastions can be written without scriplets. A useful technique is to use coarse-grained beans so that the same properties are not being defined over and over again. http://husted.com/struts/tips/005.htm -- Ted Husted, Husted dot Com, F

[Struts Tip] # 10 Use Struts JSP Tags to create dynamic JavaScripts

2002-09-03 Thread Ted Husted
rs are no exception. For more see <http://husted.com/struts/tips/010.html> -- Ted Husted, Husted dot Com, Fairport NY US -- co-author, Java Web Development with Struts -- Order it today: -- http://husted.com/struts/book.html -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECT

Re: [Struts Tip] # 10 Use Struts JSP Tags to create dynamic JavaScripts

2002-09-03 Thread Ted Husted
t we can perform data validation without > > the benefit if JavaScript. But that doesn't mean we can't use JavaScript > > in our Struts applications. Most web developers rely on JavaScript to > provide core features on the presentation layer, and Struts developers > ar

Re: Struts test case/mock problem

2002-09-03 Thread Ted Husted
unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- Ted Husted, Husted dot Com, Fairport NY US co-author, Java Web Development with Struts Order it today: http://husted.com/struts/book.html -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Re: Unable to open location, with jakarta-struts-1.1-b2-blank.war

2002-09-03 Thread Ted Husted
all the directories under CATALINA_HOME/Webapps/MyApp except the > Web-inf directory. > How is it possible ? > > thanks, > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]&g

Re: [Struts Tip] # 10 Use Struts JSP Tags to create dynamic JavaScripts

2002-09-03 Thread Ted Husted
property="item"/>" onBlur='javascript:doItem( > name="itemForm" property="item"/>)'> > > Will the expression in the Value attribute evaluate at run time like a > scriplet expression in JSP? > > > Thanks & Regards, > Ravi

Re: html:submit and Image instead of button

2002-09-03 Thread Ted Husted
'images/buttons/signoff_on.gif',1 > )" > > > the above are 2 tags with same one action="/pages/selectenv"> > > so how will i come to know which image was clicked, what is the best way > to do it > > Ashish > > > A$HI$H > &g

Re: LookupDispatchAction and HTML:image tag

2002-09-03 Thread Ted Husted
--- > Do You Yahoo!? > Yahoo! Finance - Get real-time stock quotes > -- Ted Husted, Husted dot Com, Fairport NY US co-author, Java Web Development with Struts Order it today: <http://husted.com/struts/book.html> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Re: Business controller

2002-09-04 Thread Ted Husted
report controller are after the J2EE patterns > catalog. Actually the "struts" stuff ends before the business delegate in > our design. > > Is this right? > bye, > Mohan > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional

Re: FW: ASP.NET - similar to Struts?

2002-09-04 Thread Ted Husted
ou would set the > value of the field: form.field(x) = 'xyz'. > > What I am wondering is ... is there a similar mechanism in Struts? or > must you pull the values via tag (sort of a pull vs push approach it > seems)... > > Thanks. > Neal > > > --

Re: Struts advantages, Struts alternatives

2002-09-04 Thread Ted Husted
gt; > > Jason Hunter's article: "The Problems with JSP" > > http://www.servlets.com/soapbox/problems-jsp.html > > Wafer project > > http://www.waferproject.org/ > > > > > -- > To unsubscribe, e-mail: <mailto:[E

Re: Not using JSP as the view

2002-09-04 Thread Ted Husted
;the browser without displaying the JSP as the view? > > Thanks! > > Billy Ng > > -- Ted Husted, Husted dot Com, Fairport NY US co-author, Java Web Development with Struts Order it today: <http://husted.com/struts/book.html> -- To unsubscribe, e-mail: <mailto:[EM

Re: Send data from servlet to servlet

2002-09-04 Thread Ted Husted
t; For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- Ted Husted, Husted dot Com, Fairport NY US co-author, Java Web Development with Struts Order it today: <http://husted.com/struts/book.html> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Re: Struts - vs XSLT (ASP.NET v. Struts)

2002-09-04 Thread Ted Husted
-- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- Ted Husted, Husted dot Com, Fairport NY US co-author, Java Web Development with Struts Order it today: <http://husted.com/struts/book.ht

Re: Jakarta Commons Lib ... and Struts

2002-09-05 Thread Ted Husted
e Commons/Jakarta taglibs along side of Struts .. or does > Struts intend to be a one-stop-shop sort of solution? > > http://jakarta.apache.org/commons/index.html > > Thanks. > Neal > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For

Re: Open Forward in a different window

2002-09-05 Thread Ted Husted
nfig or some > where to open the forwards in a seperate window. > > Excuse my silly question, i am running kind of slow today. > > > type="com.XXX.ArticleMenu"> > > /> > > > Rajesh > > > -- > To unsubscribe, e-mail: <mailt

Re: Call external page

2002-09-05 Thread Ted Husted
google.be"/> > > > But the ActionForward accepts only relative redirection. > > Could you help me? > Benoit > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> &

Re: i18n

2002-09-05 Thread Ted Husted
ssageResources ( and >>> >>>>>other related >>>>>classes) over ResourceBundle? >>>>> >>>>With struts you can use the >>>> >>>> >>>> >>>>To get the text out of a resource properties file. St

Re: [Off Topic] File Changed Listener?

2002-09-05 Thread Ted Husted
t; > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- Ted Husted, Husted dot Com, Fairport NY US co-author, Java Web Development with Struts Order it today: <http://husted.com/struts/book

Re: Call action from JSP

2002-09-05 Thread Ted Husted
gt; %> > > Thanks. > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > -- > To unsubscribe, e-mail: < > mailto:[EMAIL PROTECTED]> > For additi

Re: Detect errors in Action

2002-09-05 Thread Ted Husted
#x27;t develop Struts Apps without it!" >> >> >>-- >>To unsubscribe, e-mail: >> > <mailto:[EMAIL PROTECTED]> > >>For additional commands, e-mail: >> > <mailto:[EMAIL PROTECTED]> > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- Ted Husted, Husted dot Com, Fairport NY US co-author, Java Web Development with Struts Order it today: <http://husted.com/struts/book.html> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Re: ActionForward and Modal Dialgs

2002-09-05 Thread Ted Husted
> 1. When the dialog jsp is hosted in the modal window described above, the resulting >forward logic creates the forward page in a new browser window. > > 2. When the dialog jsp is hosted in a standard IE 5.5 browser window, the resulting >forward logic creates the forward page in

Re: global forwards in forms.

2002-09-06 Thread Ted Husted
ards. What global forwards >> give you is globally visible symbolic URIs. In a sense, the actions >> are already globally visible symbolic URIs. (Watch out that using may >> not be compatible with multi subapps.) > > -- Ted Husted, Husted dot Com, Fairport NY US co-author, Java Web Development with Struts Order it today: <http://husted.com/struts/book.html> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Re: [STRUTS BOOK]

2002-09-06 Thread Ted Husted
ook on those subjects > (especially the Tomcat-specific stuff). > > Chuck and Ted: yours are preordered. ;-) > > Mark > > -- Ted Husted, Husted dot Com, Fairport NY US co-author, Java Web Development with Struts Order it today: <http://husted.com/struts/book.html> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

[Struts Tip #11] Use smart forwarding to dispatch actions

2002-09-06 Thread Ted Husted
tml> -- Ted Husted, Husted dot Com, Fairport NY US co-author, Java Web Development with Struts Order it today: <http://husted.com/struts/book.html> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Re: [Architecture] Use of business delegate and Actions..

2002-09-06 Thread Ted Husted
n our IService.doSomething() implementation we have something like. > > void doSomething(DynaBean io) throws ServiceException { > > // extract data from io > > // convert into appropriate DTO (data transport object) > > // pass DTOs to business components to execute busines

Re: InitParameter and Actions

2002-09-06 Thread Ted Husted
ision > > Phone: (201) 352-1387 > Pager: (201) 718-1370 > Email: [EMAIL PROTECTED] > Text Messaging: [EMAIL PROTECTED] > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> >

Re: Struts Debug Level

2002-09-06 Thread Ted Husted
itional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- Ted Husted, Husted dot Com, Fairport NY US co-author, Java Web Development with Struts Order it today: <http://husted.com/struts/book.html> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Re: STRUTS BOOK

2002-09-06 Thread Ted Husted
;>have one criticism at this time, it's that anyone wanting to "master >>> >>Jakarta >> >>>Struts" already knows about web applications and servlet containers. >>> >> There >> >>>was no need to spend the first 60 pages of the book on those subjects >>>(especially the Tomcat-specific stuff). >>> >>>Chuck and Ted: yours are preordered. ;-) >>> >>>Mark -- Ted Husted, Husted dot Com, Fairport NY US co-author, Java Web Development with Struts Order it today: <http://husted.com/struts/book.html> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Re: DB hit from ActionForm Validate method

2002-09-06 Thread Ted Husted
> > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- Ted Husted, Husted dot Com, Fairport NY US co-author, Java Web Development with Struts Order it today: <http://husted.co

Re: Proposal for struts-humor

2002-09-06 Thread Ted Husted
e > technical struts discussion. > > Michael > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- Ted Husted, Husted dot Com, Fairport NY US co-author, Java Web Development

[FRIDAY] Re: Proposal for struts-humor

2002-09-06 Thread Ted Husted
www.uovo.com > > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <ma

Re: how to return errors from Model component

2002-09-06 Thread Ted Husted
ap of error messages, where the keys are the error > message keys, sorted in order of occurance, and the values are Lists of > parameters for the error messages - but this seems awfully convoluted. > > Any suggestions? > > - donald > > > -- > To unsubscribe, e-mail:

Re: how to return errors from Model component

2002-09-06 Thread Ted Husted
get your model objects to share your database > connections without letting them know they are a web app? > > Kenny Smith > JournalScape.com > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTEC

Re: Struts - vs XSLT (ASP.NET v. Struts)

2002-09-06 Thread Ted Husted
Donald Ball wrote: > On 9/4/2002 at 9:47 PM Ted Husted wrote: > > >>As alluded, the stxx extension does a nice job of this by integrating >>with Struts. Though, I'd say the idea of a completely seperate servlet >>(a la Velocity) sounds cleaner. >> >

Re: Alternative Datsource Hot-potatoing...

2002-09-06 Thread Ted Husted
urce reference you have declared in >>> your web.xml file. Advantage: No parameter passing, no connection >>> pool API lock-in. Advantage: configuration of the data source is >>> external to your webapp (it's done with the server configuration >>> capabilities). Dis

Re: Alternative Datsource Hot-potatoing...

2002-09-06 Thread Ted Husted
check it out. But just out of curiosity, why would you > ever want your Business Layer to know about Datasources? > > Craig. > >> From: Ted Husted <[EMAIL PROTECTED]> >> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >> To: Struts Users

Re: Alternative Datsource Hot-potatoing...

2002-09-07 Thread Ted Husted
er. > > Craig (McClanahan :-) > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- Ted Husted, Husted dot Com, Fairport NY US co-author, Java Web Development with Struts Order it today: <http://husted.com/struts/book.html> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Re: Alternative Datsource Hot-potatoing...

2002-09-07 Thread Ted Husted
Craig Tataryn wrote: > Where I was getting lost was, how do I get a connection from the > connection pool all the way down to the bottom level Data layer object? > I think I have the answer in that I could just have a kind of central > static class that is initialized with the Struts Datasou

Re: Actions and set-property

2002-09-09 Thread Ted Husted
my action (which is a subclass of a base action, as in Action -> > BaseAction -> ListAction) has a public getter/setter pair for its > entityType property. > > Just wondered if this is a known issue/bug/user_error? > > Its late (early?) and I'm not sure my blurry

Re: How to user logic:iterate[MORON]

2002-09-10 Thread Ted Husted
;at >>>org.apache.struts.taglib.bean.WriteTag.doStartTag(WriteTag.java:179) >>>at >>>jsp_servlet.__advanced_user_search._jspService(__advanced_user_search >>>.java:1541) >>>at weblogic.servlet.jsp.JspBase.service(JspBase.java:27

[IT IS NOT FRIDAY but if you have some spare time]

2002-09-12 Thread Ted Husted
ons on the Newbie FAQ that could be answered. -Ted. -- Ted Husted, Husted dot Com, Fairport NY US co-author, Java Web Development with Struts Order it today: <http://husted.com/struts/book.html> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands,

[Struts Tip #12] - Use smart forwarding to create menuing systems

2002-09-20 Thread Ted Husted
cumbersome, but the user doesn't need to know that. They just click on the description, and the system does the rest. more ... <http://husted.com/struts/tips/012.html> -- Ted Husted, Husted dot Com, Fairport NY US co-author, Java Web Development with Struts Order it today: <http://hus

Re: Multiple struts-config files without Modules

2003-02-04 Thread Ted Husted
>>Is it dumb ? Or may it be an advance of the feature promised in 1.2 >>that will allow inheritence of configs ? Just to be precise, no one is able to make any "promises" about any features for any possible future release. At this point, 1.2 may just be the patches for minor enhancements that ca

Whither ActionMappings [long; mainly for newbies]

2003-02-07 Thread Ted Husted
he other. Conclusion When designing the presentation layer, consider form-beans and their attributes as an embodiment of your application's use-cases or stories. Rather than use these as "throw-away" names, link

RE: Opinions: fine or coarse grained actions

2003-02-07 Thread Ted Husted
tterns of Enterprise Application Architecture <http://www.amazon.com/exec/obidos/ISBN=0321127420 /hitchhikeguidetoA/> -- Ted Husted, Struts in Action <http://husted.com/struts/book.html> - To unsubscribe, e-mail:

[ANNOUNCE] Struts quiz online at java.sun.com

2003-02-15 Thread Ted Husted
As part of an ongoing series, a Struts Quiz is available at the java.sun.com website <http://developer.java.sun.com/developer/Quizzes/misc.html>. The quiz was written by Ted Husted, Struts Committer and lead author of Struts in Action. The SIA quiz joins other recent Java quizzes

[ANNOUNCE] Struts talks at Lone Star Symposium

2003-02-15 Thread Ted Husted
The Lone Star Software Symposium in Austin TX Sep 21-23 features Struts presentations by Ted Husted as well as XDoclet presentations by Erik Hatcher. Erik is the originator of the popular LookupDispatchAction and has pioneered using XDoclet to create Struts ActionForms and other components

[OT] But I haven't had any yet!

2003-02-16 Thread Ted Husted
Prior winners excluded. -- Ted Husted, Struts in Action <http://husted.com/struts/book.html> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

re: artimus data source issue

2003-02-16 Thread Ted Husted
, Ted. -- Ted Husted, Struts in Action <http://husted.com/struts/book.html> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[ANNOUNCE] Struts talks at Lone Star (Corrected)

2003-02-16 Thread Ted Husted
The Lone Star Software Symposium in Austin TX February 21-23 features Struts presentations by Ted Husted as well as XDoclet presentations by Erik Hatcher. Erik is the originator of the popular LookupDispatchAction and has pioneered using XDoclet to create Struts ActionForms and other

Re: [ANNOUNCE] Struts talks at Lone Star Symposium

2003-02-16 Thread Ted Husted
Neil Erdwien wrote: > You mean Feb 21-23 -- next week? Yes, next week. -- Ted Husted, Struts in Action <http://husted.com/struts/book.html> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mai

Allowing only one user to acces/submit a form

2003-02-16 Thread Ted Husted
rketing application that uses pessimistic locks to keep people from trying to call the same person at once. Though, for most things, optimistic locks work well. -Ted. For keeping someone from submitting the same form twice, Struts has a built-in token feature, but that's a different questi

Action Instantiation Question

2003-02-16 Thread Ted Husted
r, but the Action objects are singletons. Which ActionMapping first triggers the instantiation of the Action doesn't matter. HTH, Ted. -- Ted Husted, Struts in Action <http://husted.com/struts/book.html> - To unsubscri

Controller - Model design question?

2003-02-16 Thread Ted Husted
t people like to change over time. In this case, a Facade (or Session Facade) could handle the Business Logic and might be able to hide other EJB details from the Action. HTH, Ted. -- Ted Husted, Struts in Action <http://husted.com/

help on org.apache.commons.scaffold.sql.executeQuery needed - closesstament before evaluating result set ?????

2003-02-16 Thread Ted Husted
tUtils once, but at the time there were issues with using the Sun CRS for updates or with drivers that did not support rollback. -Ted. -- Ted Husted, Struts in Action <http://husted.com/struts/book.html> - To unsubscribe,

Re: [OT] But I haven't had any yet!

2003-02-16 Thread Ted Husted
nks for playing, guys! (Send me your mailing addresses by private email.) -Ted Ted Husted <[EMAIL PROTECTED]> OK, trivia quote fans, who advised us to "Iterate, repeatedly, again and again." (And, no, it wasn't Mrs. Yogi Berra!) Yet another signed copy of Struts in Act

re: business logic questions

2003-02-17 Thread Ted Husted
se is replacement parameters. Easy to build, but you can only send back one message. Now that we have a Message object in the Commons, I'm migrating a new version of ProcessResult/ProcessAction to use the Commons Messaging. But, the basic design pattern remains the same. HTH, Ted. --- Ted Husted,

re: Modifying Form Data in Action

2003-02-17 Thread Ted Husted
of the RequestHandler. HT., Ted. [*] See the Struts "Other Books" page <http://jakarta.apache.org/struts/resources/related_books.html> for links to these and other fine references -- Ted Husted, Struts in Action <http://husted.com/struts/book.html>

re: How to set the active locale ???

2003-02-17 Thread Ted Husted
} // end getLocaleDisplay public void setLocaleDisplay(String language) { setSessionLocale(new Locale(language,EMPTY)); } These and other convenience methods are part of the BaseAction and BaseForm in the Scaffold package of the Struts contrib folder. HTH, Ted. -- Ted Hu

Struts design flaw -- ActionForms are not true domain objects

2003-02-17 Thread Ted Husted
in house. But there should not be *one true framework*, but frameworks at each layer that you can mix and match. But I do agree with Rod that the best presentation layer framework has yet to be built. Meanwhile, AFAIK, we haven't even built a decent business layer framework yet. -Ted.

re: Velocity. Validator and Indexed Properties

2003-02-17 Thread Ted Husted
onventional ActionForms instead? I'm guessing it's a dynabean issue. You might also try slipping a conventional JSP in, just to confirm that everything else is working right. -Ted. -- Ted Husted, Struts in Action <http://hus

re: Help about Model design

2003-02-17 Thread Ted Husted
Heligon Sandra writes: >I would wish to know if somebody know the address of a forum where >the model part is brought for web application. You can probably find what you are looking for at the ServerSide http://www.theserverside.com/home/index.jsp -T. -- Ted Husted, Struts in Action

Re: Application Flow with Transaction Tokens?

2003-02-18 Thread Ted Husted
message page. If you come up with a solution for the long-processing scenario that you like, be sure to let us know. I'd like to see a how-to regarding this in documentation area. It's definately a thorny problem. -Ted. -- Ted Husted, Struts

[Fwd: Transaction Token & long running process ...]

2003-02-20 Thread Ted Husted
Original Message Subject: Transaction Token & long running process ... Date: Thu, 20 Feb 2003 08:45:44 +0100 From: "Hossfeld, Frank" <[EMAIL PROTECTED]> To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> Hi Ted, I read the answer you wrote Greg Hess. And because I can't answer in t

[NEWS] Struts Hibernate Example 0.01

2003-03-10 Thread Ted Husted
tool with the Struts application framework. -- Ted Husted, Struts in Action <http://husted.com/struts/book.html> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [NEWS] Struts Hibernate Example 0.01

2003-03-10 Thread Ted Husted
r the freedom of thought which they avoid." - Soren Aabye Kierkegaard (1813-1855) -Original Message----- From: Ted Husted [mailto:[EMAIL PROTECTED] Sent: Monday, March 10, 2003 4:43 PM To: Struts Users Mailing List Subject: [NEWS] Struts Hibernate Example 0.01 An early release of

re: Scaffold BaseForm and Validator

2003-03-14 Thread Ted Husted
Just be sure that the source your are using is for Struts 1.1 and that it extends ValidatorForm. There have been versions of BaseForm posted for both Struts 1.0 and Struts 1.1. It should work just fine, so long as it extends the proper class. HTH, Ted. -- Ted Husted, Struts in Action <h

Design Idea: FormBasedDispatchAction

2003-03-14 Thread Ted Husted
dirty work. Well, I'm wayyy off topic now .. but, hey, it's Friday, and time to order a fish fry to go with my Rolling Rock. -T. -- Ted Husted, Struts in Action <http://husted.com/struts/book.html> - To unsub

Final Accessor/Mutators in Struts Forms/Action Classes

2003-03-14 Thread Ted Husted
le outside the immediate team to use, better to leave it subclassable. (In which case, also remember to add "serializable" to the signature, since leaving that out chokes some containers.) -T. -- Ted Husted, Struts in Action

[ANNOUNCE] Struts Hibernate Example 0.02

2003-03-14 Thread Ted Husted
uts>. Struts-Hibernate is a growing suite of example applications and utilities about using the Hibernate persistence tool with the Struts application framework. For more about Hibernate, visit the Hibernate site at <http://hibernate.sourceforge.net>. -- Ted Husted, Struts in Action <

[Q] Scaffolding question in relation to multiple possible forwards

2003-03-17 Thread Ted Husted
". The presentation logic maps that to "/pages/age70.jsp". In other words, the business controller (Process*) says "jump" and the presentation controller (Struts) responds with "/how/high.jsp". HTH, Ted. -- Ted Husted, Struts in Action <http://husted.com/

Re: [Q] Accessing struts-tiles attribute in a bean?

2003-03-17 Thread Ted Husted
t ($body = "/WEB-INF/templates/vm/templatebody.vm") #set ($footer = "/WEB-INF/templates/vm/templatefooter.vm") #set ($header = "/WEB-INF/templates/vm/templateheader.vm") #parse("/WEB-INF/templates/layouts/layoutHBF.vm") Ted Husted wrote: This is just h

Re: 'dynamic' form elements in a ActionForm

2003-03-18 Thread Ted Husted
1.0? I'm sorry to bother you with these questions. I'm quite new to Struts. If you can spare the time to answer any of the above or offer any suggestions, I'd really appreciate it. Thanks a lot, -- Ted Husted, Struts in Action <http://husted.com/struts/book.html> -

Re: [FRIDAY] Microsoft

2003-03-21 Thread Ted Husted
uct X today, it's liable to be a very different product two years from now. -T. -- Ted Husted, Struts in Action <http://husted.com/struts/book.html> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

Re: Design philosophy, beans, model to view [LONG]

2003-03-21 Thread Ted Husted
Properties and FormHelper), but very specific names for formbeans (like "permit_search_all" and "permit_store"). This keeps the formbeans/validations aligned with the use-cases they represent (store a permit, search all the permits)

Re: [FRIDAY] Microsoft

2003-03-21 Thread Ted Husted
er companies, who currently run on Unix/Linux. --- Ted Husted, Struts in Action <http://husted.com/struts/book.html> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Repost - Messages with Scaffold Helper Class

2003-03-21 Thread Ted Husted
e_struts_scaffold/ inside of the DomainAction. -T. -- Ted Husted, Struts in Action <http://husted.com/struts/book.html> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [FRIDAY] Microsoft

2003-03-21 Thread Ted Husted
have all ported software to Linux, Unix, etc... Relying 100% on .NET, that becomes impossible. Though is the reason Oracle is highly dependent on Java, as it allows them to explore multiple platform environments, without the $$$ and time involved in porting to a different language. Ilya -Origi

Re: Is Sun promoting Struts??

2003-04-04 Thread Ted Husted
r own strengths and weaknesses. Though, tight now, all the frameworks are still short of the mark, and we all have much to learn from each other. The best is yet to come. -Ted. -- Ted Husted, Struts in Action <http://husted.com/struts/b

re: Struts Hibernate example by Husted

2003-04-04 Thread Ted Husted
The build file is a bit overdesigned, since I'm working toward building multiple applications that share a common business JAR. If you are having problems, you can also post to the Struts Applications help forum: https://sourceforge.net/forum/?group_id=49385 -T. -- Ted Husted, Stru

RE: [ImageButtonBean] usage with LookupDispatchAction

2003-04-04 Thread Ted Husted
inates. What might work would be another version of DispatchAction that looked for an ActionForm property instead. Then, you could use an ImageButtonBean to select the dispatch action. http://husted.com/struts/tips/001.html HTH, Ted. -- Ted Husted, Struts in Action <http://huste

re: Loosing Objects in the Request.

2003-04-04 Thread Ted Husted
Is the logic taglib imported to the page? There should also be a notPresent tag, to test that the taglib is working. -T. -- Ted Husted, Struts in Action <http://husted.com/struts/book.html> - To unsubscribe, e-mail:

Struts and session cleanup

2003-04-04 Thread Ted Husted
t your application has put into the session. But for the most part, the session does take care of itself, and the container will clean it up when it times out. Struts really isn't involved. HTH, Ted. -- Ted Husted, Struts in Action <http:/

re: Custom validation method that returns multiple error messages

2003-04-04 Thread Ted Husted
validator for some and the Struts validate method for others. In the validate method, it would be much easier to pick and choose amoung validation messages (but you wouldn't get the nifty JavaScript popups). -Ted. -- Ted Husted, Struts in Action <http://husted.co

re: Removing nested bean collections in session scope.......

2003-04-04 Thread Ted Husted
It sounds like the ActionForm is in session scope (the default) and that there is a reference to the other collections on the ActionForm. You may also need to dispose the ActionForm after resetting the collection, something like request.getSession().set("myActionForm",null); -Te

re: [OT] Scaffold:StorageBeanBase Use Cases???

2003-04-04 Thread Ted Husted
at used by Hibernate. The Access class was basically a Data Access Object/Repository class. This does seem like the better way to go. -Ted. -- Ted Husted, Struts in Action <http://husted.com/struts/book.html> - To unsubscribe

If I use session.invalidate() in the an action class ...

2003-04-04 Thread Ted Husted
Be sure that the ActionForm is kept in request scope. (Session is the default.) -Ted. -- Ted Husted, Struts in Action <http://husted.com/struts/book.html> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comma

re: HTTP response as XML

2003-04-04 Thread Ted Husted
the Digester convert that to XML, return XML as the response just as you would from a servlet (and return null to the Struts controller). From what you said, there's little reason to get a page involved, since the output is going to another application. -Ted. -- Ted Husted, Struts in A

Struts newbie

2003-04-04 Thread Ted Husted
Tiles can also detect user roles. So if you have your paths setup as JAAS roles, then you might not need separate mappings. Tiles could select the appropriate fragments to display for each user's role (e.g. path). HTH, Ted. -- Ted Husted, Struts

help with and

2003-04-04 Thread Ted Husted
With Struts 1.1, you should be able to do this: This should create a select list where the labels and the values are the same. -Ted. -- Ted Husted, Struts in Action <http://husted.com/struts/book.html> - To unsubscr

Re: struts validator

2003-06-05 Thread Ted Husted
orm element, and the controls are added and subtracted ... as if by magic =:0) -Ted. -- Ted Husted, Struts in Action <http://husted.com/struts/book.html> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

<    1   2   3   4   5   6   7   8   9   10   >