Wow!
I am embarrassed I did not know that and had not come across it yet. Of
course it resolved the issue.
Thank you very much,
Nick
On Mon, May 23, 2016 at 1:39 AM, Lukasz Lenart
wrote:
> 2016-05-23 3:01 GMT+02:00 Nick Broadhurst :
> > Hello,
> >
> > I have an interc
. Implementing
ParamAware to get ID from URL and that works fine. Tried a couple different
things, but can't seem to make it work. Used lots of interceptors, just
never needed to maintain a param across its execution.
Thanks,
Nick
Just to make sure - you are POSTing the object back to the action and THEN
merging the entity correct? Not just calling the merge function in the
action from the page? Sorry, I had to ask because it sort of sounds like
that is what you are saying. I am using Struts2 and JPA and I routinely
post obj
Hi Gerald,
I missed your reply due to mail subscription. In my case i
have all these upgraded library in my classpath asm and commons-lang and all
from struts2 latest distribution only.
--
View this message in context:
http://struts.1045723.n5.nabble.com/Struts2-Not-Working-Af
u form your e-mail into a question? What are you trying to
> accomplish? Do you want the user to be able to download two documents at
> the same time? Do you want links to the documents? What didn't work?
>
>
>
> From:
> Nick Broadhurst
> To:
> Struts Users Mailing
Grasped at a couple of straws with multiple param sets and results but
nothing worked. I need to use result type redirect (for second doc) and
stream at same time it seems.
Thanks,
Nick
ing JSTL when
> functionality overlaps. JSTL didn't exist when the first iterations of S1
> tags were developed :)
>
> If you're using Struts 2 there's less of an advantage, but the OP is on S1.
> I've tended to use S2 tags for most stuff in S2 apps.
>
> Dave
"...antiquated Struts tags..." you're concerning me. That's all I use.
On Wed, Jun 29, 2011 at 10:17 AM, Dave Newton wrote:
> How about using JSTL? It's the recommended solution when both it and Struts
> tags provide equivalent functionality, and it's arguably better than using
> the antiquated
Ollbogh
On Jun 14, 2011 9:48 AM, "Eric Reed" wrote:
> After registering for this mailing list about a month ago I have been
receiving spam emails from Ghanna every other day. Is anyone else receiving
these?
>
>
>
>
> -
> To unsubs
Dave,
It only matters when you don't have one. How
ironic<http://www.wired.com/magazine/2010/12/pr_burningquestion_legalwarning/>
.
<http://www.wired.com/magazine/2010/12/pr_burningquestion_legalwarning/>Nick
On Fri, Mar 25, 2011 at 9:02 AM, Dave Newton wrote:
> I
hing right in my page with all the entity properties.
Any thoughts? Thanks.
Nick
Thanks Dave.
So are you saying have a Map property in the Action and the first radio
button would have Map position 1 as its name?
Nick
On Thu, Feb 17, 2011 at 2:40 PM, Dave Newton wrote:
> Use a map or array rather than actual field names that include the index as
> part of the field
.
Basically I need to capture a yes/no and explanation of each box selected in
a different part of app.
Any ideas would be appreciated.
Nick
these:
jRTF (small inde project): http://code.google.com/p/jrtf/
and
Apache POI: http://poi.apache.org/
<http://code.google.com/p/jrtf/>and wondered if anyone has used these or
anything like them before I start down the rabbit hole!
Nick
Thanks for the suggestion. This is what I ended figuring out after I figured
out what date/time format my property of type java.util.Date would accept:
"/>
A ugly hack in order nest in the hidden field. If anyone know how
to do this properly just using
I would appreciate it.
alues.
Or is there a better way to do it?
Thanks,
Nick
our DB design IMHO. If you expect multiple values
> for an entity property why do you declare as a plain string? You
> should consider to represent as at least an integer array (or even as
> an entity).
>
>
> 2010/11/5 Nick Broadhurst :
>> Hi All,
>>
>> I am us
rialize it? Doesnt sound like a good fit and I
just don't know what struts is expecting when it needs to display multiple
items selected. Thanks for any ideas.
Nick
bug gives up at 350 ish log entries.
I have commented out all other page content until the only thing that is on
the page is the date time picker and its containing form.
Could someone give me a pointer as to where the problem lies?
Cheers
Nick Maunder
Thanks to everyone who responded.
It is now working.
I removed the - it's not needed
I added method="post" to the HTML form element - I had forgotten it.
The extends="json-default" in the pacjage is needed because of one of the
other actions produces a JSON response.
w do I make the text appear as:
You won't be able to bid
?
Cheers
Nick Maunder
Hi, I am having some trouble with Uploads in Struts 2.
Here is the action:
/upload.html
Here is the HTML form:
Here's the appropriate part of the action class:
public String imageUpload()
Ah ... my book doesn't mention RequestAware at all... useless!! lol
Preseumably the objects I want to get at (the session data primarily) are
then accessible as plain old java, and can be tested using JUnit?
could you give me a pointer to find out more?
Nick
-Original Message-
either. I can
test all of the parts of the class which are not aware using JUnit, but I
really want to test the methods that are using the HttpServletRequest.
Ideas would be gratefully accepted.
Cheers
Nick
Please excuse my stupidity
I was separating parameters from url with "&" instead of ? duh!! Time for
the pub
Nick
-Original Message-----
From: Nick Maunder | Oathouse [mailto:[EMAIL PROTECTED]
Sent: 21 October 2008 17:18
To: 'Struts Users Mailing List'
Sub
n the Struts2 website using GET URLs
I must be mr thicky today!!
Any help gratefully accepted
Nick
Good try but it doesn't work... tried #pageTitle as well, and a host of
variations using tiles:useAttribute
I can't be the only one to want to internationalise/localize page titles??
Couldn't find anything on the web either
This is the last fmt tag in my application. It need
bute on the ognl stack
Cheers
Nick
-Original Message-
From: Lukasz Lenart [mailto:[EMAIL PROTECTED]
Sent: 21 October 2008 14:53
To: Struts Users Mailing List
Subject: Re: Migrating from Struts 1: dynamically loading
> I am looking for a way to dynamically load
try
heers
Nick Maunder
/css/{1}
/js/{1}
Nick J wrote:
>
> I am using struts2.
> I don't want .action or .do on the end of the url's, so I set
> struts.action.extension='' (empty string)
>
--
View this message in context:
http://www.nabble.com/Struts2
I am using struts2.
I don't want .action or .do on the end of the url's, so I set
struts.action.extension='' (empty string)
Now this leaves me with a bit of a problem serving static content, since
struts swallows up all of my requests, and nothing gets through to the
default servlet.
How can I s
t, and I need to redirect to the login page. In
my circumstance the div is replaced by the login jsp, which just looks
strange. What are the best practices with dealing with these
situations using Ajax.
- Nick
On Mon, Jul 28, 2008 at 8:28 AM, Dave Newton <[EMAIL PROTECTED]> wrote:
> --
it
worked. My other problem was that I had templates in my application
root instead of /WEB-INF/classes/. Once I added it there I saw
freemarker errors, telling me it was the theme variable issue.
Thanks,
Nick
On Thu, Jul 3, 2008 at 3:14 AM, Jeromy Evans
<[EMAIL PROTECTED]> wrote:
> Nick Sca
ruts.ui.templateDir=templates
/templates/ccast2_0/theme.properties
parent=css_xhtml
Please advise because this is so annoying.
- Nick
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Musachy abused the first rule, dont' feed the trolls... :)
> Subject: SV: [OT] What slows you down?
> Date: Fri, 20 Jun 2008 18:27:10 +0200
> From: [EMAIL PROTECTED]
> To: user@struts.apache.org
>
> As I said:
> I'm not that a great coder, and not an expert php or java coder.
> Coding pure logi
directory to see if that worked and no dice. I must be doing
something extremely stupid here because I haven't seen any posts regarding this
issue.
Please advise !
Cheers,
Nick
_
Need to know now? Get instant answers with Win
Hi
I ve had similar problems (with struts 2 , but working in IE and not in
Firefox).
The problem was with the browser using a cached copy from a version
of the page that did not work properly, but had now been corrected.
Clearing the browser cache got rid of the problem for me.
Nick
nuwan
he spring files, Go to the apps directory
Unzip file struts2-blank-2.0.1.war
(jar -xf struts2-blank-2.0.1.war will do the trick)
the extracted lib folder will contain the spring jars.
Nick
John Bateman wrote:
>
> *
> Sorry I hit 'send' on this WAY too early...
>
action only is supplied, instead of failing to generate the code ?
Nick
Musachy Barroso-2 wrote:
>
> S2 needs to know the exact namespace of the action. If you do this:
>
>
> namespace="/validation">
>
>
>
>
>
>
the client validation problems would be
to
only supply the action attribute when absolutely necessary.
I hope that this will be of some use.
Nick Tucker
--
View this message in context:
http://www.nabble.com/-S2--client-validation-problem-tf2902
out of the box there is the Message Store Interceptor.
I have not tried it myself.
Nick
Dariusz Wojtas wrote:
>
> ok, this is the obvious candidate if I want to make it 'by hand'.
> Some little method in the base action or filter that takes care for it
> as I would do it
Hi
You could put the message in a session attribute and then get the second
action to check for the attribute
and display it if found (remembering to remove it once displayed) .
How to get access to the session is in the Struts 2 faq.
Nick
Dariusz Wojtas wrote:
>
> Excellent hint,
Hi
If you are always going to display the same message then you could get the
action you redirect
to to display the message. I have done this to get "Processing Successful"
messages output after
updates
e.g.
in your action:-
return "missingid";
redirect this result to a me
I've just tried again tonight using the latest nightly struts2 jar files
(no configuration changes) and the problem has gone away.
Nick
Laurie Harper wrote:
>
> My guess would be that you're missing the Freemarker JAR(s) from your
> classpath. If that's not th
Hi Abhimanyu
To change media types columns display in use the media attribute.
for example :-
The id column will not display in exports, whilst the longDescription will
only display in exported files.
Nick
Abhimanyu
On converting from Struts 2.0.1 to 2.0.2
I get the following error when I try and use Sitemesh Freemarker Decorators.
The decorators work with 2.0.1.
Some advice on what changes I need to make would be appreciated
Thanks
Nick Tucker
2006-12-27 18:53:19,166 ERROR
Then again, I'm probably the easiest guy to sell a car too... be straight
> with me from the start, and even if your story (read; price) isn't as good
> as the salesman who isn't as straight, you probably made the sale :)
>
>
I've got a loads of stuff to sell you. I don't know how well it works,
An alternative would be to find an EJB example that you are
comfortable with and then find a Struts example that you could lay
over it. There are plenty of each out there, but not so much all
together. Maybe JBoss's site?
- Nick
On 2/9/06, Joey Watson <[EMAIL PROTECTED]> wro
case.
- Nick
On 2/7/06, Tom Ansley <[EMAIL PROTECTED]> wrote:
> Hey Hubert,
>
> But how is anything going to ever validate correctly if I have not had time
> to initially populate the form. The action which is being skipped allows me
> to prepopulate the form before sending it
I guess that the big question is:
"What about CamperForm?, what does it look like?"
If it is a Java class that you created, what does the validate()
method look like? If it is a DynaValidatiorForm (make sure that
it is not a DynaActionForm), what does the XML look like?
- Nick
On 2
Nick Sophinos, OK well surely lifted from someone else.
*
*/
public class SSLFilter implements Filter {
private FilterConfig filterConfig;
Log log;
public void init(FilterConfig config) throws ServletException {
this.filterConfig = config;
log = Core.getLogger();
}
public
I figure I'm obligated to respond, since my comments were cited in the
original email. :)
I have to disagree with complaints about Wicket's complexity, but only
because I've been using it to build a product for the last few months.
Without heavy usage, I don't think I'd have the same positive opin
an IntegerValidator to a TextField, it's pretty simple:
TextField age = new TextField("age");
age.add(IntegerValidator.range(0, 130));
add(age);
The last call adds the TextField to the Form object.
Nick, Wicket does look interesting, but I'm curious, how does Wicket
>
> ...which are currently configured by what, XML? Doesn't this remove
> some of the zero-conf advantages? And, there's going to have to be a
> way to configure it in 1.2 somehow also. I guess "almost zero
> configuration" isn't as catchy? :-)
>
There is configuration, but it's minor and contained
You can create aliases in the current version to provide shorthand names for
pages. Wicket 1.2 will allow you to mount pages at specified URLs, which
should get around this problem.
On 1/16/06, David G. Friedman <[EMAIL PROTECTED]> wrote:
>
> More wicket articles? I'm getting a message here: I b
Have you tried the table, table-row and table-cell display properties? But
if that works, I'd just go back to tables.
We had a similar problem with Jetty and had to resort to referencing the taglib
via a file path to the tld file. These files come with the download of JSTL.
- Nick
On 12/1/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
> I'm trying to deploy a Struts-based app to Websphere
ti
> Yahoo: fzammetti
> MSN: [EMAIL PROTECTED]
>
> On Thu, December 1, 2005 12:45 pm, Nick Heudecker said:
> > Now I'm thinking this has something to do with the charset not getting
> > set in IE. Users are copying and pasting content from Word into
> > textareas
Now I'm thinking this has something to do with the charset not getting
set in IE. Users are copying and pasting content from Word into
textareas and getting this error.
Is it possible Tomcat can't parse the incoming form data and nothing
gets passed to the Action?
On 12/1/05, Nick
Occasionally, one my my users will receive the following error message:
"javax.servlet.ServletException: Request[/foo] does not contain handler
parameter named 'p'. This may be caused by whitespace in the label text."
There isn't any whitespace in the label text, and this only occurs
with IE. I
Place this in your web.xml file:
javax.servlet.jsp.jstl.fmt.localizationContext
com.omnytext.blah.blah.properties.ApplicationResources
Where ApplicationResources.properties is the name of the message bundle in
question.
- Nick
On 11/22/05, Frank W. Zammetti <[EMAIL PROTECTED]>
nature of your
question, I would start with that general solution.
- Nick
On 11/22/05, Deepa Khetan <[EMAIL PROTECTED]> wrote:
>
> Can i specify in my Config Files(web.xml or struts-config.xml) that a JAR
> file cannot be downloaded without logging into the system??
> Regards,
> Deepa
>
>
Given that we are talking about an MVC framework, that kind of controlling
input should be processed in the controller. In other words, it would be
best to
request.getParameter("preview") in the action class.
- Nick
On 11/18/05, Jesper Preuss <[EMAIL PROTECTED]> wrote:
>
>
I didn't know people were still using Strutsdoc. I should probably start
maintaining it again.
On 11/4/05, Collin VanDyck <[EMAIL PROTECTED]> wrote:
>
> Hi Soren,
>
> You can javadoc your Struts Java types, although I'm not sure of a way
> to get your Struts configurations in normal JavaDoc.
>
>
Too bad I won't be there. I'd win using just cat and sed to write code. ;)
On 9/30/05, James Mitchell <[EMAIL PROTECTED]> wrote:
>
> For those who might have missed it (especially if you live in or near
> Atlanta, GA):
>
> There is a coding competition being held on Wed (next week)...check
> it ou
You have a few options. To initialize Spring, you can either use the Struts
plugin or the web app context listener. Once that's done you can either use
a startup servlet or a Struts plugin to load the data and put it into the
servlet context. That way it only needs to be loaded once and is shared
t
This error is caused by a jsp-api.jar in your application.
On 8/15/05, Laurie Harper <[EMAIL PROTECTED]> wrote:
> You said you were using Struts 1.2.7. I'm guessing those 1.1 TLDs are
> declaring the TEI class Tomcat's failing to load in the old location. Try
> using the TLDs (and other configura
The most common way to solve this problem is to use the Open Session
In View pattern, which leaves the Hibernate session open until the JSP
has finished rendering. Typically accomplished with a filter, there
is also a Struts plugin to help with this pattern.
Google for "Open Session In View" and
See if this helps:
http://jasperreports.sourceforge.net/tutorial/index.html#parameters
On 8/8/05, Rafael Taboada <[EMAIL PROTECTED]> wrote:
> Talking about JasperReports and iReports... I'm trying to generate my
> reports using iReports in order to make my .jrxml. I'm trying to make my SQL
> quer
I would go with JasperReports. Make sure to also download iReport,
which is a great time-saver.
On 8 Aug 2005 07:58:16 -, d d <[EMAIL PROTECTED]> wrote:
>
> I am generating reports from Oracle DB in my struts application, I am
> confused whether to use XSL:FO or Jasper Reports to generate
> I think there are a lot of people out there who feel as you do, but
> backwards-compatibility has always been a major theme for those
While backwards compatibility is nice, I would rather see a better
framework for the 2.x release. My personal opinion is that version
compatibility should be req
I use eapps.com and have been very happy with them.
On 7/31/05, Martin Gainty <[EMAIL PROTECTED]> wrote:
> James-
>
> Steer clear of RCN
> I hosted with them and found out later they are a TV Cable company that got
> into Internet hosting as a 'side business'
> Plus RCN tech support is pretty muc
I'm using Tomcat 5.5, JDK 1.5, Struts 1.2.7 and Tiles. I'm getting
the following exception when I navigate to a Tiles page, I'm getting
the following:
java.lang.ClassCastException: org.apache.struts.taglib.tiles.UseAttributeTei
at
org.apache.jasper.compiler.TagLibraryInfoImpl.createTagIn
ArgoUML will do it.
On 7/11/05, David Whipple <[EMAIL PROTECTED]> wrote:
> Anyone have any suggestions for an opensource/freeware tool for reverse
> engineering java code to class diagrams?
>
> Thanks,
> Dave
>
>
> -
> To uns
talk about an OT thread!
> 1) The inconsistency in what is protected. For example everyone today
> talks about "tolerance." But what does this mean? What it ends up
> meaning is "There are no moral absolutes so the only valid belief system
> protected is one that doesn't espouse moral judgments."
> Oh, please. That's why the idiot shouldn't have been using a government
> email address. I've skipped almost all of this, but at the very least he
> _did_ make threatening noises. You just can't go doing that on government
> time.
Yep. If you can't say it to your boss' face, then you shouldn
I would either use JasperReports to create a simple report definition,
or use IText to create the PDF. When we tried to use FOP, we had to
embed the fonts which resulted in HUGE PDFs.
On 7/6/05, Martin Gainty <[EMAIL PROTECTED]> wrote:
> Rafael
>
> Now I understand..
> You can use Crystal Report
Here's something I'm using to accomplish this:
http://www.systemmobile.com/wp/?p=114
It's pretty simple, but can be refit to be fairly complex.
On 6/14/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
> Sorry, my bad... it's not setURL, it's setPath. It's actually a method
> of ForwardConfig, wh
> or as you say change the message resources default - or even make it always
> null=false?
I prefer this suggestion. Speaking only for myself, null=false is the
most sensible default.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
> Follow Up: This works but im having a little trouble outputting the content
> type appropriately.
>
> -B
>
> -Original Message-
> From: Nick Heudecker [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 26, 2005 1:47 PM
> To: Struts Users Mailing List
> Subje
ice". For example, if you stick value into edit box, IE strips out
> spaces and newlines. Maybe it related somehow. Maybe your value
> actually DOES contain spaces, and IE sometime strips them out, but
> sometimes don't (hm, why?).
>
> Michael.
>
> On 4/19/05, Nick
Brian:
This is pretty simple. Just get the output stream from the response
object and stream the file down. Return null from the Action's
execute method:
private void returnFile(File f, OutputStream out) throws IOException {
FileInputStream fis = null;
try {
fis
The validator tags must be on the setter methods, not the getters.
On 4/21/05, Nils Liebelt <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am using the webdoclet module to generate my struts-config.xml. It works
> very nice for my action classes. But for some reason I doesn't parse the
> tags in my Form
I've run into a strange problem with DispatchAction occasionally
failing to find the parameter used to lookup the method to process the
request. I get the following familiar error:
"Request[myAction] does not contain handler parameter named 'method'.
This may be caused by whitespace in the label
Refer to the "End users" section in the following document:
http://dev.mysql.com/tech-resources/articles/mysql-network-and-you.html
On Apr 11, 2005 1:55 PM, Fogleson, Allen <[EMAIL PROTECTED]> wrote:
> Dave,
>
> I'm confused here. What do you mean by "link to it?"
>
> If I simply use the conne
Damn. That's had me stumped for months. I forced the client to
upgrade to Firefox. :)
On Mon, 28 Feb 2005 10:21:28 -0700, Larry Meadors
<[EMAIL PROTECTED]> wrote:
> Sorry for the cross-post, but if anyone is having issues serving up
> pdfs to IE users over ssl, here is a fix for the browser:
XDoclet works great with DynaForms. Here's a link to a doc I wrote about it:
http://www.systemmobile.com/articles/XDocletDynaForms.html
On Mon, 21 Feb 2005 12:09:14 -0500, Benedict, Paul C
<[EMAIL PROTECTED]> wrote:
> Any other takers? If any Struts committers have opinions, please share them.
Yes, the index will be expanded and updated as well, including all of
the newly added reference material.
On Fri, 18 Feb 2005 10:00:58 -0800, Shey Rab Pawo
<[EMAIL PROTECTED]> wrote:
> I don't know how others feel, but if you could talk the editors into a
> more expanded index, that would be rea
Terry:
I agree with you that struts-user is mostly noise, although you
phrased it much better than I did. I know it's frustrating to have
your question go unanswered, but I really don't think it's
intentional. There is so much cruft on this list, with the same
questions asked repeatedly, that yo
You could set a property in the context scope that flags the
'maintenance page' or something. To detect the flag, you could use a
filter to redirect the user to the maintenance page, or have your base
Action class look for the flag and react accordingly.
Ideally, you'd do this from some form of a
I believe the validation still happens because the validation step
occurs before the appropriate method in the action class in
determined. I got around this by turning off automatic validation.
On Tue, 07 Sep 2004 16:59:48 +, andy wix <[EMAIL PROTECTED]> wrote:
> Hi,
>
> When using the foll
/code/xdoclet-apache-module-1.2.2-SNAPSHOT.jar
The full text of the README may be found here at:
http://www.systemmobile.com/code/xdoclet-dynaform-README.txt
An example may be found at:
http://www.systemmobile.com/code/Person.java
--
Nick Heudecker
System Mobile, Inc.
Email: [EMAIL
I know at least one developer
who's combined FormDef and Hibernate and was pleased with the results.
Hubert
--
Nick Heudecker
System Mobile, Inc.
Email: [EMAIL PROTECTED]
Web: http://www.systemmobile.com
-
To unsubscribe, e-m
sufficient feedback that lots of people are in fact using the nightly
builds with no problems, I'll go ahead and initiate a 1.0 release of
struts-faces.
Craig
--
Nick Heudecker
System Mobile, Inc.
Email: [EMAIL PROTECTED]
Web: http://www.s
example here:
http://www.systemmobile.com/strutsdoc/example/
Feedback, especially on problems and feature requests, is always welcome.
--
Nick Heudecker
System Mobile, Inc.
Email: [EMAIL PROTECTED]
Web: http://www.systemmobile.com
some time and i'd
greatly appreciate the benefit of anyone's experience who works like this.
Mark
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Nick Heudecker
Syste
arnett, Brian W. wrote:
Any suggestions for converting html to RTF and PDF inside an action class
and then sending the RTF or PDF back to the client?
Open source tools, code snippets, tips & tricks, etc. ??
Thanks a bunch.
Brian Barnett
--
Nick Heudecker
System Mobile, Inc.
Email: [EMA
together or 2) take the value
off of the HashMap so the next call to it would go to my custom implementation.
I hope this wasn't 2 confusing
Thanks
-
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
--
Nick Heudecker
Sy
Look into the wildcard plugin.
http://www.twdata.org/struts-wildcard/
Michael McGrady wrote:
Is there a way to do the following using less real-estate in
struts-config.xml? If not, there should be:
--
Hi All,
I am looking for a good Struts book. Does anyone have any recommendations?
Thank you in advance for your help.
Kind Regards,
Nick
1 - 100 of 116 matches
Mail list logo