Hi,
I am currently using STRUTS 1.0.2, In my JSP I need to check for null and
empty (String and Collection) before I display the values. I know there is a
logic:notEmpty tag in 1.1 but what about 1.0.2? What is the work around
for this except using scriptlets in JSP? Please let me know the
Hi,
I want to utilize indexId of logic:iterate to display list of values
from the collection, I want to set this indexId as a property from my action
form bean like this,
bean:define id=startIndex name=categorySearchResultForm
type=java.lang.Integer property=startNum/
In my form bean
Hi,
I have a form bean with session scope, I want to get a value from
this form bean and assign it to local variable in my JSP page like % int
currPage = searchResultForm.getPageNumber();%,Where searchResultForm is the
name of my Action form bean.
For some reason I am getting compilation
Hi ,
I have a collection of Search results, I want to display 30 items
per page (JSP) from the collection, How to paginate the results using struts
tags? Is there any better way of doing this?
Any help would be greatly appreciated!
Thanks,
Jana.
--
To unsubscribe, e-mail:
Hi ,
I have a collection in my JSP, I want to iterate this collection and
display even rows only. Is there a way to do this?
Any help would be greatly appreciated!
Thanks in advance,
Jana.
%
java.util.ArrayList paymentListOdd = new java.util.ArrayList();
paymentListOdd.add(American
help will be greatly appreciated!
Thanks,
Jana.
- Original Message -
From: Sri Sankaran [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Tuesday, December 03, 2002 3:03 PM
Subject: RE: Help with Multiple Input!
-Original Message-
From: Jana
Hi,
I want to use values, labels for the multibox from my application
properties file. I want to create a String[] in my form bean containing
elements from properties file (keys). for example in the code below I want
to create string [] items form my properties file, i.e. UPS should come
resources. Then use
the bean:message or fmt:message tag to output the key's value.
David
From: Jana Navaneethan [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: Internationalization of checkbox label
Date
Hi,
I want to use logic:equal in my JSP to replace the following code.
if (count = 0 || count = 2 || count = 4)
do something.
How to achieve this using logic:equal By the count is index value of the
iterator i.e indexId.
Thanks in advance,
Jana.
--
To unsubscribe, e-mail:
Hi,
I have a form in which I am collecting multiple input from the user,
for example
for each day of the week I am collecting opening hour and closing hour
something in the format of
day - checkbox - select/option - select/option , I want to do this in a
loop for all 7 days of the week. I
will be available in the request
object.
Khalid
- Original Message -
From: Jana Navaneethan [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Tuesday, December 03, 2002 11:08 AM
Subject: Help with Multiple Input!
Hi,
I have a form in which I am collecting
Hi Wendy,
All I am trying to do is to avoid repeating the HTML code.
I am trying to do something like
html:checkbox property=dayFlag%= i %/ where i is an integer 1 thru 7
and in my form bean I will have getter like
getDayFlag1(), etc. Now the problem is with the static text ie
Hi,
I want to create a String[] using messages in my JSP page. Can
somebody tell me how to do that? Or is there any other better way of doing
this?
Requirement is simple, I want to display days (Monday thru Sunday) in my
JSP, Since our application is multi-lingual I want to get this from
Hi,
I have a form which collects multiple values, How to collect the user input
effectively using STRUTS? For example I want to use some index for the checkbox? like
day1,day2 in that case, do I need to have two properties in my form bean? like
getDay1() and getDay2() or Is there any
Hi,
I have a problem with displaying Spanish special characters in the
JSP page. I am using iPlanet Application server, I am not using struts for
this particular application, I have added META HTTP-EQUIV=content-type
CONTENT=text/html; charset=ISO-8859-1 in my JSP pages. When I look at
: Friday, November 22, 2002 11:46 AM
Subject: Re: Problem! Displaying Spanish Characters in JSP
Your charset is specifying ASCII which I don't think contains the special
spanish characters. You might try using UTF-8 or UTF-16.
David
From: Jana Navaneethan [EMAIL PROTECTED]
Reply
to
have locale-specific images as well as text.
Jim
Jana Navaneethan
jana.navaneethan@laTo: Struts Users
Mailing List [EMAIL PROTECTED]
bs.gte.com cc
- Original Message -
From: Divakar Satyanarayan [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Tuesday, November 19, 2002 4:58 AM
Subject: RE: Using Google like search results
http://www.javanovic.com/articles/paging.html
-Original Message-
From:
Hi,
I have a multi-lingual application, Which uses STRUTS 1.0.2. I have
an ApplicationResources.properties file which has more than 600 lines of
code. Is it good to have one large properties file? Or Can I split it into
multiple properties file? Which is the best approach? in terms of
.
David
From: Jana Navaneethan [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: Question! ApplicationResources.properties file
Date: Tue, 19 Nov 2002 14:32:17 -0500
Hi,
I have a multi-lingual
Hi,
We have a multi-lingual application. We are trying to convert our
existing application using STRUTS. We have few static HTML pages (.html) How
to serve this pages to the User? because these are not JSP pages and I can't
use bean:message and the it has lot of static content for example
Hi,
I have a logic:iterate tag in my JSP which is a Vector and I can
display all the contents in my page. Problem is I need to get the index
value of the Vector in my JSP and I should be able to increment this index
for displaying purpose. Is it possible to do that using logic:iterate?
Hi,
I have a Vector in my form bean which contains multiple Objects, I
want to loop through the contents of this Vector in my JSP page, I have a
getListingsSummary() method in my form bean which is viewListingForm, But
for some reason when I call my JSP it throws some exception like
No bean
23 matches
Mail list logo