Re: tags within tags in struts..

2007-04-11 Thread MK Tan
try this s:set name=moduleAction value=ModuleAction/ s:url id=module value=%{moduleAction}/ On 4/11/07, mi [EMAIL PROTECTED] wrote: hi i want to make the value of my url tag to come from the value of my property tag.. like this.. s:url id=module value=s:property value=ModuleAction/ but i

Re: RE [S2] How to have validation message using localization ?

2007-04-19 Thread MK Tan
do u have a property named loginInput in package.properties? IIRC, if struts / webwork can't find the appropriate property, it will display the key as output HTH Best regards, MK Tan On 4/19/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Anyone ? :( Michaƫl Hi all, With Struts 2.0.6

Re: compile error

2007-04-25 Thread MK Tan
or use maven2 ;-) from the given error message. It seem like the struts jar files are not in your classpath. Try set the classpath ;-) Best regards, Mk Tan On 4/25/07, Lance [EMAIL PROTECTED] wrote: I highly recommend using ant to manage your project including clean, compile, deploy, javadoc

Re: s:url bug

2007-05-01 Thread MK Tan
Hi, From the constructed url I assume you refer the url like this: a href=s:property value=%{msgUrl}/some message/a Try using s:a/, like this s:a href=%{#msgUrl}some text again/s:a AFAIK, s:a / will give you the correct url. HTH, MK Tan On 5/1/07, David Harland [EMAIL PROTECTED] wrote

Re: posting form

2007-05-08 Thread MK Tan
Hi, Have you try it yourself before posting? ;-) Let me make a wild guess, it submit back to the same action which forward to this jsp :D cheers, MK Tan p/s: doing some homework or simple test before asking does not hurt or take many time :p On 5/9/07, temp temp [EMAIL PROTECTED] wrote

Re: [s2] unexpected Tomcat shutdown everyday

2007-05-17 Thread MK Tan
Hi, Do you have any classes which invoke System.exit()? or do u have any spring scheduler which will terminate tomcat? or any error occurred before tomcat shutdown? Best regards, MK Tan On 5/17/07, walidito [EMAIL PROTECTED] wrote: Hi all, I have a a very strange and critical pb with my

Re: OT- need some help

2007-05-21 Thread MK Tan
Hi, Just wonder why you need to do this in xml way? Wasn't it much simpler if you do it in properties (key value) format? Most of the time, I just found it people like to overuse xml :-p Best regards, MK Tan On 5/21/07, vikas rao [EMAIL PROTECTED] wrote: Hi, Can someone point out a tutorial

Re: OT- need some help

2007-05-21 Thread MK Tan
thing? As long as your jar file and the cfg file are under the same classpath, it shouldn't be any problem to read the value. That was my question. Thanks. Vikas. On 5/21/07, MK Tan [EMAIL PROTECTED] wrote: Hi, Just wonder why you need to do this in xml way? Wasn't it much simpler if you

Re: [S2] Spring Injection

2007-05-23 Thread MK Tan
=myService/ /bean bean id=fooAction class=your.foo.package.name.FooAction parent=baseAction/ bean id=barAction class=your.bar.package.name.BarAction parent=baseAction/ HTH MK Tan On 5/23/07, Roger Varley [EMAIL PROTECTED] wrote: Hi I suspect that this going to be a stupid question but please bear

Re: Netbeans 6.0 Editor Error with struts2 library

2008-01-16 Thread MK Tan
Have you try 1) close netbeans 2) delete the cache folder under user home/.netbeans/6.0/var/ ? 3) open netbeans again. HTH On Jan 17, 2008 3:26 PM, Igor Vlasov [EMAIL PROTECTED] wrote: This is not because an empty method:-/. I try to write there but do not get any response. :-(( Al

Re: is there anyway to store the previous added lateExtraAmount

2007-06-06 Thread MK Tan
you can put the previous added lateExtraAmount into session. After that, just retrieve it back from the session n do ur calculation. HTH, MK Tan On 6/4/07, prasad kumar [EMAIL PROTECTED] wrote: hi, iam using struts, i have one class i.e LateExtra,in this class i have wriiten

Re: Action class in struts-2.0 version

2007-06-28 Thread MK Tan
Wasn't you have the answer from this reply http://www.nabble.com/How-to-creae-Action-class-in-struts2.0.8-tf3993602.html#a11340518? On 6/28/07, manohar-AB [EMAIL PROTECTED] wrote: I want the code for the Action class and struts.xml in the struts2.0.8 version -- View this message in context:

Re: Action class in struts-2.0 version

2007-06-28 Thread MK Tan
I means this http://www.nabble.com/Re%3A-How-to-creae-Action-class-in-struts2.0.8-p11340666.html On 6/28/07, MK Tan [EMAIL PROTECTED] wrote: Wasn't you have the answer from this reply http://www.nabble.com/How-to-creae-Action-class-in-struts2.0.8-tf3993602.html#a11340518 ? On 6/28/07

Re: [S2] Passing values from one action to another

2007-07-17 Thread MK Tan
Have you try Chain Resulthttp://struts.apache.org/2.0.8/docs/chain-result.html ? On 7/17/07, yitzle [EMAIL PROTECTED] wrote: I got two action classes, A and B. A has a bunch of getters and B has corresponding setters. In order to get the value from A into B, does that value need to appear in

Re: Eclipse Editor and struts tags

2007-08-02 Thread MK Tan
Do you have WTP installed in your Eclipse? On 8/2/07, appel [EMAIL PROTECTED] wrote: Hello, I'm using Eclipse 3.2.2, isn't it possible to get tag insight, syntax coloring, code completion etc. when editing JSP pages using struts-tags ? It's currently just raw black text. -- View this

Re: Eclipse Editor and struts tags

2007-08-02 Thread MK Tan
Hi, WTP 1.5http://download.eclipse.org/webtools/downloads/drops/R1.5/R-1.5.4-200705021353/with EMF 2.2 http://www.eclipse.org/modeling/emf/downloads/?project=emf will run fine in Eclipse 3.2.2. ;-) On 8/2/07, appel [EMAIL PROTECTED] wrote: Hi, I cannot install WTP unless I have EMF, and I

Re: Struts 2 - incompatibility between JSTL xml taglibs and Struts 2 ?????

2007-09-07 Thread MK Tan
look like struts taglibs cause the NPE. unknown property name? On 9/7/07, Riccardo Mollame [EMAIL PROTECTED] wrote: Could any one explain why this piece of code works fine: %@ taglib prefix=c uri=http://java.sun.com/jsp/jstl/core% %@ taglib prefix=x uri=http://java.sun.com/jsp/jstl/xml%