Re: Struts 1 Logging

2014-05-30 Thread Mark Shifman
EB-INF\lib\log4j.properties Which are logged by my action class. Could you please help if I am missing something. Thanks Usha You need a line like this: log4j.logger.org.apache.struts=DEBUG Regards, Christoph This Email was scanned by Sophos Anti Virus -- Mark Shifman MD. Ph.D. Yale Center for Medical Informatics Phone (203)737-5219 mark.shif...@yale.edu

Re: SV: Upgrade from 1.2 to 1.3x

2010-05-25 Thread Mark Shifman
e, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mai

struts-blank-1.3.10.war has memory leak.

2010-05-13 Thread Mark Shifman
Hi: I have been trying to track down a memory leak in my struts 1.3.10 web app. I am using tomcat 6.0.26 which has a leak detector button in the manager app. After basically gutting my app to a start up page, it occurred to me that I should just see if the struts-blank web app has a memory leak.

Re: Login redirection

2010-04-29 Thread Mark Hansen
forward -> L1 --- forward --> C --- forward --> P From: Paweł Wielgus Reply-To: Struts Users Mailing List Date: Thu, 29 Apr 2010 08:44:29 -0500 To: Struts Users Mailing List Subject: Re: Login redirection Hi Mark, i don't know the details, but i

Login redirection

2010-04-27 Thread Mark Hansen
I am working on a Struts 1.x application that has a number of login pages L1, L2, L3, ... If a non-authenticated user requests a page - P - that requires authentication, the user will be redirected to one of these login pages L1, L2, L3, ... - depending on the context. Once authenticated, he p

Struts 2 Tags / Freemarker performance

2010-01-14 Thread Mark Greene
I've been evaluating struts 2.1.8.1 and have found some troubling performance bottlenecks relating to the struts tag and freemarker. I have a JSP that has 7 struts2 tags in it. (A simple signup form) I noticed in my load testing that the throughput of this page was 4-5 times slower under load (100

Re: Simple two button form - Struts 1.2.x

2009-12-10 Thread Mark Shifman
Use EventDispatchAction or just use javascript to go to the action you want when the button is pushed. mas davargas123 wrote: I am putting in page that loads at the beginning of my application, and all it has two buttons that should end up forwarding to do one of two different actions. How can I

Re: Struts HTML taglib vs. Standard HTML tags

2009-12-04 Thread Mark Shifman
Come on, at least tell us the strut version. I happen to be using struts 1.3.10 and if you look in /META-INF/tld/struts-html.tld of the struts-taglib-1.3.10 jar you will find http://struts.apache.org/tags-html so i use <%@ taglib uri="http://struts.apache.org/tags-html"; prefix="html"%> mas dav

Re: Taglib to refence html in Struts 1.3.8

2009-12-01 Thread Mark Shifman
<%@ taglib uri="http://struts.apache.org/tags-html"; prefix="html"%> seems to work for me bladu wrote: > Hi, > > I would be very grateful If somebody could say to me what is the Struts > taglib equivalent in Struts 1.3.8 to the taglib below allocated in Struts > 1.2 > > <%@ taglib uri="http:

Re: [ANN] Struts 2.1.8.1 Release

2009-11-18 Thread Mark Bargen
HTTP proxy server, and my slipshod analysis sent you off doing extra work. Hate it when I do that ... Mark -- View this message in context: http://old.nabble.com/-ANN--Struts-2.1.8.1-Release-tp26377172p26408415.html Sent from the Struts - User mailing

Re: [ANN] Struts 2.1.8.1 Release

2009-11-17 Thread Mark Bargen
present for the two plugins. Eagerly awaiting ... Mark -- View this message in context: http://old.nabble.com/-ANN--Struts-2.1.8.1-Release-tp26377172p26391547.html Sent from the Struts - User mailing list archive at Nabble.com.

Re: [DispatchAction] no handler parameter

2009-11-01 Thread Mark Shifman
I have also gotten this error and it was not obvious how it happened since the appropriate parameters were where they were supposed to be. You need to think of weird causes like double clicking a link that contains parameters or some how the form is submitted twice, the second time the "command"

Re: read the source code

