[OT] RE: Using Strut in Desktop Application

2011-04-20 Thread Dave Newton
ail. > > > > > Keenly waiting for your reply. > > Regards, > > Alok > > > > > From: Dave Newton-6 [via Struts] > [mailto:ml-node+4315353-1426382771-199...@n5.nabble.com] > > Sent: Wednesday, April 20, 2011 3:16 PM > To: Singh, Alok (Cognizant) > Subje

Re: Struts @Inject vs. Spring @Autowire

2011-04-20 Thread Dave Newton
If you're using Spring as anything other than a DI framework, yes. If not, depends. Dave On Apr 20, 2011 8:55 AM, "M. Rakowski" wrote:

Re: Struts @Inject vs. Spring @Autowire

2011-04-20 Thread Dave Newton
He's saying that he prefers @Inject since it's a standard; there are multiple implementations of the annotation. Dave On Wed, Apr 20, 2011 at 9:49 AM, M. Rakowski wrote: > >> @Inject is the JSR-330 standard, right? > > I meant com.opensymphony.xwork2.inject.Inject. >

Re: [S1] Curly braces are unescapable in MessageResources

2011-04-20 Thread Dave Newton
racters except single quotes and left > curly > brackets. Thus, a string that should result in the formatted message "'{0}'" > can be > written as "'''{'0}''" or "'''{0}'''". I'd try s

Re: Form xml validation doesn't work

2011-04-22 Thread Dave Newton
It'd be easier if you'd post a minimal, non-working example--it'll help us see what's wrong. I'm begging you to remove the huge image at the bottom of your emails. Dave On Fri, Apr 22, 2011 at 8:44 AM, kiala davy wrote: > Hi, > > I am learning Struts and work

Re: streaming plain text, json, xml back to the user, IllegalStateException

2011-04-22 Thread Dave Newton
My first guess would be to return null so you're not rendering a jsp after the output stream is closed. Dave On Apr 22, 2011 11:49 PM, "Jake Vang" wrote: > what i did to get rid of this message was to add the following line > before i do anything. > > getSerlvetReque

Re: How to implement wordpress like themes?

2011-04-25 Thread Dave Newton
Use CSS and include a different one for each theme. See the CSS Zen garden site for examples of what can be done with pure CSS. Dave On Apr 25, 2011 3:29 AM, "rocklee" wrote: > I want to implement wordpress like themes, one application has different > themes, the template in

[OT] Re: How to implement wordpress like themes?

2011-04-25 Thread Dave Newton
Same answer as the first time, although you might want to consider abstracting themes at a higher level instead of just hiding sections via CSS. But this is pretty off-topic. d On Apr 25, 2011 8:05 AM, "rocklee" wrote: > Hi Dave, > > Thanks for your reply. Different theme

Re: SEVERE: Exception starting filter struts2

2011-04-26 Thread Dave Newton
Just because ant or an ide sees a class doesn't mean the web server does when you're deploying or starting up. Almost certainly a classpath issue with the server, almost certainly not Struts, just like the exception indicates. Dave On Apr 26, 2011 8:52 AM, "alex zaim"

Re: SEVERE: Exception starting filter struts2

2011-04-26 Thread Dave Newton
On Apr 26, 2011 10:40 AM, "alex zaim" wrote: > Thank you, can you please show me what line indicates that the error is specific to the server but not struts? > Caused by: java.lang.ClassNotFoundException: org.hibernate.Session Dave

Re: [S2] Getting error while running struts project

2011-04-26 Thread Dave Newton
On Tue, Apr 26, 2011 at 3:08 PM, Anjib Mulepati wrote: > com.opensymphony.xwork2.util.finder.ClassFinder What versions of S2/XW2/etc. are you deploying? Dave - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org

Re: Field Name Collision?

2011-04-26 Thread Dave Newton
Doubt you're doing anything wrong; I'd expect it's how OGNL does its lookup but haven't confirmed that. Dave On Tue, Apr 26, 2011 at 3:52 PM, Eric Lentz wrote: > - Struts 2.2.1 > - Tomcat 6.0 > - JDK 1.5.0_22 > - Code example of the problem: http://pastebin.c

Re: Field Name Collision?

