Does anyone know when Jakarta will have the JSTL 1.1 implementation
released? Iin particular I wanted the fn.tld to do string
manipulations. The Struts 1.1 release only has core, format, database ,
xml libraries as part of it.
yes
Timo Neumann wrote:
Hi all,
is it possible to use the validator framework to check values of beans
that are stored in a collection in a DynaValidatorForm?
TIA,
Timo
--
FF Computer AnwendungenTel: +49 89 51727-352
und Unternehmensberatung GmbH Fax: +49 89 51727-111
Like you would any other type of form. Do you know how to set up the
validator framework? If not try this link below:
http://jakarta.apache.org/struts/userGuide/dev_validator.html
Timo Neumann wrote:
Natalie D Rassmann wrote:
yes
how?
Timo Neumann wrote:
Hi all
arg0 key=label.revRec.defectDescrip/
/field
Does this help?
Natalie
Timo Neumann wrote:
Natalie D Rassmann wrote:
So this works if forms is a collection of beans with a property value?
form name=FundForm
field property=forms.value depends=integer
arg0
Hi,
I wrote a validation to compare two fields of the same form (I used
the validateTwoFields example in the struts validation user's guide).
My problem is the the form is displayed over multiple pages. I do
store the form in the session so all properties of the form should be available.
When I
it?
Thank you, for your answer Natalie...
-Original Message-
From: Natalie D Rassmann [mailto:[EMAIL PROTECTED]
Sent: Monday, September 22, 2003 9:57 PM
To: Struts Users Mailing List
Subject: Can't uncheck multibox
Can anyone help??? I have the following multibox
Has validWhen been released yet?? Does anyone know?
Thanks for the information,
Natalie
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Can anyone help??? I have the following multibox in a
dyanValidatorForm:
logic:iterate id=defectsList name=reviewRecordForm
property=defectsList indexId=i
html:multibox property=actionItemIndicator
bean:write name=defectsList property=defectId/
/html:multibox
Ruben,
After many trials, I finally got the page attribute to work. This is what I did.
I am using a DynaValidatorForm so I created my own Form class and extended
DynaValidatorForm. I only have one method in
there; the validator method.
Here is a copy of my source code
public class
' property of type java.lang.Integer, and it works.
Erez
-Original Message-
From: Natalie D Rassmann [mailto:[EMAIL PROTECTED]
Sent: Monday, September 15, 2003 3:11 PM
To: Struts Users Mailing List
Subject: DynaValidatorForm and Multi-page validation
Hi -
I am having trouble with my
Hi -
I am having trouble with my DynaValidatorForm and Multi-page
validation. It does not seem to utilize the page property.
I tried putting in a page property but I get Struts errors. When I add
the page property to the struts-config file for that form, and I add the
page property as an
Hi -
I am trying to get the validator framework to work with dispatchAction.
When I turn validation on, it seems as though I don't go to the action
first. (in my action I make several options lists which need to be
displayed as part of the form). I must be doing something wrong but I
don't know
see anything wrong w/ your tag. However, you're using the
bean:message ... / tag in the body of the html:cancel ... / tag, you can
get rid of the value attribute.
Brad
-Original Message-
From: Natalie D Rassmann [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 07, 2003 2:51 PM
Here is the tag I am using:
html:cancel value=Cancel
bean:message key=button.cancel bundle=PRTR_RESOURCE_KEY/
/html:cancel
Bradley M. Handy wrote:
Please post the tag you're using to render the cancel button on the page.
Brad
-Original Message-
From: Natalie D Rassmann
Hi,
I am trying to use the cancel button in Struts 1.1. It is not
working
The isCancelled(request) is always returnning false
Can anyone help me?
Natalie
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Thank you so much I am going to try to integrate this solution
in my code... I will let you know how I make out and especially if
I find anything interesting.
Thanks again,
Natalie
Dudley Irish wrote:
I have just finished converting the example from the tiles
examples
from links to submits.
Hi,
Currently, I have a DynaValidatorForm defined in my web app. Some of
the properties of this form will be completely dynamic. I will read a
database and retrieve an ArrayList. This ArrayList will contain the
form field name, and form field value. How do this with a
DynaValidatorForm? Can
Can anyone help? I am trying to change the tab links in the tabLayout
to submits I am having so much trouble. I can't get it to work.
Has anyone tried to do this? Can anyone give me an example or point me
in the right direction??
Any help would be much appreicated?
Natalie
My applications uses the Tiles Tab Layout on one of its pages. I have
one big form which is displayed on each tabbed screen. My problem is
that when I go from tab to tab, my form data is not being posted.
Does anyone have any suggestions on how I can move from tab to tab and
update the part of
Event(HostConfig.java:368)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
at org.apache.catalina.core.ContainerBase
Thank you so much that was my problem; a stupid typo.
Andrew Hill wrote:
snip>
No I didn't type it manaually
/snip>
So did you check your commons-logging.properties and make
sure your spelling
it correctly...
its: 'apache' not 'apche'!
-Original Message-
From: Natalie D Ra
Hi,
Is anyone having trouble upgrading to Struts 1.1? I upgraded to Struts
RC2 a few weeks ago no problem but when I try and upgrade to Struts 1.1;
I gett the following errors. Can anyone help?
exception
javax.servlet.ServletException
at
Hi,
I have a Tiles Definition file that contains a tab layout. In the tab
layout, I want to use actions as links rther than linking directly to
jsp files. I can get this to work, my only problem is that the action I
am linking to is a dispatchAction and I need to include that parameter
on the
I am using the Tiles Tab Layout and I need the links to go to an action
rather than a jsp page? Does anyone know how I go about do that. Here
is my Tiles Def for the layout
!-- tabs page --
definition name=prtr.pr.tabs.page extends=prtr.default
put name=body-content
Steve,
Thank you VERY much. I will be sure to take a look; half the battle
is finding examples.
Natalie
Steve Raeburn wrote:
Natalie,
If it would help, I've put together an example application
(http://www.ninsky.com/struts)
that shows most of the basic tags in action.
It actually came about
I have an Options List and I want to make one of the items in the select
list selected. I am using the html-el tags. How do I mark an option as
selected?? Is there a way:
Thanks in advance,
Natalie
-
To unsubscribe, e-mail:
You lost me; what corresponding boolean value??
Filip Polsakiewicz wrote:
Hi,
i had the same problem. Here is the solution. You have
to set the
corresponding boolean value to true
HTH Filip
> -Original Message-
> From: Natalie D Rassmann [mailto:[EMAIL PROTECTED]]
> Sent: Mon
you mean the struts-config.xml file??? You totally lost me here.
What is the component property; in what xml file?
PREETAM Balijepalli wrote:
its the component property just check it in xml file ,,
-Original Message-
From: Natalie D Rassmann [mailto:[EMAIL PROTECTED]]
Sent: Monday, June
method just set
the corresponding property (the property which
is returned by your
selectbox) to the value you would like to be the default.
Greetz, Filip
-Original Message-
From: Natalie D Rassmann [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 23, 2003 1:13 PM
To: Struts Users Mai
: Natalie D Rassmann [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 23, 2003 1:26 PM
To: Struts Users Mailing List
Subject: Re: html:option - is there a selected
option attribute?
This will only work if I am reseting
In the formbean, I have the
selected option. I want to extract
ot;>SC/option>
/select>
/td>
I will use the selectedId from the OptionsBean to set the selected option
in the list.
How do I do this?? I don't think the overriding the reset
method is the answer??
Filip Polsakiewicz wrote:
Your formbean will be resetted on the first use and then
every time
I am getting the following error:
Cannot find bean under name Options: [Options Id: 1; Option Label: PRTR
, Options Id: 2; Option Label: EMDF ]; Selected Id: 0 '
When I try to create a select list of options.
Here is some background information:
I have a bean called reviewRecordForm which has
I need to iterate thru a collection and put it in an html-el:select
field. How do I go about doing this
My collection type looks like this
ArrayList options
int selectedOption
The ArrayList of options is the following type:
String label
int id
Can anyone help me???
Thanks in
I am getting a null pointer exception on the following line:
DynaActionForm reviewRecordForm = (DynaActionForm)form;
My form in my struts-config.xml file looks like this:
form-bean name=reviewRecordForm
type=org.apache.struts.validator.DynaValidatorForm dynamic=true
form-property
Sorry, that line isn't throwing the null pointer exception. It is
returning a null as the form. The line throwing the null pointer
exception is
reviewRecordForm.set( "dispatchAction", "createPeerRec" );
Gemes Tibor wrote:
Natalie D Rassmann rta:
>I am getting a
from? If not, you'll need to add the form somewhere
in the action.
-Ben Anderson
>From: Natalie D Rassmann [EMAIL PROTECTED]>
>Reply-To: "Struts Users Mailing List" [EMAIL PROTECTED]>
>To: Struts Users Mailing List [EMAIL PROTECTED]>
>Subject: Re: DynaValidator Form is
u can set the value of currentBundle in your Action
based on the
current project, or store it in the session when the
user selects that
project. In any case, I'm not sure if there's an equivalent
in the
struts bean tags. If not, I'd recommend using the JTSL
tags.
David
Natalie D Rassmann wrote:
>Hi
me.label"/>
Then you can set the value of currentBundle in your Action
based on the
current project, or store it in the session when the
user selects that
project. In any case, I'm not sure if there's an equivalent
in the
struts bean tags. If not, I'd recommend using the JTSL
tags.
David
Natalie D Ras
Hi,
My requirement is to have multiple message resource files not based on
Locale but based on the user's project. For example,
I need to create a message bundle for Project A and another one for
Project B.
MessageResources_ProjectA.properties looks like this:
label.first = First Name
I have a form which will be populated over several pages. I want to use
one big form bean to store the data. How do I do this? Any
suggestions?
Thanks in advance,
Natalie
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
.
a hidden input
populate a "page" attribute in your form bean.
If you're wanting to perform validation then additional
complexity is
involved, but it's not too tricky.
Cheers,
Paul C
Natalie D Rassmann wrote:
>I have a form which will be populated over several pages.
I want to use
>o
41 matches
Mail list logo