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
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:
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.
>
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
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
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
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
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
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"
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
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
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
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,
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
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
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
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
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
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
>
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
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-
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
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
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
(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
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
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
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"
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
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
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.
>
>
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
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
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
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
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
now?
Dave
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
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
, 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
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
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
* 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
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
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
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.
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
--
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
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
'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
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=*""*
>
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
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
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
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
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..
>
&
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="${
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
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
er state? Is the
flow correct? Etc.
Dave
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
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
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
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:
> *
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
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
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
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
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:
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
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):
>
>
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
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
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
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
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
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
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
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
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
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
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
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
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
;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
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
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
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?
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
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
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
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:
>
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
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
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
> 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
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
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
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
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
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
901 - 1000 of 5802 matches
Mail list logo