2011-04-26 Thread Dave Newton
exactly as designed. > (*Chris*) > > On Tue, Apr 26, 2011 at 12:55 PM, Dave Newton wrote: > >> Doubt you're doing anything wrong; I'd expect it's how OGNL does its >> lookup but haven't confirmed that. >> >> Dave >> >> On Tue,

Re: Extending Template Error

2011-04-26 Thread Dave Newton
For the checkbox list try using collection notation for the checkbox names , square brackets with an index (list/array index). Dave On Apr 26, 2011 8:22 PM, "Zoran Avtarovski" wrote: > Hi guys, > > I'm having a couple of issues with my freemarker tempates. > > One

Re: directly send Jasper report to printer in WebApplication from local printer

2011-04-27 Thread Dave Newton
You need to stream / download the generated PDF. >  can u find me the solution for this its very very damn urgent for me http://www.coderanch.com/how-to/java/EaseUp Dave - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org

Re: How to make s:action run when validation fails?

2011-04-27 Thread Dave Newton
se is to populate a table that should be > shown with the form, even when validation fail) Personally, I think things like this are better handled through Preparable or similar mechanism. Dave - To unsubscribe, e-mail: user-un

Re: Overriding interceptor in stack

2011-04-28 Thread Dave Newton
Seems like it'd be easier and cleaner to change the service impl the interceptor uses rather than the interceptor itself. Dave On Apr 28, 2011 6:54 AM, "Miguel" wrote: > Today's question actually follows yesterday's suggestion by Dave of > using the prepar

Re: Struts 2: Does the Indexed List Example Work?

2011-04-29 Thread Dave Newton
What does the JSP look like? Dave On Fri, Apr 29, 2011 at 11:02 AM, Joe wrote: > private List beanList = new ArrayList(); - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: use

Re: Struts 2: Does the Indexed List Example Work?

2011-04-29 Thread Dave Newton
Try with square brackets first; see what happens. Dave On Fri, Apr 29, 2011 at 12:04 PM, Joe wrote: > > > On Apr 29, 2011, Dave Newton-6 wrote: >>What does the JSP look like? >>Dave > > Sorry, it is the same as the example with the exception of fixing a minor >

Re: Struts 2: Does the Indexed List Example Work?

2011-04-29 Thread Dave Newton
Yep. Sometimes I don't use enough words :) Dave On Fri, Apr 29, 2011 at 1:01 PM, Chris Pratt wrote: > Shouldn't that be: > > > > Is that what you meant Dave? >  (*Chris*) > > On Fri, Apr 29, 2011 at 9:07 AM, Dave Newton wrote: > >> Try with square b

Re: NPE in StrutsTestCase after enabling Tiles

2011-04-29 Thread Dave Newton
sn't been updated > since Struts 1.3 "StrutsTestCase" is a generic name. You're looking at an old, third-party StrutsTestCase on sourceforge; the one for Struts 2 is part of Struts 2. Dave - To unsubscribe, e-

Re: Struts 2: Does the Indexed List Example Work?

2011-04-29 Thread Dave Newton
Ah, older version of S2--yeah. Dave On Fri, Apr 29, 2011 at 1:57 PM, Chris Pratt wrote: > Oh, duh, I'm not sure why I didn't see it before.  You can either just use > %{id} and then you don't need the id="bean" on the s:iterate tag.  Or, you > can use %{#bean.i

Re: Struts 2: Does the Indexed List Example Work?

