On 10/27/2003 03:03 PM Fiallega, Jorge wrote:
I would like to put in the ActionErrors object regular errors that may happen and also an exception without loosing the previously stored errors.
These are the steps I am taking and the results I am getting:
1. Errors occur so I add them to the Action
On 10/27/2003 12:47 PM Keld Hansen wrote:
Thanx, I'll try it, but I read your suggestion as this:
write out all global messages in the ActionMessages queue
so I'll be surpised to see the messages from the Validator.
I'm just telling you what I'm doing :) - there's no reason why it
shouldn't work
On 10/27/2003 09:59 AM Keld Hansen wrote:
Let me elaborate a little:
As I understand it the Validator uses the ActionErrors queue. This
means that I'll have to code this in my jsp-page:
If I use the ActionMessages queue for my own validation - or error
handling in general - in my Action classes
On 10/27/2003 08:21 AM Keld Hansen wrote:
I'd like to emphasize the importance of a mail recently added to the
newsgroup regarding the use of ActionErrors and/or ActionMessages.
The Validator uses the ActionErrors queue, so even if you'd like to
use the new ActionMessages queue you'd hesitate to do
On 10/25/2003 01:45 PM "Yann C�" wrote:
Here's a good summary of the fn: library including an example using
fn:length:
http://java.sun.com/webservices/docs/1.3/tutorial/doc/JSTL8.html#wp84680
Yann, thanks. That functionality is excellent. This is I guess exactly
what the
On 10/25/2003 12:13 PM "Yann C�" wrote:
How do i do the following portName.length() inside test :
<
If you can use JSTL1.1, you can use the fn: Function-Library
to query the length of properties
http://jakarta.apache.org/taglibs/doc/standard-doc/intro
On 10/25/2003 03:00 AM Balakrishnan, Vijay wrote:
Hi,
How do i do the following portName.length() inside test :
<
Hi Vijay,
you can't use portName.length() because length() is not one of the
javabean specification-compliant methods of String.
On 10/23/2003 02:39 PM Andrew Hill wrote:
Gee. Its a hard life mate.
Id be more sympathetic if you yanks didnt spend all your tax dollars trying
to undercut our hardworking farmers fair market prices with your
agricultural subsidies (now thats welfare for the rich if ever there was)
and dumping
Hi All,
I am writing the menu part of my app right now and I have basically made
us of tiles-def.xml to specify what links I want in each page, which
seems a very handy way of doing it.
In my menu Tile I have a couple of links as well that will always appear
and vary depending on whether the
On 10/23/2003 11:41 AM Ivica Pavic wrote:
I'm trying to set the UTF-8 charset for the whole application. I'm
using Struts/Tiles on Tomcat 4.1.27. For now the only way to achieve
this was adding <[EMAIL PROTECTED] contentType="text/html; charset=utf-8"%> on
EVERY Tile (JSP). It's a lot of copy/
On 10/23/2003 07:07 AM [EMAIL PROTECTED] wrote:
I have a problem with my site(JSPs) which I hope someone can help me
with.
I clicked on a link to perform some transaction, which may take a quite a
few seconds to process(cos it links to old legacy systems), and before the
transaction is comp
But this is bound to shatter my illusions - I imagine Craig to look a
bit like Spock, but I'm sure he doesn't in real life. ;)
On 10/23/2003 08:11 AM Rajat Pandit wrote:
Yay! I get to see craig!! Yeehaw!
-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]
Sent: We
10:39 AM
To: Struts Users Mailing List
Subject: Re: HAPPY DIWALI!
Hay Andy, take it easy !!! Shub is a Hindi word meaning Sacred
Regards,
Prasenjit.
- Original Message -----
From: "Adam Hardy" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]&g
filter. I need
guidance to see some examples.
--- Adam Hardy <[EMAIL PROTECTED]>
wrote:
On 10/22/2003 10:21 PM Ramadoss Chinnakuzhandai
wrote:
apologize for repeating my question againI'm
newbie to Struts and hv basic doubt in security
level implemented using Struts framework.
we are awa
On 10/22/2003 10:21 PM Ramadoss Chinnakuzhandai wrote:
apologize for repeating my question againI'm newbie to Struts and hv basic doubt in security level implemented using Struts framework.
we are aware that in normal J2EE application we are authenticating user based on user access level spe
It's very, very rude and I can't translate it here, but it's what
Mahatma Gandhi said when he discovered the trains weren't running
because of the Deepawali holiday.
On 10/23/2003 03:55 AM Prasenjit Narwade wrote:
Shub Deepawali
For those who do not understand Hindi language try to find
What about people in Germany? There is no lite beer here!
On 10/22/2003 02:49 PM Jeff Kyser wrote:
yeah, but only *light* beer. :)
On Wednesday, October 22, 2003, at 07:44 AM, Mark Galbreath wrote:
Huh? You mean Diwali is just another excuse to drink beer??? Happy
Diwali,
everyone! yeehaw
For the uncultured among us, i.e. me, what is Diwali / Deepavali? Is
that when the San Andreas Fault gets bigger?
And if you're celebrating, what are you doing at work? Is this not a
celebration associated with beer? How strange.
What's all this about Einstein and cricket and Mercedes? Go on,
On 10/22/2003 11:27 AM Honza Spurný wrote:
this has seem to a serious fault, BUT, after I changed it, it still works as
before. :(
--
My /MyApp/WEB-INF/web.xml looks like this now:
--
Application
action
o
On 10/22/2003 10:42 AM Honza Spurný wrote:
Hi,
I've changed the order of elements... according to DTD file, but it didn't
help. The same problem aswas described in first mail appears...
Does anybody have any idea.
Thanks.
Honza S.
--
My /MyApp/WEB-INF
On 10/22/2003 10:07 AM Honza Spurný wrote:
Hi Adam,
please, could you help me more? I've checked TLD and didn't find anything
wrong... :-( Where is the problem?
Thanks
Adam Hardy wrote:
On 10/21/2003 06:23 PM Honza Spurný wrote:
--- Here is what i have in my MyApp/WEB-I
Hi Brice,
wasn't long before you came back! I was holding out thinking someone
else might have a more intuitive solution than mine, but whatever, in
your position I write my own taglib based on the html link taglib & add
in the locale to the URL in that.
As for the action mappings, I think yo
On 10/21/2003 07:51 PM Ramadoss Chinnakuzhandai wrote:
Hi,
I need to load some jsp pages based on different level of access control who are
accessing the site. for eg for userA I need to show some pages while userB can only
view/access few pages.
Thanks in advance,
-Ram
--
On 10/21/2003 06:23 PM Honza Spurný wrote:
Hi there,
I'm novice in struts and TomCat and
I have following problem:
1.)
I have web application (let's call it MyApp) that I would like to protect by
SSL connection, it means, that everything that is in
$TOMCAT_HOME$/webapps/MyApp/ I'd like to reques
On 10/21/2003 03:11 PM ajay brar wrote:
hi!
i need to implement the following security features in my security
application.
authentication
which is better - have a login page and keep some sort of bean in
session on successful login
and check for the ban in every
On 10/21/2003 03:28 AM Nick Heudecker wrote:
You bring up a good point. There are many corner cases with ActionMessages.
While I didn't try to cover all possible uses, I did try to cover the use cases
that I experience 90% of the time.
The specific use case that you point out would be a nice fea
On 10/20/2003 10:33 PM Ruth, Brice wrote:
Adam Hardy wrote:
On 10/20/2003 07:41 PM Ruth, Brice wrote:
Adam Hardy wrote:
On 10/20/2003 05:57 PM Ruth, Brice wrote:
Adam Hardy wrote:
If that's a real .jsp file then that has to be a real us directory
in your website. If that's the
On 10/20/2003 09:32 PM Leonard Sitongia wrote:
On Monday 20 October 2003 1:21 pm, Leonard Sitongia wrote:
I also find that the app does not switch out of https:
The only page in which I've used the sslext tag is my login page. I'm
going to try changing my other html:form tags over to sslext.
On 10/20/2003 07:41 PM Ruth, Brice wrote:
Adam Hardy wrote:
On 10/20/2003 05:57 PM Ruth, Brice wrote:
Adam Hardy wrote:
If that's a real .jsp file then that has to be a real us directory
in your website. If that's the case, you can set the locale via a
tag in the JSP. Alterna
On 10/20/2003 05:57 PM Ruth, Brice wrote:
Adam Hardy wrote:
If that's a real .jsp file then that has to be a real us directory in
your website. If that's the case, you can set the locale via a tag in
the JSP. Alternatively you could use a filter. Have you thought of
character encodi
On 10/20/2003 04:47 PM Ruth, Brice wrote:
Adam Hardy wrote:
On 10/17/2003 09:56 PM Ruth, Brice wrote:
I'm looking for some guidance on how best to go about a requirement I
have from our marketing as far as URL naming goes. We're developing
an international (localized) site and
which had the parameter
in order to get out of ssl after invoking any secure action.
Hope you understood this,
And thanks very much for all your help,
Brian
-Original Message-
From: Adam Hardy [mailto:[EMAIL PROTECTED]
Sent: 20 October 2003 11:43
To: Struts Users Mailing List
Subj
the i18n chapter of the JSTL
1.0 spec from Sun? It is quite informative on this issue.
Adam
--
sorry i can't stop asking questions. something forces me to keep on asking
Adam Hardy wrote:
On 10/17/2003 02:17 PM K
er ssl, and then switches back to http for the resulting
pages. This it would seem is impossible to do with sslext because
in order to switch back to http, you must call another action which
has:
Correct me if I'm wrong with any of this.
Thanks for all the help,
Brian
-----Ori
, 2003, at 09:21 AM, Martin Gainty wrote:
Worse..the People maintaining the Call Center system are permanently
out to
lunch
They make US government workers look industrious!
-M
- Original Message -----
From: "Adam Hardy" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List&quo
mon\lib
When I write chinese charactor to MySQL, it's not working properly.
- Original Message -
From: "Adam Hardy" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Monday, October 20, 2003 12:09 AM
Subject: Re: i18n -
I've been programming some status messages into my action and something
occurs to me about the property key with which we save an ActionMessage
into an ActionMessages collection with
ActionMessages.add(key, msg)
and with which we retrieve specific groups of messages from the
collection with
What version of mySQL do you have? I believe that complete unicode
support is only present in the latest perhaps even beta versions.
Adam
On 10/18/2003 07:43 PM ZYD wrote:
No, UTF-8 does not work.
- Original Message -
From: "Adam Hardy" <[EMAIL PROTECTED]>
To: "
On 10/17/2003 09:56 PM Ruth, Brice wrote:
Greetings, all.
I'm looking for some guidance on how best to go about a requirement I
have from our marketing as far as URL naming goes. We're developing an
international (localized) site and we have a requirement that the URLs
look something like this:
On 10/17/2003 10:10 PM Andy Engle wrote:
Sorry to diverge from the already off-topic topic, but this one
couldn't go without being shared: It's really hot in the room we work
in today. We've been trying to cool it down in here, but I just heard
from a co-worker of mine (who heard it from our boss)
back to normal http. Is this not correct?
-Original Message----- From: Adam Hardy
On 10/16/2003 05:13 PM Brian McSweeney wrote:
a) Change the action-mappings in the struts-config.xml file
type="org.apache.struts.config.SecureActionConfig">
b) Change the web
On 10/17/2003 02:17 PM Kris Schneider wrote:
One approach you could take would be to create your set of alternate
LocalizationContext instances at application startup and store them in
application scope:
ResourceBundle countriesBundle = ResourceBundle.getBundle("countries", locale);
LocalizationCo
On 10/17/2003 12:16 PM Christian Martin wrote:
.in struts-config.xml
then i want to print out messsages in the jsp.
what is the correct value for parameter bundle?
but as i expected JSTL can't find the messages. ???message.test???
appears in the browser.
The ${countries} and ${st
is not working because then I need to create
getter and setter methods. It should be a dummy field and the validator does
the work...
Idea ?
- Original Message -----
From: "Adam Hardy" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent
On 10/17/2003 10:12 AM [EMAIL PROTECTED] wrote:
Question: Is there an easy way to create a dummy field for 'retype pasword' ? And is
it possible to validate this retype 'password field' with the validator plugin ? If so
how ?
Thanks !
Yes it's easy. Just duplicate the code for the password field,
On 10/17/2003 10:43 AM Chris Searle wrote:
"Chris" == Chris Searle <[EMAIL PROTECTED]> writes:
> Had the problem with using the html:messages with struts-el
> from the 1.1RC1 build (NullPointerException) - so I've just
> upgraded to 1.1 (thought I'd already done so).
> Now - I get
Chris,
This works for me:
<%=org.apache.struts.action.ActionErrors.GLOBAL_ERROR %>
I think by default your messages tag is not showing errors. That's what
the 'property' attribute is for.
Also, although I've forgotten the details - I think that message="true"
means that it will pick up
UTF-8
On 10/16/2003 07:25 PM ZYD wrote:
Now I use UTF-8 everywhere instead of gb2312, this problem is gone. Thanks for your help.
I have another problem, hope can get some advice from you:
I used the following url to connect to MySQL:
mysql.url=jdbc:mysql://localhost:3306/CoderPool?user=root&pas
On 10/16/2003 05:13 PM Brian McSweeney wrote:
a) Change the action-mappings in the struts-config.xml file
b) Change the web.xml file as follows:
action
org.apache.struts.action.ActionServlet
config
/WEB-INF/struts-config.xml
mapping
org.apache.struts.
On 10/16/2003 12:44 PM Mariano García wrote:
Hi all,
I have an ActionForm, an Action class and a bean. In struts-config.xml I
have this:
[...]
[...]
When I call /editConnection.do, I receive this error:
No getter method availa
Obviously the first act of this review board has been to decide that
[Wednesday] is in fact [Friday]
On 10/15/2003 08:53 PM Paananen, Tero wrote:
I think the best thing for all of us to do
is to vote to get Larry out of the struts list.
I want to assemble a review board to review this
propos
On 10/15/2003 06:06 PM Brandon Goodin wrote:
How about we set up a review board that examines every post to the list.
Discards pointless discussions (like this one) and rates them according
to a scale of importance to the community. Then they place them into
bugzilla where they will be propagated t
Sorry, don't know. Someone else will have to answer this.
Adam
On 10/15/2003 04:04 PM Erez Efrati wrote:
Forgive me for abusing this thread but... by the way how do you insert a
'-' and chars into a validator mask regular expression?
Erez
-Original Message-----
From: Ada
Perhaps we can work out a coding system like geekcode or whatever it was
so that we can prefix every message title in a more community-friendly way:
[I3F99D] internationalize blah blah blah
where
I = interesting for others from 0 - 5
F = frustration level of author: number of times have bang
27;t get is why does the checkups in the client side
validations are not done field by field, where on each field run all the
checks it depends on? Am I so special and unique to be doing it this
way?
Erez
-Original Message-----
From: Adam Hardy [mailto:[EMAIL PROTECTED]
Sent: Wednesday, Octobe
't work I guess I'd have to write one of my own.
Erez
-Original Message-
From: Adam Hardy [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 15, 2003 3:02 PM
To: Struts Users Mailing List
Subject: Re: Required checkbox field & Validator
On 10/15/2003 02:23 PM Erez Efrati wr
On 10/15/2003 02:23 PM Erez Efrati wrote:
I have a DynaActionForm with a boolean field representing a checkbox
field which must be checked before processing the form. I've tried
marking him as depending on 'required' but that didn't do it and the
server side FieldChecks.validateRequired () of Strut
On 10/15/2003 01:47 PM Erez Efrati wrote:
Oops, sorry, what I wanted to know is about 'requiredWhen'.
Erez
-Original Message-
From: Erez Efrati [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 15, 2003 11:12 AM
To: 'Struts Users Mailing List'
Subject: requiredif validator
Hi,
I am us
On 10/15/2003 10:50 AM Adam Hardy wrote:
Can anybody check out this issue for me quickly.
Tomcat5's form-based authentication does not work under SSL with a
Struts mapping, in Mozilla 1.5.
TC5 loops straight back to the login page again and again OR it gives me
an "invalid direct re
this with tomcat yet, I want to
make sure I'm not the only one first.
Adam
On 10/14/2003 06:48 PM Adam Hardy wrote:
I have set this up with the minimum configuration possible to try to
find the problem. 1 JSP, one Struts action mapping, 1 servlet mapping,
and the tomcat realm - no SSO, no filt
://wwp.icq.com/316498480
---
- Original Message -
From: "Adam Hardy" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesday, October 14, 2003 12:53 AM
Subject: Re: Urgent: username case insensitive for j_security_check?
On 10/14/2003 06:
On 10/14/2003 06:06 AM Mick Knutson wrote:
I guess I never thought about this, but all my usernames have not been entered in a
case insensitive fashion. I can easily enough fix this in the Action Class to make
everything lowercase, but how do I do this with the j_security_check form?
I also need
On 10/14/2003 05:14 AM virupaksha wrote:
Dear All,
I am new to Struts framework,but i am comfortable in JSP & servlets,
I have to implement a HRMS application in struts framework,
Our team size is very small (2 members), i have to take care of design & coding,
Can any one suggest me how i can sta
On 10/13/2003 10:04 PM Mick Knutson wrote:
When I get a logon form up from a secured area request, and the user adds a wrong username or password. They get an error logon form to re-logon. But then they get forwarded to the main home page, not their requested URL. How can I get that requested URL w
#2
On 10/13/2003 09:37 PM Mainguy, Mike wrote:
Here's my weekly(ish) question:
For the purposes of this discussion, ActionForms also mean DynaActionForms
and the like...
Where does everyone cast their (String) request parameters to the 'proper'
datatype?
#1 My ActionForms only have Strings, I man
AGE, msg);
On 10/13/2003 07:01 AM Navjot Singh wrote:
can't you pass a HashMap back?
-Original Message-
From: Adam Hardy [mailto:[EMAIL PROTECTED]
Sent: Saturday, October 11, 2003 6:42 PM
To: Struts Users Mailing List
Subject: communication between control layer & factory/model
I'
On 10/11/2003 04:31 PM Ted Husted wrote:
How about the Commons MessageResources?
http://jakarta.apache.org/commons/sandbox/resources/index.html
We ported the message collection over there for precisely this reason. :)
HTH, Ted.
That seems to fit the spec perfectly!
Thanks
Adam
--
struts 1.1 +
I've been happy until now passing objects backwards and forwards between
my actions and my factories, and occasionally a int with the number of
updates or deletes done, for example, to include in the status messages
I show to the user, and throwing exceptions for anything else.
However I've jus
On 10/10/2003 11:09 PM Evan Schnell wrote:
From my experience working with human translators this might be a
better approach. Translators like to be able to manipulate word order
and punctuation. It is a little more code but I'll argue that it is not
any less readable. Most importantly it work
On 10/10/2003 07:45 PM Michel Bertrand wrote:
Tks for your answer. Now I understood what's happing (I hope so) ...
I have a "multipart/form-data" and it has in its action a forward to
a common text form, like:
I believe when it reaches the redirect="true", Struts clear the
request attributes and
I would definitely use a javascript utility if it's allowed in the spec.
Adds to user friendliness and saves a bit of validation hassle with
locales / 12 or 24 hour clock etc.
On the server side you should be able to set up a parser with a standard
date/time pattern string that fits the javascr
On 10/10/2003 03:55 PM Daniel H. F. e Silva wrote:
Hi Vivien,
Take a look at your web.xml. Maybe you copied it from Struts dist and message-resources was
already configured there. As settings in web.xml will override settings in struts-config.xml,
classloader can't find resource to be loaded an
On 10/10/2003 01:46 PM Michel Bertrand wrote:
Hi all !
I was woundering about using Struts in Tomcat with JDBC Realms.
I found lots of topics about Strunts and Realms but using policy files
and I did not find any question or topic involving struts and JDBC Reals.
Does struts support the use of JD
On 10/10/2003 01:18 PM Mark Galbreath wrote:
http://www.sys-con.com/Java/article.cfm?id=2257
Mark
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
He must have been turned down by Su
Ah, you do C/C++ ? That explains alot ;)
Hey, and no smart retorts - you're not allowed, OK?
On 10/09/2003 12:44 PM Mark Galbreath wrote:
I was surfing McGraw-Hill's website yesterday and spied a Java book
co-authored by James Holmes and Herbert Schildt...anybody read this and can
offer an op
Hi Caroline,
configure the roles like this:
user
admin
Adam
On 10/09/2003 05:55 AM Nick Faiz wrote:
Hi Caroline,
Check out the DTD -
.
Try having one role-name per security-role.
Also, ensure that your security role is positioned in the right
place in your web.xml
OH NO! Now I have no excuse to ignore testing anymore!
Is anybody out there using strutstestcase in anger?
So Vic, openSTA - it's for scripting HTTP tests? I read the homepage and
it looked like I'd have to do alot of digging to find the basics - how
on earth does it verify the test results? Do
same
thing. It actually worked, but it worried me. Thansk
for all of the help! :)
--- Adam Hardy <[EMAIL PROTECTED]>
wrote:
They're indexed! 0 becomes 0, 1 becomes 1 etc., i.e.
the order they went
out with remains the same when they come back in. I
think you must be
missing the poin
On 10/08/2003 11:01 PM Craig R. McClanahan wrote:
Adam Hardy wrote:
LookupDispatchAction is great for sorting out the appropriate action
according to which submit button was clicked, even if those submit
buttons have got localized text. But surely it's just pandering to the
poor design of
om my testing it looks like the values
appear in the array in the same order the parameters
in the URL line.
--- Adam Hardy <[EMAIL PROTECTED]>
wrote:
Yes, but because they're indexed, you will see the
result as an array.
On 10/08/2003 07:45 PM Cornellious Mann wrote:
I'm not sure a
on a ActionForm?
Also, I don't really see how DynaForm helps this
problem.
--- Adam Hardy <[EMAIL PROTECTED]>
wrote:
Yes you can have indexed properties & dynaforms. I
do not use them, I
prefer nested properties. But I think the docs are
quite good on this
topic.
Re: your pr
Form helps this
problem.
--- Adam Hardy <[EMAIL PROTECTED]>
wrote:
Yes you can have indexed properties & dynaforms. I
do not use them, I
prefer nested properties. But I think the docs are
quite good on this
topic.
Re: your problem, I was just asking about categories
because I have no
I thought I might just raise this here because I see struts has
obviously no qualms about submit button functionality, but it bugs me.
I'm not using LookupDispatchAction, but I would like to if it wasn't for
the annoying browser behaviour on submit of the HTML-input submit button
values.
Looku
roduct ID. There is no category.
How do you think category could help?
Also, have you used an indexed property and DynaForm?
--- Adam Hardy <[EMAIL PROTECTED]>
wrote:
Still it depends. How does the database handle the
new products? Can you
at least categorise them?
On 10/08/2003 06
ation remains on this page
whereas the code of my action class is finished.
Maybe i'm not very clear, my english is not excellent :p !
Thank you for your help, Fred
Selon Adam Hardy <[EMAIL PROTECTED]>:
Hi Frederic,
I have to admit I'm confused about what you want to achiev
to wait... Then nothing happens. The application remains on this page
whereas the code of my action class is finished.
Maybe i'm not very clear, my english is not excellent :p !
Thank you for your help, Fred
Selon Adam Hardy <[EMAIL PROTECTED]>:
Hi Frederic,
I have to admit I'm
Hi Frederic,
I have to admit I'm confused about what you want to achieve. This is
what I think, but correct me if I'm wrong:
(1) the user submits a form with a struts token in it
(2) the user hits the back button to go to the form again
(3) the user submits the form again
(4) struts isTokenVal
like ActionForms can
not handle this situation and I will need to handle it
myself in the Action. Do you agree?
--- Adam Hardy <[EMAIL PROTECTED]>
wrote:
Hi Cornellious,
it depends whether you know beforehand what the full
set of possible
fields could be, or whether the fields themselves
are not
Hi Cornellious,
it depends whether you know beforehand what the full set of possible
fields could be, or whether the fields themselves are not limited in
name or type.
If the former, then it would be easy to make a form that defined them
all, and to use logic tags to display the needed fields o
If that's what she looks like with struts, what's she going to look like
with java server faces?
On 10/07/2003 05:30 PM Yann Cébron wrote:
Read for yourself and judge:
http://www.softwarereality.com/soapbox/softwarefashion.jsp
--
Why get complicated? All you need is and the validation
will automatically not be executed. Even the javascript validation if
you are using DynaValidatorForm.
Adam
On 10/07/2003 04:27 PM Glenn Holmer wrote:
Frederic Dernbach wrote:
Glenn,
- Use a descendant of DispatchAction for your form's
If your buttons have values set then you can test to see which button
value was submitted. Even better though with struts you can use the
built-in cancel button without needing to do that. and
then check action.isCancelled(request)
Adam
On 10/07/2003 01:49 PM Glenn Holmer wrote:
When you're u
Hi Caroline,
if I remember correctly, it is not possible to use Action servlet
mappings for the login and error pages in tomcat.
I do know for sure that it is recommended practice to keep those pages
seperate programmatically and to view them as part of the container
rather than part of your ap
Hi Pat,
are you sure you've got the best approach? Trying to shoe-horn two forms
into one request tells me generally (when it happens to me) that I
should refactor the design of whatever use-case I'm working on.
If I have a submit to one action mapping that on success must forward to
another a
There's a JAAS Realm implementation in Tomcat that you can use to plug
into the container-managed security Form-based authentication.
I did have some problems trying to get it to run basic authentication,
but form-based works fine.
Adam
On 10/06/2003 10:12 PM Sean Dockery wrote:
From another r
On 09/30/2003 09:04 PM Ted Husted wrote:
As mentioned, you can subclass DynaActionForm and create whatever custom
validations you need for a particular set of fields.
What's trickier is using different Validator validations without
defining a new DynaActionForm. Here, the trick is that the Valid
On 10/01/2003 05:44 PM Robert Leland wrote:
On 10/01/2003 01:35 PM Andrew Hill wrote:
IDE code completion is certainly one of my favorite reasons for using
a real
form :-)
Actually doesnt copyProperties() also work with dynaforms?
Adam Hardy wrote:
Yes as long as you don't need l
This is totally OT but what on earth is this JAF thing? As an example
Sun says:
"if a browser obtained a JPEG image, this framework would enable the
browser to identify that stream of data as an JPEG image, and from that
type, the browser could locate and instantiate an object that could
manip
ifferent result.
Adam Hardy wrote:
Hi Stephan,
I think the attachment got stripped off by the list server.
On 10/01/2003 11:12 AM Stephan Wiesner wrote:
Hi Remke,
thanks for the link to the tool, quite useful. The header is correct
in my case, though.
Here is a simple source example:
String
ut the
results are wrong and the usage of new String(original.getBytes(),
"UTF8"); leads to a different result.
Adam Hardy wrote:
Hi Stephan,
I think the attachment got stripped off by the list server.
On 10/01/2003 11:12 AM Stephan Wiesner wrote:
Hi Remke,
thanks for the link to th
201 - 300 of 828 matches
Mail list logo