Shale Unit Testing

2006-05-19 Thread Robert Alexandersson
Hello. I will start developing a application using Shale, for personal use. This time I want to start the right way, meaning I want to build it Testdriven, or at least creating testcases for it. Are there some exampleapplications that use the Shale-Test-Framework. I saw there are a couple of exam

RE: Re: Using bean the same way as bundle with a static string as param.

2006-02-27 Thread Robert Alexandersson
. /Robert -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Laurie Harper Sent: Monday, February 27, 2006 9:51 PM To: user@struts.apache.org Subject: Re: Using bean the same way as bundle with a static string as param. Robert Alexandersson wrote: > Hello. > > I am usin

Using bean the same way as bundle with a static string as param.

2006-02-27 Thread Robert Alexandersson
Hello. I am using JSP 2.0 tagfiles creating custommtags and want a render controller. I want to make a sort of In a controller i create the settingbean parameters. In the jsp I call the tag file. In the tagfile I try to evaluate the incoming static string byt this I can not figure out. The rende

RE: logic:iterate

2006-02-23 Thread Robert Alexandersson
I think there is an even easier solution. Code below... Java (the Array) import java.util.ArrayList; import org.apache.commons.beanutils.LazyDynaBean; public class MyLazyArray extends ArrayList { private Class persistentClass; public MyLazyArray(){ t

RE: html:option, how to print html characters in the label.

2006-02-20 Thread Robert Alexandersson
nt options in a select box, you should use the HTML tag. Nico. Robert Alexandersson a écrit : > Hello, i want to output the String " Level 2" in my optionlists, > but the label attribute of options does not return this but the > transforemed   mending it prints the t

html:option, how to print html characters in the label.

2006-02-20 Thread Robert Alexandersson
Hello, i want to output the String " Level 2" in my optionlists, but the label attribute of options does not return this but the transforemed   mending it prints the text instead, is there any way around this? Regards Robert A -

RE: Bean Population When Form Cancelled

2006-02-14 Thread Robert Alexandersson
I think so, look at this. http://www.learntechnology.net/validate-manually.do My implementation down here. /*** CODE *** /** * This method is used to execute validation rules * The good-part, * 1. can chose to not validate if cancel is submitted . * 2. If validate excepti