2011-04-29 Thread Dave Newton
n use %{#bean.id}. > > No joy.  If I use the tags like so: > >   > > > the page source looks like what I'd expect, but no values in the text fields: > id="prepTest_beanList(1)_name"/> > > > If I use the tags like so: > >   > > &g

Re: Re: Struts 2: Does the Indexed List Example Work?

2011-04-29 Thread Dave Newton
I didn't think you'd even need to have the type conversion properties file, but w/o generic accessors I'm not sure. The above JSP still has parens instead of square brackets. d. On Fri, Apr 29, 2011 at 4:07 PM, Joe wrote: > Dave Newton-6 wrote: > Try the square brackets a

Re: Problem with OGNL in FieldExpressionValidator

2011-04-29 Thread Dave Newton
(original posting) are different things; are you looking for the right variable? Dave - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: how to import existing project

2011-05-02 Thread Dave Newton
s primarily focused on Struts. > after importing the project if any error in project,how can it solved That'd kind of depend on the error. Dave - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional comma

Re: how to Generate Validation.xml file

2011-05-02 Thread Dave Newton
ought you were a beginner? Dave - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: help with MethodFailedException in ognl.OgnlRuntime.callAppropriateMethod

2011-05-02 Thread Dave Newton
Just out of curiosity, does it do the same thing if it's not named "id"? d. On Mon, May 2, 2011 at 8:32 PM, Justin Robbins wrote: > Anyone have any ideas on this one?  I'd be most grateful for some advice. > > Someone suggested I use a newer version of the ognl jar.  I was using > "ognl-3.0.jar"

Re: help with MethodFailedException in ognl.OgnlRuntime.callAppropriateMethod

2011-05-03 Thread Dave Newton
Does it throw the same error if its an Integer instead of an int? Dave On May 3, 2011 9:11 AM, "Justin Robbins" wrote: > Hi Eric, > > You are pointing out the error? Here's the thing, and hopefully you > can set me straight here, I acknowledge there is no > setTagI

Re: The 'best' (simplest) wasy to modify the dojo-plugin css and HTML files

2011-05-06 Thread Dave Newton
bly the last way I would like to go about it. Serve your own Dojo; see http://struts.apache.org/2.x/docs/performance-tuning.html and http://struts.apache.org/2.x/docs/static-content.html Dave - To unsubscribe, e-m

Re: where does

2011-05-09 Thread Dave Newton
Yeah, all the UI components extend a base that have a bunch of attributes, not all of which make sense for each UI components. Dave On Mon, May 9, 2011 at 10:19 AM, Maurizio Cucchiara wrote: > Maybe this docs was auto generated and action is inherited from another > component. > >

Re: Tag iterator and my object container

2011-05-10 Thread Dave Newton
Or just access the map and use the Map.Entry object map iterators supply. Dave On May 10, 2011 9:16 AM, "Steven Yang" wrote: > you need to implement the Iterator interface > > On Tue, May 10, 2011 at 4:14 PM, wrote: > >> Hi everybody, >> >> I hav

Re: string concatenation within an EL conditional

2011-05-10 Thread Dave Newton
ation doesn't belong in the mainline JSP. Does the one-liner version not work? Dave - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: create own annotation

2011-05-11 Thread Dave Newton
You'll want a custom validator, which you can configure with an annotation. Dave On May 11, 2011 4:39 AM, "Mohamed SIDI" wrote: > Hi all, > > I'm using struts2 annotation validation mecanisme, I have a problem with > credit card validation, I should develop

Re: Pagination using Struts library

2011-05-11 Thread Dave Newton
There isn't any; Struts is largely front-end neutral. Check the jQuery plugin, otherwise your best bet is to use any of the myriad pagination libs. DisplayTag is open-source, BTW. Dave On May 11, 2011 7:48 AM, "Pankaj Gupta" wrote: > Hi, > > But I am looking for Pagina

Re: Retrieving values for which there is no specific getter

2011-05-11 Thread Dave Newton
On Wed, May 11, 2011 at 3:03 PM, Mitch Claborn wrote: > Is there some kind of catch-all or generic method that is called to retrieve > the value for a form field if there is no specific getter? No, but you could use a map, or a collection if they're sequential as you

Re: Retrieving values for which there is no specific getter

2011-05-11 Thread Dave Newton
now? Dave - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: Tag iterator and my object container

2011-05-12 Thread Dave Newton
You could probably get away with just exposing the map. Dave On May 12, 2011 3:26 AM, "Chris Pratt" wrote: > You could possibly get away with just implementing Iterable instead of > Iterator. It's a much simpler interface to implement. > (*Chris*) > > On Thu, Ma

Re: Separate Java Bean Class for Getter/Setter method.

2011-05-12 Thread Dave Newton
, get one; I only see two references to parameters. * Is the URL being constructed properly? Check the HTML source. Dave - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: Pagination using Struts library

2011-05-13 Thread Dave Newton
On Fri, May 13, 2011 at 10:04 AM, Miguel wrote: > Speaking of which, Dave, have you used displaytag recently? I've never used it at all. > This is due to the fact that displaytag's export url is > Someaction.action?6578706f7274=1&d-16533-e=5 and 6578706f7274 doesn't

[OT] Re: Iterator tag and enumeration

2011-05-13 Thread Dave Newton
On Fri, May 13, 2011 at 10:17 AM, Biesbrock, Kevin wrote: > This peaked my interest [...] Piqued, piqued. Dave - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: use

Re: Chained actions and their properties in the value stack

2011-05-15 Thread Dave Newton
* tightly and rely on hidden magic to maintain state between them, beyond what's already provided? Dave - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: Chained actions and their properties in the value stack

2011-05-15 Thread Dave Newton
ific actions too. Without knowing more, to me it sounds more like C should rely on services instead of actions A & B, removing the strong dependency on the web layer that has been introduced by the chaining. Dave - To unsub

Re: struts2 & hibernate

2011-05-15 Thread Dave Newton
errors you're getting, it's difficult to help much more than that. Dave - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

[OT] Re: error JSTL

2011-05-16 Thread Dave Newton
On Mon, May 16, 2011 at 8:14 AM, Mohamed SIDI wrote: > Static attribute must be a String literal, its illegal to specify an > expression Did you try searching the web for an answer? Sometimes just copying an error message verbatim is enough.

Re: syntax for passing java contents inside jsp using struts 2.2.1

2011-05-18 Thread Dave Newton
otherwise... In any case, what are you trying to do? Dynamically select the list object's value element? Have you considered doing that somewhere besides the view layer, where it almost certainly doesn't belong? Dave --

Re: syntax for passing java contents inside jsp using struts 2.2.1

2011-05-19 Thread Dave Newton
need to use a scriptlet, or how that relates to the "listValue" attribute. Dave - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: Login Page

2011-05-19 Thread Dave Newton
meone else down the line. Dave On Thu, May 19, 2011 at 11:18 AM, Chris Pratt wrote: > You appear to be askin about astruts 1.x, since 2.x doesn't make use of > ActionForm's any longer.  So, in Struts 1.x, there would be one instance of > ActionServlet ans ten instances of ActionFo

Re: iterate cannot find bean

2011-05-19 Thread Dave Newton
's trying to use the toString() of the cache var as the name of the bean. Not an answer, but perhaps a clue. Dave - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: Unable to add value in

2011-05-19 Thread Dave Newton
Can't do that. Dave On Thu, May 19, 2011 at 12:04 PM, vivek mishra wrote: > Hi list, > > I am trying to add some value in but unable to do this. > > Here is my code: > "frmTxtAttachment"* style=*"width:300px"* > > ** value=*""* >

Re: iterate cannot find bean

2011-05-19 Thread Dave Newton
though and I thank you for it. Okay, but if you try to access a named bean that doesn't exist the message is the same, isn't it? I'm not saying the bean isn't there: I'm saying it's using the toString() of what

Re: Struts2 Validation w/ModelDriven

2011-05-19 Thread Dave Newton
Seems cleaner to use prepare, since that's what it's for. Dave - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: Struts2 Validation w/ModelDriven

2011-05-19 Thread Dave Newton
ull check so that subsequent calls to getModel() would just > return the model reference and not worry about creating or looking up > the model object.  (see below) Oh, guess you said all that already. Dave - To unsubsc

Re: Unable to add value in

2011-05-19 Thread Dave Newton
I'm not sure, maybe ActiveX, Flash, or an applet. I'd imagine that capability was deliberately excluded to avoid any possibility of security-related issues (but don't know if that's why). Dave On May 19, 2011 10:22 PM, "vivek mishra" wrote: > Thanks for the rep

[OT] Re: Unable to add value in

2011-05-19 Thread Dave Newton
Not really. You'd be better off checking out applet documentation/tutorials I think. Dave On May 19, 2011 11:31 PM, "vivek mishra" wrote: > Ok. How an applet can work in this situation .. can you please point me to > the trick..your help is much appreciated Dave.. > &

Re: Unable to add value in

2011-05-20 Thread Dave Newton
Why would the container matter? Isn't this a browser issue? Dave On May 20, 2011 12:31 AM, "Chris Pratt" wrote: > Depending on what container you're using, you might try: > > styleId="frmTxtAttachment" style="width:300px" > value="${

Re: What is getModel() for?

2011-05-20 Thread Dave Newton
On May 20, 2011 8:27 AM, "Eric Lentz" wrote: > So my question is this: What is getModel supposed to be used for? I > apparently was naively thinking it was for, well... "getting the model." What makes you believe that's incorrect? It's how the model gets pushed on the stack by the interceptor. Ho

[OT] RE: S2 TEst Best Practices

2011-05-20 Thread Dave Newton
On May 20, 2011 9:18 AM, "Miguel" wrote: > An interesting view on this from Gojko Adzic seems to almost suggest > these tests should be avoided: I read it more as "do them right". Dave

RE: S2 TEst Best Practices

2011-05-20 Thread Dave Newton
er state? Is the flow correct? Etc. Dave

RE: S2 TEst Best Practices

2011-05-20 Thread Dave Newton
On May 20, 2011 9:40 AM, "Ilya Kazakevich" wrote: > That is action logic, not view itself. Sure, unless there's a bug in the view layer, which is why it gets tested. Dave

Re: Unable to add value in

2011-05-20 Thread Dave Newton
two things: 1) Take ownership of the oversight (if it was really my oversight, otherwise whoever agreed to this functionality would need to fess up), and 2) give the client two choices: pick something else to do during the time it'd take to do the applet/etc., r delay something else so you have t

