Re: [S2] FreeMarker syntax to use in the theme templates

2007-06-19 Thread Mark P Ashworth
not see the syntax in the FreeMarket docs. Regards, Mark P Ashworth http://www.connext.co.za Mark P Ashworth wrote: Good Day, HaH, found the answer to question 2, or at least a workaround for now. 1. Created a graph.jsp with the following code in it %@ include file=../include.jsp

[S2] Loading tld from jar

2007-06-18 Thread Mark P Ashworth
on this. Regards, Mark P Ashworth -- View this message in context: http://www.nabble.com/-S2--Loading-tld-from-jar-tf3938475.html#a11170468 Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL

[S2] Tag value defined by another tag

2007-06-18 Thread Mark P Ashworth
, start's return value is true and therefore should evaluate the body of the tag. I am just not sure how to get it to evaluate the parameter values as well. Regards, Mark P Ashworth http://www.connext.co.za Antonio Petrelli-3 wrote: 2007/6/18, Mark P Ashworth [EMAIL PROTECTED]: I noticed

Re: [S2] Tag value defined by another tag

2007-06-18 Thread Mark P Ashworth
. Regards, Mark P Ashworth http://www.connext.co.za newton.dave wrote: s:url value=... id=theUrl/ m:graph ... charturl=${theUrl} .../ This should work assuming you're in a JSP 2.0 container. d. --- Mark P Ashworth [EMAIL PROTECTED] wrote: Good Day, Thank you for the reply

Re: [S2] Tag value defined by another tag

2007-06-18 Thread Mark P Ashworth
to do it with a file like myJspFile.jsp or possibly data.txt but how does the actual result of the Action return a plain text result? Regards, Mark P Ashworth http://www.connext.co.za Mark P Ashworth wrote: Good Day, I decided to use UrlHelper.buildUrl(getChartUrl(), req, res, null

Re: [S2] Tag value defined by another tag

2007-06-18 Thread Mark P Ashworth
Url 3. Plugged it into the calling jsp page Regards, Mark P Ashworth Mark P Ashworth wrote: Good Day, Thinking about it a bit more, I think this how I would like to define the tag in the JSP file m:graph id=graph width=600 height=200 align=middle bgcolor=#FF

Re: [S2.0.8] datetimepicker.... is it a train wreck?

2007-06-15 Thread Mark P Ashworth
the exception even though I throw ParseException in those properties. Should I be using validation to parse the submitted values? Regards, Mark P Ashworth http://www.connext.co.za Jeromy Evans - Blue Sky Minds wrote: My question is if the datetimepicker is only going to be ready in 2.1 then how

[S2] Has anyone used Open Flash Chart with Struts 2

2007-06-15 Thread Mark P Ashworth
Good Day, I am evaluating charting packages and was wondering if anyone has used Open Flash Chart with Struts or event Struts 2? Any information would be helpful. Regards, Mark P Ashworth http://www.connext.co.za -- View this message in context: http://www.nabble.com/-S2--Has-anyone-used

Re: [S2.0.8] datetimepicker.... is it a train wreck?

2007-06-15 Thread Mark P Ashworth
Good Day, Thanks once again. Regards, Mark P Ashworth http://www.connext.co.za Jeromy Evans - Blue Sky Minds wrote: Mark P Ashworth wrote: Good Day, Thank you for your help. I created properties that return string representations of the date time values and I use the jscalendar

Re: [S2.0.8] datetimepicker.... is it a train wreck?

2007-06-14 Thread Mark P Ashworth
, Mark P Ashworth http://www.connext.co.za Musachy Barroso wrote: Well, the datetimepicker is the only one in such a lame condition, the other ones are working fine. musachy On 6/13/07, אלחנן מעין [EMAIL PROTECTED] wrote: shame i was hoping to go back to s2 becouse of all the ajax dojo

Re: [S2.0.8] datetimepicker.... is it a train wreck?

2007-06-14 Thread Mark P Ashworth
a converter or should I use localization? Regards, Mark P Ashworth Jeromy Evans - Blue Sky Minds wrote: My question is if the datetimepicker is only going to be ready in 2.1 then how should I implement this in my application? As mentioned previously in this thread, a work-around