2009-10-29 Thread mark lu
I want to write the book,however,maybe you'll be disappointed! because i can spend very little time on reading the source code. in the work ,i don't use the struts,so... Thank you for your encouragement!! Wendy Smoak-3 wrote: > > On Wed, Oct 28, 2009 at 6:50 PM, mark lu wro

Re: read the source code

2009-10-28 Thread mark lu
n and have been using it for internal dependency injection (both in > Xwork and in Struts 2). > > As you get further along, feel free to post questions on the > d...@struts.apache.org list. > > -Wes > > On Wed, Oct 28, 2009 at 3:09 AM, mark lu wrote: >> >> I want

read the source code

2009-10-28 Thread mark lu
I want to read struts2's source code,but i found it's too complicated. so,i want to find a book that analysis the soure code. who can give me some suggestions?recommend some books to me? thanks very much!! -- View this message in context: http://www.nabble.com/read-the-source-code-tp26090230p260

Re: [OT] RE: How do you refactor JSP, HTML, JavaScript, CSS, etc?

2009-09-18 Thread Mark McLaren
HTML Validator (tidies up HTML) FireBug (debug CSS layouts and *MUCH* more) In respect of re-factoring JSP it is mostly about avoiding scriptlets! HTH Mark Alex Siman wrote: http://www.eclipse.org/articles/article.php?file=Article-Unleashing-the-Power-of-Refactoring/index.html OK, this article is

Re: httpheader result type

2009-09-03 Thread Mark Rollins
ritten the validation will be largely superfluous as the request data should always(?) be right, so I think I can probably get away with a status code (404?) with no message, and just use logging to record the nature of problems. Thanks again for your help. Mark. newton.dave wrote: > > FWI

Re: httpheader result type

