Struts Validator and Mappedproperties

2002-08-28 Thread Joachim Gjesdal
Can I use Struts Validator with Mapped properties? I.e something like this: field property='property(lastName)' depends='required' /field thanks, --- Joachim -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Do we have struts custom tag for success messages.

2002-05-26 Thread Joachim Gjesdal
helper objects on this score: http://www.mail-archive.com/struts-user@jakarta.apache.org/msg31271.html http://www.mail-archive.com/struts-user@jakarta.apache.org/msg31284.html Joachim Gjesdal wrote: hmm wouldn't there be nice to have something like: InfoMessages messages = new InfoMessages

Re: Do we have struts custom tag for success messages.

2002-05-24 Thread Joachim Gjesdal
hmm wouldn't there be nice to have something like: InfoMessages messages = new InfoMessages(); messages.add(InfoMessages.GLOBAL_ERROR, new InfoMessage(trans.generic.read_ok)); saveMessages(request, messages); then a tag that pics up whatever infomessages that are there: html:info/

Re: Displaying error page

2002-04-22 Thread Joachim Gjesdal
Pruthee, Ranjan wrote: In ur jsp u get this error message by calling request.getAttribute(error) or use the html:error/ tag :-) -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: bean:message default key?

2002-03-04 Thread Joachim Gjesdal
Hani, No, its easy :-) , just see the sourcecode for org.apache.struts.MessageTAG, remove the JSPException that is thrown and return the key. joachim gjesdal Hani Hamandi wrote: Man! Is this a hard one? :( -Original Message- From: Hani Hamandi [mailto:[EMAIL PROTECTED]] Sent: Monday

Re: bean:message default key?

2002-03-04 Thread Joachim Gjesdal
(pageContext, e); throw e; */ ResponseUtils.write(pageContext, key); } joachim gjesdal Hani Hamandi wrote: Ok, and then what? Re-jar struts myself with this new source-code? Thanks! -Original Message- From: Joachim Gjesdal [mailto:[EMAIL PROTECTED]] Sent

Re: apply a prefix to bean:message's key (or name + property) attribute?

2002-02-28 Thread Joachim Gjesdal
how about, %countyCode=country.+countryCode% bean:message name=%=countryCode%/ joachim Struts Newsgroup (@Basebeans.com) wrote: Subject: apply a prefix to bean:message's key (or name + property) attribute? From: Jeff [EMAIL PROTECTED] === Is it possible to specify some prefix that should be

action mapping url and root context

2001-07-16 Thread Joachim Gjesdal
Some more on root context... Running struts 1.0 on Atg Dynamo 5.1 w/patch 1.1.p2 The context root (myroot) is added twice when the html is written: I.e. html:form action="myaction.do"> is written as : form name="myForm" method="POST" action="/myroot/myroot/myaction.do"> Any variations on

Re: action mapping url and root context

2001-07-16 Thread Joachim Gjesdal
Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel 716 737-3463. -- http://www.husted.com/about/struts/ Joachim Gjesdal wrote: protected String getActionMappingURL() { HttpServletRequest request = (HttpServletRequest) pageContext.getRequest

Re: action mapping url and root context

2001-07-16 Thread Joachim Gjesdal
Just found out. The problem is in ATG implementation of response.encodeURL(...). When request.getContextPath() returns /myroot (beginning with a slash), ATG's version of encodeURL() automatically adds the root I guess this is not J2EE behavior?? joachim Joachim Gjesdal wrote: Not exactly

Conext root on atg

2001-07-12 Thread Joachim Gjesdal
Running struts 1.0 on Atg Dynamo 5.1 w/patch 1.1.p2 the context root (myroot) is added twice when the html is written: I.e. html:form action=myaction.do is written as : form name=myForm method=POST action=/myroot/myroot/myaction.do or html:img page=/images/spacer.gif/ is written as: img

Re: Build fails on style

2001-06-25 Thread Joachim Gjesdal
If you are building it using Netbeans, Ant uses the Xerces in Netbeans class path, my solution was to add xalan.jar(from jaxp1.1) to \netbeans\lib\ext joachim gjesdal Kief Morris wrote: Howdy, I'm trying to compile the struts build from CVS, and am having major xml parser headaches. My