Re: refresh problem

2007-05-31 Thread Mark Shifman
done. Page has waiting and show result but action class still working. It can be possible a settings in action mapped xml file? Or any suggestion? Regards, -- Mark Shifman MD. Ph.D. Yale Center for Medical Informatics Phone (203)737-5219 [EMAIL PROTECTED

Re: Displaytag

2007-05-16 Thread Mark Shifman
://tv.yahoo.com/collections/265 -- Mark Shifman MD. Ph.D. Yale Center for Medical Informatics Phone (203)737-5219 [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[S2] Book Ideas

2007-05-11 Thread Mark Menard
Thanks, Mark -- Mark Menard - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

null Properties and Interfaces

2007-04-25 Thread Mark Menard
this is done. Would I make a StrutsTypeConverter? Thanks, Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [S2] Newbie. Authentification Interceptors

2007-04-24 Thread Mark Menard
will someday, but right now I don't. Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [S2][interceptors]Inserted my own interceptor = no more params value

2007-04-23 Thread Mark Menard
in. Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [S2] How to keep a reference to a bean without using a session scope?

2007-04-23 Thread Mark Menard
have time in the 2.1 cycle to work on this some more. Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [S2] Data entry form for nested beans

2007-04-23 Thread Mark Menard
a bunch of simple text fields, and the action then uses all of these to populate the pieces of the various beans that make up Payment Bean. You could but it is cumbersome and error prone in my opinion. Mark -- Mark Menard Business: http://www.vitarara.net/ Personal: http://www.vitarara.org

Re: [S2] Formatting inside Iterator tag

2007-04-23 Thread Mark Menard
=value value=orderDate //s:text That will do the date, there are some other formats listed on the Wiki I think. *shrug* Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [s2]Would like each action to go throught my parent class

2007-04-20 Thread Mark Menard
. Mark -- Mark Menard Business: http://www.vitarara.net/ Personal: http://www.vitarara.org/ Mark's Struts 2 Cookbook: http://www.vitarara.org/cms/struts_2_cookbook - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: How to change the Context Root of a webapplication

2007-04-20 Thread Mark Shifman
this e-mail and any attachment and all copies and inform the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Mark Shifman MD. Ph.D. Yale Center for Medical

Re: [S2]Accessing a Bean within a Bean in my jsp

2007-04-20 Thread Mark Menard
a getAccount() method on it, and account has a getCustomer() method, etc.? Any ideas? Not really. Just make sure you've got your getX() methods all the way down the chain. Also put lots of s:property value=... / tags down the chain and see where it breaks. Mark

Re: How to force request parameters to be passed to action through interceptor?

2007-04-20 Thread Mark Menard
/ interceptor-ref name=workflow / !-- interceptor-ref name=component / -- !-- interceptor-ref name=debugging / -- !-- interceptor-ref name=valuestack-debugger / -- /interceptor-stack /interceptors /package Mark

Re: [s2]Would like each action to go throught my parent class

2007-04-18 Thread Mark Menard
pattern. Now, with that example shown, I wouldn't use it. Look at an interceptor to do this. I'm working on exactly this right now, a login interceptor. Stay tuned for a write up when I get done. Mark - To unsubscribe, e-mail

Re: [s2]Would like each action to go throught my parent class

2007-04-18 Thread Mark Menard
On 4/18/07 11:11 AM, Mark Menard [EMAIL PROTECTED] wrote: Now, with that example shown, I wouldn't use it. Look at an interceptor to do this. I'm working on exactly this right now, a login interceptor. Stay tuned for a write up when I get done. As promised here's a fairly complete write up

Two New Tutorials

2007-04-18 Thread Mark Menard
I've written up two new Struts 2 tutorials: Post and Redirect in Struts 2 http://www.vitarara.org/cms/struts_2_cookbook/post_and_redirect Creating a Login Interceptor in Struts 2 http://www.vitarara.org/cms/struts_2_cookbook/creating_a_login_interceptor Take care, Mark -- Mark Menard Business

Re: [s2] Do I still need a business service layer ?

2007-04-17 Thread Mark Menard
) ? This would make things really simplier ! Hi Nico, I guess you could do that, but I don't think I'd recommend it. It mixes up control (your action) with business services (your service bean). Personally I would keep them separate, and let each do what it is best at. Mark

