I have a bunch of checkboxes (filters) on a search screen. I want to
make sure the user selects at least one of these boxes before continuing
- is this possible to configure/do with the Validator Plug-In? I'm
using Struts 1.1B2.
Thanks,
Matt
--
To unsubscribe, e-mail: mailto:[EMAIL
2002. szeptember 19. 22:17 dátummal Davide Bruzzone ezt írtad:
Greetings all (again)...
I was just wondering if there's a way to get the name of the form that's
associated with the current view/JSP from within the JSP (i.e. How would I
go about getting to the ActionMapping object using
hi !
I would like to use Struts with Jbuilder
6.
How do I process ?
Thanks in advance
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
IMHO you're definitely on the right track by copying/passing values
between the tiers in your app i.e not passing XForm directly to
Xmaintainence. etc
You'd probably want to create you own DataTransferObject (DTO) in the
action, populate it somehow ( there's an easy way to do this*) and then
I was kind of hoping for something at a higher level,
that once set up would just work. I guess I could override
the Action class, but I'm not sure how to go about doing
it that way.
Howard,
Here's a bit of a dirty hack... if you extend the Action class you could
possibly add the
Hi all:
I want to use the connection pool from Struts, then I declare a datasource
in the config-struts.xml. Following the user guide instruction I use de
servlet.getDataSource(null) method to recover it, but it's deprecated (I'm
using struts 1.1 beta2). I have read in a message from the list
Hello,
I'm a newbie with Struts, I'd like to know how I could smartly use
data-source to fill things like select drop down combo in my forms.
here what I'm trying to do, can you tell me if I'm wrong:
I'v defined a data-source in struts-config.xml to use a mySql DB.
I'd like to get data
No...the first 2 returns were in Chinese, the 3rd was a ZDnet story about
Linux and Sun, the 4th was in Spanish, and the 5th was a link to
aboutlinux.com.
What did you get that was so funny?
-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 19,
Not true - since this was actually sent on Thursday, it does not count.
-Original Message-
From: Tiago Nodari [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 19, 2002 11:32 PM
To: Struts Users Mailing List
Subject: Re: [FRIDAY] Quote of the Day
nice one...
here
So Fahlman's life work in AI has been eclipsed by his accidental
introduction of the emoticon? And you think that's entertaining? I think
it's a disgrace.
Mark
-Original Message-
From: Kenny Smith [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 19, 2002 11:39 PM
how's this for a
Real Programmers Don't Use Pascal
Back in the good old days-- the Golden Era of computers-- it was easy to
separate the men from the boys (sometimes called Real Men and Quiche
Eaters in the literature). During this period, the Real Men were the ones
who understood computer programming, and the
Not tested but shuld be close to:
bean:define id=pp name=customer property=firstName scope=session/
html:text property=firstName value=%=pp%/
Adolfo.
From: John Sherlock [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
was that an Internet humor,John..neither (replacing linux) nor
(replacing linux) produces anything interesting
thought fridays are for getting sloshed..and not thursdays ... :) :P
Please, does someone have the reply to this problem ?
---BeginMessage---
Infact I'm using Struts! I have a security-constraint like this, but
it doesn't seems to work.
security-constraint
web-resource-collection
web-resource-nameSecure Web Appointments/web-resource-name
Real Programmers are not constrained by warnings of dire consequences of
misusing technology; they relish the opportunities! Abiding by procedural
rules is simply not interesting.
(I also use action chaining.)
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent:
Yes, but first, what is an auomatic avocado peeler? Sounds like some kind
of Lisp debugger.
Mark
-Original Message-
From: Mark Silva [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 19, 2002 6:53 PM
is is possible to check for the existence of a message in my page, and then
output
Sure thing! Just first allow me to take half my day to read through the
entire tutorial, simulate your environment, and then make a wild-ass guess
as to why you are getting an error!
BTW: What is trialling? Sounds like you are mimicking bird calls.
Mark
-Original Message-
From:
I use action chaining.
I have a filter which compresses the response if the client supports it. (gzip
filter from jspinsider.com).
The filter throws exception for these (and only these) chained actions as if
the response stream was closed twice.
Is this the expected behaviour for these
T
To
To U
To Un
To Und
To Unde
To Under
To Unders
To Underst
To Understa
To Understan
To Understand
To Understand I
To Understand It
To Understand Ite
To Understand Iter
To Understand Itera
To Understand Iterat
To Understand Iterati
To Understand Iteratio
To Understand Iteration
To Understand
Hi All,
I have reading about future JSF/Struts integration. It seems a really
promissing and powerfull enhacement to get rid of the cumbersome custom
tags.
AFAIK, JSF is just released from August 14, 2002.
My questions are:
- are there any implementations already available of the 1.9
All:
I recently learned Struts and converted a banking app that I originally
wrote, using a much simpler MVC design pattern, to use the Struts
framework.
I could see the obvious benefits of Struts, in spite of the steep
learning curve and somewhat lean documentation. After the initial
Yesterday the ServerSide web site mentioned something humorous that happens,
when you type GO TO HELL, with quotes, in Google and hit the I'm Feeling
Lucky button. This one should work.
Glen
-Original Message-
From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
Sent: Friday, September
I'm not familiar with Validator, but you could certainly check the Request
object in your associated Action class.
Mark
-Original Message-
From: Matt Raible [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 20, 2002 2:49 AM
I have a bunch of checkboxes (filters) on a search screen. I
Start here:
http://www.tuxedo.org/~esr/faqs/smart-questions.html
http://www.tuxedo.org/~esr/faqs/smart-questions.html
-Original Message-
From: BARADAT Benoit [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 20, 2002 3:10 AM
To: Struts Users Mailing List
Subject: Struts with Jbuilder
Good one mark!
Here it is what my dictionary says about recursion:
Recursion = look up the definition of recursion.
Julio Cesar
SOFTSITE Tecnologia
+55(85)261-5266
Fortaleza, CE, Brasil
http://www.softsite.com.br
The released documentation is not up-to-date, and I believe you can trust
the API from the nightly build without having to actually use a nightly
build. At worst, you give it a shot and it fails. What have you
lost...about 15 minutes?
-Original Message-
From: Miguel Angel Medina Lopez
try without the
At 07:11 AM 9/20/2002 -0400, you wrote:
No...the first 2 returns were in Chinese, the 3rd was a ZDnet story about
Linux and Sun, the 4th was in Spanish, and the 5th was a link to
aboutlinux.com.
What did you get that was so funny?
-Original Message-
From:
Hey everyone .. happy Friday.
Does anyone have a working example the uses LookupDispatchAction. I think I
understand ... just wanna see some working example code.
D.
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
are you sure ?
I tryed to find the word Struts in this page. I didn't found it !!!
- Original Message -
From: Galbreath, Mark [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Friday, September 20, 2002 2:29 PM
Subject: RE: Struts with Jbuilder 6
Start here:
Hi all,
I am using Weblogic6.1 as the application server. The
ApplicationResources.properties file has been placed in WEB-INF folder.
Now when i run the application in the exploded format, all the error
messages show up as expected. However, when i package the application as
an ear file,
I hope this can help u,
bye,
kiuma
/*
* CustomerCustomerAction.java
*
* Created on 9 settembre 2002, 14.16
*/
package com.wingstech.webappointments;
import org.apache.struts.actions.*;
import org.apache.struts.action.*;
import org.apache.struts.util.MessageResources;
import
Good stuff ...
Can you also send me the jsp page and the struts-config.xml .. much
appreciated.
D.
-Original Message-
From: kiuma [mailto:[EMAIL PROTECTED]]
Sent: September 20, 2002 8:40 AM
To: Struts Users Mailing List
Subject: Re: LookupDispatchAction
I hope this can help u,
bye,
I got your results and did LOL.
-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 19, 2002 11:03 PM
To: Struts Users Mailing List
Subject: [OT] Interesting Friday search
HA HA HA...oh this good...
Not sure if this has been mentioned
Hi Miguel,
This question was already answered: look for the subject datasource
retrieval (6/09/2002).
Then, in your action, you can access your datasource via:
execute(..)
{
DataSource ds = this.getDataSource(request);
}
...
...
Julio Cesar
SOFTSITE
One thing that has made the World Wide Web so popular is ease of
navigation. Any swatch of text on a page can be turned into a hyperlink.
The user just needs to point-and-click, and off they go to the target
page. Behind the swatch of text is a path to the page, which may be long
and
Hi all.
Found the solution to this problem that i reported. Have posted the
solution that at least works for me at
http://www.jguru.com/forums/view.jsp?EID=1001956
Regards,
Tarun Sainanee
TCS Delhi
Mark - I hadn't seen this tome in some years. After reading it, I got to
thinking about the past 20 years of my career, and all of the programming
languaes etc. that I've been through. This will probably date me, but here
goes
My first programming language exposure was in high school using
Hi!
Did anyone succeed calling a custom struts-config.xml file in
setConfig()? (I mean a custom path, not WEB-INF/struts-config.xml)
I have something like:
public void setUp() {
try {
super.setUp();
} catch( Exception e) {
e.printStackTrace();
See my other post in this thread why it's a Really Bad Idea to store the
previous URL in the session. I promise you, you're only gonna cause
yourself more pain.
chris
-Original Message-
From: John Sherlock [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 20, 2002 4:09 AM
To:
Heh-heh. I agree with you, though I started life with a Commie 64 and
learned BASIC. My next machine was a Mac 512 and learned C on it and the
college's Unix system (and I always hated HyperCard). I actually was using
REXX on a Sequoia 6000 and JCL on an IBM 370 before I ever learned how to
Where did you lose it? Perhaps we can help you find it.
-Original Message-
From: kiuma [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 20, 2002 7:42 AM
Please, does someone have the reply to this problem ?
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional
Thank you, Will.
I haven't even glanced at the new nested taglib yet -- I had too much
else to learn -- but I understand what you're saying and will look into
it as a solution.
I recently adapted my app to use Struts templates, which mandates two
JSPs (a template/header and another JSP with the
Nothing, thank you , already solved :-D
Galbreath, Mark wrote:
Where did you lose it? Perhaps we can help you find it.
-Original Message-
From: kiuma [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 20, 2002 7:42 AM
Please, does someone have the reply to this problem ?
--
To
By the way ...
If that is your actual code .. I have a few suggestions.
1) Create a plug-in that, on initilization, stores the JNDI context into
either the Applciation or Session object.
- rather the create it every time.
2) Make use of the EJBHomeFactory pattern when gaining access
While we are all reminiscingin the Tech news.Scott McNealy relates
the obvious about who's left in the programming ballpark.
http://news.com.com/
Click on the video titled McNealy: CFOs are a tough sell
.the funniest part is who is sponsoring these cnet clips this
monthLOL
On Fri, 20 Sep 2002, BARADAT Benoit wrote:
Okay - to get started developing a Struts app with JBuilder 6
1. Go to http://jakarta.apache.org/struts/resources/index.html and look
through the Tutorials. I know there were some in there for JBuilder5, and
it there isn't much of a difference.
2.
Do u use jboss + struts + postgres , under linux.
If so I could share my code with you.
I'm planning to do this.
Part deploy undere lgpl (or similar) as a case study,
Part as a commercial app (not yet implemented.
Would you like to use jboss I can help you to start if you are not
familiar
And how can I avoid them?
Tib
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Should all JSP pages be executed through the controller? Even those that
are external to an application that requires a login?
For example, if I had a website that has some external pages and a login
page to an application, should the external pages also use action classes?
Thanks.
That is precious!!
-Original Message-
From: Mazza, Glen R, PERSCOM [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 20, 2002 8:28 AM
Yesterday the ServerSide web site mentioned something humorous that happens,
when you type GO TO HELL, with quotes, in Google and hit the I'm Feeling
If I have to do something like this:
bean:struts id=form formBean=MyForm/
I don't really get anything more than if I did this (in my JavaScript code):
document.forms(MyForm).submit();
i.e. I still have to hard-code the name of the form. This is what I'm trying
to avoid.
Thanks for the
I'm trying to code with low coupling to anything .. but here's what I'm
using.
JBoss 3.0.2 w/Strits 1.1 with MS SQL 2000 as a back-end.
The code I'm asking for would having nothing to do with this.
Just a snippet from the sturts-config.xml and the jsp that utilizes
LookupDispatchAction.
You have to define 2 separate applications in the WLS Console - one for the
EAR app and one for the exploded app. Have you done that?
Mark
-Original Message-
From: Tarun Sainanee [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 20, 2002 8:48 AM
To: Struts Users Mailing List
Subject:
Something like this might work:
bean:define id=actionMappingForThisScreen
name=org.apache.struts.action.mapping.instance
type=org.apache.struts.action.ActionMapping/
bean:define id=formName name=actionMappingForThisScreen property=name
type=java.lang.String /
bean:define id=formBean name=%=
Ok, actually I, trynig to reset some form fields, but things don't work
till, now.
When I'm ready I'll post the config.xml.
I also suggest to download the struts-console and looking at samples web
apps.
Darren Hill wrote:
I'm trying to code with low coupling to anything .. but here's what
Version: Nightly Build 20020729
Config, JSP, and code which throws the exception are included below. I am
attempting to use indexed properties with DynaActionForm, and receiving an
error along the way: No indexed value for 'progress[0]'. The property
progress is defined in the config file as an
Well it was Friday here when he sent it, or is the net just running slow
again?
Way I see it, so long as its Friday somewhere, it counts!
(And I have it on good authority from Elvis (who was actually kidnapped by
martians) that on Mars its Friday every day! (which is why he never came
back))
Should all JSP pages be executed through the controller? Even those that
are external to an application that requires a login?
Even those that are external to an application that requires a login?
hmmm, do you mean there are certain parts of your application that require a
user to login in
Thanks John.
That was a typo by the way. ...application that do not DO NOT require a
login?
I will check out the book.
-Original Message-
From: John Sherlock [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 20, 2002 10:27 AM
To: 'Struts Users Mailing List'
Subject: RE: Newbie
There are always exceptions, but the general rule is, yes, all JSP pages
should be in an Action path. This maintains MVC integrity.
Mark
-Original Message-
From: Vinh Tran [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 20, 2002 10:00 AM
Should all JSP pages be executed through the
You know, that's pretty sound logic. In fact, it's about 4:30 PM in London
right now...think I'll slip out to the pub
Mark (in Baltimore)
-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 20, 2002 10:22 AM
To: Struts Users Mailing List
Subject:
I think you are an hour out, it's about 3:30 PM (shame I know)
Regards,
Stephen (nr London)
-Original Message-
From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
Sent: 20 September 2002 15:36
To: 'Struts Users Mailing List'
Subject: RE: [FRIDAY] Quote of the Day
You know, that's
22:30 here and still in the office (thanks to by Netscape/Mozilla and
its inconvienient DOM model - had it working in M$ IE by 17:00 but of course
Netscape has to do it differently...)
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 20,
I can't believe I fell victim to that guy in trench coat selling Win2k for
$5...
Dear Consumers:
It has come to our attention that a few copies of the WINDOWS 2000 TEXAS
EDITION may have
accidentally been shipped outside of the state of Texas.
Computer Science at Tulane University was under Engineering. When asked why
we were learning FORTRAN at all in our accelerated first semester
FORTRAN/Pascal class, the professor replied, You are not an engineer if you
do not know FORTRAN.
- Original Message -
From: Galbreath, Mark [EMAIL
I have a question regarding on the BeanUtils.populate() relative to
jsp:setProperty within Tomcat 4.0.4. I didn't see anything on this within
the mail-archive, so, if there is a prior thread discussing this please let
me know how to access that thread.
When using an HTML form that contains all
Wasn't that the other way round?? Netscap came along first and then
Microsoft built their own
-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]]
Sent: 20 September 2002 15:43
To: Struts Users Mailing List
Subject: RE: [FRIDAY] Quote of the Day
22:30 here and still in
Wow! Someone with almost the same history as me.
Except I wrote disk and device I/O for the IBM 3630. Other long-forgotten
exotics in my past:
- PL/S (let you mix 360 Assembler code and macros with PL/1) available on 360
and Series1 (remember him?)
- IBM A/S (A supposed 4GL) I still have not
Well yes, but I find Netscape a right pain in the backside to work with,
whereas things I do seem to magically work first time in the Micro$oft
browser so its Netscape I cant stand...
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 20, 2002
SHould I avoid to access database in the getXXX methods of an ActionForm
to respect MVC2 model?
Vincent Berruchon wrote:
Hello,
I'm a newbie with Struts, I'd like to know how I could smartly use
data-source to fill things like select drop down combo in my forms.
here what I'm trying
For example the javascript function I wrote just now worked perfectly in IE,
but crashed Netscape (as in crashed, dead, game over, must restart the whole
browser already...)
:-(
-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 20, 2002 23:11
To:
Come to think of it, I've known many engineers (especially EEs) who have
learned to program, but no programmer who has learned engineering. Not
being a mathematician, engineer nor CPA, I've always relied on the experts
to give me the algorithms to implement.
Mark (Ph.D. in American history)
He was telling you to ask your question in a smart way. In otherwords, he
was trying to act as list moderator. I find that more offensive than some
of the things that document addresses. I didn't personally find anything in
particular wrong with your question and a simple answer from somebody
First, there's no such thing as MVC2 Model. It's MVC or, when applied
to web apps, Model 2. This is clearly explained in the Struts'
Introduction on the Jakarta website.
Accessing the database from an ActionForm does not violate MVC, but it does
violate standard usage of JavaBeans and is
The open source Expresso Release 4.1 (RC2) is now onsite as well as an
updated location demo. We are getting very close to a final Expresso 4.1
release.
Expresso Release Candidate 2 files are available to download at:
http://www.jcorporate.com/product/expresso.html Downloads link
Location
nope i did not need to do that :)
Regards,
Tarun Sainanee
TCS Delhi
--
It is a capital mistake to theorize before one has data.
Insensibly one begins to twist
Real Programmers don't need all these abstract concepts to
get their jobs done-- they are perfectly happy with a keypunch, a Fortran IV
compiler, and a beer.
Having conducted extensive empirical research, I can say conclusively that
of these items listed, only the last is in fact required.
I prefer coding JavaScript for Netscape (version 6), it implements
more than IE :)
The thing that IE is good is that it seems to ignore all the
little mistakes in the html :))
At 11:13 PM 9/20/2002 +0800, you wrote:
For example the javascript function I wrote just now
If you had actually read the document, Tom, you would know that its main
thread is how to do research before asking questions that the asker has
obviously done nothing to figure out on his own. If you find that
offensive, you've got a screw loose.
Give a man a fish and he'll eat for a day.
Wow! Someone who remebers IMS/DS/DC. So... could it be that you ever used
SQL/DS?
Brian
(B.S.N.E.)
- Original Message -
From: [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, September 20, 2002 11:03 AM
Subject: RE: [42] So you wanna be a REAL programmer,
Jin, thank you very much for your help.
A question based on something you said...
Your Xform would do basic validation
ie format/type checking. The business validation of
the values would be done in Xmaintainence.
I've actually not implemented the validate() method of the
(struts) form
I am printing out a large list that is in alphabetical order using the logic:iterate
tag. I want to have alphabet jump menu at the top of the page so that when users
click on a letter, they will jump to that part of the list. How can I insert anchors
into my list when I am using the
i think your visualization/interpretation of one will do it more justice than i can in
words ;-)
so whats the technique for doing this?
thanks,
mark
-Original Message-
From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 20, 2002 4:57 AM
To: 'Struts Users Mailing
Hello I have a jsp page connected to a LookupDispatchAction.
when I press enter into a text box the server reports:
HTTP ERROR: 500 Request[/listedCustomer] does not contain handler
parameter named action
What's the solution ?
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
All:
This is a follow-up to my earlier post on the same topic. Although I
received a response, I think it wasn't the response I needed because I
didn't ask my question correctly.
Boiled down -- and ignoring all the background of why I need it, which
may have confused people -- I want:
-- To
Something like this might work:
bean:define id=actionMappingForThisScreen
name=org.apache.struts.action.mapping.instance
type=org.apache.struts.action.ActionMapping/
bean:define id=formName name=actionMappingForThisScreen property=name
type=java.lang.String /
bean:define id=formBean name=%=
I've already found a workaround for this, but wondered how I might
handle this in future if it should happen again.
I have a JSP with its own jspInit() and jspDestroy() methods that
started and stopped a background thread. This worked fine before
converting the page to use Struts, but
Hmmm...interesting problem
I assume by that part of the list, you mean when a user clicks on C, the
first C word in the list is the target.
First, just in case:
http://developer.netscape.com/docs/manuals/htmlguid/tags7.htm#1227754
Second,
Using the HTML anchor tag (as defined above) you
Instead of using bean:message use a scriptlet:
logic:equal parameter=%= session.getAtribute(key) % value=true
You guessed right! You win an auomatic avocado peeler!
/logic:equal
Mark
-Original Message-
From: Mark Silva [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 20, 2002 12:03
Hi,
I'm trying to use the html:optionsCollection - tag like it is done in the
struts-exercise-taglib example.
My ActionForm extends from DynaValidatorForm and is called
ProjectCreationBean.
All the getter/setter methods are correct.
I fill this bean within an action and want to show a collection
Hi,
I have a question on using logic tags.
In the following example, mytaglib is the tag library developed by me. I am
printing the value returned by the following tag on the JSP page.
TD
mytaglib:getvalue name=cost /
/TD
Now, I want to check that if the value returned by mytag is , then I
3 parts Blue Sapphire, 1 part dry Martini Rossi, 1 green olive?
-Original Message-
From: kiuma [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 20, 2002 12:05 PM
Hello I have a jsp page connected to a LookupDispatchAction.
when I press enter into a text box the server reports:
I met a real programmer the other day in line at Macy's. He calculated my change
faster than anybody I've ever seen. :)
peace,
Joe
-Original Message-
From: John Owen [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 20, 2002 7:49 AM
To: Struts Users Mailing List
Subject: Re:
Use logic:isPresent instead.
Mark
-Original Message-
From: Tejas Bavishi [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 20, 2002 11:55 AM
To: '[EMAIL PROTECTED]'
Subject: Logic tag
Hi,
I have a question on using logic tags.
In the following example, mytaglib is the tag library
A-ha!!! He admits it, finally...get the torches and pitchforks everyone!
;)
-Original Message-
From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 20, 2002 8:16 AM
To: 'Struts Users Mailing List'
Subject: RE: [42] Real Programmers
Come to think of it,
haha! You know us liberal arts types are the most creative thinkers, you
Luddite!
-Original Message-
From: Joe Barefoot [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 20, 2002 12:42 PM
A-ha!!! He admits it, finally...get the torches and pitchforks everyone!
;)
-Original
Hi,
I need to display multiple records (results of a search), and in each record
I want to set attribute A based on another attribute B from the same record.
I have a taglib available for text fields where one of the properties
accepts attribute B to facilitate the logic to set Attribute A
Thanks, Chris:
I tested your proposed solution very quickly -- just printing out the
retrieved formName on my JSP -- and it does work.
I'm surprised, though, that it isn't easier than that; it seems that the
formName should be available via the bean:struts tag, or some similar
tag.
Now I have
this isn't what i want to do though
i want to use a message in the ApplicationResources file to use as comparison. sort
of a configuration parameter any way around it?
-Original Message-
From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 20, 2002 9:39 AM
A couple notes:
* Mark's suggestion will only work if you've already put the message in the
session under the key attribute.
* The mix of double quotes in Mark's code probably won't work...i believe it
should instead read:
logic:equal parameter='%= session.getAtribute(key) %' value=true
1 - 100 of 192 matches
Mail list logo