The issue isn't that the field name is 'close to' the class name; in
fact the field name is irrelevant. It's the name of the getter/setter
methods that matters. The JavaBeans specification defines the rules for
mapping between property names and getter/setter method names. The main
thing to rem
On 1/16/06, Alexandre Poitras <[EMAIL PROTECTED]> wrote:
>
> Yeah of course :)
> In the last months I have a number of projects using jMock or easymock
> so I decided to give them a try to see if they are good tool.
> On http://www.mockobjects.com/ web site, they were saying that in TDD
> terminolo
okie!! That sounds fine.. But for my requirements. I need the user to login
and on login i set his userid in session and also create a cookie for soem
random number storage. I do this in my first Action Class which is also
checking for Valid user. This works fine till now. but if Cookies are
disabl
Yeah of course :)
In the last months I have a number of projects using jMock or easymock
so I decided to give them a try to see if they are good tool.
On http://www.mockobjects.com/ web site, they were saying that in TDD
terminology, stubs were just basically fake objects allowing you to
run your t
The rawInput variable is set in the FormComponent when the validation
starts. If validation succeeds, rawInput is set to an internal constant and
processing continues. If validation fails, the rawInput for each
FormComponent is still available and is rendered on the input page.
As far as adding
Nick Heudecker wrote:
I've built a number of Struts applications and
consider myself an expert with it, but it's unlikely I'd build another
application with Struts while Wicket is available.
Nick, Wicket does look interesting, but I'm curious, how does Wicket
handle preserving the user's
> ...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
Shivani Sawhney wrote:
Hi,
I have used masking in validation-admin.xml in my project. The problem
is that I want '&' to be allowed to my text boxes on which masking is
done but masking does not allow me to put ampersand. Please help me in
this context.
You can certainly use '&' characters in r
Amol Yadwadkar wrote:
Hi List,
Can anyone let me know the way to create the dynamic form elements in
the Struts Page?
I mean I want to add the selectboxes/textboxes etc on the click of the
link.
You mean you want to add the form elements dynamically on the client
side using Javascript (i.e.
Steven McClintoc wrote:
Hi there!
I have a page which consists out of three files:
- header.jsp
- sidebar.jsp
- main.jsp
header.jsp contains a navigational bar in which I want to highlight the
page currently be shown, e.g.
-
Home | Item
Thansk for your reply Rick.
You're right, I have seen that when field names are very close to the class
name then this problem does occur.
But why?
Does reflection not work when only one character is changed?
Thanks,
Karan
-Original Message-
From: Rick R [mailto:[EMAIL PROTECTED]
Sent: T
Daniel Kies wrote:
Does anyone know of a validator that can be plugged into the validator
framework that will check file types for FormFile? This would be so a user
can't upload certain extensions like .exe and the application will catch it..
There's nothing in the standard set of validation r
On 1/16/06, Jason Vincent <[EMAIL PROTECTED]> wrote:
>
> Hi there,
>
> I'd like to setup this usecase, in Shale/JSF...
>
> 1) user requests a url that is configured as "secured".
> 2) system checks for logged in user.
> 3) if the user is not logged in, then redirect to the login page.
> 4) on succe
Hi there,
I'd like to setup this usecase, in Shale/JSF...
1) user requests a url that is configured as "secured".
2) system checks for logged in user.
3) if the user is not logged in, then redirect to the login page.
4) on successfull login, redirect to orginally requested URL.
currently I just
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Monday, January 16, 2006 4:
I would like to unsubscibe to this user
group...How do I do
Cheers
__
Saran.k
J2EE Developer
Refresh 1.13 - Org Central
EW1, TOP, Athllon Drive
Tuggeranong ACT 2901
Phone:
Fax:
Email:
Website:
(02) 6244
Daniel,
I remembered reading about a Java class which could do that using a file's
"magic numbers." I think this library was
the one I am thinking about. Using it, you could determine the file
information in your Form bean, I think. It was
called "ffident Java metadata extraction / file for
I will keep a list of things that come up during the migration and post it
to this list.
Thank you for your time,
Jason Long
CEO and Chief Software Engineer
BS Physics, MS Chemical Engineering
http://www.supernovasoftware.com
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL P
On 1/16/06, Jason Long <[EMAIL PROTECTED]> wrote:
>
> Thanks for the reply Craig. I can do it by hand as I get time.
>
> 1. Is this process as straight forward as it seems in your article on
> Oracle?
You mean using struts-faces? I've never done a 150-page app conversion, but
it was definitely
Thanks for the reply Craig. I can do it by hand as I get time.
1. Is this process as straight forward as it seems in your article on
Oracle?
2. Is this still your recommended path for migrating from Struts to JSF
incrementally?
Thank you for your time,
Jason Long
CEO and Chief Software En
On 1/16/06, Jason Long <[EMAIL PROTECTED]> wrote:
>
> I would like to migrate my application to JSF. I am using Struts 1.2.7,
> Tiles, and XML Syntax JSPs. There are 150+ pages that use struts tags. I
> am using a custom request processor that extends TilesRequestProcessor and
> is modification
On 1/16/06, Yaroslav Novytskyy <[EMAIL PROTECTED]> wrote:
>
> Yes, I did, but just hoped to hear more explanative answer...
I'm not sure what more really needs to be said ... as the page states, for
general application use you shoud focus on APIs only in the packages targed
for that use (versus t
On 1/16/06, Alexandre Poitras <[EMAIL PROTECTED]> wrote:
>
> Ok I'm coming back after having done some reading. From what I
> understand it's seem the shale test framework provides you stub
> objects but they aren't true mock objects as in EasyMock or jMocks. Am
> I correct?
Can you be a little m
On 1/16/06, Christian Bollmeyer <[EMAIL PROTECTED]> wrote:
>
> Craig McClanahan schrieb:
> > On 1/15/06, Deepa Khetan <[EMAIL PROTECTED]> wrote:
> >> Hi!
> >> My application requires, "per-session cookie" to be enabled on client
> >> browser. How can i determine in my java code if it is enabled or
Great, worked nicely!
- Original Message -
From: "Alan Comeau" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Monday, January 16, 2006 10:51 AM
Subject: RE: Struts UTF-8
If you are using the 2.4 servlet spec it is pretty easy to use UTF-8 you
need to install a servlet
On 1/16/06, Nick Heudecker <[EMAIL PROTECTED]> wrote:
> 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.
...which are currently configured by what, XML? Doesn't
Does anyone know of a validator that can be plugged into the validator
framework that will check file types for FormFile? This would be so a user
can't upload certain extensions like .exe and the application will catch it.
thanks.
I would like to migrate my application to JSF. I am using Struts 1.2.7,
Tiles, and XML Syntax JSPs. There are 150+ pages that use struts tags. I
am using a custom request processor that extends TilesRequestProcessor and
is modification of com.sourcebeat.strutslive.common.PojoRequestProcessor.
On 1/16/06, Mark Lowe <[EMAIL PROTECTED]> wrote:
> The first page to be served up by the container will append the sessionid to
> the url. If cookies are enabled on the client (browser) then in subsequent
> requests the jsessionid will be stored in a cookie..
>
> A redirect in your welcome file sho
On 1/14/06, David G. Friedman <[EMAIL PROTECTED]> wrote:
> Like I believe that one. Have you ever read wicket? *yuck*
Meaning? Wicket is pretty good if you like Swing-type coding.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
On 1/14/06, David G. Friedman <[EMAIL PROTECTED]> wrote:
> Like I believe that one. Have you ever read wicket? *yuck*
Meaning? Wicket is pretty good if you like Swing-type coding.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
You can display the user's name by using either a session or request
variable. Just place the variable in either scope, and use to display it. That tag can display a variable regardless of whether
it's in the request or the session. You can specify the scope attribute
of the tag if you would
Josh McDonald wrote:
> can someone point me towards some documentation on compile-time taglibs or
> however
> it works? I can't seem to google an answer for myself.
>
Look in the source?
Dave
-
To unsubscribe, e-mail: [EMAI
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
More wicket articles? I'm getting a message here: I bet you wish Struts Action
2.0 was really Struts "Wicket" 2.0. LOL.
Personally, I had trouble with how it implements zero configuration files and
how the URLs look freaky in the current
version.
Regards,
David Friedman / [EMAIL PROTECTED]
---
Hi
On Jan 16, 2006, at 11:11 AM, Emmanouil Batsis wrote:
Hi all,
Is anyone using xdoclet validator tags with ValidatorActionForms to
generate different validation rule-sets per action? Is it even
possible?
As far as i know it is not possible. And in my humble opinion it's
not desirabl
Yes, I did, but just hoped to hear more explanative answer...
[EMAIL PROTECTED] wrote:
Yaroslav Novytskyy <[EMAIL PROTECTED]> wrote on 01/16/2006
08:56:37 AM:
Hello!
I wonder if Shale is stable enough in it's interfaces to start using it
for
developing commercial applications.
Ok I'm coming back after having done some reading. From what I
understand it's seem the shale test framework provides you stub
objects but they aren't true mock objects as in EasyMock or jMocks. Am
I correct?
On 1/16/06, Alexandre Poitras <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am trying to create
Hi all,
Is anyone using xdoclet validator tags with ValidatorActionForms to
generate different validation rule-sets per action? Is it even possible?
Thanks,
Manos
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional co
http://www.javalobby.org/java/forums/t60786.html
.V
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Yaroslav Novytskyy <[EMAIL PROTECTED]> wrote on 01/16/2006
08:56:37 AM:
> Hello!
>
> I wonder if Shale is stable enough in it's interfaces to start using it
for
> developing commercial applications.
> (or is it better to use pure JSF for stability reasons?)
>
> Can anybody comment on this?
>
Hello!
I wonder if Shale is stable enough in it's interfaces to start using it for
developing commercial applications.
(or is it better to use pure JSF for stability reasons?)
Can anybody comment on this?
Yaroslav Novytskyy
-
Should have added a filter mapping in the web.xml
setCharaterEncoding
StrutsActionServlet
-Original Message-
From: Marcio Ghiraldelli [mailto:[EMAIL PROTECTED]
Sent: 16 January 2006 13:38
To: user@struts.apache.org
Subject: Struts UTF-8
I am trying to use UTF-8 in
If you are using the 2.4 servlet spec it is pretty easy to use UTF-8 you
need to install a servlet filter.
public class ServletCharacterEncodingFilter implements Filter {
private FilterConfig config;
/** Creates a new instance of SetCharacterEncodingFilter */
public ServletCharacterE
Hi,
I am trying to create tests for my application and I am a little bit
confused. If I use a dynamic mock objects library like EasyMocks, do I
need to use the Shale test package?
Any downsides to using dynamic mock objects instead of static ones? I
have searched around using Google but I couldn't
Hi,
I have used masking in validation-admin.xml in my project. The problem
is that I want '&' to be allowed to my text boxes on which masking is
done but masking does not allow me to put ampersand. Please help me in
this context.
Thanks
Back in the day, there were a couple of tools for doing this. But the
old links I tried were broken. I believe some of the IDEs and plugins
do such things, like Camino
* http://www.scioworks.com/scioworks_camino_features.html
It's not free, but there is a 15-day trial.
I expect there must be oth
I am trying to use UTF-8 in my Tomcat 5.5 / Struts 1.2.7 app, but my form
beans shows "??" chars in place of international chars.
1) My JSP's has the UTF-8 encoding declaration
<[EMAIL PROTECTED] pageEncoding="UTF-8"%>
2) The Tomcat java proccess is running with UTF-8 option:
oh!!! i was mixing both of them!! Thanks Leon!! I will need to explicitly
set the MaxAge of the Cookie to 0, if i want it to expire on Logout!!
On 1/16/06, Leon Rosenberg <[EMAIL PROTECTED]> wrote:
>
> On 1/16/06, Deepa Khetan <[EMAIL PROTECTED]> wrote:
> > yes, i also dont understand the same.
On 1/16/06, Deepa Khetan <[EMAIL PROTECTED]> wrote:
> yes, i also dont understand the same. when i keep my browser privacy level
> to "medium-High" i get a true for request.isRequestedSessionIdFromCookie() ,
> and if it is "High" or "All Cookies Blocked" , i get it as false!
> Also, i have non-pers
yes, i also dont understand the same. when i keep my browser privacy level
to "medium-High" i get a true for request.isRequestedSessionIdFromCookie() ,
and if it is "High" or "All Cookies Blocked" , i get it as false!
Also, i have non-persistent cookies, which ideally should expire when my
session
Craig McClanahan schrieb:
On 1/15/06, Deepa Khetan <[EMAIL PROTECTED]> wrote:
Hi!
My application requires, "per-session cookie" to be enabled on client
browser. How can i determine in my java code if it is enabled or not!
Deepa
There is only one test that is useful for this ... set a cookie on
The first page to be served up by the container will append the sessionid to
the url. If cookies are enabled on the client (browser) then in subsequent
requests the jsessionid will be stored in a cookie..
A redirect in your welcome file should do what you want.
The container can work out wheth
On 1/15/06, Deepa Khetan <[EMAIL PROTECTED]> wrote:
>
> Hi!
> My application requires, "per-session cookie" to be enabled on client
> browser. How can i determine in my java code if it is enabled or not!
> Deepa
>
>
There is only one test that is useful for this ... set a cookie on one
response, a
Hi,
this comes up every so often, that people don't want the session id in the
URL, so I put it in as request to change the spec, in order to be able to
switch off URL rewriting:
https://jsp-spec-public.dev.java.net/issues/show_bug.cgi?id=155, (BTW: I
just realized that it belongs in the Servlet o
55 matches
Mail list logo