2009-09-02 Thread Mark Rollins
Thanks Wes. The 'documentation' (it's very limited) gives the impression that you can specify an error message when using the errorMessage parameter with the error parameter, and even being able to pick up a message from the value stack using an OGNL expression. Having looked at what is returne

httpheader result type

2009-09-02 Thread Mark Rollins
Hi, I need to be able to return a status and message to users of a particular URL. If I use... 404 I can successfully return a 404 status, but with no message. If I use... 404 Some details about the error go here, or an OGNL expression The page returned to the browser has no co

Re: struts1 - html:hidden tag

2009-03-05 Thread Mark Shifman
(2) >>> >>> >>> When I load value from popup windows, it seems that default value will >>> be setup on (1); while (2) always return value="". -- Mark Shifman MD. Ph.D. Yale Center for Medical Informatics Phone (203)737-5219 mark.shi

Re: struts1 - html:hidden tag

2009-03-05 Thread Mark Shifman
-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > -- Mark Shifman MD. Ph.D. Yale Center for Medical Informatics Phone (203)737-5219 mark.shif...@yale.edu - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: Simple Question?

2008-12-16 Thread Mark Rollins
Thanks Dave, that's sorted it. I've worked with many technologies over many years, but the quirks of OGNL with Struts2 seem to defy reason for me. Totally frustrating! But thanks again for your help. >The answer is that OGNL interprets a single character between single quotes as a character, n

Simple Question?

2008-12-16 Thread Mark Rollins
I know this should be obvious. Perhaps I'm just too thick to use Struts2! I have an action class with a private String editAction and corresponding public getter/setter. I know the value for this String is "I". In the view I need to test the value of this field using , to see if it is "I" I've

Re: html:select for a string list

2008-12-10 Thread Mark Shifman
have not value and label > i need just to recuperate the value and set the list of string > what must i add as attribute to html:optionCollection, > here is html:select > > > > > Regards > Elyes. > -- Mark Shifman MD. Ph.D. Yale Center for Medical Infor

Re: tag causing could not be resolved as a collection/array/map/enumeration/iterator type error

2008-11-30 Thread Mark Greene
on to this article? I have an account on the wiki but I don't have any real permissions. Thanks, Mark On Thu, Nov 27, 2008 at 5:46 PM, Mark Greene <[EMAIL PROTECTED]> wrote: > AhI never would of thought of that. I was under the impression that > submitting the option valu

Re: tag causing could not be resolved as a collection/array/map/enumeration/iterator type error

2008-11-27 Thread Mark Greene
> > Dave > > --- On Thu, 11/27/08, Mark Greene <[EMAIL PROTECTED]> wrote: > > > From: Mark Greene <[EMAIL PROTECTED]> > > Subject: tag causing could not be resolved as a > collection/array/map/enumeration/iterator type error > > To: user@str

tag causing could not be resolved as a collection/array/map/enumeration/iterator type error

2008-11-27 Thread Mark Greene
Hi All, After a couple of days I can't seem to figure this validation problem out. I have a basic JSP form (create.jsp) with a textfield (with validation) and a select list (WITHOUT validation). When I submit the form to trigger a validation failure on purpose, the text field is validated correctl

XSLT Translation

2008-11-02 Thread Mark Thomson
It looks ok so I can't understand what the issue is??? Does this mean i somehow have to embed the Product.xsl in the resulting page?? Any help appreciated Regards Mark

Re: How to capture this event

2008-10-06 Thread Mark
Oh ok. That's beyond my knowledge. Hopefully someone else on the list can help you. Mark On 07/10/2008, at 12:27 PM, Tracy12 wrote: Mark, The Issue is eventhough the preload=false, each time you click the div the content will be loaded, What I want is basically to capture the

Re: Struts 2: Tags

2008-10-06 Thread Mark
Check out: http://struts.apache.org/2.1.2/docs/tag-developers-guide.html Mark On 07/10/2008, at 3:49 AM, Mickey Kumra wrote: Hi I wish to develop an application from scratch, using Struts 2. However, I don't find the tag documentation available on the Apache website to be comprehe

Re: How to capture this event

2008-10-05 Thread Mark
While I haven't used it yet, my understanding is that if you set preload=false, the DIV won't load until the user clicks the tab. Then the content will load. However, I've also found this issue: https://issues.apache.org/struts/browse/WW-1860 which you might be running i

Re: How to capture this event

2008-10-05 Thread Mark
What have you set for the "preload" value of the DIV tag? I believe if you set this to false, it will behave the way you want. Check out: http://struts.apache.org/2.1.2/docs/dojo-div.html Mark On 06/10/2008, at 12:22 PM, tom tom wrote: Hi, We are using struts 2.0.6 with AJAX d

Re: Unit Testing Struts 2

2008-09-10 Thread Mark
I had a look at a few in the 2.0.11.1 source tree. I couldn't understand how they were structured. I haven't looked at the 2.1.3 source tree. Is there a particular one you would suggest? Mark On 11/09/2008, at 3:40 PM, Nils-Helge Garli Hegvik wrote: Have you looked at the te

Unit Testing Struts 2

2008-09-10 Thread Mark
7;s. Any help or resources are greatly appreciated! Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: NullPointerException with Validation Messages

2008-09-09 Thread Mark
GREAT! That fixed it! I'll update the Jira. Thanks for your help!!! Mark On 10/09/2008, at 10:50 AM, Dave Newton wrote: --- On Tue, 9/9/08, Mark wrote: Ok, that makes sense. How would I set that up? Right now, I have an index.jsp with the following: . This is so that someone acce

Re: NullPointerException with Validation Messages

2008-09-09 Thread Mark
Ok, that makes sense. How would I set that up? Right now, I have an index.jsp with the following: . This is so that someone accessing the site via http://localhost/ will be presented with the login page. Mark On 10/09/2008, at 10:20 AM, Dave Newton wrote: Ah; there we go. The attached

Re: NullPointerException with Validation Messages

2008-09-09 Thread Mark
Yes, all my actions are extending com.opensymphony.xwork2.ActionSupport. Check the Jira for the full source to LoginAction.java. No, I'm not using an tag. Should I be? Mark On 10/09/2008, at 9:45 AM, Dave Newton wrote: You're extending ActionSupport, right? I'm al

Re: NullPointerException with Validation Messages

2008-09-09 Thread Mark
(not a NPE) stating that I'm looking for a message key that is null. I don't have the code currently setup to reproduce this problem, but I can if you'd like to see the exact warning message. I think they are related because they both are producing a null message key. Let m

Re: NullPointerException with Validation Messages

2008-09-09 Thread Mark
I can zip up my complete maven directory and post it in the Jira. Is that an appropriate place for it? Or should I email it to you directly? Mark On 10/09/2008, at 8:45 AM, Dave Newton wrote: --- On Tue, 9/9/08, Mark wrote: Thank you for the suggestion. Yes, I have and it still produces

Re: NullPointerException with Validation Messages

2008-09-09 Thread Mark
Thank you for the suggestion. Yes, I have and it still produces the NullPointerException. Mark On 09/09/2008, at 10:45 PM, Pascal Lalonde wrote: Have you tried this ? - Pascal Mark wrote: Hi all

Re: NullPointerException with Validation Messages

2008-09-08 Thread Mark
Sorry, what does AFAICT mean? :-) I'm running Tomcat 6.0.16. No, it doesn't work with default stack. Any other ideas? Mark On 09/09/2008, at 12:13 PM, Dave Newton wrote: --- On Mon, 9/8/08, Mark wrote: I'm using Struts 2 validation and I'm getting a NullPointerExcept

