You can try Jasper reports...
Havent used it a lot myself .. but looks like a decent open source tool for
generating reports with support for PDF, excel etc...
~raghu
On 11/20/05, Rivka Shisman [EMAIL PROTECTED] wrote:
Hi friends
Can you recommend me a reporting tool that works nicely
Hi,
I was hoping that the following should work ... but I guess I am missing
something somewhere.. validation with other properties is working fine.. but
not with the indexed properties.
Struts-config.xml:
form-bean name=studentEnquiryForm type=
org.apache.struts.validator.DynaValidatorForm
HEllo y havo one struts aplicaicon.
if into the borwser i change the locale, into the browser properties, my
application load the properties files well.
i am thinking for making onw struts action for changing the language, thelocale
but i dont knows how to change it.
can anybody says me how must
It depends on what you are looking for.
I have used both, and think they both suck. :-D
Jasper has the advantage that it is free, but usability is crappy.
Crystal has the advantage that it usually works, but requires a
windows PC to modify the reports.
Choose the evil you prefer. ;-)
On a
Well,
that's really easy, just do:
request.getSession().setAttribute(Globals.LOCALE_KEY, new
locale(languageCode));
in your action, where languageCode is the locale you wish to use.
Cheers
Danny
Miren Urkijo schrieb:
HEllo y havo one struts aplicaicon.
if into the borwser i change the
Note that there is a LocaleAction specifically for doing this, so you
don't even have to remember how :) It appears in 1.2.4 at least, but
I'm not sure when it was first introduced.
Frank
Danny Lee wrote:
Well,
that's really easy, just do:
Datavision is another decent choice: http://datavision.sourceforge.net/
On the home page there is a link to an article I wrote about using it in
a webapp (straight servlets). I've used it in Struts apps too, it's
trivial if you use the article (and the accompanying sample code) as a
starting
I don't know how you could do this. But perhaps you can create a struts
action that loads the correct locale properties file. Just an opinion.
regards,
- Original Message -
From: Miren Urkijo [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Sunday, November
On the first cut this looks like authentication/authorization for Spring
framework. Do I need to get struts co-exist with spring for this to work ?
And how much of an effort would that be?
But yes.. this looks quite a powerful and neat concept.
Thanks for refering it.
Regards,
Raghu
On
it runsbut i have one problem.
in my struts pages i am working with fmt and jstl and this doesn't run with
these (jstl, fmt).
which is the solution?
can anybody helps me?
thanks
- Original Message -
From: Danny Lee [EMAIL PROTECTED]
To: user@struts.apache.org
Sent: Sunday, November
Hi Raghu, Laurie,
I did a project recently which used the Acegi security project which
comes bundled with Spring, and although I was never involved in the
implementation of it myself, I heard that it was effective.
Am I correct in assuming though that it does not offer the alternative
that
You have to do a getLocale() in your ActionForm and then
use:
fmt:setLocale value = ${YourActionForm.locale}/ in your JSP ;)
Then you gonna be lucky ;)
Cheers,
Danny
Miren Urkijo schrieb:
it runsbut i have one problem.
in my struts pages i am working with fmt and jstl and this doesn't run
Hi,
Shouldnt session.invalidate() log me out?
request.getSession().invalidate();
try {
response.sendRedirect(home.jsp);
} catch (IOException e) {
e.printStackTrace();
}
I am using JAAS Basic authentication on tomcat. When the above code is
executed and the redirection happens back, i expected
Hi,
what is the best way to access authentication/authorization related
information in my action class?
I configured the BASIC JAAS authentication with my tomcat. The
authentication goes fine.. but in case I want to know some information about
the roles... how can I get the LoginContext in my
I know this is not a topic for this forum, I have posted this to the taglib
mailing list with no response. In one week only a couple of posts were
made. I am trying to use the fmt:bundle tag multiple times on a page. Has
amyone been successful at this?
The idea is that I have a concept of a
You change the language using
fmt:setLocale value='en'/ for English.
then you need the resource bundles for resource_en.properties that fmt looks
up
For example
fmt:setBundle basename='Foo'/
needs file Foo_en.properties in the WEB-INF/classes directory of your
webapp.
For your application you
Good Afternoon-
Scrounging the jaas mail -lists I found this from Jan Bertel
you haven't specified a
realm-name element in the login-config element of your web.xml file.
So, if you want to avoid the exception, you can just specify a
realm-name that is the same as your jboss-web.xml
Hello,
I just upgraded my servlet container and went from Servlet 2.3 to
Servlet 2.4 API, and now I'm getting errors from Struts' html-el
taglib:
/WEB-INF/component/LoginBox.jsp(22,16) According to TLD or attribute
directive in tag file, attribute value does not accept any expressions'
On 11/20/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
I just upgraded my servlet container and went from Servlet 2.3 to
Servlet 2.4 API, and now I'm getting errors from Struts' html-el
taglib:
You should not be using Struts-EL with Servlet 2.4/JSP 2.0.
Go back to the original Struts tags,
You can use Struts Validator via validation.xml. In that case, validator
already supplies the validation code; you would only need to write your
own validation for things validator can't check for you.
If you want to do your validation on the server not the client, the
validation would be
Troy Bull wrote:
I have a form with multiple rows on it say it has columns a b c chk hid
I have javascript to set hid to Y or N based on someone clicking chk
Then in my form bean I have
String[] a;
String[] b;
String[] c;
String[] hid;
My question is how can I make my check box set the
Self reply:
Has anyone used Rico or Dojo or DWR and or Frank's thing made it to
production? comments? Urls?
Rico demo looks cool.
.V
netsql wrote:
I re-read it.
This looks great:
http://dojotoolkit.org/archive/dojo-2005-11-07/demos/widget/
.V
Laurie Harper napisał(a):
Jakub Królikowski wrote:
Hello!
I'm new in Struts.
I don't know how to write such code using Struts (version in html):
html
head
titleSimple Forward/title
/head
body
You can rename the source html file and it allways will works!!!
br
form name=test method=get
I've heard of a few people using AjaxTags (from Java Web Parts) in
production, or at least getting ready to move to production, and they
have had great success with it. I am myself preparing to use it in prod
for the first time in the next month or so. It does *appear* to be
pretty stable at
Hi all,
Let say I have a line like this one in my struts-config.xml:
form-bean name=fooForm type=net.ambre.epingles.struts.form.fooForm /
Can I change dynamically the type associated to fooForm ?
Thanks
Benjamin
Hi,
Thanks for the pointers, but I've got some more questions.
--- Wendy Smoak [EMAIL PROTECTED] wrote:
On 11/20/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
I just upgraded my servlet container and went from Servlet 2.3 to
Servlet 2.4 API, and now I'm getting errors from Struts'
Sehr geehrte Damen und Herren,
in der zeit vom 7. November 2005 bis 18. November 2005 bin ich im Urlaub. Bitte
wenden Sie sich bei allen Fragen entweder direkt an [EMAIL PROTECTED] oder
telefonisch an: 0511 / 93 62 28 22
Mit freundlichen Grüßen
Andreas Bednarz
On 11/20/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
You should not be using Struts-EL with Servlet 2.4/JSP 2.0.
Are you saying I should get some other version of Struts that is
Servlet 2.4/JSP 2.0-aware? Is there a Struts 1.1 version that is
2.4/2.0-aware?
Since the container will
Hi,
--- Wendy Smoak [EMAIL PROTECTED] wrote:
On 11/20/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
You should not be using Struts-EL with Servlet 2.4/JSP 2.0.
Are you saying I should get some other version of Struts that is
Servlet 2.4/JSP 2.0-aware? Is there a Struts 1.1 version
Actually, Acegi does offer what Raghu was looking for (or at least one
possible route to achieving it). One of the things it can do is
automatically filter collections to remove items the current user
shouldn't be allowed to see, so you don't have to bury that kind of
business logic in your
It does rely on Spring, yes, but getting Spring to co-exist with Struts
is trivial; you don't need to change any existing code to do that,
though once you have Spring available you may well find yourself wanting
to take advantage of it ;-)
L.
Raghu Kanchustambham wrote:
On the first cut
Something that removes items from collections according to data
visibility constraints declaratively must be quite complex.
Presumably the collections are declared in a Spring-style context factory?
And then you would have to declare which property of the item provides
the IDs, and you also
Raghu Kanchustambham wrote:
Hi,
Shouldnt session.invalidate() log me out?
request.getSession().invalidate();
try {
response.sendRedirect(home.jsp);
} catch (IOException e) {
e.printStackTrace();
}
I am using JAAS Basic authentication on tomcat. When the above code is
executed and the
Kuba Królikowski wrote:
Laurie Harper napisał(a):
Jakub Królikowski wrote:
Hello!
I'm new in Struts.
I don't know how to write such code using Struts (version in html):
html
head
titleSimple Forward/title
/head
body
You can rename the source html file and it allways will works!!!
br
I'm not sure of the specifics, this isn't a capability I've used; I just
know it's there ;-)
L.
Adam Hardy wrote:
Something that removes items from collections according to data
visibility constraints declaratively must be quite complex.
Presumably the collections are declared in a
On 11/20/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Aha, I see what you mean now.
I had this:
%@ taglib uri=/WEB-INF/struts-html-el.tld prefix=html-el %
Changed it to this:
%@ taglib uri=/WEB-INF/struts-html.tld prefix=html-el %
And now things seem to work.
That's it, though I
Jasper Reports is a powerful open source tool. U can have a look at it at
http://jasperreports.sourceforge.net
I have used it in my project m satisfied with the results.
Regards,
Meenakshi.
-
To unsubscribe, e-mail: [EMAIL
-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
On 11/20/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Aha, I see what you mean now.
I had this:
%@ taglib uri=/WEB-INF/struts-html-el.tld prefix=html-el %
Changed it to this:
%@ taglib
38 matches
Mail list logo