Re: What is getModel() for?

2011-05-20 Thread Dave Newton
g that? For wiki edit access rights you can fill out an Apache CLA (no link handy, sorry, but there's a page on the S2 wiki that discusses how to contribute). You can also add a comment to a wiki page, that may draw attention to a potential issue. Dave

Re: syntax for passing java contents inside jsp using struts 2.2.1

2011-05-21 Thread Dave Newton
Why not just put the lists in a map or collection? Dave On May 21, 2011 7:21 PM, "inception" wrote: > Hi... > > > I want to hold a unique names for the tags during its loop. > for example: > *

Re: Where does the stdout of Actions go?

2011-05-23 Thread Dave Newton
Why would you use S.o.p anyway? Why not just use the logging framework that's already there? Dave On Mon, May 23, 2011 at 10:09 AM, Pankaj Shrivastava wrote: > The catalina.out was getting the Struts messages through the logger. It was > just not getting the SOP. I blew away all th

RE: Iterating over a tree structure

2011-05-23 Thread Dave Newton
On May 23, 2011 5:13 PM, "Jason Pyeron" wrote: > To clarify, I am not looking to render a tree widget […] Still just a tree, though. I've also always done this with a tag that gets passed a node and recurses as needed. Dave

Re: Issue: Action redirect do not include parameter as complex objects?

2011-05-24 Thread Dave Newton
Not to mention that's not how URL parameters work--all you can send is strings. Dave On Tue, May 24, 2011 at 12:40 PM, Maurizio Cucchiara wrote: > Aside from you're using an old version of S2, I don't think your approach is > the best one. Why should you pass every paramet

Re: Issue: Action redirect do not include parameter as complex objects?

2011-05-24 Thread Dave Newton
Look at a browser request--the only thing you can send is strings. Period. > 4. Important. Can't we have a work around to forward the value stack to the > redirected action without using action chaining, but having somewhat similar > effect. It's called "sessi

Re: hi, I me a problem using Struts2 with Dojo, could any one kindly help me?

2011-05-25 Thread Dave Newton
I'd consider using Dojo without the tags, or perhaps wrapped in thin JSP-based tags. Dave On May 25, 2011 10:32 PM, "xiaxia347work" wrote:

Re: Action not working - HTTP 500

2011-05-26 Thread Dave Newton
So you're asking us how to instantiate a class of yours correctly? How would we know? Dave On May 26, 2011 6:10 AM, "Will Sumekar" wrote: > I have a service class inside my action class and I override the constructor > of my action class adding an instantiation of the servi

Re: Can we use spring-plugin to inject a HttpServletRequest onto a bean?

2011-05-27 Thread Dave Newton
ject it in to? Dave On Friday, May 27, 2011, Miguel wrote: > Hi, > > I'm using spring to inject dependencies in my application. > I added a module I had previously developed that had the code in some > class (request is a HttpServletRequest): > >

Re: Can we use spring-plugin to inject a HttpServletRequest onto a bean?

2011-05-27 Thread Dave Newton
s; fill the bean on login, etc. I guess I thought that Hibernate interceptors were normally singletons, but maybe not. Dave - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: When start tomcat6 always got "java.lang.NoClassDefFoundError: com/opensymphony/xwork2/util/finder/ClassFinder$InfoBuildingVisitor" Error!

2011-05-27 Thread Dave Newton
o and jQuery plugins simultaneously. Dave On Fri, May 27, 2011 at 10:03 AM, Emi Lu wrote: > Good morning, > > Thank you very much for your inputs! > > To figure out which jar is missing, I downloaded the xwork-core.jar and > complied it. > > The foll

Re: Struts2 resource property and dynamic population of action in jsp file

2011-05-27 Thread Dave Newton
d it allows some interesting games to be played.) In any case, which version of S2 are you using? Dave - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: When start tomcat6 always got "java.lang.NoClassDefFoundError: com/opensymphony/xwork2/util/finder/ClassFinder$InfoBuildingVisitor" Error!