NullPointerException with Validation Messages

2008-09-08 Thread Mark
fixed in version 2.1.3. I've updated to the latest SNAPSHOT of 2.1.3 and I'm still getting the error. The problem seems to be with the validation. If I change it to it works. Can someone confirm there is not a problem with my setup? Thanks in advance, Mark My directory struc

B2B Applications Based on Struts

2008-09-03 Thread Mark Hansen
I am looking for examples of B2B applications built on top of Struts. Can anyone point me in the right direction? -- Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Avoid having an action property called id

2008-06-25 Thread Mark Menard
Hi Jonny, I have id properties on actions all over my application. I also have several actions that do a redirect to id. I think there's something wrong with either your environment or your action that's causing the issue. What exactly happens when it doesn't work? Mark The gu

Images not showing up when saved(Struts 2 Tomcat, Eclipse)

2008-05-20 Thread Mark Lester
. The problem is that the image doesn't show as created unless I refresh the eclipse navigator otherwise it shows a 404 when I try and access the file. The code is running in tomcat 6.0.13 Regards, Mark

"No getter method for property foo of bean bar" --really?

2008-02-23 Thread Mark Francillon
...again brings the "No getter method..." error. 6. Same behavior if I move the app to OS X. This is all amusing, of course, but I'd like to move on to other things. Does it ring any bells? Any suggestions about other things I might try looking at? Thanks, Mark --

Re: Please help me in Coding

2008-01-31 Thread Mark McLaren
You could try: <http://sourceforge.net/projects/csv4j/> I'm sure there are many such CSV related utilities out there. Mark On Jan 31, 2008 9:32 AM, Antonio Petrelli <[EMAIL PROTECTED]> wrote: > 2008/1/31, ihaveareason <[EMAIL PROTECTED]>: > > > > >

Changing the location of the ajax validation error

2008-01-24 Thread Mark Levitsky
the location (lets say to the right of the textfield) Do you know how it can be done? Regards, Mark Levitsky Amdocs Self Service +972-9-7960880(desk) This message and the information contained herein is proprietary and confidential and subject to the Amdocs policy statement, you

RE: dojo version in struts 2

