I found the problem
Please ignore this message
Thanks
Rivka
-Original Message-
From: Rivka Shisman [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 26, 2006 11:19 AM
To: Struts Users Mailing List
Subject: InvalidCancelException in v1.2.9
Hello friends,
I moved from 1.2.4 to 1.2.9
Hello friends,
I moved from 1.2.4 to 1.2.9 and now when ever I press the html:cancel
link I get the InvalidCancelException.
What am I doing wrong?
Thanks
Rivka
xactly solve your identical problem
> but it does show how you can use validwhen to apply logic based on the
> value of another field in your form which is what you want to do. The
> actual logic can be pretty much anything, if it evaluates to true then
> the field is valid, if fal
To: Struts Users Mailing List
Subject: Re: Validator rule question
Rivka Shisman wrote:
> Hi Quinn,
>
> As much as I understand the "validwhen" is more like an enhanced
> "requiredif", but I need that the "date" rule on my property be
checked
> only whe
I right?
Rivka
-Original Message-
From: Quinn Stone [mailto:[EMAIL PROTECTED]
Sent: Saturday, April 08, 2006 8:06 PM
To: 'Struts Users Mailing List'
Subject: RE: Validator rule question
Rivka, look into the "validwhen" validation. I think that should do the
trick.
Hello Friends,
I have a DynaValidatorForm in which there 2 String properties: action
and student_birth_date.
I have a date validation like this:
datePatternStrict
Hello Friends,
I have a DynaValidatorForm in which there 2 String properties: action and
student_birth_date.
I have a date validation like this:
datePatternStrict
Hi friends,
I need to dynamically build an input form that may contain various
html:fields (i.e. html:text, html:select, html:radio etc).
The type and name of the html:field will be determined at runtime (from
DB table).
How can I do it using Struts and JSP?
Thanks
Rivka
some additonal "how
tos"
which give more details. Essentially though any properties can be added
"dynamically" to a lazy dyna bean at run time - they don't have to be
defined in advance.
Niall
- Original Message -----
From: "Rivka Shisman" <[EMAIL PROTE
:
http://struts.apache.org/struts-action/userGuide/building_controller.htm
l#lazy_action_form_classes
Niall
- Original Message -
From: "Rivka Shisman" <[EMAIL PROTECTED]>
Sent: Tuesday, March 07, 2006 1:46 PM
Hi friends,
I need to present my user an html form whose
Hi friends,
I need to present my user an html form whose fields are built
dynamically using data I get from the database.
I need your advice on how to do that.
Thanks
Rivka
Hello Friends,
I've been working with Struts for some months now and I really like the
framework and I especially like the people that participate in the
mailing lists.
Today I spoke with a project manager from IBM (consulting team)
regarding consulting services for developing our web J2EE app
Hi friends,
I need your advice about this:
I have a J2EE application that runs on Websphere application server.
The application contains a several web projects (WARs).
I need to implement a menu page that will be the front for all that web
projects.
1. Should that menu be a separate w
@struts.apache.org; Rivka Shisman
Subject: Re: Enabling links according to user's authorization
On 1/17/06, Rivka Shisman <[EMAIL PROTECTED]> wrote:
Wendy wrote:
> > I use Struts Menu to conditionally display menu items based on user
> > roles. Rather than configure the container
Hi Danny
When the user logs in, he can work with say 10 JSP pages in the
application, each page works on different table in the DB (so each page
can give a user a maximum of 4 links to the DB table) - do you mean that
the PERMISSIONS property will hold 40 permission flags (10*4)?
I'm not sure I u
from taking place at the
requestprocessor level.
i.e. in case somebody guesses the link.
Gareth
Rivka Shisman wrote:
> Hi again,
>
> LetÃcia - Does hiding the links mean that I should put a heavy security
> checking code on each such JSP page? Or is there a nicer way?
>
>
will be more clear.
>
> On 1/11/06, Rivka Shisman <[EMAIL PROTECTED]> wrote:
>
>>Hi everyone,
>>
>>We have a web application running on Websphere Application Server V6.
>>Say I have a JSP page that enables working on Student details.
>>This JSP page ena
Hi everyone,
We have a web application running on Websphere Application Server V6.
Say I have a JSP page that enables working on Student details.
This JSP page enables users to view, insert, update or delete student
records.
Now, some users can only use the 'View' link, others can also use
'Insert
time).
Thanks
Rivka
-Original Message-
From: Tamas Szabo [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 29, 2005 6:10 PM
To: Struts Users Mailing List
Subject: Re: closing the browser after streaming a pdf file
Hi
On 12/29/05, Rivka Shisman <[EMAIL PROTECTED]> wrote:
>
> Hi Ta
--
From: Tamas Szabo [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 29, 2005 4:55 PM
To: Struts Users Mailing List
Subject: Re: closing the browser after streaming a pdf file
Hi!
On 12/29/05, Rivka Shisman <[EMAIL PROTECTED]> wrote:
>
> Hello friends,
>
> I have a ReportAction f
Hello friends,
I have a ReportAction from which I'm streaming a pdf file to
AcrobatReader(The Action returns null).
When the Action ends - an empty I.E. browser opens and then Acrobat
opens my pdf file.
Is there a way to close the empty I.E. browser? Or prevent it from
opening in the fist
Thank you Wendy :-)
-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 15, 2005 4:36 PM
To: Struts Users Mailing List
Subject: Re: Struts DTD - basic question
On 12/15/05, Rivka Shisman <[EMAIL PROTECTED]> wrote:
> When I use in my struts-c
Joe wrote:
>>Struts, Tiles, and Validator all are distributed with the correct DTDs
(as well as several historic versions) packaged in the JAR. If you
>>have the correct DOCTYPE declaration in your XML file, the DTD will be
read as a classpath resource rather than over the internet.
>>I thi
Hi friends,
I am developing a web application in which I have struts that call EJB
that uses other utility java classes.
I started to wonder - how much business logic should I put into struts
Actions?
For example, if I'm creating a report with jasper reports - should the
report creation be
Hi again and thank you all for your help
Danny, I'm working with RAD (Rational Application Developer) of IBM as
an IDE, and it's baseed on Eclipse.
Can you please tell me where to configure the DTD locally?
Thanks
Rivka
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf
Hello all,
My struts-config.xml looks for the dtd in the Jakarta website:
http://jakarta.apache.org/struts/dtds/struts-config_1_2.dtd
My validator.xml looks for the dtd in the Jakarta website:
http://jakarta.apache.org/commons/dtds/validator_1_1_3.dtd
And so my validator-rules.xml file.
W
Hi friends
Can you recommend me a reporting tool that works nicely with Struts?
Does someone use Crystal Reports?
Thanks
Rivka
Hi friends
I need help with a design question (not directly connected to struts):
I have a J2EE application that works on an application server
(WEBSPHERE) and also a database server.
When clients run requests for various reports - where should the report
files be created?
I don't want th
Hey there
Does someone know a parallel tag to html:select?
I mean that if in the Edit.jsp page i had an html:select tag to edit the
student_status field - and in the displayStudents.jsp i have a
bean:write to display the student_status field
What id the best way to get the decode in the displ
rs Mailing List
Subject: Re: request attribute in jsp - please advice
Can you set the listIndex as an attribute of your form
in the EditStudentAction? You can then retrieve it as
part of your formBean.
-Richard
--- Rivka Shisman <[EMAIL PROTECTED]> wrote:
> Hello friends
>
>
Hello friends
I have an EditStudent.jsp page in which I have a form. Before the form
tag I get a request attribute called 'listIndex'. But, when my
validate() method fails on field validation it returns back to the above
mentioned jsp page with an appropriate message. That is o.k. - the
problem is
Hello friends
I have an EditStudent.jsp page in which I have a form. Before the form
tag I get a request attribute called 'listIndex'. But, when my
validate() method fails on field validation it returns back to the above
mentioned jsp page with an appropriate message. That is o.k. - the
problem
Hubert, Laurie & Joe - thanks a lot for the info!
Rivka
-Original Message-
From: Hubert Rabago [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 01, 2005 11:41 PM
To: Struts Users Mailing List
Subject: Re: custom date converters
(with slow music playing in background)
On 9/1/05, J
as I know - copyProperties() is a static method of BeanUtils so
I'm don't really know where (if at all) BeanUtils is instanciated.
Thanks
Rivka
-Original Message-
From: Joe Germuska [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 01, 2005 3:55 PM
To: Rivka Shisman; Struts
Hi friends
I'm not sure I understand the use of custom converters:
If for example I have 2 VO's and each has a Timestamp property. But -
each one takes a different date format from the user. Do I need a
different StringToTimestamp converter for each one? If yes - how does
BeanUtils.copyProp
calls to 'getBirthDateAsDate' will
return the same object i.e.
You can then modify the date using a calendar and the correct values
within the StudentVO object
will be updated.
Gareth
Leon Rosenberg wrote:
> On Thu, 2005-08-25 at 12:34 +0200, Rivka Shisman wrote:
&g
Hi friends
I'm puzzled with a basic design problem:
I have a VO - say StudentVO - that has a property -> birth_date.
Should the birth_date property be of type String (and then in the DAO
convert it to java.sql.Date) -
OR - Should it be of type Date and if so - what kind of Date
(java
The article "Struts Live Chapter: Nested POJOs" might give one possible
solution
You can find it in:
http://www.theserverside.com/articles/article.tss?l=StrutsLiveCh10
Rivka
**
The contents of this ema
Hi friends,
After a long discussion about the above subject - I found a related
article, which was very interesting for me (as new to Struts) and I
would like to forward it to you and will be happy to read your comments
to it.
It's called "Struts Live Chapter: Nested POJOs" and you can find
Hi Adam
Do you have an example of using 'nested beans'. How does the ActionForm
look like - specifically the validate() method?
Thanks
Rivka
>Rivka Shisman on 30/06/05 13:30, wrote:
>>I have a transfer object called FatherTO that contains a collection of
>>ChildTO
Thanks guys
2 related questions:
1. What are the relations between the new window and the original one?
Do they share the same session attributes?
2. How do you define a child window in JSP - can you please attach an
example?
Rivka
-Original Message-
From: Mark Benussi [mailto:[EMAIL
Hi friends
I would like to know if there is a way of forwarding a request to a new
explorer window.
For example, in the current window I have a list of books and a link to
a book details page for each book in the list - how do I open the book
details in a new window using Struts?
Thanks
R
to
recover the transaction when a remoteException occurs. It's an old
article, but take a look at
http://www.onjava.com/pub/a/onjava/2002/10/30/jakarta.html. These
sites are good for starting out in struts too:
http://husted.com/struts/ and http://www.reumann.net/struts/main.do
Good luck,
-ed
On
work?
Thanks
Rivka
-Original Message-
From: Rivka Shisman [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 19, 2005 9:38 AM
To: Struts Users Mailing List
Subject: ApplicationException sample
Hi all,
Can someone please attach a sample of an ApplicationException,
BaseException
Hi all,
Can someone please attach a sample of an ApplicationException,
BaseException & SystemException classes?
An example of catching them in an Action class will be very helpful too.
Thanks a lot
Rivka
**
Hi all,
Can someone please attach a good sample of an ApplicationException,
BaseException & ServiceException classes?
An example of catching them in an Action class will be very helpful too.
Thanks a lot
Rivka
ssage-
From: Craig McClanahan [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 12, 2005 8:06 AM
To: Struts Users Mailing List
Subject: Re: Using struts forms as Value Objects: your opinion?
On 7/11/05, Rivka Shisman <[EMAIL PROTECTED]> wrote:
> Hi guys,
>
> Borislav - thank you fo
Hi guys,
Borislav - thank you for the time you spent debugging this issue :-)
So now I wonder - is it o.k. to use typed properties in my Action Forms?
Or is there an important reason why I should Strings only?
I don't add my Action Form properties to the Struts config file. Is it
o.k. - or am I
ed to get - " the value in
question_no field must be positive"
-Original Message-
From: Borislav Sabev [mailto:[EMAIL PROTECTED]
Sent: Monday, July 11, 2005 11:27 AM
To: Struts Users Mailing List
Subject: Re: Using struts forms as Value Objects: your opinion?
Rivka Shisman wrot
Hi again
When you say that validation doesn't work when inserting "ABC" in an
integer field - do you mean when using struts Validator?
I'm not using the Validator - I just add "if myInteger < 1 " in method
validate().
If I define myInteger as String - how do I check that it's a valid
number in th
Hi again
When you say that validation doesn't work when inserting "ABC" in an
integer field - do you mean when using struts Validator?
I'm not using the Validator - I just add "if myInteger < 1 " in method
validate().
If I define myInteger as String - how do I check that it's a valid
number in th
Hi all,
I have a MessageResources.properties file that contains all the messages
regarding form validation.
I wonder what should I do when I have a business/workflow messages (like
"This entry already exist in the DB"), should I use the same properties
file? If yes - how do I call it from the busi
Hi Erik
You said - " My form class fields are always Strings (because of HTTP)"
- I'm not sure I anderstand the meaning of this - why do the fields are
Strings?
I have recently started working with struts and my forms contain int,
short, boolean and so on, and it works fine.
Is there a problem w
erTO as a member of ActionForm, and use it as nested
property? If you want to retain TO values between requests, set form
scope to "session".
Michael.
> Rivka Shisman wrote:
> > Hello Friends,
> >
> >
> >
> > I have a transfer object called FatherTO that con
Hello Friends,
I have a transfer object called FatherTO that contains a collection of
ChildTO's.
Can you please help me with how the relevant ActionForm (i.e. FatherForm
) should look like.
How should the reset() & validate() methods look like?
Should I use the same jsp form for the Father
Hi Dears,
I have a transfer object called FatherTO that contains a collection of
ChildTO's.
Can you please help me with how the relevant ActionForm (i.e. FatherForm
) should look like.
How should the reset() & validate() methods look like?
Should I use the same jsp form for the Father data a
Hi Dears,
A newbie question:
I have a transfer object called FatherTO that contains a collection of
ChildTO's.
Can you please help me with how the relevant ActionForm (i.e. FatherForm
) should look like.
How should the reset() & validate() methods look like?
Thanks
Rivka
-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Sunday, June 26, 2005 7:50 AM
To: Struts Users Mailing List
Subject: Re: can't remove form bean
From: "Rivka Shisman" <[EMAIL PROTECTED]>
> When creating a new Item I call EditItemAction (mehod cre
Hi all
I have a very annoying problem with removing a form bean:
I'm working with WSAD v6.0 (RAD v6.0) and struts v1.2.4
When creating a new Item I call EditItemAction (mehod create)
The ItemForm is created and then passed to editItem.jsp
>From there it arrives to SaveItemAction (meth
ttribute from your request
session.removeAttribute(mapping.getAttribute());
}
}
I did not see the code for your edit function so I cannot comment on
that
HTH,
Martin-
- Original Message -
From: "Rivka Shisman" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, June 21, 2005 9:28 A
Hi all
I have a very annoying problem with a form bean:
I'm working with WSAD v6.0 (RAD v6.0) and struts v1.2.4
When creating a new Item I call EditItemAction (mehod create)
The ItemForm is created and the passed to editItem.jsp
>From there it arrives to SaveItemAction (method create)
61 matches
Mail list logo