Re: [S2] How to keep a reference to a bean without using a session scope?

2007-04-10 Thread Mark Menard
interceptor I created for this purpose. (http://www.vitarara.org/cms/node/84) I have since updated that method to simply be an extension of ModelDriven, if you're interested in the most recent version let me know. Mark

Re: How to get a attribute value of map value?

2007-04-05 Thread Mark Menard
On 4/5/07 1:34 PM, Felipe Rodrigues [EMAIL PROTECTED] wrote: %{test['AnyString'].att} prints nothing and finally I've used this technique to access the properties of entities stored in a Map. (http://www.vitarara.org/cms/node/81) Are you sure that the att attribute has something in it? Mark

Re: S2 life cycle

2007-04-03 Thread Mark Menard
? At the same time I have heard about a interceptor called ScopedModelDriven interface. You want to look at ScopedModelDriven. Basically the ActionForm just becomes a POJO, and that POJO is shared by the various actions using the ScopedModelDriven mechanism. Mark

Re: DispachAction - does not contain specified method

2007-03-13 Thread Mark Shifman
) Thanks, -Nitin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Mark Shifman MD. Ph.D. Yale Center for Medical Informatics Phone (203)737-5219 [EMAIL PROTECTED

Re: [s2] newbie - setting multiple values in an action

2007-03-13 Thread Mark Menard
Later, Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Struts 2 newbie question

2007-03-12 Thread Mark Menard
theme. How about: trtd colspan=2s:submit theme=simple /s:submit theme=simple //tr Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[s2] Struts 2 and Groovy: Groovy Works

2007-03-11 Thread Mark Menard
reload in my browser. Spring and the Groovy Works plugin recompile the scritps as needed. Take a look: http://www.vitarara.org/cms/groovyworks Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: [s2] Struts 2 and Groovy: Groovy Works

2007-03-11 Thread Mark Menard
On 3/11/07 1:17 PM, Dave Newton [EMAIL PROTECTED] wrote: --- Mark Menard [EMAIL PROTECTED] wrote: Take a look: http://www.vitarara.org/cms/groovyworks Is this primarily a classloader for Groovy actions so you don't need to define them in an applicationContext config? Yes, because Spring

Re: [s2] Struts 2 and Groovy: Groovy Works

2007-03-11 Thread Mark Menard
On 3/11/07 1:20 PM, Dave Newton [EMAIL PROTECTED] wrote: --- Mark Menard [EMAIL PROTECTED] wrote: [GroovyWorks] Oops, also wanted to ask [OT] about mixing Groovy/Java actions; I'm assuming that it only does something special if it's a .groovy action and does normal Spring stuff otherwise

Re: Need more comprehensive AJAX Implementation Instructions

2007-03-11 Thread Mark Menard
implies that the form tag was there but no in a simple sense. Just my $0.02 on a Sunday afternoon. What am I doing here again? Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: s2] Is this a sensible way of doing in-line editing in a table?

2007-03-09 Thread Mark Menard
, but the validation error needs to reference the generated name of the field to get the error back to the right place. Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[s2] Integration Testing Writeup/HOWTO

2007-03-08 Thread Mark Menard
without having to be deployed in a container. Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [S2] replacement for indexed=true

2007-02-28 Thread Mark Menard
the suggested method yet. When I get time I will write up an explanation of that if I get it working to my liking. Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [ANN] Struts 2.0.6 GA release available

2007-02-24 Thread Mark Menard
a pleasure. Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [S2] model driven versus domain object property

2007-02-24 Thread Mark Menard
for awhile. Dave, Be careful with the ScopedModelDriven method. Have you checked that it works with a user running two concurrent copies of your wizard, if you allow it? (Think tabbed browsing.) Mark - To unsubscribe, e-mail

[s2] Integrating Struts 2 and Groovy

2007-02-24 Thread Mark Menard
the classesDirectory, but I need it to watch both target/classes and src/main/groovy, and this option seems to only take one directory. I've also tried scanTargets, but that doesn't actually seem to be added to the classpath. If anyone has ideas I'd be happy to hear them. Thanks, Mark