2011-05-27 Thread Dave Newton
Is dojo deprecated? Has been for some time, don't recall for sure how long. Dave - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: How to allow to accept dynamic src image file?

2011-05-30 Thread Dave Newton
On Mon, May 30, 2011 at 11:30 AM, Emi Lu wrote: > But does not support src = "<%%>" Does normal EL work? Dave - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional comma

Re: Hash tags

2011-06-01 Thread Dave Newton
ork or not, but easy enough to find out. Dave - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: Hash tags

2011-06-01 Thread Dave Newton
f someone isn't going to volunteer to do it. Dave - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: Hash tags

2011-06-01 Thread Dave Newton
ts2-core/apidocs/org/apache/struts2/dispatcher/ServletRedirectResult.html > > Could you explain that statement? Probably "you show an example of it in the redirect result Javadocs and wiki docs, but not in the redirectActio

Re: Call execAndWait but got NullPointerException ?

2011-06-03 Thread Dave Newton
The "completeStack" should be whatever your normal stack is, I think. Dave On Fri, Jun 3, 2011 at 9:57 AM, Emi Lu wrote: > Good morning, > >> your interceptor stack doesn't appear to be complete. > > By adding the following codes into struts.xml, no exception an

[OT] Re: Call execAndWait but got NullPointerException ?