2008-01-23 Thread Mark Levitsky
Can I work some how with struts 2 and with dojo 1.0 together (instead the 0.4 version) If yes how can I configure to use this dojo version? And another question do you know in what version of struts the dojo will be above 1.0 Regards, Mark Levitsky Amdocs Self Service +972-9-7960880(desk

dojo version in struts 2

2008-01-23 Thread Mark Levitsky
Hi, Does any one knows when is struts 2.1 should be released and do you know with what dojo version it will be released? Regards, Mark Levitsky Amdocs Self Service +972-9-7960880(desk) This message and the information contained herein is proprietary and confidential and

Re: [Somewhat OT] RSS lib for Struts app?

2008-01-22 Thread Mark McLaren
libs. The most recent ROME project activity centres around ROME Propono which supports the Atom Publishing Protocol. Incidentally, ROME is also an important component of the Sun Web Developer Pack. So there is lots of evidence to suggest that the ROME project is still alive and well. HTH Mark On

Re: [ANN] Connext Graphs

2008-01-04 Thread Mark P Ashworth
+Graph+Plugin Regards, Mark P Ashworth http://www.connext.co.za -- View this message in context: http://www.nabble.com/-ANN--Connext-Graphs-tp11222429p14627151.html Sent from the Struts - User mailing list archive at Nabble.com

How to use modules without *.do servlet-mapping in Struts 1.2?

2007-12-13 Thread Mark Piper
n ModuleUtils.getModuleName(request,context) A default url-pattern of "/" works for getting the correct action, but makes it so none of my static content can be served. Anyone got a fix? (I'm using Struts 1.2.4 and Tomcat 5.5.23) Thanks! Mark Piper -

Re: Configuring Struts to use UTF-8 character encoding

2007-12-06 Thread Mark McLaren
To muddy the waters a little further! If for some reason (e.g. you are writing a JSR168 portlet) you cannot use a servlet filters to force UTF-8 encoding, you can alternatively use a ServletRequestListener. HTH Mark Adam Gordon wrote: So, for posterity, we finally got this working. After

RE: [s2] Prepare and Parameter Interceptors

2007-11-20 Thread Mark Steyn
action's setters to replace the objects created by Struts. It seems that part caused the problem. Rather than replacing objects, I copied back the properties instead and it works. Mark -Original Message- From: Gary Affonso [mailto:[EMAIL PROTECTED] Sent: 19 November 2007 16:34 To: S

[s2] Prepare and Parameter Interceptors

2007-11-19 Thread Mark Steyn
he objects created in step 2. The intercept stack for the my is: true true Am I overlooking something, or is there something else I need to do? Thanks, Mark

Creating and setting properties of collections

2007-11-09 Thread Mark Steyn
asy means of doing this. Are type converters the best way forward, or is there a better alternative? Any assistance will be gratefully appreciated. Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [S2] Head parseContent in Struts 2.1.0

2007-10-29 Thread Mark P Ashworth
verflow. My environment --- Latest from struts 2 trunk Sitemesh Plugin Dojo Plugin Freemarker Regards, Mark P Ashworth Jeromy Evans - Blue Sky Minds wrote: > > Hi Mark, > No such problem encountered on > https://svn.apache.org/repos/asf/struts/struts2/trunk @ rev 588199, last

[S2] Datetimepicker in Struts 2.1.0

2007-10-25 Thread Mark P Ashworth
Good Day, I am trying to use the 2.1.0 build of the dojo plug-in and I am getting an InvalidReferenceException. The issue https://issues.apache.org/struts/browse/WW-1757 helped to resolve the issue on the 2.0.9 build but now even the <@s.dateTimePicker /> or <@s.datetimepicker /> does not seem to

[S2] Head parseContent in Struts 2.1.0

2007-10-25 Thread Mark P Ashworth
java:93) at freemarker.core.DollarVariable.accept(DollarVariable.java:76) Regards, Mark P Ashworth -- View this message in context: http://www.nabble.com/-S2--Head-parseContent-in-Struts-2.1.0-tf4694985.html#a13420317 Sent from the Struts - User mailing list ar

Re: The breadcrumbs have been served!

2007-10-14 Thread Mark McLaren
eature requests - do I qualify for the 3 for $250 yet?). Mark Adam Hardy wrote: The motive website article is almost comprehensive, but they miss 2 points about breadcrumb history menu: firstly it's not redundant just because of the browser's history functionality - when you go bac

Re: The breadcrumbs have been served!

2007-10-14 Thread Mark McLaren
alistapart.com/articles/taminglists/> I was also thinking that a homeward path breadcrumb navigation implementation would be a good demonstrator for the S2 XSLTResult type. HTH Mark [EMAIL PROTECTED] wrote: Greetings -- I finished the S2 breadcrumb plug-in and you are welcome to it and t

Re: Mapping a jsp to an action

2007-09-29 Thread Mark McLaren
ultiple parameters that we require. Hence my suggestion that it would be easier to use URL mapping (e.g. mod_rewrite or similar). I hope this clears things up for you. Mark Zarar Siddiqi wrote: Am I crazy or is Jennie using Struts 1.x and Mark just proposed a solution for 2.x? Jennie, your

Re: Mapping a jsp to an action

