> From: Bender, James [mailto:[EMAIL PROTECTED]
> The user can click
> Search Attributes | Search Components | Search Templates
> I've provided html:link's like these respectively:
> doPrepareSearch.do?searchType=attribute |
> doPrepareSearch.do?searchType=component |
> doPrepareSearch.do?searchTy
sage. Does it make sense what I've described? Thanks again!,
Jim
-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Friday, March 26, 2004 2:03 PM
To: Struts Users Mailing List
Subject: RE: newbie html-el question
From: Bender, James [mailto:[EMAIL PROTECTED]
&g
From: Bender, James [mailto:[EMAIL PROTECTED]
> I am trying to display a value from a requestAttribute in
an ...> but I can't get it to work. Here is my code:
> value="<%=request.getAttribute("searchType")%>"/>
>
> I recieve the error:
> "Attribute searchType has no value"
> Someone told me I
> I am trying to display a value from a requestAttribute in an
> but I can't get it to work. Here is my code:
> value="<%=request.getAttribute("searchType")%>"/>
>
> I recieve the error:
> "Attribute searchType has no value"
> Someone told me I have to do something more like this:
>
> I am trying to display a value from a requestAttribute in an ...> but I can't get it to work. Here is my code:
>
> value="<%=request.getAttribute("searchType")%>"/>
>
> I recieve the error:
>
> "Attribute searchType has no value"
>
> Someone told me I have to do something more like this:
>
Hi all,
I have an html page (external.html) and in another my struts application
is running, could I use a title:put pointing to his web page? That page
is a dynamic perl page...
I don't know if tiles:get tag gets directly a file, o maybe it can do a
http request to another machine, in order to g
ge-
From: Andreas Solarik [mailto:[EMAIL PROTECTED]
Sent: 24 March 2004 15:18
To: 'Struts Users Mailing List'
Subject: AW: html:javascript question
nice one, didn't even occur to me to do this.
Andreas
-Ursprüngliche Nachricht-
Von: Janarthan Sathiamurthy [mailto:[EMAIL P
hi,
just joined the list, and i have a newbie question about struts design.
this is where i am at. i have looked at struts about a year back, and rolled
my own version of mvc web architecture, stealing several basic ideas from
struts. at the time, it appeared that many features of struts were
' actionform as it
> Was before.
> Now the question: if my actionform has scope of session, do I have to
> Put the value in the session explicitly or struts will do it for me?
>
>
> IT LOOKS like all the values are erased all the time, no matter if I
> have
> Specified as sco
nice one, didn't even occur to me to do this.
Andreas
-Ursprüngliche Nachricht-
Von: Janarthan Sathiamurthy [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 24. März 2004 16:05
An: Struts Users Mailing List
Betreff: RE: html:javascript question
var myMessage = "";
var myMessage = "";
alert(myMessage)
-Original Message-
From: Daniel [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 24, 2004 6:23 PM
To: Struts Users Mailing List
Subject: html:javascript question
I want to put the msg inside a javasript alert (popup with error message
(in theory).
However, what is in the session looks like an 'empty' actionform as it
Was before.
Now the question: if my actionform has scope of session, do I have to
Put the value in the session explicitly or struts will do it for me?
IT LOOKS like all the values are erased all the time,
ute("attributeName");
Good luck,
Andreas
-Ursprüngliche Nachricht-
Von: Daniel [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 24. März 2004 13:53
An: Struts Users Mailing List
Betreff: html:javascript question
I want to put the msg inside a javasript alert (popup with error
I want to put the msg inside a javasript alert (popup with error message ),some one
know how can I make it ???
Question
Hi all,
This is off-topic, but i hope that somebody helps me.
I have an application that use struts, spring and hibernate.
The security is based on roles using CMS (JdbcRealm over Tomcat 4.1.29)
The goal of this application is to manage contracts. Authorized users
creates contracts with
Hi,
i am trying to develop a webserivce using RPC and/or
SOAP all the samples i have seen dont deal atall with
the database or with servlet context,
I want to get data from a servlet context which i load
when loading the application
can anyone provide some code example or site where i
can have this
friendly *bump*
On Sun, 21 Mar 2004 18:12:54 -0600 (CST), "Craig Tataryn" wrote:
>
> Hi, I have the following definition in my validation.xml file:
>
>
>
> property="provStateId"
> indexedListProperty="address"
>
Quoting Mu Mike <[EMAIL PROTECTED]>:
> does the servlet container has only one servletcontext instance for all the
> servlets it manages? and the same to servletconfig instance?
>
There is one ServletContext instance for each web application (which can
encompass many servlets and JSP pages). T
does the servlet container has only one servletcontext instance for all the
servlets it manages? and the same to servletconfig instance?
Thanks&Regards
_
享用世界上最大的电子邮件系统― MSN Hotmail。 http://www.hotmail.com
--
On 12/03/2004 21:26, "Avinash Gangadharan" <[EMAIL PROTECTED]> wrote:
> People,
> I have a design question. It is regarding the retrieval of parent and
> child objects in the best possible manner. For eg. Let's say there is a
> Person object with properties su
Hi, I have the following definition in my validation.xml file:
I then have a form that is built like so:
<% addressIndex = "address(" + region.getKey() + ")"; %>
.
.
.
This generates HTML that looks like:
Is it possisble to use validwhen for date fields like comparing dates?
Brendan Richards <[EMAIL PROTECTED]> wrote:
I'm looking at using validwhen for a complex validation.
I've got a value that can either be ignored when another parameter is
set or is valid when it's a date.
A simple date va
Hi all,
This is off-topic, but i hope that somebody helps me.
I have an application that use struts, spring and hibernate.
The security is based on roles using CMS (JdbcRealm over Tomcat 4.1.29)
The goal of this application is to manage contracts. Authorized users
creates contracts with supplier
I'm looking at using validwhen for a complex validation.
I've got a value that can either be ignored when another parameter is
set or is valid when it's a date.
A simple date validation would be something like this:
datePatterndd-MM-
Can a validwhen call another validati
Martin you can ask this on the JDeveloper forum on OTN
http://forums.oracle.com/forums/forum.jsp?forum=83
However, I assume you talking about the New Dialog in JDev 9.0.3 / 9.0.4?
The option is there in mine - but you'll find it's disabled unless you
have a project created to put it into.
So creat
Hello
Anyone out there using JDeveloper know how to add "Java Web Services" item
to General / WebServices Menu
Sorry for being completely off topic but I dont know where else to ask
Thank You,
Martin
-
To unsubscribe, e-mail:
"Application" scope, aka global, aka servlet context
-Original Message-
From: Rajat Pandit [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 17, 2004 5:14 AM
To: Struts Users Mailing List
Subject: scope question
Hello,
I know this could be a dumb question, but how do access t
HI ,
Just go through the name of the file matches excatly file name existing
directory corrected.
Ex:
< sample>/web.xml/*
Bye
MOHAN RADHAKRISHNAN <[EMAIL PROTECTED]> wrote:
HI
My URL pattern in web.xml is
emis-web
Require users to authenticate
/emis/*
POST
GET
Now http://localho
HI
My URL pattern in web.xml is
emis-web
Require users to authenticate
/emis/*
POST
GET
Now http://localhost:/emis
prompts fo
Hello,
I know this could be a dumb question, but how do access the objects stored in the
ServletContext object using
6 PM
> To: 'Struts Users Mailing List'
> Subject: RE: [OT] Object Design Question
>
>
> That's the way I have it now, a view object querying the datastore and
> forming the business objects. The view issues a query for the parent and
> then calls the views of the
back together and then parsing them out would be better but sure not a clean
OO way of getting data.
-Original Message-
From: Robert Taylor [mailto:[EMAIL PROTECTED]
Sent: Friday, March 12, 2004 1:01 PM
To: Struts Users Mailing List
Subject: RE: [OT] Object Design Question
+1. Joi
ay, March 12, 2004 3:37 PM
> To: Struts Users Mailing List
> Subject: RE: [OT] Object Design Question
>
>
> It's always on a case by case basis. When and how much do you need at a
> given time? Hibernate/JDO/OJB/etc can handle these things for you via a
> config to sp
I'm trying to an application in progress to use a /do/* url pattern instead
of a *.do.
I'm finding some strange behavior I haven't quite isolated, but the least of
it is that each successive mouseclick is prepending an extra /do to the uri
portion of the url.
Is there something I need to put
Avinash:
...Adding to what Jacob says below: if you are writing your own, this is a good
link to study:
http://java.sun.com/blueprints/corej2eepatterns/Patterns/DataAccessObject.html
Regards,
Geeta
"Hookom, Jacob" wrote:
> It's always on a case by case basis. When and how much do you need at
PROTECTED]'
Subject: [OT] Object Design Question
People,
I have a design question. It is regarding the retrieval of parent and
child objects in the best possible manner. For eg. Let's say there is a
Person object with properties such as ssn, lastName and firstname. It also
has
People,
I have a design question. It is regarding the retrieval of parent and
child objects in the best possible manner. For eg. Let's say there is a
Person object with properties such as ssn, lastName and firstname. It also
has a list child objects ( "Address" ) of addresse
Hi Paul,
Your question seems very similar to my post last week.
"I need to set a "pre-defined" option in using the
>>"value=" attribute, I thought the following will work:
"
For this you can set the attribute in your form class and when you use in
your
Hi all,
Other possibility is to check whether 'myBean' exists in some scope.
Cheers,
Daniel Silva.
--- Daniel Henrique Alves Lima <[EMAIL PROTECTED]> wrote:
>Have you import logic taglibs ?
>
> steve hazelwood wrote:
>
> >I have an action that creates a bean. That bean has a
> >proper
Solved, well done.
I'm glad I put 'newbie' in the subject line now :-)
Thanks,
Steve
On 9 Mar 2004 at 11:03, Daniel Henrique Alves Lima
wrote:
Have you import logic taglibs ?
steve hazelwood wrote:
>I have an action that creates a bean. That bean has a
>property myStrings that returns a c
Have you import logic taglibs ?
steve hazelwood wrote:
I have an action that creates a bean. That bean has a
property myStrings that returns a collection of String
objects.
On a jsp, I want to list the strings. If my jsp has
this:
Then I get an exception "Cannot find bean myId in any
sc
I have an action that creates a bean. That bean has a
property myStrings that returns a collection of String
objects.
On a jsp, I want to list the strings. If my jsp has
this:
Then I get an exception "Cannot find bean myId in any
scope".
I can understand that cos myId is a String not a
I see. I'll try that tomorrow and let you know. Thx.
-Original Message-
From: Paul Stanton [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 09, 2004 12:05 AM
To: Struts Users Mailing List
Subject: Re: question
the most simplest solution is often the best
Au-Yeung, Stella H
store the value into
"person.id".
In other words, I don't know how to convert my statement below to yours:
-Original Message-
From: Paul Stanton [mailto:[EMAIL PROTECTED]
Sent: Monday, March 08, 2004 6:45 PM
To: Struts Users Mailing List
Subject: Re: question
i think
e value into
"person.id".
In other words, I don't know how to convert my statement below to yours:
-Original Message-
From: Paul Stanton [mailto:[EMAIL PROTECTED]
Sent: Monday, March 08, 2004 6:45 PM
To: Struts Users Mailing List
Subject: Re: question
i think you are
statement below to yours:
>
> collection="uList" name="UserFormBean" property="userId"
> labelproperty="commonName"/>
-Original Message-
From: Paul Stanton [mailto:[EMAIL PROTECTED]
Sent: Monday, March 08, 2004 6:45 PM
To: Struts U
s Users Mailing List
Subject: RE: question
>>engineerId is an attribute in the dataBean "shopWorkOrder". Can't I
>>reference shopWorkOrder.engineerId inside the <%= %>?
>>
I guess "shopWorkOrder" is the attribute name of the bean.
The &l
ession.
Use the to define a JSP variable and use it in <%= %>
then use <%=engineerId%> in the .
-Original Message-
From: Au-Yeung, Stella H [mailto:[EMAIL PROTECTED]
Sent: Monday, March 08, 2004 4:49 PM
To: 'Struts Users Mailing List'
Subject: RE: question
I got a compila
palakrishnan, Jayesh [mailto:[EMAIL PROTECTED]
Sent: Monday, March 08, 2004 6:45 PM
To: Struts Users Mailing List
Subject: RE: question
Try something like this,
The "value" attribute is RT-Exp, and not name of a bean.
hth
-jayash
-Original Message-
From: Au-Yeung, Stella H [ma
ED]
Sent: Monday, March 08, 2004 6:45 PM
To: Struts Users Mailing List
Subject: RE: question
Try something like this,
The "value" attribute is RT-Exp, and not name of a bean.
hth
-jayash
-Original Message-
From: Au-Yeung, Stella H [mailto:[EMAIL PROTECTED]
Sent:
Try something like this,
The "value" attribute is RT-Exp, and not name of a bean.
hth
-jayash
-Original Message-
From: Au-Yeung, Stella H [mailto:[EMAIL PROTECTED]
Sent: Monday, March 08, 2004 3:38 PM
To: '[EMAIL PROTECTED]'
Subject: question
Hi:
I need t
i think you are trying to do the following...
this is assuming uList is a list of beans with id/name fields and your
form has a userId field.
Au-Yeung, Stella H wrote:
Hi:
I need to set a "pre-defined" option in using the "value="
attribute, I thought the following will work:
I h
Hi:
I need to set a "pre-defined" option in using the "value="
attribute, I thought the following will work:
I have a "person" bean. I want to set the "selected" option if
"person.id" matches "userId" . I thought the "value" attribute is to be
compared with for marking an option select
The resulting html text will wrap inside of the element tags that you have
placed it into unless you explicitly tell it not to with something like
comments here
Or with css
comments here
So in other words you should not have to do anything.
If you want to keep the text width a certain size you ca
If I use to display a bean property "comments" which happens
to be a long line of text. Is there a way to enforce "wrapping" with
so the long "comments" can be displayed as a paragraph?
Thanks!
-
To unsubscribe, e-mail: [EMAI
If you want to get better answers quicker Id suggest you learn the concept
of 'meaningful subjects' for emails. "Question" is not a meaningful subject
line.
http://www.catb.org/~esr/faqs/smart-questions.html
Ok now on to your "Question".
Having been kind enough to t
Hello All,
I have a requirement, where on page we have 3 fields named condition1,
condition2, and condition3. These three fields are text fields.
No problem in doing that.
Now the requirement is that if the user wants to add more conditions they
can click on the more conditions link and then we
where are you trying to access your actionmapping?
- Original Message -
From: "Averbukh Stella" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Wednesday, March 03, 2004 6:13 PM
Subject: ActionMapping problem:
what about radio buttons?
- Original Message -
From: "Max Kovalenkov" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 03, 2004 7:40 PM
Subject: logic flow question (more or less)
> Hi,
>
> New to Struts, so pretty much just learning b
Hi,
New to Struts, so pretty much just learning by example for now; however
I couldn't find a good example for this, hence the question:
I have a jsp page that lists certain equipment requests that were
fetched from a database by a servlet and are now contained in the
request sco
In the current struts 1.0 application, we do following:
String actionNameFind = "/" + thisForm.getAction();
ActionMapping newMapping = (ActionMapping)
getServlet().findMapping(actionNameFind);
Does anybody know how I can retrieve ActionMapping in a similar manner in
struts 1.1?
age -
From: "Satya Narayan Dash" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 03, 2004 9:31 AM
Subject: Newbie question
Hi,
I am new to struts. I found a number of simple tutorials (with examples) to
understand struts-1.0, but there seems to none for struts
Hi,
I am new to struts. I found a number of simple tutorials (with examples) to understand
struts-1.0, but there seems to none for struts-1.1. I have gone through one struts-1.0
tutorial given at jspfinder.com, which is good.
Can you please recommend for struts-1.1 (with examples)?
Thanks,
Sa
DOCTYPE syntax uses an optional URI for the DTD, so that a validating
XML parser can download an unknown DTD and validate the document. Struts
registers local copy of it's configuration DTD to the XML parser
(struts, tiles & validator). This way they're is no need to have access
to the Internet
A lot of things have to be parsed : web.xml, struts-config.xml and so on
so for example, lines like that are already present in our XML files :
http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";>
or
"http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd";>
I understand the concept of DT
Answered My own Question.
Thank you Jacob
-Original Message-
From: Hookom, Jacob [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 04, 2003 9:04 AM
To: Struts Users Mailing List
Subject: [OT] RE: File Download?
This is what we use for file downloads (Excel/PDF files).
String
My Problem is with the URL presented when i get prompted to save a file.
I am retreiving files/resources from a database and want to let the users
browse them at will.
The code below works except when i get prompted to Save or Open the file.
The name of the file is the name of my Action Mapping. i
Table vs Graph)
Independence is very important for reusability and maintainability.
-Original Message-
From: Michael McGrady [mailto:[EMAIL PROTECTED]
Sent: Friday, February 27, 2004 4:53 PM
To: Struts Users Mailing List
Subject: RE: FormBeans: A question of Style
This is just wrong. This
ECTED]
Sent: Friday, February 27, 2004 11:41 AM
To: Struts Users Mailing List
Subject: Re: FormBeans: A question of Style
I consider the ActionForms to be part of the view primarily. They should
both collect submitted data and provide the JSP (or other view
components) with most or all the data they
On Thu, 2004-02-26 at 23:01, Pradeep, PK wrote:
> I think whatever you do you can't make JSP and Action Class independent.
> Where are you populating ActionForm Object from the results from service
> layer? In Action class only right? Which you know very well for which
> JSP page it will be applica
ginal Message-
From: Pradeep, PK [mailto:[EMAIL PROTECTED]
Sent: Friday, 27 February 2004 15:02
To: Struts Users Mailing List
Subject: RE: FormBeans: A question of Style
I think whatever you do you can't make JSP and Action Class independent.
Where are you populating ActionForm Object from t
ed in ActionForm? How one can
populate resultset in action form which will automatically get populated
in html table..
-Original Message-
From: Max Cooper [mailto:[EMAIL PROTECTED]
Sent: Friday, February 27, 2004 11:41 AM
To: Struts Users Mailing List
Subject: Re: FormBeans: A questi
-
From: Niall Pemberton [mailto:[EMAIL PROTECTED]
Sent: giovedì 26 febbraio 2004 12.36
To: Struts Users Mailing List
Subject: Re: Xhtml tag usage question
Unfortunately it saves the xhtml 'flag' in page scope so there isn't
much you can do about it.
Background: BaseHandlerTag
I'm creating a custom validator to enforce a <= relationship between 2 date fields and
am having a problem.
A validator method gets a Field arg for the field with which it's associated in
validation.xml, but I need to also get the Field object for the other date field. I
need this so that I can
etVarValue("compareDate");
String compareDate = ValidatorUtils.getValueAsString(bean,
compareDateProperty);
Niall
- Original Message -
From: "Anderson, James H [IT]" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 26, 2004 2:54 PM
Subject
rsday, February 26, 2004 3:17 PM
Subject: Re: custom validator question
> Specify the second field as
>
>
>
> datePattern
> dd/MM/
>
>
> compareDate
> mySecondDate
>
>
>
> Then in you
til.getValueAsString(bean,
propertyTime);
. . . . .
Hope this helps
Claire
-Original Message-
From: Anderson, James H [IT] [mailto:[EMAIL PROTECTED]
Sent: 26 February 2004 14:54
To: [EMAIL PROTECTED]
Subject: custom validator question
I'm creating a custom validator to
for myFirstDate, but that's just an assumption...
-Original Message-
From: Niall Pemberton [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 26, 2004 10:18 AM
To: Struts Users Mailing List
Subject: Re: custom validator question
Specify the second field as
datePa
I wasn't aware of it--I'm using Struts 1.1. I'll check it out.
Thanks.
-Original Message-
From: Niall Pemberton [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 26, 2004 10:20 AM
To: Struts User Jakarta
Subject: Re: custom validator question
Also, what about usi
I know, this list is not struts-menu list, but ..
at the struts menu example (permissions menu) at SetPermissionsAction.java there is
this line:
String[] menus = request.getParameterValues("menus");
I'd like to know just where they put the menus attribute in a session ??
thanks
D
We have 2 camps of thought on the subject of the appropriate use of Struts
form beans. Here are the thoughts:
Camp 1: Form beans are controller components and should be used only to
transport user input data between JSP forms (or across JSP forms) and
Action classes.
Camp 2: Form beans should
nsfer data
between the Model and View layers."
Niall
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 27, 2004 1:57 AM
Subject: FormBeans: A question of Style
>
> We have 2 camps of thought on the subject of the appr
, 27 February 2004 12:12
To: Struts Users Mailing List
Subject: Re: FormBeans: A question of Style
Dam - I was in Camp 3: Form beans are View components...but looking in the
user guide...
"Note: While ActionForm beans often have properties that correspond to
properties in your Model beans
04 12:12
> To: Struts Users Mailing List
> Subject: Re: FormBeans: A question of Style
>
>
> Dam - I was in Camp 3: Form beans are View components...but looking in the
> user guide...
>
> "Note: While ActionForm beans often have properties that correspond to
> propert
I consider the ActionForms to be part of the view primarily. They should
both collect submitted data and provide the JSP (or other view
components) with most or all the data they need to render the page (camp
2). I say 'most' only because sometimes custom tags can be useful for
getting data for lis
en.
Niall
- Original Message -
From: "Renato Romano" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Thursday, February 26, 2004 8:49 AM
Subject: Xhtml tag usage question
> I tried to insert the xhtml tag in my
I tried to insert the xhtml tag in my pages, but the only way I found is
to insert it in each tile that composes my page. It seems it is not
sufficient to put it in the template file, or in the page using the
template. Is there a better approach ?
Any help is appreciated
Renato
___
Thanks a lot mate, that did the trick!
- Original Message -
From: "Carl Walker" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, February 25, 2004 4:01 PM
Subject: Re: Simple ActionError question
> You Actio
;
errors.add( ActionErrors.GLOBAL_ERROR, error );
_request.setAttribute( Globals.ERROR_KEY, errors );
fwd = new ActionForward( _mapping.getInput() );
}
}
Theodosios Paschalidis wrote:
> Hi all,
>
> just a newbie
Hi all,
just a newbie question. I have a PlaceOrderAction and I want to display as an
ActionError the items that were out of stock.
I would like to be able to pass a String to my ActionError. Is there a way to do this
may using Format? Could somebody provide an example?
Suppose I have a
Thanks Robert, that works.
-Original Message-
From: Robert Taylor [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 24, 2004 8:52 PM
To: Struts Users Mailing List
Subject: RE: A question on Struts taglib.
Try this:
If you can use JSTL
: Tuesday, February 24, 2004 6:12 PM
> To: 'Struts Users Mailing List'
> Subject: RE: A question on Struts taglib.
>
>
> I changed my code to use "indexId" and got the following error:
>
> symbol : variable indexId
> location: class jsp_servlet._app._f
Line: 136]
Here's the changed code:
Any Idea? What did I do wrong?
-Original Message-
From: Ramadoss Chinnakuzhandai [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 24, 2004 3:45 PM
To: Struts Users Mailing List
Subject: RE: A question on Strut
add index attribute in your logic iterate and append that index to your host string.
e.g
yourhoststring+<%=indexId %>
-R
-Original Message-
From: Au-Yeung, Stella H [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 24, 2004 3:18 PM
To: [EMAIL PROTECTED]
Subject: A question on
You can use the indexId attribute of
tag...
http://jakarta.apache.org/struts/doc-1.0.2/struts-logic.html#iterate
HTH,
Shyam
--- "Au-Yeung, Stella H" <[EMAIL PROTECTED]>
wrote:
> A question on Struts taglib.
> Can someone tell me how to reference the "index" of
&
A question on Struts taglib.
Can someone tell me how to reference the "index" of each element so I can
pass it as a parameter with the path string?
For example I have the following code, I want to print out 'partNumber' and
'partDescription' and
The message-resource file is loaded at startup an held in memory as an
instance of org.apache.struts.util.MessageResources. The instance is stored
in the ServletContext. To access it from a JSP, look for the
Globals.MESSAGES_KEY attribute:
<%@ page import="org.apache.struts.Globals" %>
<%@ pa
> how can i add the test value to the html:text like below
> property="testers.testerName"/>
>
You can't nest tags, but you can use the "el" version of the Struts html
tags:
--
Tim Slattery
[EMAIL PROTECTED]
-
To
answer,
U cant nest tags!
either use html-el for getting the value or use scriptlets
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 20, 2004 4:35 PM
Subject: html:text question
> Question,
> how can i add the
Question,
how can i add the test value to the html:text like below
but this is not working, any idea ?
thks
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
1 - 100 of 4873 matches
Mail list logo