Re: [S2] model driven versus domain object property

2007-02-24 Thread Mark Menard
On 2/24/07 3:41 PM, Dave Newton [EMAIL PROTECTED] wrote: Isn't that an issue with *any* session-based methodology? Absolutely. It just amazes me how many people still run into it and are baffled by the strange behavior. Mark

Re: [s2] Integrating Struts 2 and Groovy

2007-02-24 Thread Mark Menard
On 2/24/07 10:23 AM, Mark Menard [EMAIL PROTECTED] wrote: At this point I have scripted actions and service beans in Groovy, with automatic reloading working. (http://www.vitarara.org/cms/node/98) A brief update. I have this working in a simple environment. I tried adding Spring declarative

Re: [s2] Groovy Actions in Struts 2

2007-02-14 Thread Mark Menard
and simply hit reload. Kind of like you can do with JSP files under the Maven Jetty Plugin. I'll do some looking around and see if I can find anything on this. Thanks, Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [s2] Groovy Actions in Struts 2

2007-02-14 Thread Mark Menard
://forum.springframework.org/showthread.php?p=101486) I'm going to follow that thread on the Spring forum, and I'll report back when I've got more information. Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

[s2] Groovy Actions in Struts 2

2007-02-13 Thread Mark Menard
I've recently started using Groovy in my Struts 2 project to write my actions. After some experience with it, I've written up a blog entry with some quick examples. http://www.vitarara.org/cms/node/95 Mark - To unsubscribe, e

Re: [s2] Groovy Actions in Struts 2

2007-02-13 Thread Mark Menard
On 2/13/07 12:54 PM, Don Brown [EMAIL PROTECTED] wrote: Very cool. Please add a link in our Struts 2 wiki [1] to it for future reference. Done. I also added some of the other writeups I've done. Mark - To unsubscribe, e

Re: [S2] Spring Bean Interceptors?

2007-02-13 Thread Mark Menard
On 2/13/07 3:21 PM, Dave Newton [EMAIL PROTECTED] wrote: Can Interceptors be Spring Beans (without hackery)? Yes, just wire it up in your application context. I use to inject a service bean into an interceptor that handles retrieving user menu's based on role. Mark

Re: [s2] Groovy Actions in Struts 2

2007-02-13 Thread Mark Menard
. Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: combining chain of commands with struts action

2007-01-19 Thread Mark Shifman
: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Mark Shifman MD. Ph.D. Yale Center for Medical Informatics Phone (203)737-5219 [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Struts2, DisplayTags OGNL-error

2006-12-13 Thread Mark Shifman
$ControlRunnable.run(ThreadPool .java:684) at java.lang.Thread.run(Thread.java:595) ERROR (061212 20:29:29) Developer Notification (set webwork.devMode to false to disable this message): -- Mark Shifman MD. Ph.D. Yale Center for Medical Informatics Phone (203)737-5219 [EMAIL PROTECTED

[s2] Creating a UI Component

2006-12-11 Thread Mark Menard
Having recently dug into creating UI tags in Struts 2 I wrote up a quick overview: http://www.vitarara.org/cms/node/86 Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[s2] Radio buttons example

2006-12-07 Thread Mark Shifman
Hi: The Struts 2 Documentation pages seem to have left out radio buttons: http://struts.apache.org/2.x/docs/tag-reference.html http://struts.apache.org/2.x/docs/ui-tag-reference.html There is a page but its example is a little opaque: http://struts.apache.org/2.x/docs/radio.html I couldn't find

Re: Struts2 general availability release date?

2006-12-07 Thread Mark Menard
it to GA by time I'm ready to deploy I'm not really worried, because like Dave the parts I'm using work. Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[s2] Making LazyDynaBean work with ModelDriven interface

2006-12-05 Thread Mark Shifman
Some folks may be as pig-headed as me or may need to use LazyDynaBeans as they are translating from struts1 to struts2. After fooling around, I figured it out but it is pretty clear to me this is not the way to go. Below is a simple example. public final class MyAction extends ActionSupport

Re: [s2] Making LazyDynaBean work with ModelDriven interface

2006-12-05 Thread Mark Menard
On 12/5/06 12:25 PM, Mark Shifman [EMAIL PROTECTED] wrote: 2. The textfield seems to get a String[] rather than a String and I don't have any idea how to do it differently. I don¹t know if you can do this because I've never really worked with Struts 1. Can you make the Map in your form

Re: How to align form fields in struts 2

2006-12-05 Thread Mark Menard
the HTML is being output, and if it support right alignment. Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[s2] LazyDynaBean and ModelDriven interface

2006-12-04 Thread Mark Shifman
. If I use a simple pojo like public class myBean { String my_field; public String getMy_field() { return my_field; } public void setMy_field(String my_field) { this.my_field= my_field } Things work. What am I missing or doing wrong? Thanks in advance mas -- Mark Shifman

Re: [s2] LazyDynaBean and ModelDriven interface

2006-12-04 Thread Mark Shifman
Mark Shifman wrote: Does anybody have an example of using a LazyDynaBean with the ModelDriven interface? http://struts.apache.org/2.x/docs/struts-1-solutions.html implies that it should work. I have a simple action: public final class MyAction extends ActionSupport implements ModelDriven

Re: Struts 2 and passing data using interceptors

2006-12-03 Thread Mark Menard
On 12/2/06 10:45 AM, fahlen [EMAIL PROTECTED] wrote: Hi Mark, I've tried this now, but I'm unable to access the data from the JSP. In the struts.xml configuration file, the action involved is configured this way: action name=Search_* method={1} class=crosseyed.Search

Re: [s2] Theme Tutorial

2006-12-02 Thread Mark Menard
. Thoughts? Now, to resume a thread from earlier this week. On 12/1/06 1:53 PM, Don Brown [EMAIL PROTECTED] wrote: On 12/1/06, Mark Menard [EMAIL PROTECTED] wrote: In a related vein I would like to add some default properties to the UI tags. Currently I'm passing these things into my template

Re: [s2] Simple Tag Question s:push and s:param

2006-12-01 Thread Mark Menard
On 12/1/06 3:21 AM, Don Brown [EMAIL PROTECTED] wrote: On 8/30/06, Mark Menard [EMAIL PROTECTED] wrote: Is this following possible? s:bean name=java.util.HashMap id=qTableLayout /s:bean s:push value=#qTableLayout s:param name=tablecolspan value=%{4} / s:param name

Re: CRUD

2006-12-01 Thread Mark Menard
will be automatically called. In your validate() method you could do the validation based on the type of customer that is being created. See: http://cwiki.apache.org/WW/workflow-interceptor.html Mark - To unsubscribe, e-mail: [EMAIL

Re: [s2] Simple Tag Question s:push and s:param

2006-12-01 Thread Mark Menard
these things into my template using s:param tags. I'd like to be able to do the following though: s:textfield name=someProperty inputcolspan=2 / Any idea where I would start with this? Thanks, Mark - To unsubscribe, e-mail: [EMAIL

[s2] Theme Tutorial

2006-12-01 Thread Mark Menard
from my mistakes. http://www.vitarara.org/cms/node/85 Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: struts 2 newbie question

2006-11-30 Thread Mark Menard
}. That's pretty slick. I didn't know about this. I think I might start using it. Take care, Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Struts 2 and passing data using interceptors

2006-11-30 Thread Mark Menard
and elegant. Almost too much so. It eluded me for a while, but now I'm really starting to get it, and it's good. Mark -- Mark Menard personal: http://www.vitarara.org/ business: http://www.vitarara.net/ - To unsubscribe, e-mail: [EMAIL

Re: Struts 2 and passing data using interceptors

2006-11-30 Thread Mark Menard
On 11/30/06 7:45 PM, Christopher Schultz [EMAIL PROTECTED] wrote: Mark Menard wrote: public String getDataRetrievedFromSessionBean () { return this.dataRetrievedFromSessionBean; } Sorry for poking my nose in, but wouldn't this be horrendously non-threadsafe? No problem. If your

Re: Struts Tiles, Lose of Performance ? :-(

2006-11-29 Thread Mark Bakker
Extra remark all CSS and JS files will be cached by the browser, so including CSS in all webpages does not decrease the performance. On 11/29/06, Thomas Thomas [EMAIL PROTECTED] wrote: Thank u Chris, I will try that ! Do u have a solution for number 1) ?

Re: Struts Tiles, Lose of Performance ? :-(

2006-11-29 Thread Mark Bakker
you can also go for Chris route. On 11/29/06, Thomas Thomas [EMAIL PROTECTED] wrote: They will be cached if the user 'surf' on the webpage, if I have thousand pages, and he may see two pages, i am going to store 1000's css files in his cache. 2006/11/29, Mark Bakker [EMAIL PROTECTED]: Extra

Re: Design

2006-11-29 Thread Mark Bakker
I would not implement a menu using Actions. You can use a CSS to define your menu. In my opinion using struts actions just to go from one url to the next is a bit overkill. tiles is also a good solution to the menu problem. On 11/29/06, Michel Van Asten [EMAIL PROTECTED] wrote: Hi, We have to

Re: Struts Tiles, Lose of Performance ? :-(

2006-11-29 Thread Mark Bakker
Thomas [EMAIL PROTECTED] wrote: Mark, I don't understand your solution, It's the first time I try to implement Tiles, Could u tell me what *you* would do ? U mean making more than one base layout ? And in my jsp pages insert different base layouts ? 2006/11/29, Mark Bakker [EMAIL PROTECTED]: Ohh

Re: Does Struts 2 solve the action chaining problem?

2006-11-29 Thread Mark Menard
it pretty easy to manage. Take care, Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Struts Tiles, Lose of Performance ? :-(

2006-11-29 Thread Mark Bakker
of Performance ? :-( They will be cached if the user 'surf' on the webpage, if I have thousand pages, and he may see two pages, i am going to store 1000's css files in his cache. 2006/11/29, Mark Bakker [EMAIL PROTECTED]: Extra remark all CSS and JS files will be cached by the browser, so

Re: [OT] RE: Struts Tiles, Lose of Performance ? :-(

2006-11-29 Thread Mark Bakker
well header is your naming On 11/28/06, Thomas Thomas [EMAIL PROTECTED] wrote: div id=base_header tiles:insert attribute=header/ /div more info about CSS you can find here: http://www.w3schools.com/css/default.asp On 11/29/06, Dave Newton [EMAIL PROTECTED] wrote: From:

Re: [OT] RE: Struts Tiles, Lose of Performance ? :-(

2006-11-29 Thread Mark Bakker
could just use plane HTML. On 11/29/06, Mark Bakker [EMAIL PROTECTED] wrote: well header is your naming On 11/28/06, Thomas Thomas [EMAIL PROTECTED] wrote: div id=base_header tiles:insert attribute=header/ /div more info about CSS you can find here: http://www.w3schools.com/css

Re: Themes and templates

2006-11-28 Thread Mark Shifman
it Regards Juan -- Mark Shifman MD. Ph.D. Yale Center for Medical Informatics Phone (203)737-5219 [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Themes and templates

2006-11-28 Thread Mark Menard
a radio button group, but I think the template to start with is radiomap.ftl. When going through this just remember to follow the includes. Good luck, Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: Themes and templates

2006-11-28 Thread Mark Menard
On 11/28/06 4:06 PM, Mark Menard [EMAIL PROTECTED] wrote: On 11/28/06 4:04 PM, Juan Espinosa [EMAIL PROTECTED] wrote: I want to know if render of buttons tables forms and other tags are based on this templates..and how i could change it Hi Juan, The rendering of the buttons is based

Re: need help in Tag-lib

2006-11-24 Thread Mark Bakker
On 11/24/06, Prashant Saraf [EMAIL PROTECTED] wrote: An exception occured trying to convert String http://localhost:7003/cctc/pic1; to type java.lang.Long (null) I can't see any relation between the converting a url to a Long and The code you have supplied. I expect the is exception is thrown

[s2] Interceptor.init ()

2006-11-16 Thread Mark Menard
Is this method supposed to be called once per lifecycle of the Interceptor? Or do I have to accommodate it being called multiple times? Thanks, Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

[s2] mvn archetype

2006-11-16 Thread Mark Menard
? I've downloaded and built the latest snapshot using svn and mvn. Thanks, Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [s2] mvn archetype

2006-11-16 Thread Mark Menard
On 11/16/06 11:03 PM, Wendy Smoak [EMAIL PROTECTED] wrote: On 11/16/06, Mark Menard [EMAIL PROTECTED] wrote: I've tried to set up a new project using the struts2 mvn archetype, but to no avail. What did you type? mvn archetype:create -DgroupId=tutorial -DartifactId=tutorial

Re: [s2] Interceptor.init ()

2006-11-16 Thread Mark Menard
On 11/16/06 12:51 PM, Mark Menard [EMAIL PROTECTED] wrote: Is this method supposed to be called once per lifecycle of the Interceptor? Or do I have to accommodate it being called multiple times? I updated to the latest svn of S2 and this seems to be fixed. Mark

[s2] Multiple Session Conversations Using Same Action

2006-11-15 Thread Mark Menard
under the modelId. This would allow it to be retrieved on the next run through. Am I on the right track? Is there a better way to do this? Is there something that already does it? Thanks, Mark - To unsubscribe, e-mail: [EMAIL

Re: Validation + multiple Submit buttons

2006-11-14 Thread Mark Shifman
-config.xml or validation.xml but I am not sure if this is actually possible (I fear the worst) If anyone has any tips, much appreciated. Andrew -- Mark Shifman MD. Ph.D. Yale Center for Medical Informatics Phone (203)737-5219 [EMAIL PROTECTED

Re: [s2] Dynamically Parameterize Redirect Result

2006-11-13 Thread Mark Menard
an example of using OGNL to provide the param to the redirect? Thanks, Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[s2] Dynamically Parameterize Redirect Result

2006-11-10 Thread Mark Menard
Is there a way to get a parameter that was passed to createPartyRoleType into the redirect on success? Thanks, Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [Struts 2] execute() method not firing in Action

2006-11-07 Thread Mark Menard
for the ! notation. Take care, Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

s:component question

2006-11-07 Thread Mark Menard
=my.action //s:component And then access the results of the s:url tag inside my component template? Thanks, Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[s2] Updating a List of objects

2006-11-06 Thread Mark Menard
a list of items? Or is there another recommended best practice for this? Thanks, Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[s2] Accessing HttpServletRequest from an Interceptor

2006-11-06 Thread Mark Menard
I need to access the HttpServletRequest from an Interceptor. I'm using: HttpServletRequest request = ServletActionContext.getRequest (); Is that the correct way to get it? It works, but I'm not sure that's how I should be doing it. Thanks, Mark

Re: [S2] Duty now for the future? (was Re: Question about struts2)

2006-11-02 Thread Mark Menard
I'm forgetting and all is fine. Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[s2] Interceptor init() being called multiple times per hit

2006-10-29 Thread Mark Menard
have a few questions: 1. It looks to me that the TestInterceptor is being instantiated multiple times. Why? 2. Why is are the various struts xml files being parsed multiple times for a single action invocation? Thanks, Mark

Re: [s2] Interceptor init() being called multiple times per hit

2006-10-29 Thread Mark Menard
On 10/29/06 11:45 AM, Mark Menard [EMAIL PROTECTED] wrote: Here's the log output: 11:35:40,557 INFO [STDOUT] 11:35:40,557 INFO [XmlConfigurationProvider] Parsing configuration file [struts-default.xml] 11:35:40,664 INFO [STDOUT] 11:35:40,664 INFO [XmlConfigurationProvider] Parsing

Re: [s2] Interceptor init() being called multiple times per hit

2006-10-29 Thread Mark Menard
being init'ed multiple times. Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Struts2 Basic Questions

2006-10-26 Thread Mark Menard
language. It is my understanding that Xwork is an action framework around which S2 is wrapped. Regarding the expression language... I think you're thinking of OGNL, which I believe is separate from Xwork, but I could be wrong, and I'm sure someone will straighten me out. Later, Mark

<    1   2   3   4   5   6   7   >