Between 6:30 and 7:00pm, sign in for this free event, enjoy light dinner
fare provided by Google, and network with your peers. In order to ensure
there are enough refreshments for everyone, please register here in
advance:
http://services.google.com/events/baychi_rsvp
Next-Generation Interactivit
I am submitting a Struts form in my live application but the values seem to
be getting lost between my browser and the population of my ActionForm. This
only happens if the login page is the first request of the session.
If you click around on the site (even once) and then submit the form the
v
Hi all,
Having just joined the list I am unaware if this topic has been done to
death already but I was wondering what were peoples views on handling date
input with Struts? I'm scanning archives right now and don't see it come up
too often. If this is a little OT then please flame me. (Just ki
Give us some more info Tony.
Are you talking about a relational database with 20 tables, or is this
user information just a few bits in an xml file?
Larry
On 6/6/05, Tony Smith <[EMAIL PROTECTED]> wrote:
> Hi, I am using struts to develop a webapp. One piece
> of work is the user information. I
Hi,
I read your article and found it very informative. But
in my situation, I have about 10 different "items". If
I use the technology described in the paper, I need to
create about 40 forms and even more actions. Is there
any other ways to get around of this?
Thanks,
--- Michael Jouravlev <[E
no i did not; but i cannot use it as i want to allow single digit
months/days in user input.
more generally; i wud have expected the DateValidator to return FALSE if
the user input is form "1980" for pattern "-MM-dd"
anybody wanna weigh in? :)
riyaz
[EMAIL PROTECTED] wrote:
Sorry i
Sorry if you get this twice.
Did you try DatePatternStrict?
Erik
-Original Message-
From: Riyaz Mansoor <[EMAIL PROTECTED]>
Sent: Jun 6, 2005 4:49 PM
To: Struts Users Mailing List
Subject: date validation
i've got a date validation set up with datePattern "-MM-dd", ie
standard
On Tuesday 07 June 2005 00:29, Craig McClanahan wrote:
> On 6/6/05, Emond Papegaaij <[EMAIL PROTECTED]> wrote:
> I don't suppose it is
>
> > possible to have a single rule like this:
> >
> > /*.jsp
> >
> > *
> > /{1}.do
> >
> >
>
> The rule matching part of this is *almost* possib
On 6/6/05, Emond Papegaaij <[EMAIL PROTECTED]> wrote:
I don't suppose it is
> possible to have a single rule like this:
>
> /*.jsp
>
> *
> /{1}.do
>
>
The rule matching part of this is *almost* possible. You can use a
"*" wild card for and values. But you
don't get the automa
Scott Purcell wrote:
But today, I realized that a lot of sites use a fully qualified: http://mysite/mycontext/images/images/spacer.gif";>
for their sites. I would like to be able to do that.
Why? Seems unnecessary if you're linking to your own site. If you're
linking off-site, there's no go
Yes. Maybe if you include the actual mappings, JSP text, form
declaration, etc, someone will find something. From what you've said,
it should work.
Hubert
On 6/6/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Yes the form bean is associated with the HTML form.
>
> If I simply do this:
>
I believe that doing absolute addressing as you are proposing, is probably
against all
"best practices" of HTML design. Do some research on best-practices of HTML
before
doing this...
Cheers, Alex.
On 6/6/05, Scott Purcell <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I have build a site using
Hello,
I have build a site using the struts framework with a heavy use of the
html:img tag like so.
And it does a great job at including the context of the application and
therefore giving me a page source of such:
And all is happy.
But today, I realized that a lot of sites use a fully q
On Monday 06 June 2005 22:21, Craig McClanahan wrote:
> On 6/6/05, Emond Papegaaij <[EMAIL PROTECTED]> wrote:
> > On Monday 06 June 2005 18:06, [EMAIL PROTECTED] wrote:
> > > I believe that you can use a string instead of a binding expression,
> > > like you would a action forward (action='next')
>
i've got a date validation set up with datePattern "-MM-dd", ie
standard JDBC SQL format.
but date validation seems to pass values of type "1980" (without month
or day) and subsequently i get a SQL DATE conversion error.
is this expected behavior for date validation? is there a way to e
Validator Framework only validates against STATIC value, not dynamic ones. For
example. a user input a deposit rate. the validator in web tier only validate
whether it is a number or whether its value is positive and not excess 100( a
static boundary). But the company's business rule also requir
Yes the form bean is associated with the HTML form.
If I simply do this:
It writes out the contents. This takes care of the value attribute.
My question is for the property.
Can a nested bean property be used in the html-el:checkbox as the
property?
- Glenn
Hubert Rabago <[EMAIL PROTECTED]
Huang-
I am a bit confused by statement 'by accessing database'
Could you explain why am error message must be done 'by accessing database'
instead of by properties or ResourceBundles?
Thanks,
Martin-
- Original Message -
From: "Xinsheng [mike] Huang" <[EMAIL PROTECTED]>
To: "Struts Us
Is dependentForm is form bean associated with the HTML form that
your checkbox is a part of? There could be a typo in your
struts-config, or your , or your form declaration.
Hubert
On 6/6/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I gave it a go and I get this error now... more precise b
> Whats the best place / access method to storing and retriving
> config attributes like administrator email addresses and directories
> to store uploaded files in a multi-tiered webapp, web.xml?
> Resources file? Both servlets and non servlets need to access
> these values. Opinions greatly
Currently we have an XML.
This file is loaded in a filter using apache digester.
HTH,
Glenn
"Brian McGovern" <[EMAIL PROTECTED]>
06/06/2005 03:51 PM
Please respond to
"Struts Users Mailing List"
To
cc
Subject
Best Place for config values
Whats the best place / access method to stor
On 6/6/05, Emond Papegaaij <[EMAIL PROTECTED]> wrote:
> On Monday 06 June 2005 18:06, [EMAIL PROTECTED] wrote:
> > > Currently I'm using a construction similar to the one used in the
> > > struts-faces examples. A backing bean contains the forwards and these are
> > > called from the JSF with the f
On Monday 06 June 2005 18:06, [EMAIL PROTECTED] wrote:
> > Currently I'm using a construction similar to the one used in the
> > struts-faces examples. A backing bean contains the forwards and these are
> > called from the JSF with the following code:
> > 'action="#{backing.forward}"'. However this
Let me see if I undertood well, are you willing a paper about "patterns to
work with struts"?
Try to read about MVC, I think it's a good startup.
* Leandro Dorilêo
Desenvolvedor Java
ÁBACO Tecnologia de Informação Ltda
Qualidade: Um Compromisso de todos!
( (0xx65) 617-0777 ( FAX 623-0646
To
Rule 1: let the global exception handler handle the unwanted-exceptions,usually
they are system exceptions.
Rule 2: for business exceptions that your action catchs and put an action
error/message in request so that the jsp displays a message to user to
recovery. A business exception is required
Apolgies it is my typo... I have property twice... one should be value.
- Glenn
"Martin Gainty" <[EMAIL PROTECTED]>
06/06/2005 03:46 PM
Please respond to
"Struts Users Mailing List"
To
"Struts Users Mailing List" , "Hubert Rabago"
<[EMAIL PROTECTED]>
cc
Subject
Re: html-el:checkbox quanda
Good catch Hubert..Thats what I noticed ..2 property references and no
value=
In the future you may want to debug with display statement like
Martin-
- Original Message -
From: "Hubert Rabago" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Monday, June 06, 2005 3:25 PM
Su
Whats the best place / access method to storing and retriving config attributes
like administrator email addresses and directories to store uploaded files in a
multi-tiered webapp, web.xml? Resources file? Both servlets and non servlets
need to access these values. Opinions greatly appreciate
I gave it a go and I get this error now... more precise but an error none
the less...
[06/06/05 15:40:53:846 EDT] 5dc35dc3 WebGroup E SRVE0026E: [Servlet
Error]-[No getter method for property dependent.healthEligibilityIndicator
of bean org.apache.struts.taglib.html.BEAN]:
javax.servlet.js
On 6/6/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Okay okay it is one of those mondays where your physically at work but
> mentally still Saturday afternoon !
>
I'm feeling the same way.
> I have a form bean:
> DependentForm
> which also contains a value object bean:
> dependent
> which
I've gotten into the habit of using the Struts global exception handling
mechanism... Anything that can be handled in my code I catch and handle
(i.e., retrying a connection to a back-end system perhaps), anything else
I let bubble up and handle it in the global handler.
This to me is pretty much
Okay okay it is one of those mondays where your physically at work but
mentally still Saturday afternoon !
I have a form bean:
DependentForm
which also contains a value object bean:
dependent
which has a property called: healthEligibilityIndicator
Now I'd liket to reference the property in the
relatively certain that 2.2 Servlet spec says encodeRedirectUrl(string url)
is deprecated
I believe interface HttpServletResponse now only supports
encodeRedirectURL(String url) *note URL is all uppercase*
HTH,
Martin-
- Original Message -
From: "Michael Rasmussen" <[EMAIL PROTECTED]>
I am working with Oracle Application Server 10G (version 9.0.4.0.0
according to help) with an application using Struts 1.1. We want to
use Struts' forward with redirect option, but have had intermittent
success. Meaning, sometimes the forward re-direct will work and other
times it returns an http
Matthew Hughes wrote the following on 6/6/2005 12:21 PM:
Can anyone tell me
why this isn't a good idea?
I've found it easiest to not have any try/catch logic in my Actions, and
I just define the global exceptions I want to catch in my struts-config
which forwards to an action that logs my er
I wonder, what kind of usability issue that could be? I see two cases:
1) At best, URL should show the path to the object, like
app/task/itemid/actiontype or something. I think this is better than
artificial breadcrumbs, which do basically the same. And, if a user
tries to go one "directory" up, a
Thank yoy very much.
--- Michael Jouravlev <[EMAIL PROTECTED]> wrote:
> On 6/6/05, Tony Smith <[EMAIL PROTECTED]> wrote:
> > Hi, I am using struts to develop a webapp. One
> piece
> > of work is the user information. I will allow user
> to
> > create, view, and update his personal information.
>
I really do not like the way my current application handles errors as
every error requires three or four lines and it is very redundant.
I have been reading a lot about Exception(s) and how developers are
slowly seeing the benefits of extending their Exception(s) from
RuntimeException freeing code
Turn validation off by setting validate="false" in your action mapping
difinition in struts-config.xml file, and call form.validate()
manually from appropriate handler methods.
On 6/6/05, delbd <[EMAIL PROTECTED]> wrote:
> Hello, i have a form using a dispatch action, amongst the actions in the
>
On 6/6/05, Tony Smith <[EMAIL PROTECTED]> wrote:
> Hi, I am using struts to develop a webapp. One piece
> of work is the user information. I will allow user to
> create, view, and update his personal information.
Maybe you would like to reconsider your three pages, and split them
into "edit new",
> Hello,
>
> I'm looking for a elegant way of transfering control from a JSF page back to
> an action. The situation is as follows:
> An action has its 'input' set to the JSF page and forwards control to
> 'getInputForward'. The JSF page contains several input fields and a
> navigation panel, u
Hi Joe!
When I posted the initial mail I didn't understand well how
ExceptionHandler works, but now I think already do, I'll tell you how I
figure it out and if perhaps I'm wrong please correct me, ok?
- We can have as many exceptionHandler as we need, and we configure who
will be or Exception
Hi, I am using struts to develop a webapp. One piece
of work is the user information. I will allow user to
create, view, and update his personal information.
Usually, the three pages are very similar. What is the
best way to do this with Struts? Is there any
"Pattern" for this? I checked the Struts
Hello,
I'm looking for a elegant way of transfering control from a JSF page back to
an action. The situation is as follows:
An action has its 'input' set to the JSF page and forwards control to
'getInputForward'. The JSF page contains several input fields and a
navigation panel, using 'x:comman
thank you for your help. I find the solution.
To access to database in a plugin method you can do:
javax.sql.DataSource aDataSource =
(DataSource)servletc.getServletContext().getAttribute("dataBase1");
where dataBase1 is the key witch identify the data-source in the
struts-config.xml
Thibault-
Have you had the opportunity to look at
http://www.docjar.com/html/api/org/apache/struts/action/ActionServlet.java.html
?
This is a customised ActionServlet which initialises data-sources thru
initModuleDataSources method
and the initModulePlugIns method which initialises the PlugIns
hi, i'd like to access to dataSource configured in struts-config.xml in
the Plugin init method.
But i don't have a clue how to do that.
Thanks.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
I tried that but it doesnt exactly help.
I think I'll go the "manipulate URLs @ the web server" route. It looks
the best option.
Thanks all.
On 6/3/05, Laurie Harper <[EMAIL PROTECTED]> wrote:
> Another option might be to use two URL mappings: *.do and /users/*.
> Would that get you what you want
Alright, after receiving permission from Frank, I posted his summary
of the recent thread with this same name to my blog.
http://uab.blogspot.com/2005/06/funny-thread-on-struts-mailing-list.html
Enjoy. Remember, the summary is Frank's and the blog is mine. So don't
blame Frank if you don't like a
Hello, i have a form using a dispatch action, amongst the actions in the
DispatchAction is the add of new fields to the form. I need some of those
dispatch action to be validated. But some actions need to take place whever
the form is valid or not (eg adding field to the form should add the fiel
Sorry Martin,
Due to official purposes I have it as the default setting.
Regards,
Abhinav
-Original Message-
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Sent: Monday, June 06, 2005 6:38 PM
To: Abhinav Bhatnagar; Struts Users Mailing List
Subject: Re: how do I switch off Struts - inter
Mr Bhatnagar:
I do not answer registered return receipt emails as I find the behavior
quite disrepectful.
Martin-
Privacy and Confidentiality Notice:
Please do not email me directly
- Original Message -
From: "Abhinav Bhatnagar" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" ;
Try something like this:
# Whattaa logga
log4j.logger=FATAL
log4j.logger.fr.improve.struts=INFO
log4j.logger.org.apache.ojb=INFO
log4j.logger.org.apache.struts=INFO
log4j.logger.com.candor.hummingbird=DEBUG
GreetZ
Nils
-Original Message-
From: Abhinav Bhatnagar [mailto:[EMAIL PROTECTED
Try something like this:
# Whattaa logga
log4j.logger=FATAL
log4j.logger.fr.improve.struts=INFO
log4j.logger.org.apache.ojb=INFO
log4j.logger.org.apache.struts=INFO
log4j.logger.com.candor.hummingbird=DEBUG
GreetZ
Nils
-Original Message-
From: Abhinav Bhatnagar [mailto:[EMAIL PROTECTED
Thanks Martin,
I have these parameters in my log4j xml file, but that's for my
application's logs.
If I change it there, my application logging will also stop, which I
don't want.
Can I do it specifically for struts internal logging only?
Thanks and regards,
Abhinav
-Original Message-
Hi all,
Let's say I got a typical tile main layout definition:
Now the content has to split into 2 panes. But not always. So I would like
to have definition who looks like this:
The syntax is not right but it explains
Hi all,
Let's say I got a typical tile main layout definition:
Now the content has to split into 2 panes. But not always. So I would like
to have definition who looks like this:
The syntax is not right but it explains
Hey all,
I get an exception and cannot find any explanation or solution.
An OverviewBody.jsp page intends to list all data items from a database.
It therefore cretaes an appropriate table, the table body is implemented using a
logic:iterate tag, the single table columns/cells are supposed to get
Davi G. Friedman wrote:
Luke,
Your settings look normal. I've checked the 1.2.4 code relating to your
error and somehow the struts initialization isn't loading or loading
correctly. Have you turned on any sort of debugging and can show the
webapp startup messages? Have you done any logging i
59 matches
Mail list logo