Hi!
But my code (shown above), would get the value from database anytime the
chargeFee==0.
So how do I distinguish between the two cases?
1. When the chargeFee came as 0 because the default is 0 and the
user had not entered any value.
2. When the chargeFee came as 0 because the
hi,
Basically I'm interested in testing struts actions (forwards, messages
etc). Most of the actions perform some actions on my database which I'd
like to speed up. My idea is to isolate database tests from struts
action test. There is only one way to achieve it which I see at the
moment (mock
Hello friends
I am using ditchnet tab taglib . However it works fine for
normal text in tagPane
tab:tabContainer id=foo-bar-container skin=wireframe
tab:tagPane id=aa tabTitle=one
Hello 1
The JSP and the HTML do not appear and disappear. After the appropriate
mechanisms read the JSP, the JSP is supplanted with a Servlet as well.
There is a triad of a Servlet, JSP and the HTML. These three work in
concert. They do not replace, etc., each other. So, when you click on the
link in
The input property is not necessarily or even ideally an error page output.
The input property can be used for a lot of things which are very
different. The input property is the input property and you can do with it
whatever you like. Most often this is used as a place to forward control,
but
Could any one give info how the below attributes can be used in html:text
tag.
errorKey
errorStyle
errorStyleClass
errorStyleId
html:text property=username size=20 maxlength=20
styleClass=inputtype /
-
To unsubscribe, e-mail:
Notes within:
snip
On 5/3/06, Michael Jouravlev [EMAIL PROTECTED] wrote:
On 5/3/06, Rob Manthey [EMAIL PROTECTED] wrote:
If you care about where your action is called from,
Only so much as to have a page for the server to send back to the user -
ie: the page that they were on - not some
On 5/5/06, Raghuveer [EMAIL PROTECTED] wrote:
Could any one give info how the below attributes can be used in html:text
tag.
errorKey
errorStyle
errorStyleClass
errorStyleId
snip/
Related tlddoc contains short descriptions:
Think I've cracked it - can't believe there're only two of us that have
seen this.
The problem appears to be that my data table doesn't have a fixed number
of rows and until some action has been performed will contain zero rows.
My page has a search form, and the table shows the results of a
Doing this with a link duplicates information and in its essence is not
robust. You have your actions, your data, and your views. In Struts, you
need to add forms. So, you have your actions, your forms, your data, and
your views. You need to sit down and decide what you need to build so that
Hi, All: Apologies in advance if this sort of message is inappropriate
for struts-user. I wanted to mention
http://www.itasoftware.com/careers/eng/9948.php
has a description of people we are looking for. Contractors or others
can apply as well.
We are looking for people with high performance web
Rahul, you cannot just jump into a conversation with irrelevant comments.
Start your own thread. Do you need help doing that?
On 5/4/06, Rahul Krishnarao Patil [EMAIL PROTECTED]
wrote:
Hi all ,
I want to Configuring datasource with tomcat for oracle . But i am not
able to find any proper
Hi!
I want to do some check every time when java file starts. How can i do this?
I think that is
posible with filter in web.xml, but i dont know how to do this :-(
Tnx,
Stanislav
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Hi,
Does struts has any facility to show fields having validation error in
red color or mark it in some way?
Not the error messages
Could any one suggest using
'errorKey' 'errorStyle'
'errorStyleClass' and 'errorStyleId' attributes.
Hi,
you wil be perhaps interested by FormView project. With FormView, you can
easily set a styleClass to input which have errors by using ActionError
Struts.
see http://formview.sourceforge.net/errors.html for more information.
Angelo
2006/5/5, Raghuveer [EMAIL PROTECTED]:
Hi,
Does struts
This morning I posted a problem
because of a waiting page:
This is the fix, but I don't understand why in this way the
ServletContext can be found.
Perhaps someone can explain!
Nice Weekend
/**
* Validate the properties that have been set from this HTTP request,
* and return an
On 5/5/06, Joe Germuska [EMAIL PROTECTED] wrote:
Its probably academic, but since CRP extends RP then it seems
incorrect to deprecate the whole class with a view to removing in the
future. Wouldn't it be more correct to deprecate all the protected
methods (e.g. processActionCreate(),
On May 5, 2006, at 9:02 AM, Niall Pemberton wrote:
For me the ideal end point is just a single RP and it seems cleaner to
have it called RP than CRP. That would be my preference, but if others
disagree and think that getting there is a PITA - its not a big deal.
I'd be in favor of this
Have an Object Customer
Name
Address
isEligibleCustomer -- boolean
In the Prepare action
Created list of these Customer objects.
and this customer list is set to request.
want to check the checkbox according to the value of the Object
isEligibleCustomer of Customer object.
not sure how to
Depending on what you mean by Java file starts, there's 3 things you can do.
- Once on creation of a session, implement HttpSessionListener and
specify the listener in web.xml
- Once for every request, create a filter by extending
AbstractHttpFilter or implementing HttpFilter and specify the
I have also been working on a similar project which marks fields in
error with a background color. In addition to that, it also:
1. If you click on the error messages on the top, it scrolls you to the
field in error.
2. Marks the field with a color.
3. Generates a pop-up div box with a detailed
Quick and short answer Check out the topic Token
http://www.learntechnology.net/struts-token.do
-Original Message-
From: Caroline Jen [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 04, 2006 11:09 PM
To: user@struts.apache.org
Subject: What To Do If Users Use the Browser Back Button?
It is working like this for scalar properties but doesn't work for nested
tags
html:text property=username size=20 maxlength=20
styleClass=inputtype errorStyleClass=inputtypeerror
errorStyle=background-color: red/
-Original Message-
From: Raghuveer [mailto:[EMAIL PROTECTED]
Sent:
Thanks for your help.
You are right, there should be a calculate button, but the stakeholders
don't want another button on the web page.
But I figured out a dirty way to handle this. I'm using a hidden field
to distinguish between display and calculate.
Vikas
-Original Message-
From:
including a taglib in jsp will it cause performance problems ?
for example
my jsp has path to taglib
%@ taglib uri=/tld/struts-bean prefix=bean%
and I am not using declared tag any where in my jsp.
As per performance measure can I ignore tld declaration or should remove
On 5/5/06, DOUILLARD David [EMAIL PROTECTED] wrote:
Hi,
I have a form that create a user in my database. I use a simple action
class.
After the création, i forward to a jsp (viewuser.jsp) that show my users.
Now, i want to add two buttons on viewuser.jsp (Button.edit, button.delete)
for each
On 5/5/06, Patil, Sheetal [EMAIL PROTECTED] wrote:
Hello friends
I am using ditchnet tab taglib . However it works fine for
normal text in tagPane
tab:tabContainer id=foo-bar-container skin=wireframe
tab:tagPane id=aa tabTitle=one
Hello,
If you want you can use JSPTabControl, which is JSP taglib
which is able to manage Tabs. With this taglib you can use easily
with ApplicationResources Struts (to set your title in your tabs).
You can too set a state for particulary tab (eg :set sttate ERROR for
particulary tab, Set
On 5/5/06, Raghuveer [EMAIL PROTECTED] wrote:
It is working like this for scalar properties but doesn't work for nested
tags
snip/
Maybe you're looking for its nested counterpart, nested:text?
-Rahul
html:text property=username size=20 maxlength=20
styleClass=inputtype
On 5/5/06, temp temp [EMAIL PROTECTED] wrote:
including a taglib in jsp will it cause performance problems ?
for example
my jsp has path to taglib
%@ taglib uri=/tld/struts-bean prefix=bean%
and I am not using declared tag any where in my jsp.
As per performance measure can
I posted the question earlier and thanks for many
respondents took time to answer my question.
While double submission is one of my problems, my
focus has been on this particular one:
WebPage A1 -- WebPage A2 -- WebPage C
WebPage B1 -- WebPage B2 -- WebPage C
There is no problem to close the
Greetings
I am new to tiles and so far I like it. I have a question though.
Seems like it should be easy to do but I haven't seen how yet. I will
try to describe the situation as concisely as I can. This can be
reproduced with just 2 jsp files.
layout.jsp (interesting lines only)
title
Hi
Java Web User Group, London, UK is holding the eighteenth birds-of-a-feather at
the fabulous Waxy O'Connor pub in the West End of London from 7pm.
This will be a Pre-JAVAONE meet up and there is Kitty (whip around of cash
of £32.30 for drinks ). The venue is a little nostalgic for us
I seem to have a problem with running Shale-Clay offline because there
seems to be a few dtds that need to be downloaded for validation
purposes I assume. I was just wondering if there are plans for an
Entity resolver to help with the resolution of the dtd to a local one. :)
Thanks,
Ryan
On 5/5/06, Ryan [EMAIL PROTECTED] wrote:
I seem to have a problem with running Shale-Clay offline because there
seems to be a few dtds that need to be downloaded for validation
purposes I assume. I was just wondering if there are plans for an
Entity resolver to help with the resolution of the
I love the response time on this list. :) Thanks for the tip Craig. I
had an old version of the public id
-//Apache Software Foundation//DTD Shale Clay View//EN
Is there a wiki I can post this info on for others?
Thanks,
Ryan
p.s. I was wondering if any of the Shale team would be at JavaOne
Hello!
I've got in a jsp the following code:
logic:iterate name=Portal property=deaktserver id=srv
html:multibox property=inaktmachines value='%= srv %' /
/logic:iterate
- This does not work.
srv contains a string which I want to have as value of html:multibox. How
should it be written?
I
On 5/5/06, Ryan [EMAIL PROTECTED] wrote:
I love the response time on this list. :) Thanks for the tip Craig. I
had an old version of the public id
-//Apache Software Foundation//DTD Shale Clay View//EN
Is there a wiki I can post this info on for others?
That would be very helpful.
We
Have you tried the instructions in the tiles documentation?
http://struts.apache.org/struts-action/struts-tiles/
I think it describes your use case. Are you trying this and getting
some kind of error you can send us?
Thanks,
Greg
On May 5, 2006, at 1:33 PM, Troy Bull wrote:
On 5/5/06, Ryan [EMAIL PROTECTED] wrote:
I love the response time on this list. :) Thanks for the tip Craig. I
had an old version of the public idhttp://mail.google.com/mail/
-//Apache Software Foundation//DTD Shale Clay View//EN
Is there a wiki I can post this info on for others?
Struts 1.2.9, Validator 1.2.0.
If I used the required validation, when the user enters whitespace in a form
field, the validation fails. However, when using validwhen it seems that
whitespace is accepted.
In the validation I'm using (below), if the user leaves lastName empty, an error
is
Craig McClanahan said:
On 5/5/06, Ryan [EMAIL PROTECTED] wrote:
I love the response time on this list. :) Thanks for the tip Craig. I
had an old version of the public id
-//Apache Software Foundation//DTD Shale Clay View//EN
Is there a wiki I can post this info on for others?
That
From: Ryan [EMAIL PROTECTED]
Craig McClanahan said:
On 5/5/06, Ryan wrote:
I love the response time on this list. :) Thanks for the tip Craig. I
had an old version of the public id
-//Apache Software Foundation//DTD Shale Clay View//EN
Is there a wiki I can post this
Hi Struts List,
Is there a way through Struts and JSTL Tags to get a count of the
number of ActionMessages or ActionErrors?
I would like my html:messages to display messages in a numbered
bulleted list when there are more than one, but just display the one
outside of a list when there is only
Hi,
http://www.roseindia.net/struts/struts_tiles.shtml
will give you a good start for tiles.
-Original Message-
From: Greg Reddin [mailto:[EMAIL PROTECTED]
Sent: Saturday, May 06, 2006 1:32 AM
To: Struts Users Mailing List
Subject: Re: Tiles Question
Have you tried the instructions
Hi,
The indexId attribute in logic:iterate tag may be useful. For more
information on this, please refer to,
http://struts.apache.org/struts-action/struts-taglib/tlddoc/logic/iterate.html
Thanks,
Tarun.
On 5/5/06, Philihp Busby [EMAIL PROTECTED] wrote:
Hi Struts List,
Is there a way through
Hi,
You can do this way,
logic:iterate name=Portal property=deaktserver id=srv
html:multibox property=inaktmachines
bean:write name=srv /
/html:multibox
/logic:iterate
This should work.
On 5/5/06, Andreas Hartmann [EMAIL PROTECTED] wrote:
Hello!
I've got in a jsp the following
A Hands on Preview of Struts Action 2.0 by Patrick Lightbody. With the
Struts and WebWork merger, the Java web application landscape is
finally maturing and consolidating. Join us for a code-intensive
session and learn about what makes WebWork so special to work with.
Patrick Lightbody is the
Hello Tarun,
Tarun Reddy wrote:
Hi,
You can do this way,
logic:iterate name=Portal property=deaktserver id=srv
html:multibox property=inaktmachines
bean:write name=srv /
/html:multibox
/logic:iterate
This should work.
This produces an Unterminated lt;html:multibox tag.
49 matches
Mail list logo