2007-09-28 Thread Mark McLaren
jsp"?number=" + number + "&name=" + name + "&" + queryString; RequestDispatcher rd; rd = req.getRequestDispatcher(destination); rd.forward(req, resp); } } Of course, best practice states you should never go directly to a

[s2] Odd taglib behaviour with single character comparisons

2007-09-19 Thread Mark McLaren
x27;m evaluating against a single character. I'm guessing it is some kind of char to String comparison problem. It would feel very odd if I had to start using single quotes around my taglib attributes (I usually need double quotes for XML/XHTML attributes). Thanks, Mark -- "Parad

Re: JAAS struts 2 Tutorial?

2007-09-18 Thread Mark McLaren
ll require a slightly different mechanism for portlets. Mark On 9/17/07, Eugen Stoianovici <[EMAIL PROTECTED]> wrote: > I would like a tutorial on integrating jaas in struts2 too. Or rather > than a tutorial, i would like to see some working code. I've done a lot > of reading (i&

Re: JAAS struts 2 Tutorial?

2007-09-12 Thread Mark McLaren
be easy enough to extend the securityManager to access role information. Of course you can always access your JAAS login module via your Spring bean a later date if you so choose. HTH Mark On 9/12/07, Muhammad Momin Rashid <[EMAIL PROTECTED]> wrote: > Hello Mark, > > Thanks fo

Re: JAAS struts 2 Tutorial?

2007-09-12 Thread Mark McLaren
ere. <http://static.springframework.org/spring/docs/2.0.x/reference/orm.html#orm-hibernate> <http://struts.apache.org/2.0.9/docs/spring-plugin.html> Alternatively here is an example of writing a Hibernate Aware Struts 2 Action. <http://www.hibernate.org/51.html> HTH Mark On 9/12/07, Muhammad M

Re: Is it hard to migrate from struts 1.2.x to 1.3.x ??

2007-09-05 Thread Mark McLaren
what Maven can offer). http://maven.apache.org/ant-tasks.html For applications of this nature Maven will make future Jar upgrades easier. HTH Mark On 9/5/07, Mark Shifman <[EMAIL PROTECTED]> wrote: > Not particularly. There is a nice discussion on the struts wiki page: > http://

Re: Is it hard to migrate from struts 1.2.x to 1.3.x ??

