Hi
I am having previous implementation of struts-menu as below
Menu name=CsrAccountInformation title=
location=accountinfoview.do
Item name=act title=Con
location=personaldtd.do?expMenu=AcctInfo/
Item name=cas title=Clo Acct
Hello,
I have a checkbox and i want to assign html:checkbox
value. and that value should be my id value.
How should i do that.
html:checkbox property=deleteItem value=??
Delete
/html:checkbox
here i want value to be my id value of table.. i have this string in logic:iterate
loop
What I did
Hi all,
i want to log something
in my own classes (MyAction e.g.)
but i dont know how can i set Appenders etc.
in normal applications i can load
with:
PropertyConfigurator.configure(/WEB-INF/logging.properties);
log4j-settings but in struts (or is it tomcat?)
the file will be ignored...
Ralf.
Its a little bit off topic. Log4J offers several possibilities for
configuration. The simplest way is just place your file into the
$CLASSPATH e.g. WEB-INF/classes. In this case your file MUST named
log4j.properties. At the first attach the log4j Framework searches such
a file to
Hi Manfred,
thanks!
i thougth its a bit offtopic.
sorry for that...
but i read in german-book
Java Framework für Webanwendungen
(haiges et. al)
something about logging...
there they use
servletContext.getRealPath(/WEB-INF/logging.properties);
for there own actionServlet.
but getRealPath()
Be careful, or charliesheen.jpg will be looking for you!
-Max
- Original Message -
From: Nail, Evan Burke [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, January 16, 2004 5:19 AM
Subject: [FRIDAY] RE: JSP Protection
Perhaps I have a different browser,
logic:iterate id=link name=userView property=menuList
html:link page=%= link.getAction() %
bean:write name=link property=label /
/html:link
/logic:iterate
or
c:forEach var=link value=${userView.menuList}
a href=c:url value=${link.action}
Raman,
What's wrong with this ? html:checkbox property=deleteItem/
Shouldn't this pick up the property from the ActionForm and generate
value=x for example.
Is yours dynamic ?
Mohan
-Original Message-
From: Raman [mailto:[EMAIL PROTECTED]
Sent: Saturday, January 17, 2004 12:43
Thanks for your reply...
BUT
it take the default value=on when I do the way as you were telling me.
I want to put the value=232 where 232 is the id value corresponding to my
record.
-- Raman
- Original Message -
From: Mohan Radhakrishnan [EMAIL PROTECTED]
To: 'Struts Users Mailing
I just started working on an app and my action classes extend DisptachAction. I was
wondering if there will be a problem if my action class supports multiple forms
The action mapping in the struts-config.xml file has an input attribute indicating
which jsp the request came from what
Hi All,
I have jsp1 which contains the below code as the scriplet:
**
BODY
%!
//Enquiry module images
private static final String ENQUIRY_IMG_PATH=html:rewrite
src='/screens/enquiry/images'/;
Change the location attribute to a action attribute, where the value
of action matches the path of your action mapping. For example:
Menu name=CsrAccountInformation title= action=/accountinfoview
If you are using 2.0, this should work. If it doesn't, let me know what
displayer you're using
My new project is going to use Struts, Hibernate, XDoclets, Ant etc.
together in a Debian O/S plus Oracle backend. For that project we found that
there are two primary testing strategies used in server-side testing: mock
object (MO) and in-container (IC). I got a look of what is what but would
You might take a look at my AppFuse project - it uses all the
technologies you mention (except for Oracle). It already has Cactus and
StrutsTestCase configured. IMO, if you're testing Servlets or Filters,
use Cactus. If you're testing Struts Actions, use StrutsTestCase. If
you're testing JSPs,
Hi All,
I can't seem to set the value of the 'name' attribute this tag renders, it
is always name=.
Could someone enlighten me on how to set this attribute?
Kind regards,
--
Marc
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Hi all,
Is there a way to directly reference a complex Object attribute within a JavaBean on a
JSP via the struts-bean tag library?
I have had good luck placing ArrayList objects in the HttpSession, then referencing
them in a JSP:
Action subclass excerpt:
session.setAttribute(projects,
Hi,
Does nobody know an answer or is it just too trivial?! Hm. The HTML Tag
Library says, that I can disable an option by setting disabled to true.
However it does not work, the option can still be selected. I am wondering
is this a bug or did I miss something?
I hope someone can give me a hint.
You can disable the select tag as a whole, but I've never heard of disabling
an option tag. You might just want to not list them.
-Original Message-
From: Dirk Manske [mailto:[EMAIL PROTECTED]
Sent: Saturday, January 17, 2004 5:21 PM
To: 'Struts Users Mailing List'
Subject: AW: how to
I found this solution searching in google:
(http://www.experts-exchange.com/Web/Web_Languages/HTML/Q_20756860.html)
[copy of that solution...]
html
form
select onChange=if(this.options[this.selectedIndex].state=='disabled')
this.selectedIndex=0
option value=1 state=enabledone/option
option
It could be that the the tag just renders an option value=somevalue
disabled=truesometext/option html tag. If that is the case then
the HTML browser would need to support the disable attribute. I wrote a
quick test for IE and Mozilla:
html
body
form
select name=x
option value=11/option
Hi,
thank you all for your help. The final explanation was brought by Jason. The
special disabled attribute only works with mozilla browsers!!! I justt
tested it. ie6 indeed does not support the thml:option disable attribute
(sh...). Unfortunately I am not allowed to use mozilla... so the
Hi, Otto, Frank
I had even faced this problem. I think maybe it'srobably because of jdk1.4.2.
Laterly
I found that it's because of your package reference conflict. But it can work well
under
jdk1.4.1.So after that I use jdk 1.4.1.
=== 2004-01-16 15:27:00 Original
Mike,
If I understand you correctly, you have a bean that contains an arraylist which also
contains an arraylist?
If this is the case, I just resolved this issue myself. I have bean A that contains a
ArrayList getOtherArrayList() method the other arraylist contains attributes of
Hi, Ashikuzzaman
I use StrutsTestCase to test my struts-based web tier action. Because
StrutsTestCase
use mock object to mock the container. So you needn't start your container(tomcat or
jboss)
to test your action class. It's a very fast way to test.
However, StrutsTestCase can
24 matches
Mail list logo