ht be able to try ???
Cheers
Giles
-Original Message-
From: Sri Sankaran [mailto:Sri.Sankaran@;sas.com]
Sent: Tuesday, 5 November 2002 2:12 AM
To: Struts Users Mailing List
Subject: RE: Nested properties of form bean not being updated !
Holy cow! Yes, you gave enough details..
Looking
all.however, you know your business needs better so
Sri
-Original Message-
From: Rick Reumann [mailto:maillist@;reumann.net]
Sent: Monday, November 04, 2002 3:00 PM
To: Sri Sankaran
Cc: Struts-User
Subject: Re[4]: Nested Tags situation any light would be appreciated
On Monday, No
This was just battled at quite some length earlier today. Please see
http://marc.theaimsgroup.com/?l=struts-user&m=103639896111848&w=2.
Sri
-Original Message-
From: Cindy Horn at SF x4874 [mailto:CHorn@;matson.com]
Sent: Monday, November 04, 2002 3:09 PM
To: Struts (E-mail)
Subject: ht
: Rick Reumann [mailto:maillist@;reumann.net]
Sent: Monday, November 04, 2002 2:09 PM
To: Struts Users Mailing List
Cc: Sri Sankaran
Subject: Re[2]: Nested Tags situation any light would be appreciated
On Monday, November 4, 2002, 1:43:35 PM, Sri wrote:
SS> That brings us to what happens w
Your JSP looks ok. The fact that the data is displaying correctly in the first place
suggests that the various elements in struts-config are ok as well.
That brings us to what happens when the page is submitted. You *should* (as a test)
be able to set up an action that does nothing and just
Oops! My second bullet should begin as:
* Even though 64_eng_del.jsp is an included file, it ends with a . You
probably want to leave that for the *includer* -- your top-level JSP
-Original Message-
From: Sri Sankaran
Sent: Monday, November 04, 2002 10:12 AM
To: Struts Users
/**
* Sets the engagementReviewerID.
* @param engagementReviewerID The engagementReviewerID to set
*/
public void setEngagementReviewerID(Integer engagementReviewerID)
{
this.engagementReviewerID = engagementReviewerID;
}
/**
* Sets the engagementReviewerName.
* @param engagementReviewerName The engagementReviewerNam
You *should* be able to use the Map approach. Simply build a map whose keys are the
expected parameter names and the corresponding values are the data you wish to send.
For example:
Click Me!
In your form bean, the getter getParams() returns a Map such as:
public Map getParams() {
Map map
t: RE: [OT] static vs. application scope
It's not going to be available to anything outside its class with the stated
signature, static or not.
Mark
-Original Message-
From: Sri Sankaran [mailto:Sri.Sankaran@;sas.com]
Sent: Friday, November 01, 2002 4:45 PM
To: Struts-User
Subject:
What is the difference between making a property available in application scope as
opposed to making it static to a class? As a simple (contrived) example, I want to
maintain a mapping of car model and manufacturer. This being, un-changing I could
implement it as a static property of some clas
With my browser (IE 6), a few seconds after the page loads, the download dialog window
pops up. In fact there is also a link on the top of the page in case it doesn't. It
is:
http://unc.dl.sourceforge.net/sourceforge/solareclipse/net.sourceforge.solareclipse.web.ui_0.2.0.zip
(which happens to
You are correct, 'Stop'ping is purely a client-side action.
Sri
-Original Message-
From: Andrew Hill [mailto:andrew.david.hill@;gridnode.com]
Sent: Friday, November 01, 2002 8:50 AM
To: Struts Users Mailing List
Subject: Requests and the stop button / links / etc...
Just want to confirm
You have a clear description of what you are trying to accomplish but I don't know
*how* you are going about it.
Need a look-see at your code. In particular, how are your struts-config and JSP set
up? Show the pertinent form-bean and action mapping from your config and a portion
(at least) or
What plug-in do you recommend for JSP editing?
When I looked (a few months ago) the choice was pretty light and even those were very
weak on code completion and error hightlighting.
Sri
-Original Message-
From: David Graham [mailto:dgraham1980@;hotmail.com]
Sent: Thursday, October 31,
IBM's keeping SWT close to the chest with its licensing makes developing with it very
onerous -- maybe that'll change. Thinlets seemed pretty snappy.
Sri
-Original Message-
From: Galbreath, Mark [mailto:Galbreath@;tessco.com]
Sent: Thursday, October 31, 2002 5:55 AM
To: 'Struts Users M
>
> 4.)Here is B
>
http://desistar.no-ip.org:8080/strutshop/flowstep.txt
>
> 5.)Here is C
>
http://desistar.no-ip.org:8080/strutshop/flowstepevent.txt
>
> Buds. Thanks for your help.
>
> Regards
> Gopal
>
> --- Sri Sankaran <[EMAIL PROTECTED]>
Yes, this is very much doable.
I would take a closer look at the getter in class B -- in particular the case, is it
getHldC().
Is it working ok for the first level? That would indicate if you are getting the
right *kind* of object.
Sri
-Original Message-
From: Gopal Mukkamala [mailto
only with this one.
Naga Vankineni
Phone: 860-686-1643
-Original Message-
From: Sri Sankaran [mailto:Sri.Sankaran@;sas.com]
Sent: Tuesday, October 29, 2002 11:11 AM
To: Struts Users Mailing List
Subject: RE: form and action in struts-config
You cannot nest form tags. That isn't
are the attchmnts of action class and jsp.
Naga Vankineni
Phone: 860-686-1643
-Original Message-
From: Sri Sankaran [mailto:Sri.Sankaran@;sas.com]
Sent: Tuesday, October 29, 2002 10:08 AM
To: Struts Users Mailing List
Subject: RE: form and action in struts-config
OK, so you have:
Wha
ction' attribute value of the is 'test.do'
(assuming you are using the usual Struts convention)
-Original Message-
From: Sri Sankaran
Sent: Tuesday, October 29, 2002 9:22 AM
To: Struts Users Mailing List
Subject: RE: form and action in struts-config
A few suggestions:
* T
Oops! Major brain fart. Change the suggestions:
Ignore the first suggestion.
The third suggestion should read:
* Make sure that the 'action' attribute value of the is 'test.do'
(assuming you are using the usual Struts convention)
-Original Message-
From: Sri San
A few suggestions:
* Try setting the 'name' attribute in the mapping to '/cultureForm'
* Make sure you using a in your culture.jsp file.
* Make sure that the 'action' attribute value of the is 'cultureForm.do'
(assuming you are using the usual Struts convention)
Sri
-Original Message-
27;Struts Users Mailing List'
Subject: RE: Huge action instance synchronization problem
Thank you, but what happens if I set the execute method from the action synchronized?
I did that and it works fine. I have also run some tests to see if performance drops
but it did not.
-Original Me
It is good practice to have a delegate class that handles all business logic. This
will not only ensure that you don't run into problems such as you state but also
de-couples your business logic from the Struts framework -- which *should* be used
only for controlling your presentation.
public
It is much easier if you use the 'collection' attribute of the tag.
See http://jakarta.apache.org/struts/userGuide/struts-html.html#options. Also take a
look at the html-select.jsp file that is in the struts-exercise-taglib application
that ships with Struts.
Sri
-Original Message-
Just use the struts jar and make the necessary taglib entries in your application's
web.xml.
Sri
-Original Message-
From: Vinh Tran [mailto:vinht@;processintelligence.com]
Sent: Friday, October 25, 2002 9:42 AM
To: [EMAIL PROTECTED]
Subject: Using Struts Taglib Outside of Struts
I am
How is the TestForm(boolean) constructor being invoked? The Struts framework will
simply invoke the default constructor.
How are you "setting the selected string array in Action class"? Are you creating
this form bean in the Action class then setting the array? If so, are you persisting
this
I suppose you have several checkboxes corresponding to the List of objects.
Are you using the tag? If not, you should. The Struts framework will
save the selected values in a String array that you provide. The value stored will be
the value of the checkbox. For example
if the checkbox is
To: 'Struts Users Mailing List'
Subject: RE: nested:text not being evaluated
Sri,
Thanks, that worked! Any explanation on what the difference is between using
single and double quotes?
Mike
-Original Message-
From: Sri Sankaran [mailto:Sri.Sankaran@;sas.com]
Sent: W
Try deriving the entire string that represents your onclick attribute value form a
scriptlet (note the user of single and double quotes):
onclick='<%="showTable("+pageContext.getAttribute("rowIndex")+","+pageContext.getAttribute("columnIndex")+")"%>'
Note: In addition I have taken the liberty to
age-
From: Sri Sankaran
Sent: Wednesday, October 23, 2002 12:30 PM
To: Struts Users Mailing List
Subject: RE: Conditional colour cell with logic:iterate
.warning {
background-color: #FF8000;
}
.error {
background-color: #FF;
}
.normal {
background-color: #FF;
/* or whatever your nor
.warning {
background-color: #FF8000;
}
.error {
background-color: #FF;
}
.normal {
background-color: #FF;
/* or whatever your normal background color may be */
<%
String cellClass = null;
String status = anItem.getStatus();
What's wrong if the user navigates back and views the login screen?
Your application can just discard the earlier session and re-initialize.
Don't try to circumvent standard browser behavior.
Sri
-Original Message-
From: deepank [mailto:deepank@;sasken.com]
Sent: Monday, October 21,
The value of the property attribute must be (in v1.1) something that implements the
Map or List interface. I see that your getInformationSessionsIterator() method
returns an Iterator.
Also, the method corresponding to a property of 'informationsessionsiterator' *must*
be 'getInformationsession
Have you ensured that the case of the strings match? Make sure that processResp is
"PMA" and not "pma".
Sri
-Original Message-
From: Rea, Ron [mailto:rear@;coramhc.com]
Sent: Friday, October 18, 2002 5:07 PM
To: '[EMAIL PROTECTED]'
Subject: nested:select default value
Hello,
I need
ding columns
Sri Sankaran wrote:
> Re: NullPointerException A: My guess is that the object returned by a >
>getLocation() call on the objects in your informationsessions > collection is null.
>The code block
OK, after many loops and out.println's, I've established th
things straight in my head I usually specify the index attribute with a
singular 'a' on 'an' prefix. So the above iterate might look like
HTH
Sri
-Original Message-
From: Adam Sherman [mailto:adam@;teachandtravel.com]
Sent: Friday, October 18, 2002 2:15 PM
To:
Do you see anything in the logs?
Sri
-Original Message-
From: Mark Silva [mailto:msilva@;authenex.com]
Sent: Friday, October 18, 2002 1:46 PM
To: Struts Users Mailing List
Subject: RE: Tomcat not extracting war
i just checked. that property is set correctly. i believe it is a default
My original reply to your post
(http://marc.theaimsgroup.com/?l=struts-user&m=103471355803751) should do what you
need.
I would suggest using tags from top down. Note that it simply *extends*
"normal" Struts tags. The beauty is that it knows its position in the tree and so you
don't have to
I suppose you want to display a timeout page when the user performs an action on the
displayed page after the timeout period has elapsed. This can be accomplished by
testing if the session is new; if so, we have a timeout and the user can be
re-directed accordingly.
If you want the page to aut
Have you tried the following for line 6:
assuming that 'getCat_id()' is the getter for the cat_id property of category.
Sri
-Original Message-
From: dave beres [mailto:daveberes99@;hotmail.com]
Sent: Wednesday, October 16, 2002 3:49 PM
To: [EMAIL PROTECTED]
Subject: logic:equal within
Session.invalidate() is one way.
Sri
-Original Message-
From: Marc AMIR-TAHMASSEB [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 16, 2002 3:26 AM
To: [EMAIL PROTECTED]
Subject: Ending a session
Hi everybody,
Is there a way to end a user session after a action ? Typically, i have
Please look at the html-select.jsp file that is part of the struts-exercise-taglib
application that ships with Struts. It demonstrates different ways of specifying the
options for the . It should answer all your questions.
Sri
-Original Message-
From: Marcus Biel [mailto:[EMAIL PROTE
Struts 1.1.
-Original Message-
From: Adam Sherman [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 15, 2002 4:44 PM
To: Struts Users Mailing List
Subject: RE: Structure Advice for logic:iterate
On 10/15/02 16:25:32 -0400, Sri Sankaran wrote:
> (FYI: With the version in Struts 1.
Adam:
Learn how to use the Nested extension. If you are using Struts 1.0 you can find it
at http://www.keyboardmonkey.com/next/index.jsp. It is a part of Struts 1.1.
Then, apply something like below.
Create a form bean that has a collection of Day objects each of which in turn has a
coll
Use the 'name' and 'property' attributes to
http://jakarta.apache.org/struts/userGuide/struts-html.html#link
Sri
-Original Message-
From: Maizatulakmam Ali [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 15, 2002 5:13 AM
To: [EMAIL PROTECTED]
Subject: pass 2 parameter using html:link
I think that's it. I glossed over that detail since takes care of
that for you.
Sri
-Original Message-
From: Karr, David [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 10, 2002 2:48 PM
To: 'Struts Users Mailing List'
Subject: RE: Radio buttons inside an iterate tag?
> -Orig
I was going to suggest that something was amiss with your action mapping since the
error message isn't reporting the name of the bean. However, I am puzzled by the fact
that everything else works (when the is commented out).
You could be right about not make the id attribute available. But
You *should* be able to do
I am doing it in my application (yes, within an iteration). I would, in addition, set
the type attribute for the to the fully qualified class name of the
object in each iteration (resView).
Sri
-Original Message-
From: Wendy Smoak [mailto:[EMAIL PR
In most cases, it is pointless searching the mail-archive. As Jeff pointed out you
either get nothing or everything and the kitchen sink.
This is probably the reason why we get so many repeat questions.
What are the chances that struts-user be archived elsewhere with a more useful/helpful
sea
This list is for all struts users, beginners alike.
Your problem could be because
* your class LoginForm isn't in the classpath -- is it in WEB-INF/classes or
WEB-INF/lib either as a .class or in a jar. If you correct it accordingly
* your class LoginForm is actually in a package so that the
You do not set the 'value' attribute of the .
one
two
Set the value of the property 'deviceID' of the bean 'device' to '2' and you'll see
"two" displayed (selected) by default automagically.
As you can see this set up handles the dynamism that you require in the default
selection.
Sri
mpareTagBase is not applicable for the arguments
(java.lang.Object)
"Sri Sankaran"
sas.com> cc:
Subject: RE: nested
0 && a < b) {
do stuff
} else if
As was pointed out earlier, your if-else logic needs to be modified
if(a > 0 && a < b) {
do stuff
} else if( a > 0) {
do some other stuff
}
Assuming you have that
Your JSP snippet doesn't seem to be testing 'less than b' at all.
You cannot nest a tag within your value attribute. Y
Using Struts 1.0.2
Do you have any recommendations for testing a Struts-based application for
thread-safeness?
In particular, I want to ensure that my design of using local (on stack) business
delegates to service the business logic won't get trampled on in a typical production
environment
Here is a reply I made to an earlier post on the same subject:
This topic has been addressed *numerous* times on this list. However, I understand
what a PITA searching on mail-archive is, so here goes:
Firstly take a look at the html-select.jsp that is part of the struts-exercise-taglib
appli
The design of the BaseAction and other classes in the o.a.s.scaffold package is very
clean and allows for modular code development. However, how does one use the classes
effectively without creating instance variables -- a big no, no when it comes to
Struts Actions.
For example, the BaseActio
and then there is http://java.sun.com/webservices/docs/1.0/tutorial/doc/JSTL.html
SS
-Original Message-
From: Kevin HaleBoyes [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 03, 2002 3:59 PM
To: [EMAIL PROTECTED]
Subject: RE: EL and the developer's roadmap
> First time I've heard o
It'll appear checked if the value of the property attribute (from your form-bean)
matches the value of the value attribute.
This checkbox will appear selected if getColor() returns "red".
Sri
-Original Message-
From: Sanjeev [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 03, 200
The property attribute of the must allow for capturing multiple items.
It should be a collection. Take a peek at html-select.jsp that is part of the
struts-exercise-taglib application that ships with Struts.
Form bean --
private String[] foo;
public void setFoo(String[] in)
ot tiles
definitions. This is because the url is interpreted by the client
browser, not on the server.
Cedric
Sri Sankaran wrote:
>Using Struts 1.0.2 and Tiles extension
>
>The page I am developing consists of frames. Upon display, all the
>frames display a 404 error. Looki
Using Struts 1.0.2 and Tiles extension
The page I am developing consists of frames. Upon display, all the frames display a
404 error. Looking at the source of the HTML, I find that the src attribute doesn't
point to a URL but contains the contents of the file at that url.
My frameset page:
Using Struts 1.0.2 and Nested extension
The value attribute doesn't support the nested syntax of walking up a tree a la
"../foo". How is this result achieved?
In my JSP I have the following
Do stuff
class DepBean { // available with session key 'dependencies'
pri
The first technique couples your presentation with your business logic more closely
than does the latter. So, my preference would be using the .
You can maintain the collection that makes up the options in the form bean for the
page. Initialization must be handled via the associated action cl
Invoke the Action class' saveErrors() method to save it to the request.
The will find it.
Sri
-Original Message-
From: Andy Kriger [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 27, 2002 12:40 PM
To: Struts Users Mailing List
Subject: can ActionError be returned by Action?
Is t
Wait a minute. Is this the current setup?
Action-A (does stuff, preps form-B for page-B)
--> Forward to Page-B
--> User does stuff and submits
--> Validation of form-B fails
--> Page-B re-displayed but with empty s?
Hard to believe! I s
This topic has been addressed *numerous* times on this list. However, I understand
what a PITA searching on mail-archive is, so here goes:
Firstly take a look at the html-select.jsp that is part of the struts-exercise-taglib
application that ships with struts. It should answer all your questi
ical_per_v(String technical_per_v)
{
this.technical_per_v = technical_per_v;
}
public String getTechnical_per_v()
{
return this.technical_per_v;
}
}
CLEARLY NO METHOD IS OVERLOADED
STILL WHY THE ERROR AS BEFORE
Please HELP!!
Deepank
----- Original Message -
From: "Sri Sankaran" <[EM
There was an earlier post where the user reported that his error disappeared after
removing an overloaded setter.
Another angle: Try providing the 'type' attribute for the
Sri
-Original Message-
From: deepank [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 24, 2002 9:46 AM
To: [
I think what he means is:
public class Foo extends Action {
private void doCommonStuff() {
}
}
public class Bar extends DispatchAction {
private void doCommonStuff() {
}
}
I think this calls for delegation to a class that just does the common stuff.
public class Foo extends Action {
You *should* be able to do exactly that. The type attribute of the
identifies the type of object you'll have in the iteration that you have said you'll
call company (via the id attribute). So in the JSP you should be able to say:
map.put("company", company.getId());
Does this give you a p
Have you made sure that your collection has more than one item?
If so, can you re-post your JSP snippet.
Sri
-Original Message-
From: Cathy Osekizoglu [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 20, 2002 3:47 PM
To: Struts Users Mailing List
Subject: RE: Get only first value us
Have you tried using ? Even better yet, if you are using Struts 1.1,
you can use .
<%-- Do whatever with the list --%>
I think it may require that the list be null (as opposed to being empty). If so, you
can resort to a lesser ugliness by creating a method that returns null if the list
The default value of a is driven by the value of its property attribute.
So, for example, if you have
Blood
Leaves
Sky
and if the 'userChoice' property of the form bean is set to "green", then the default
selection will show "Leaves".
Please see html-select.jsp that is part of the s
I hope you meant
A leading slash ( / ) refers to the *server* root and not the context root.
Sri
> -Original Message-
> From: Sutiwan Kariya [mailto:[EMAIL PROTECTED]]
> Sent: Monday, September 09, 2002 6:06 AM
> To: Struts Users Mailing List
> Subject: RE: Relative Path Error--
Humor in bodily functions (of dysfunctions) is so slapstick. What are we ...
teenagers?
> -Original Message-
> From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
> Sent: Friday, September 06, 2002 10:21 AM
> To: 'Struts Users Mailing List'
> Subject: RE: [FRIDAY] SOMEONE SAVE OUR LIST!!!
What do you mean "can not be displayed"?
o Are you seeing an field but no data -- does your form bean have a getId
(make sure of the case)? Does it have a non-blank value?
o Are you not seeing an input field at all? -- What does the source of the html look
like?
I'm sure you have the html
John:
You were dead on! My jsp didn't have a taglib statement for the tags.
Now I have to report a bug in the IDE. Its feature list includes flagging tags
whose definitions are unknown. Since it didn't flag an error I didn't suspect
anything wrong.
Thanks.
Sri
> -Original Messa
Just a SWAG but I think your action mapping may need some looking into. In particular,
since Struts is looking at some top-level class org.apache.struts.taglib.html.BEAN, I
suspect that the action is not wired to the correct form bean that indeed has the
getter.
Sri
> -Original Message---
Using Struts 1.0.2 with nested extension on Tomcat 4.0.2
My JSP has the following construct
etc
This page fails to load with a NullPointerException.
My hunt for its cause has lead me to the process of translating a JSP file into a Java
file.
The error is being raised because To
Look at the nested extension @ http://www.keyboardmonkey.com/next/index.jsp. It is
exactly for this purpose.
It is included as part of Struts 1.1.x
Sri
> -Original Message-
> From: Kirby Vandivort [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, September 04, 2002 12:13 PM
> To: [EMAIL
That's exactly what I do :)
> -Original Message-
> From: Michael [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, September 04, 2002 11:00 AM
> To: 'Struts Users Mailing List'
> Subject: RE: How to use nested:iteration tag?
>
>
> > Somewhere in the nested docs it says to have a getter tha
nd since the
> nested:iterate is supposed to replace the logic:iterate, it
> should work with Collections too.
>
>
> > -Original Message-
> > From: Sri Sankaran [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, September 04, 2002 4:12 PM
> > To: Struts Us
Somewhere in the nested docs it says to have a getter that returns an Object[]. So,
if your bean has a collection called 'plants' then set the getter as follows:
public Object[] getPlants() {
return plants.toArray();
}
Sri
> -Original Message-
> From: Michael [mailto:[EMAIL PR
Here's how you could display a table with variable number of rows and columns using
the Nested tags.
Assumptions:
o Bean name - aBean
o aBean contains a collection called rowCollection
o Each element in colCollection contains a collection called colCollection
Here's an example. You can replace with except that
you'll have to specify the name attribute and the property must explicitly walk down
(any) nested hierarchy.
Aside: If, like me, you are using Struts 1.0 you want to use the nested facility
(hint:use it, it'll save you a ton of work) you c
If you are forced to use Struts 1.0.2 you can get the tiles Jar from
http://www.lifl.fr/~dumoulin/tiles/
Sri
> -Original Message-
> From: Miguel Angel Mulero Martinez
> [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, September 03, 2002 7:29 AM
> To: Struts Users Mailing List
> Subject: RE
i
> es=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,wid
> th=750,height=
> 580');MyWindow.focus();
> return false;"/>
>
> The method does return me a string. I am getting the following error:
>
> The request sent by the client was syntactically inc
What do you mean Struts-compliant? Struts is not involved here since you are using a
standard html tag. Make sure that the getBigBrotherReport() method returns a string
representation of a URL.
Sri
> -Original Message-
> From: Susmita Pati [mailto:[EMAIL PROTECTED]]
> Sent: Friday,
You haven't mentioned if there is *any* form-bean associated with this action mapping.
You are forced to specify one only if you use the tag.
So, since you are simply refreshing the page it worked.
Did I miss something?
Sri
-Original Message-
From: Craig Tataryn [mailto:[EMAIL PROTE
I going to have to stick with Struts tags for now. JSTL requires Tomcat 4.0.4 or
above and I have to deploy to Tomcat 3.x
Sri
P.S.
I know I am developing on 4.0.2 -- I amn't doing anything new/funky and am testing to
make sure it works on the target environment.
-Original Message-
Message-
From: Eddie Bush [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 30, 2002 11:21 AM
To: Struts Users Mailing List
Subject: Re: [Taglib] Testing for null value using
You should look at and
Sri Sankaran wrote:
>Using Struts 1.0.2 on Tomcat 4.0.2
>
>I see that the is only
Using Struts 1.0.2 on Tomcat 4.0.2
I see that the is only available in Struts 1.1
How does one test for a null value using Struts 1.0 tags?
<%-- do something --%>
will not work since deep in the bowels of the it does a value.length()
and barfs on the null.
An ugly workaround is for th
The sample application that ships with Struts (struts-exercise-taglib) gives you
several options -- pardon the pun! Look at html-select.jsp.
Sri
-Original Message-
From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 29, 2002 6:29 PM
To: Struts Users Mailing List
Su
espond - delete" cycle.
You might not like it, but I intend to use it.
James "If Sasquatch had the measles, how would you know? " Mitchell Software
Engineer\Struts Evangelist Struts-Atlanta, the "Open Minded Developer Network"
http://www.open-tools.org/struts-atlanta
to let newbies know?
Have you taken time to look at some of the subject lines we get around here? The tags
have the potential to help greatly.
Simon
>-Original Message-
>From: Sri Sankaran [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, August 29, 2002 2:20 PM
>To: Struts Users
I disagree with the need for a tag protocol.
The whole point of the subject line is to annotate the message with a concise
(summary) description.
Now you want to annotate the annotation?
Next someone'll ask for a description of the tag
Sri
-Original Message-
From: James Mitch
Using Struts 1.0.2 with nested extension on Tomcat 4.0.2
How can one selectively disable some of the checkboxes rendered by a
within a
To display the checkboxes, I have the following arrangement:
In order to be able to show some as disabled, I tried
This results
Since fullname shows up I assume that you have wired the action & bean to the page
correctly.
So, your form bean has
public String getFullname() { ... }
public String getAddress() { ... }
Have you double-checked the spelling and case? If the property in your
is foo, the getter has to be g
the therapyDesc from the collection?
This collection is loaded from a database when the server is started. It is fairly
static and used on several JSPs. It seems that is the collection is available on the
page, I should be able to get at it? Am I wrong about that.
-Original Message-
F
301 - 400 of 449 matches
Mail list logo