2007-09-05 Thread Mark Shifman
the right car based on your needs. Check out Yahoo! Autos new Car Finder tool. -- Mark Shifman MD. Ph.D. Yale Center for Medical Informatics Phone (203)737-5219 [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED

[S2] XSL Result: passing XSLT parameters and XSLT 2.0 questions

2007-09-05 Thread Mark McLaren
would it be easy to develop an XSLTResult that used Saxon (or similar)? Thanks, Mark -- "Paradoxically, the more time saving abstractions you are using the more you actually have to know." - Simon Willison - To unsu

Re: Tiny error on Struts 2 download page

2007-09-05 Thread Mark McLaren
I had not released this was the draft documentation. This was the first page returned resulting from a Google Search for "Struts 2". Mark On 9/5/07, Antonio Petrelli <[EMAIL PROTECTED]> wrote: > 2007/9/5, Mark McLaren <[EMAIL PROTECTED]>: > > > > I'

Tiny error on Struts 2 download page

2007-09-05 Thread Mark McLaren
obably say "2.0.9" and link to "#struts209". Cheers, Mark -- "Paradoxically, the more time saving abstractions you are using the more you actually have to know." - Simon Willison - To unsubscribe, e-mai

Re: S2 portlet ajaxExample.jsp fix (?)

2007-09-04 Thread Mark McLaren
id at page load. This would allow each instance of otherwise identical HTML to be uniquely addressed through the DOM. Possibly also, if the AJAX JS was OO then the various running instances wouldn't interfere with each other. Mark On 9/4/07, Nils-Helge Garli <[EMAIL PROTECTED]> wrote: &g

S2 portlet ajaxExample.jsp fix (?)

2007-09-04 Thread Mark McLaren
e there other AJAX/portlet issues I should be aware of? http://svn.apache.org/viewvc/struts/struts2/trunk/apps/portlet/src/main/webapp/WEB-INF/view/ HTH Mark # <%@ taglib prefix="s" uri="/struts-tags" %> "> This is a tabbed

[S2] ParametersInterceptor & nested indexed collections

2007-08-31 Thread Mark Bargen
, and clearing it: Map mapOfSetMaps = (Map) ActionContext.getContext().getContextMap() .get("set.map.key"); if (mapOfSetMaps != null) mapOfSetMaps.clear(); Again, thank you mucho to anyone who stuck with me this far. Mark -- View this message in context: http://www.nabb

Re: Session problem

2007-08-28 Thread Mark Rollins
Re Spring IOC, I agree. The back end of the application operates using IOC, I just haven't got round to finding out what I need to do to Struts to get it to inject into an Action class, yet. Anyway, I have got to the bottom of the problem which was that despite earlier assurances, I hadn't config

Re: Session problem

2007-08-27 Thread Mark Rollins
I'm actually using two different browsers, IE and Firefox, as I thought this would guarantee me two separate sessions. How are you starting a new browser from this *same* machine? If you are pressing Ctrl-N New Window, this is your problem! This will appear to be two browsers, when actually i

RE: Session problem

2007-08-26 Thread Mark Rollins
You are correct - I decided to refactor as I was pasting!! Sorry. Rod Bollinger wrote: > > This may not be the only issue but I do see a typo in setSession()... > > It should be: this.session = session; instead of this.session = map; > > -Rod > > > -Origina

Re: Session problem

2007-08-25 Thread Mark Rollins
This is my first Struts app, so it's quite simplistic. What I'm trying to achieve is to lock down certain precesses so that only one user can run them at a time. I intended to do this by having an application variable holding the User object for the user currently running the process and examinin

Re: [ANN] Connext Graphs

2007-08-19 Thread Mark P Ashworth
Good Day, Thank you for your suggestions, I will improve the library with suggestions from the community. The project is pending approval on java.net and as soon as it is approved I will let those that are interested know. Thank you for your comments. Regards, Mark P Ashworth Don Brown

Re: [ANN] Connext Graphs

2007-08-19 Thread Mark P Ashworth
or comments please let me know. Regards, Mark P Ashworth [EMAIL PROTECTED] http://www.connext.co.za Mark P Ashworth wrote: > > Good Day, > > The first beta release of Connext Graphs is ready. This release provides a > Struts 2 plug-in so that pages can use the Open Flash Cha

[ANN] Groovy Works 0.1 - Struts Groovy Spring Plugin

2007-07-30 Thread Mark Menard
e Project: http://code.google.com/p/groovyworks/ Google Group: http://groups.google.com/group/groovyworks Take care, Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [S2] AJAX with Sitemesh

2007-07-30 Thread Mark Menard
hods that handle the Ajax stuff in the same class file so everything is nicely contained and I use the method argument to the request to call the specific method I want. Take care, Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Redirecting to the referring action

2007-07-23 Thread Mark P Ashworth
-action type in the struts.xml for every possible redirect possible. Is there not a more dynamic mechanism to redirect to the referrer. Regards, Mark P Ashworth -- View this message in context: http://www.nabble.com/Redirecting-to-the-referring-action-tf4134012.html#a11757400 Sent from the

Re: [S2] FCKeditor

2007-07-20 Thread Mark P Ashworth
take quite sometime to provide a complete Java / Struts implemention for. I believe they have a JSP tag library that does some of the integration. I apologies that I cannot be of more help at this time. Regards, Mark P Ashworth http://www.connext.co.za florinmarcus wrote: > > Hi Mark, >

Re: [S2] FreeMarker sample application

2007-07-11 Thread Mark P Ashworth
s. tags All was happy after that. Regards, Mark P Ashworth Don Brown wrote: > > I believe our Struts 2 Starter archetype uses Freemarker. See the > archetype section in our docs. > > Don > > On 7/5/07, Mark P Ashworth <[EMAIL PROTECTED]> wrote: >> >>

[S2] FreeMarker sample application

2007-07-04 Thread Mark P Ashworth
Good Day, I have been using FreeMarker for the S2 plug-in development and some other projects. I find the FTL language more expressive than JSP and I was wondering if there is a sample S2 application that makes use of FTL for the views. Regards, Mark P Ashworth http://www.connext.co.za -- View

Re: [S2] FCKeditor

2007-07-03 Thread Mark P Ashworth
ct.description" /> The FCKEditorTag extends the TextareaTag, so what ever parameters you can send to a textarea you can do with the FCKEditorTag. Currently the only problem is loading the fckstyles.xml and fcktemplate.xml from the plug-in jar but I am sure I'll get that working shortly. Re

[S2] FCKeditor

2007-07-03 Thread Mark P Ashworth
-Graph plug-in. Regards, Mark P Ashworth http://ww.connext.co.za -- View this message in context: http://www.nabble.com/-S2--FCKeditor-tf4017623.html#a11410028 Sent from the Struts - User mailing list archive at Nabble.com

Re: Struts 2 Login example using a session

2007-06-27 Thread Mark Menard
authenticated users only and > put the interceptor into that packages interceptor stack. Yea, that's the idea: http://www.vitarara.org/cms/struts_2_cookbook/creating_a_login_interceptor Mark - To unsubscribe, e-mail:

Re: [S2] Template testing

2007-06-27 Thread Mark P Ashworth
creates the theme once. Just wondered how the Struts 2 developers were doing it. Regards, Mark P Ashworth Laurie Harper wrote: > > Mark P Ashworth wrote: >> Is there a way to test how a tag like <form><textfield >> /></form> will be processed by a custom theme.

Re: BigInteger and BigDecimal Properties Issue

2007-06-26 Thread Mark Menard
On 6/25/07 7:19 PM, "Mark Menard" <[EMAIL PROTECTED]> wrote: > I have an action with a property of type BigDecimal, that is initialized, so > it has a value: > > Public class myAction { > BigDecimal myBigDecimal = new BigDecimal ("1.1"); > >

[S2] Template testing

2007-06-25 Thread Mark P Ashworth
Good Day, Is there a way to test how a tag like <form><textfield /></form> will be processed by a custom theme. I would like to get all of the theme processing done during development instead of integration time with the actual pages. Regards, Mark P Ashworth http://www.conn

BigInteger and BigDecimal Properties Issue

2007-06-25 Thread Mark Menard
ut is blank, should "null" be set on the property? Looking at ognl.OgnlOps.doubleValue() for a 0 length string it should be returning 0.0, why is it null? Opinion: I think that if a field is submitted as the "" String from the browser the field should be set nul

Re: [S2] Any example of using ScopeInterceptor to implement a wizard

2007-06-21 Thread Mark Menard
ample of using > ScopeInterceptor. Even this interceptor is not in the default stack, > so I don't know if it is widely used anyway. > > Any of you know of any examples? This doesn't use the ScopeInterceptor, but could be used to do a wizard. http://www.vitarar

[ANN] Connext Graphs

2007-06-20 Thread Mark P Ashworth
and sample web application is available from my website at http://www.connext.co.za/index.html The library is license under Apache 2. Regards, Mark P Ashworth http://www.connext.co.za -- View this message in context: http://www.nabble.com/-ANN--Connext-Graphs-tf3955090.html#a11222429 Sent from the

Re: [S2] FreeMarker template and custom tag

2007-06-20 Thread Mark P Ashworth
f(dataUrl != null) addParameter("url", findString(dataUrl)); if(dataAction != null) addParameter("action", findString(dataAction)); if(bgColor != null) addParameter("bgcolor", findString(bgColor)); } Regards, Mark P Ashworth http://www.connext.co.za Ma

[S2] FreeMarker template and custom tag

2007-06-20 Thread Mark P Ashworth
g has those parameters and my tld has those parameters. What do I need to do to get it to work? Regards, Mark P Ashworth http://www.connext.co.za -- View this message in context: http://www.nabble.com/-S2--FreeMarker-template-and-custom-tag-tf3952011.html#a11212172 Sent from the Struts - User m

Re: [ANN] YUI plugin

2007-06-19 Thread Mark P Ashworth
Good Day, Thanks for the great looking datepicker control. Is it possible to post the source code for the Java classes because I am trying to create my own plugin for some the Open Flash Chart component and would like to do it in a similar way to your YUI plug-in. Thank you in advance. Mark P

  1   2   3   4   5   6   7   8   >