2011-06-03 Thread Dave Newton
On Fri, Jun 3, 2011 at 12:09 PM, Emi Lu wrote: >       > Ew. Use something nice. Dave - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: jsp caching problem

2011-06-13 Thread Dave Newton
I thought we allowed dynamic attributes now? Or was that just via patching? I don't remember things :( Dave On Mon, Jun 13, 2011 at 1:03 PM, Eric Lentz wrote: >> Are you currently using struts2? If so then open ur jsp and type > attribute "autocomplete" in textfield or

Re: jsp caching problem

2011-06-13 Thread Dave Newton
That's an IDE issue. On Mon, Jun 13, 2011 at 1:11 PM, Arpan wrote: > Even if I write in my jsp like this : > > > > It tells that "autocomplete" is Undefiend attribute. > > Thanks > > On Mon, Jun 13, 2011 at 10:33 PM, Eric Lentz wrote: > >> > Are you currently using struts2? If so then open ur j

Re: struts tags: How to use a list inside another list

2011-06-14 Thread Dave Newton
I don't see a "key" attribute anywhere, maybe that's why it doesn't work. In any case: to remove the default theme's (xhtml) formatting, you use the "simple" theme. You lose a lot of what Struts provides you, however. You may wish to explore a custom theme

Re: Struts2 and FTP (php) editors integration

2011-06-14 Thread Dave Newton
;t implement the FTP protocol out-of-the-box. How are you trying to do this? Dave - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: Struts2 and FTP (php) editors integration

2011-06-14 Thread Dave Newton
Oh, OP meant embedding an HTML component in an S2 I guess. Duh, never mind. Dave On Jun 14, 2011 12:07 PM, "Brian Thompson" wrote: > You sure that isn't the File FTP Protocol? :P > > Redundancy FTW! > > -Brian > > > On Tue, Jun 14, 2011 at 11:01 AM, Dav

Re: Struts2 and FTP (php) editors integration

2011-06-14 Thread Dave Newton
That doesn't really make any sense. You can play mapping games with urls, they'll never be in the "same app". And why would they need to be? Dave On Jun 14, 2011 3:45 PM, "webmeiker" wrote: > Thank you Chris, thats the point... coexistence of Struts2 & PHP i

