On 10/19/05, Michael P. Soulier [EMAIL PROTECTED] wrote:
Hello,
I didn't find this in the archives, so I'll ask.
I have a tomcat app deployed via proxypass from apache (2 in fact, a
double-proxy through 2 servers). It needs to use relative paths in its
links to ensure that the composed
action
path=/login
type=com.firstenergycorp.hep.LoginAction
name=rtpForm
scope=session
input=login.jsp
forward
name=viewPrices
path=viewPrices.jsp/
/action
In the above configuration try for the forward's path as
/viewPrices.jsp instead of viewPrices.jsp
tiles:insert beanName=tests.test flush=true/
Try definition instead of beanName as in
tiles:insert definition=tests.test flush=true/
May be you could use validWhen. I'm not sure if this works, may be you
could give it a try
field property=sub1 depends=validWhen
var
var-nametest/var-name
var-value((*this*==null) or ((*this*!=null) and (sub1.x!=null
)))/var-value
/var
/field
On 10/18/05, Ashutosh Satyam [EMAIL PROTECTED]
I guess you don't have a property for button.next defined in your
MessageResources. Please make sure you have defined that property in the
resources.
On 10/17/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hi. I am using struts 1.2.7. My struts-config-xml file has the following:
action
With logic:equal and logic:notEqual the multiple OR logic can be done in a
round about way, but I don't think it's recommended. Just use JSTL or use
Niall Pemberton's tag extensions
http://husted.com/struts/resources/logic-niallp.htm
On 10/13/05, Meenakshi Singh [EMAIL PROTECTED] wrote:
Hi All
file along with any errors in creating the csv files. I'm finding that my
ActionErrors do not get returned to my .jsp file after calling the setHeader
method and changing the header. Does anyone have any suggests on how to best
to return errors to the user keeping in mind I already have a
response.setContentType(application/zip);
response.setHeader(Content-Disposition, attachment; filename= +
zipFileName);
response.setContentLength((int)tempCSVFile.length());
BufferedInputStream bufferedInput = new BufferedInputStream(new
FileInputStream(tempCSVFile));
BufferedOutputStream
I think a Filter would be ideal for this. Based on the users locale, (or any
logic which identifies a webpage of particular language) the Filter can
maintain the number of hits.
On 10/12/05, Bryon Lape [EMAIL PROTECTED] wrote:
Along similar lines, I have a question of using modules for
MessageResources.getMessageResources(config);
http://struts.apache.org/api/org/apache/struts/util/MessageResources.html#getMessageResources(java.lang.String)
Example Usage: MessageResources.getMessageResources(
org.apache.struts.taglib.LocalStrings);
On 10/10/05, Thomas Corte [EMAIL PROTECTED]
When you say bean:write is not parsed, you mean that in the html source
that's generated you see bean:write in it? If so, you might have just
forgot the bean taglib reference (%@ taglib ...%)
On 10/10/05, Eric Plante [EMAIL PROTECTED] wrote:
Hi,
When I hardcode something like font
How are you displaying the errors with? Using html:errors/ or
html:messages/, If so, define how many message-resources you would like to
have for your application (identifiable with unique keys) and use the
appropriate bundle attributes on the html:errors/ and html:messages/
tags which refer to
Is the myArrayList on the ActionForm that's causing the problem?
If so, Assuming that other users make changes to that ArrayList when they
change the state in their form, I would check and make sure that the
myArrayList is not static or is not getting populated from a singleton
source.
On
It will not format some values unless I declare them as primitive values.
As soon as I change numTons on the release object it formats fine.
Interesting. The bean:write/ tag will use the PropertyUtils.getProperty()
to the value for that property and then format it. The getProperty() of
logic:redirect forward=ERRORNOTIFY paramId=notifyMsg paramName=msg
/
Is this possible?
Yes, If you use bean:define/ and bean:message/ tags as in
bean:define id=msg toScope=requestbean:message key=
app.err.serverdown//bean:define
logic:redirect forward=ERRORNOTIFY paramId=notifyMsg
If you are using property on the logic:equal, you also have to supply the
name attribute. Define an id on the logic:iterate and use it as the
name on the logic:equal.
On 10/1/05, Mick Knutson [EMAIL PROTECTED] wrote:
I am not having luck here.
I have a collection of cards (Card class) that I
You could specify paramId, paramName, paramProperty attributes in the exact
similar way to html:link/.
Please take a look at
http://struts.apache.org/userGuide/struts-logic.html#redirect
On 9/30/05, Doug Thomas [EMAIL PROTECTED] wrote:
How do I create a logic:redirect element with a query
logic:equal/ looks for an attribute with the given name and compares for
equality with the given value. bean:define/ not only creates a scripting
variable but also puts an attribute with the same name. Here you only modify
the value of the scripting variable and not the attribute value, which
I think by default the CactusStrutsTestCase reads the /WEB-INF/struts-
config.xml only. If you have multiple config files you would have to set the
appropriate config file in your test method. For eg:
public void testDisplay() throws Exception {
Define a scripting variable with the actionUrl and use that in your
html:link/ like so
logic:iterate id=element name=PATH_ELEMENTS
bean:define id=actionbean:write name=element
property=actionUri//bean:define
html:link action=%=action%bean:message name=element
property=titleKey//html:link
It is possible. Have a method on your ActionForm which returns a
java.util.Collection of org.apache.struts.util.LabelValueBean's and use it
using html:optionsCollection/ in the jsp
For eg:
public Collection getMyLVBList() {
Collection options = new ArrayList();
options.add(new
Define action aliases to your jsps and use those actions for eg:
action path=index forward=/WebComponemt/Presentation/index.jsp/
and use that in your tiles menu
putList name=items
item value=Home link=/index.do /
/putList
You can do some processing on the list of items that are read by the
A tag would be handy for this ...
Indeed there is one, please take a look at bean:struts/
If the value of endDate is null the page fails with an error message from
beanutils.
I think if the endDate is null, the html:text/ would silently put empty
string as the value. Wondering if the exceptions you are seeing are causing
by something else. What is the exception by the way?
I looked at Struts 1.2.4 source code and it appears to me that both
integer and intRange treat empty strings as valid (Although I might be
wrong as well). Are you using Struts 1.1? I would give it a shot using
validWhen combination to your validations
field property=year
If you are using struts tags you could use, bean:write/ takes a format
property. You can also use JSTLs fmt tags to do the same.
On 9/5/05, Iyanu, Rajasekaran [EMAIL PROTECTED] wrote:
Hi All,
Though this question is not applicable to this forum, thought,
some of our struts champs will
The easiest way is to make the fvknList as a form property and keep the
form in session scope.
table border=0
html:form action=/saveFVKNAction method=post
nested:define id=fvknList property=fvknList/
nested:iterate property=fvknList id=line indexId=lineNo
type=FormValueKeyName
tr
...
Wouldn't this be easier, without mucking with the form, to let this be
handled by the validator itself. For any field validation you would just
have to have the requires validation before you do any other validation,
and that way you would take care of empty strings or as Joe said you could
do
http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/http/HttpServletRequest.html#getContextPath()
On 9/1/05, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
I'm using iText to dynamically create PDF and I'd like to make them
available by appending the location of the generated file to the
one way is to define a CustomMessageResources and a
CustomMessageResourcesFactory to take care of this. The basic idea is that
we would define something like this in the struts-config.xml
message-resources
parameter=hints,otherhints,ApplicationResources
I do have a problem I should solve: in the case where the only error in
errors is one I need to exclude, it does get excluded but I also get the
empty div which displays a big red box on my page. Fortunately, that
happens very rarely. I guess I could extend messagesPresent as well to
take
-
From: Kishore Senji [mailto:[EMAIL PROTECTED]
Sent: Monday, August 15, 2005 6:15 PM
To: Struts Users Mailing List
Subject: Re: Displaying errors for all except one key
I believe the reason that the Validator errors are missing is that
Validator keys the errors with the property name
I believe the reason that the Validator errors are missing is that
Validator keys the errors with the property name of the form field.
And so, if you say that just show the errors whose property is
ActionErrors.GLOBAL_ERROR you would definitely miss out on the
Validator errors. It has nothing to
c:out
value=${creditApplicationListDto.displayProducts[${key}]}/,
I would return a collection from teh DTO for only true values. The
reason is JSTL cannot invoke the keySet() method on the Map (Since the
method doesn't confine to JavaBean
tiles:insert attribute=shipment/
Are you trying to pass shipment object (which comes from the
logic:iterate) to the tile page (through insert) ? If so try,
tiles:insert definition=abc
put name=shipment value=%=shipment%/
/tiles:insert
Good evening. I'm a little stuck trying to create a global constant in
validation.xml that allows the mask rule to validate special spanish
characters like Ñ [ UNICODE = \u00d1 ] for names, surnames, city names and
so... Can someone give a hint ;^) ? Mi RegExp is like this: ^[A-Z.Ñ\s]*$
[EMAIL PROTECTED]: Exception
Processing ErrorPage[errorCode=404, location=/errors/404.do]
ClientAbortException: java.net.SocketException: Software caused
connection abort: socket write error
at
org.apache.coyote.tomcat5.OutputBuffer.doFlush(OutputBuffer.java:331)
sniprest
Hi Kishore, thanks for the tip... I tried what you suggested but it didn't
work... while googling for answers I read somewhere that including UNICODE
codes was only possible in *.properties files, not in *.XML ... from my
experience, that seems to be right...
You are right. You have to
Here is the test case
import java.io.*;
import java.util.*;
import org.apache.commons.validator.*;
public class TestValidatorMask{
public static void main(String[] args)
throws Exception {
ValidatorResources vr = new ValidatorResources(getFormSetAsInputStream());
Form form =
The idea is that the Converter should be available only when saving the
specific form (atleast for now).
Once you register it, the same converter is available for that type
from that point onwards. It doesn't matter whether you do it in the
Plugin or an Action. So, if you want your Converter to
response.setContentType(type);
response.setHeader(Cache-Control, );
response.setHeader(Pragma, );
response.setHeader(Expires, );
response.addHeader(Content-Disposition,filename= + name);
With the above headers, is caching turned on or off. Cache-Control is
set to empty string.
On Fri, 28 Jan 2005 16:53:16 -0800 (PST), Norris Shelton
[EMAIL PROTECTED] wrote:
Here is what I have in the JSP tag file:
jxp:state
html:select name=${formName} property=state size=4
multiple=true
html:options collection=${state} property=stateCD
labelProperty=description /
On Thu, 27 Jan 2005 11:40:45 -0500, Christopher Loschen
[EMAIL PROTECTED] wrote:
Thanks for your advice!
I've checked the ActionMappings and they all mention the request scope:
action path=/profile/personal_profile
type=com.xxx.users.actions.GetCurrentUserProfileAction scope=request
On Thu, 27 Jan 2005 18:54:26 -0500, Erik Weber [EMAIL PROTECTED] wrote:
I am restricting *.jsp in web.xml. ActionServlet is mapped to /foo/*.
I would like to use a welcome file so that a URL of http://host:port/app
will resolve to the index page. However, the index page is a JSP, so
it's not
On Fri, 28 Jan 2005 13:22:32 +1300, Stephen Souness [EMAIL PROTECTED] wrote:
Hi all,
I have a fairly simple form like so:
html:form action=/someProcess.do
html:text property=username /
/html:form
When the input fails validation and the user is sent back to the form
the action is
On Thu, 27 Jan 2005 13:54:26 +0100, Diego Manilla Suárez
[EMAIL PROTECTED] wrote:
Hi! I need to process a tiles definition that is located in a different
module. I have this ActionForward declared on the module I want to invoke:
forward name=myPage path=.myTilesDefinition redirect=false/
On Thu, 27 Jan 2005 21:17:07 -0800 (PST), Martin Wegner
[EMAIL PROTECTED] wrote:
David,
Also, as I said early the Axis architecture is such that it does not
provide any of the information related to the HTTP layer beneath SOAP.
The only think you know is that your dispatcher gets called. So
The primary purpose of storing JSP's under WEB-INF/ is to prevent user
to access them directly instead of going to an Action which might be
setting something which is required for the workflow, Authentication,
Authorization etc. which avoids putting that sort of logic in the JSP
itself. I don't
On Thu, 27 Jan 2005 10:48:47 +0530, Krishna Mohan Radhakrishnan
[EMAIL PROTECTED] wrote:
Hi all,
I have a very simple doubt on struts equal tag.
The tag is like this
logic:equal name=planModel property=plandesc1 value=planDesc2
/logic:equal
Here is one way:
bean:define id=planDesc2
On Wed, 26 Jan 2005 20:37:08 -0800 (PST), Norris Shelton
[EMAIL PROTECTED] wrote:
I'm trying to ensure that the start date is less than the end
date.
field property=startDate depends=validwhen
arg0 key=startDate/
var
On Thu, 27 Jan 2005 12:49:00 +0530, senthil Kumar
[EMAIL PROTECTED] wrote:
Hi all.
I am getting more than 100 regards from database and print in a JSP by 15
regards per Page.
Its is working fine.
Now i want to set alternative Row background color. I print all the rows
between the
Not anything new, but we can also increase the buffer size
%@ page buffer=10kb autoFlush=false %%@ taglib
uri=/WEB-INF/struts-bean.tld prefix=bean %bean:define
id=emailStuff toScope=request
html
body
h1bean:write name=emailHeading//h1
pbean:write
How abt logic:present role=role1html:text ...//logic:present ?
On Wed, 26 Jan 2005 14:01:51 +0900, Prasad, Kamakshya
[EMAIL PROTECTED] wrote:
Hi All,
Are there any struts tag extension available implementing the dynamic
security?
We want to drill the security access to each input element
On Wed, 26 Jan 2005 14:16:13 +0800, Daniel PC Leung [EMAIL PROTECTED] wrote:
The error message looks like this.
[ServletException in:/layout/tabsLayout.jsp] java.util.ArrayList'
The tabsLayout.jsp file looks like this.
(How can I solve it? Thanls)
logic:iterate id=tab name=tabList
On Mon, 24 Jan 2005 18:37:35 +0100, Gianpiero Caretti
[EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
FYI, all of my Actions call a common setup function at the start of
execute(),
and one of the things it does is set an attribute command in the request
with the value of getPath()
On Mon, 24 Jan 2005 18:38:18 -0800 (PST), Norris Shelton
[EMAIL PROTECTED] wrote:
It looks like they are set-up, but nothing happens. It goes
right into my dispatch action method.
If I submit the form with nothing entered, it goes into the add
method. It was working last night, but
I
On Fri, 21 Jan 2005 16:26:51 -0600, snekse [EMAIL PROTECTED] wrote:
I have a Best Practices type question. Where should I send the user
if isValidToken returns FALSE?
This is the sort of question you should be asking yourself or probably
your business analyst. What do you want to do when there
On Fri, 21 Jan 2005 21:22:23 -0600, Dave Bender [EMAIL PROTECTED] wrote:
I'm having a problem passing a set of checkbox values from an ActionForm to
our database. When I transfer the values of the String[] array, such as a
String[5] array, using BeanUtils.populate in my Action, the array gets
Use validWhen and you conditional can be
(*this* == password) to evaluate whether password2 is equal to password always
((password == null) or (*this* == password)) to evaluate whether
password2 is equal to password only when password is not empty
Please take a look
May be you are missing commons-dbcp.jar assuming your DataSource is a
commons-dbcp DataSource.
On Wed, 19 Jan 2005 13:49:17 +0530, Kalluru Uma. Maheswar
[EMAIL PROTECTED] wrote:
Hi Vijaya,
That's all fine. I figured out the problem and its because I am
connectiong to mysql in
I would debug this problem in the following ways:
* Verify if you are saving the errors to the request
* Make sure you are using saveErrors and not saveMessages
* Write a StrutsTestCase or a similiar testcase to verify the ActionErrors
* Have a dump of the request and see that the ActionErrors
Just wondering if you are maintaining the URL in the address bar
constant using HTML frames (and not using some sort of configuration.
Also wondering what the configuration can be?). If you are infact
using frames, then your application should do some sort of state
(client state) management. It
On Wed, 19 Jan 2005 18:49:52 -0600, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
I need to know an additional question:
You sent me:
c:forEach items=${sessionScope.auditorList} var=auditor
varStatus=status
I need to know if this would be correct as well, where
On Wed, 19 Jan 2005 18:25:55 -0800, Kishore Senji [EMAIL PROTECTED] wrote:
On Wed, 19 Jan 2005 18:49:52 -0600, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
I need to know an additional question:
You sent me:
c:forEach items=${sessionScope.auditorList} var=auditor
varStatus=status
I
Did you take a look at the html source (with String[])?
It should have multiple=multiple in the select
On Wed, 19 Jan 2005 20:54:05 -0600, Will Stranathan
[EMAIL PROTECTED] wrote:
I promise I google'd first
I'm trying to use a multiple-select select box, for example:
html:select
On Wed, 19 Jan 2005 22:57:01 -0500, Brandon Mercer [EMAIL PROTECTED] wrote:
Will Stranathan wrote:
Not positive I completely understand the question, so I'll make a very
vague response.
Yeah, after I read it I didn't make much sense to myself either. :-P
You can:
1) Use the
On Mon, 17 Jan 2005 17:54:55 +0900, Sylvain ~ [EMAIL PROTECTED] wrote:
By the way, I dont want to have ONE internationilized title for all
my pages, so I can't do that, it would have been too simple !!
I have many pages, having different i18n titles,
You can extend the main.layout and
On Sun, 16 Jan 2005 12:10:37 +0800, Nathan Coast [EMAIL PROTECTED] wrote:
Hi,
I've been strugling for a while with exception handling. I've been
trying to ensure:
1) all exceptions are displayed consistently regardless of where / how
the exception is raised.
2) the root cause exception is
If you are not using JSTL, you can do the same thing using logic:empty/
On Sun, 16 Jan 2005 16:04:51 -0800 (PST), Manisha Sathe
[EMAIL PROTECTED] wrote:
I am putting one arraylist and one javabean object with
request.setAttribute..
I can access this in JSP. But how i can detect that
how about ^\d{1,3}(\.\d{1,2})?$
Here is the testcase
import org.apache.commons.validator.GenericValidator;
public class TestFloat{
public static void main(String[] args) throws Exception {
String[] f = new String[]{123.23, 123, 1234.23, 1234.234,
12345.2342, 11234.123.23, 123.3,
On Mon, 17 Jan 2005 08:34:38 +0100, COGOLUEGNES Arnaud
[EMAIL PROTECTED] wrote:
Hi all,
Does anyone has means of dividing Struts config files into separate files,
so that one main file can include all separate files?
I've been working on quite big applications where some code is
On Fri, 14 Jan 2005 23:20:47 -0800, Oleg [EMAIL PROTECTED] wrote:
Hi, ok I am trying to get my Dynamic List-Backed form to work, no
luck, here is what I have so far.
ActionForm with a List in it:
public ArrayList getFields() {
return fields;
}
public void setFields(ArrayList
=definitionFields/
/html:select
/td
/// similarly for other fields
/tr
/logic:iterate
On Sat, 15 Jan 2005 02:32:48 -0600, Kishore Senji [EMAIL PROTECTED] wrote:
On Fri, 14 Jan 2005 23:20:47 -0800, Oleg [EMAIL PROTECTED] wrote:
Hi, ok I am trying to get my Dynamic List-Backed form
On Fri, 14 Jan 2005 18:01:25 -0200, Flávio Maldonado
[EMAIL PROTECTED] wrote:
Hello...
When I use this tags above, the Button works well, but the Link doesn't
work.
html:form action=/user
html:submit property=actionbean:message
key=button.new//html:submit
html:link
On Sat, 15 Jan 2005 15:18:33 +0530, Vamsee Kanakala
[EMAIL PROTECTED] wrote:
Hi List,
I have something like this in my validation.xml:
field property=stdCode depends=validwhen
arg0 key=entry.std/
varvar-nametest/var-name
var-value
((phone != null) or
On Sat, 15 Jan 2005 15:08:17 -0500, Todd Nine [EMAIL PROTECTED] wrote:
Hi All,
I am having trouble getting my mind around the boolean expression
semantics of the validwhen validator. Consider the following example.
I have a form with two possible input groups depending on the user
On Sun, 16 Jan 2005 01:02:50 +0100, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hubert Rabago wrote:
Yes. You could've been using a pre-1.1 struts.jar.
Ok, i found the old jar. My first Problem is solved ;-).
But the next Error is comming. I don't use tiles and get the following
Looks like you are not properly initializing your fields (ArrayList)
in FormActionForm. You should initialize it while declaring or in the
reset()
On Sat, 15 Jan 2005 17:06:33 -0800, Oleg [EMAIL PROTECTED] wrote:
I finally got it to display, no problem, however there is an error
when I
On Fri, 14 Jan 2005 10:55:57 -0200, Flávio Maldonado
[EMAIL PROTECTED] wrote:
Hi people!
Anybody knows what kind of error is this?
exception
javax.servlet.ServletException: Request[/user] does not contain handler
parameter named action
I can't think of any usecase where it would fail for not setting the
FormFile property to null in the reset. On the otherhand it wouldn't
hurt if you set the FormFile to null in the reset(), heeding to the
warning that the docs give
On Mon, 10 Jan 2005 17:43:43 -0800, Sullivan, Sean C - MWT
html:hidden name=myBean property=myProperty/
Note that html:text property=myField/ is just enough to populate
the text box. The bean:write/ in the body of html:text/ doesn't do
anything.
On Wed, 12 Jan 2005 23:34:27 -0800 (PST), Manisha Sathe
[EMAIL PROTECTED] wrote:
Following i could get it
In your BasicForm's validate() you could do check for the
parameter's value and return ActionErrors based on that value;
public ActionErrors validate(ActionMapping mapping, HttpServletRequest request){
/* if load or unspecified return null */
In your reset method get the Collection of users; Iterate over
that collection and set the two properties admin and viewer on the
object (I assume user) to false;
On Thu, 13 Jan 2005 11:46:37 -0600, UKASICK, AIMEE L (SBCSI)
[EMAIL PROTECTED] wrote:
Hi. I'm using the Struts Nested taglib to
Sounds like you need one more request parameter to distinguish between
the a new request and a request coming after finishing an action.
Token processing might be a good option which prevents the user from
book marking.
Do a saveToken() in the AnnuityAction.
If the previous and next are form
On Fri, 14 Jan 2005 10:03:55 +0800 (CST), [EMAIL PROTECTED] wrote:
hi, I'm new to struts and I really can't find a way to solve the proplem.
plese help me. thank you so much.
Here is the proplem. I have a input.jsp,a ActionForm and a Action
public class HelloForm extends ActionForm
{
The module name in the html:link should start with a /
html:link module=/master action=cityActionlink/html:link
On Wed, 12 Jan 2005 18:39:58 +0530, sachin [EMAIL PROTECTED] wrote:
hi all ,
i am implementing multiple modules in struts 1.2.4
i have two config files which i define in web.xml
On Wed, 12 Jan 2005 13:52:32 +0530, Vamsee Kanakala
[EMAIL PROTECTED] wrote:
Rick Reumann wrote:
It sounds like you are probably are now using a JSP2.0 container like
Tomcat5 and are refering to the wrong tld. Refer to the one in the jar
like:
%@ taglib prefix=c
Make sure that /pages/QueryInput.jsp exists and relavtive to context root.
On Wed, 12 Jan 2005 14:40:49 -0500, Alex Kravets
[EMAIL PROTECTED] wrote:
I am trying to redirect from index.jsp to another page but no luck. I
get this error:
org.apache.jasper.JasperException: Exception forwarding
} /
/c:forEach
/font
/td
And this worked fine, gave me: 1 2 3 4 5 in red.
Jack
On Wed, 12 Jan 2005 12:52:59 -0600, Abdullah Jibaly
[EMAIL PROTECTED] wrote:
Actually I think it's ${current.count}
-Original Message-
From: Kishore Senji [mailto:[EMAIL
This shoud do it. Isn't it?
private static PersonFormBean getPersonFormBean(Object bean, String property)
throws java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException,
java.lang.NoSuchMethodException{
return (PersonFormBean) BeanUtils.getProperty(bean, property);
}
1) You can have a Controller (org.apache.struts.tiles.Controller) and
in the perform you can get the original request url and save it as
a request attribute; and the tile can pull that request attribute.
You can specify the controller class for your tiles definition.
Just Before the jsp is
For the first question; I would recommend using LabelValueBean
html:select property=socId
html:optionsCollection property=dropDownValues/
/html:select
You should have a method getDropDownValues which returns a
Collection of LabelValueBeans.
On Sat, 8 Jan 2005 18:27:01 -0800 (PST), meena r
Read Section 5.3 in http://struts.apache.org/userGuide/configuration.html
On Tue, 28 Dec 2004 10:13:17 +0530, Amit Kumar Sharma
[EMAIL PROTECTED] wrote:
Dear All,
We have an existing project where the size of struts-config.xml file is
ever increasing the struts version we are using is 1.1.
Read Lesson 1 in
http://www.ftponline.com/special/j2ee/modi1/default.aspx which concurs
with the views expressed by all the other posters
On Wed, 29 Dec 2004 16:13:14 -0800 (PST), Manisha Sathe
[EMAIL PROTECTED] wrote:
Thanks to all, I will do both, i.e. Javascript (w/o DynaAction - i hope this
Make sure that you have imported the html tag library
On Mon, 27 Dec 2004 12:53:27 -0600, Barnett, Brian W.
[EMAIL PROTECTED] wrote:
Hello,
I'm sure it's something simple, but I can't get my ActionMessage to display
in my JSP page.
Action class code:
ActionMessages messages = new
I have a collection that contains the following data:
EmpId CourseIdDate_Taken Assessment
12341 01/01/2000 PASS
12342 01/02/2001 PASS
12344 01/05/2002 PASS
12341 01/04/2003 PASS
1432
In the Struts tags documentation, for most of the tags, the equivalent
of Jstl is given. What bean tag are you having trouble with?
Kishore Senji.
On Sun, 22 Aug 2004 18:57:53 +1000, Mike Young [EMAIL PROTECTED] wrote:
Hi ALL,
Are there any good resources on how to convert pages using
in the CommonAction and
can have the subclasses overriding those methods and calling
super.execute().
Thanks,
Kishore Senji.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
the
property attribute right.
Take a look at http://struts.apache.org/faqs/indexedprops.html
Thanks,
Kishore Senji.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
logic:iterate id=x property=procedimentos indexId=i
logic:iterate needs a name attribute if you specify property
attribute. If you give the name attribute equal to your form name,
it should work.
Kishore Senji
1 - 100 of 120 matches
Mail list logo