Re: [s1,validation] Multi-page flow, session-scoped DynaValidatorForm with checkbox

2011-06-17 Thread Dave Newton
number/flow functionality in S1, but I stopped using it around 1.2.9--is flow functionality something from 1.3, or did I just miss it altogether? > What is the recommended technique when dealing with multi-page, > session-scoped dynamic forms?

Re: access static method with request parameter

2011-06-20 Thread Dave Newton
Or, pass in what you actually need from the request instead of introducing a dependency on the servlet spec. What's required from the request? Dave On Jun 20, 2011 7:19 AM, "Lukasz Lenart" wrote: > 2011/6/20 k3v1n : >> >> aaa >> > > Wrap call

Re: Action[/emaillayout] does not contain specified method (check logs)

2011-06-20 Thread Dave Newton
What's with the weird stuff in the URL? What's the actual request URL end up looking like (as per proxy/Firebug/etc. And are you using the exact same URL from the browser when testing it as a non-Ajax request? Dave On Monday, June 20, 2011, sivaks75 wrote: > Hi, > > I am usin

Re: Html:link Javascript validation

2011-06-21 Thread Dave Newton
The "onclick" attribute should return true/false based on whether or not the form should be submitted. If there's no "return" keyword, the form will be submitted regardless of what happens in the onclick handler. Dave On Tue, Jun 21, 2011 at 8:22 AM, Sunil Choppara

[OT] Re: adding more package via Maven

2011-06-22 Thread Dave Newton
Are you aware there's a Maven mailing list? You may need to be a bit more specific with what you're trying to do as well--is something going wrong? What behavior are you seeing, and how does it differ from what you expect? Dave On Wed, Jun 22, 2011 at 8:24 AM, Mohamed SIDI wrote: >

Re: protect prameters avoid being show in log files

2011-06-22 Thread Dave Newton
On Wed, Jun 22, 2011 at 8:42 AM, Baka,David wrote: > Please remove me from this list > [...] > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org Dave - To unsubscribe, e-mail: user-unsubscr...@struts.apach

Re: [OT] Re: adding more package via Maven

2011-06-22 Thread Dave Newton
27;s the actual problem you're trying to solve? Seems like it's a lot more work, as you'd need to tell Maven where to put it (potentially in more than one place, for example, you might need both Java source, and XML resour

Re: Linking to another application

2011-06-24 Thread Dave Newton
Different apps have different sessions. Dave On Fri, Jun 24, 2011 at 6:48 AM, Patrick McCourt wrote: > I’ve got 2 Struts 2 applications running on Tomcat 6.0. > > In summary the main application is a manager application for requests > in our company, application 2 is a handler fo

Re: Linking to another application

2011-06-24 Thread Dave Newton
> Apologies if I've confused you more I didn't find it terribly clear after two readings. Dave - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: checking fielderrors into javascript

2011-06-24 Thread Dave Newton
er-side code. Or validate via Ajax. Dave - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: checking fielderrors into javascript

2011-06-24 Thread Dave Newton
you were doing it on a JSP page? var foo = "${theActionProperty}"; Correct? Dave - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: checking fielderrors into javascript

2011-06-24 Thread Dave Newton
Let's take a further step back. What do you believe happens if this is your JSP? alert("${theActionProperty}"); Now try it, and see how it compares with your expectations. Dave On Friday, June 24, 2011, Arpan wrote: > yes right..but i cant use the

Re: checking fielderrors into javascript

2011-06-24 Thread Dave Newton
Then your JSP engine is not configured for modern JSP. Fix that first. Dave On Jun 24, 2011 4:13 PM, "Arpan" wrote: > Not yet, Actually it shows as a string itself ${theActionProperty}.So I > dont get the actual value. > > On Fri, Jun 24, 2011 at 10:49 PM, Dave Newton wr

Re: Migration from Struts 2.0.14 to Struts 2.2.3 - tabbed panel not working

2011-06-24 Thread Dave Newton
ssary, but I continue to believe that except for the simplest of use cases, it's better to just write JavaScript in JavaScript, and skip the tag libs. (Particularly since the Dojo tags are deprecated, and use a /very/ old version of Dojo.) Dave

<    5   6   7   8   9   10   11   12   13   14   >