I am trying to display a value from a requestAttribute in an html-el:text
... but I can't get it to work. Here is my code:
html-el:text: property=searchType
value=%=request.getAttribute(searchType)%/
I recieve the error:
Attribute searchType has no value
Someone told me I have to
I am trying to display a value from a requestAttribute in an
html-el:text ... but I can't get it to work. Here is my code:
html-el:text: property=searchType
value=%=request.getAttribute(searchType)%/
I recieve the error:
Attribute searchType has no value
Someone told me I have
From: Bender, James [mailto:[EMAIL PROTECTED]
I am trying to display a value from a requestAttribute in
an html-el:text
... but I can't get it to work. Here is my code:
html-el:text: property=searchType
value=%=request.getAttribute(searchType)%/
I recieve the error:
Attribute searchType
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]
I am trying to display a value from
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 |
-
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 PROTECTED]
Gesendet
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
I want to put the msg inside a javasript alert (popup with error message ),some one
know how can I make it ???
font color=red
html:messages id=msg message=true bundle=geral
bean:write name=msg /br
/html:messages
/font
(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
message ),some one know
).
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, no matter if I
have
var myMessage = bean:write name=msg /;
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
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 = bean:write name=msg /;
alert
for the first time, obviously the
Form is 'emtpy', so I populate it with all the values..
When I am redirected to the action class again, the actionform
Should be in the session (in theory).
However, what is in the session looks like an 'empty' actionform as it
Was before.
Now the question: if my
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
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
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:
formset
form name=MarketAddressForm
field
property=provStateId
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
Hi, I have the following definition in my validation.xml file:
formset
form name=MarketAddressForm
field
property=provStateId
indexedListProperty=address
depends=required
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 such as ssn, lastName and firstname. It also
does the servlet container has only one servletcontext instance for all the
servlets it manages? and the same to servletconfig instance?
ThanksRegards
_
MSN Hotmail http://www.hotmail.com
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). There
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
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
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:
field property=date depends=required,date
arg0 key=myForm.date/
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
Hello,
I know this could be a dumb question, but how do access the objects stored in the
ServletContext object using bean:write
a quick answer would help!!
HI
My URL pattern in web.xml is
web-resource-collection
web-resource-nameemis-web/web-resource-name
descriptionRequire users to authenticate/description
url-pattern/emis/*/url-pattern
HI ,
Just go through the name of the file matches excatly file name existing
directory corrected.
Ex:
sample/web.xml/*/sample
Bye
MOHAN RADHAKRISHNAN [EMAIL PROTECTED] wrote:
HI
My URL pattern in web.xml is
emis-web
Require users to authenticate
/emis/*
POST
GET
Now
bean:write name=foo property=bar scope=application/
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
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:
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 addresses and a list
]'
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 a list child objects
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 a
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
, 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 specify lazy relationships.
When you
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. Join
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 children to give their list of objects for that
parent
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:
logic:iterate id=myId name=myBean
property=myStrings
bean:write name=myId/
/logic:iterate
Then I get an exception
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:
logic:iterate id=myId name=myBean
property=myStrings
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
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
property
Hi Paul,
Your question seems very similar to my post last week.
I need to set a pre-defined option in html:select 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 html:selectin
your jsp, while populating
Hi:
I need to set a pre-defined option in html:select using the value=
attribute, I thought the following will work:
bean:define id=uList name=UserFormBean property=userList/
html:select property=person.id value=person.id
html:options collection=uList name=UserFormBean property=userId
i think you are trying to do the following...
html:select name=UserFormBean property=userId
html:options collection=uList property=id labelProperty=name/
/html:select
this is assuming uList is a list of beans with id/name fields and your
form has a userId field.
Au-Yeung, Stella H
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: html:select question
Hi:
I need to set a pre-defined option in html:select using the value=
attribute
08, 2004 6:45 PM
To: Struts Users Mailing List
Subject: RE: html:select question
Try something like this,
bean:define id=uList name=UserFormBean property=userList/
bean;define id=person name=person.id / html:select
property=person.id value=%=person% html:options collection=uList
name=UserFormBean
:[EMAIL PROTECTED]
Sent: Monday, March 08, 2004 6:45 PM
To: Struts Users Mailing List
Subject: RE: html:select question
Try something like this,
bean:define id=uList name=UserFormBean property=userList/
bean;define id=person name=person.id / html:select
property=person.id value=%=person
it in %= %
bean:define id=engineerId name=shopWorkOrder property=engineerId /
then use %=engineerId% in the html:select.
-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: html:select question
I got
[mailto:[EMAIL PROTECTED]
Sent: Monday, March 08, 2004 8:44 PM
To: Struts Users Mailing List
Subject: RE: html:select question
engineerId is an attribute in the dataBean shopWorkOrder. Can't I
reference shopWorkOrder.engineerId inside the %= %?
I guess shopWorkOrder is the attribute name
-Original Message-
From: Paul Stanton [mailto:[EMAIL PROTECTED]
Sent: Monday, March 08, 2004 6:45 PM
To: Struts Users Mailing List
Subject: Re: html:select question
i think you are trying to do the following...
html:select name=UserFormBean property=userId
html:options collection=uList
property=userId
labelproperty=commonName//html:select
-Original Message-
From: Paul Stanton [mailto:[EMAIL PROTECTED]
Sent: Monday, March 08, 2004 6:45 PM
To: Struts Users Mailing List
Subject: Re: html:select question
i think you are trying to do the following...
html:select name
=UserFormBean property=userId
labelproperty=commonName//html:select
-Original Message-
From: Paul Stanton [mailto:[EMAIL PROTECTED]
Sent: Monday, March 08, 2004 6:45 PM
To: Struts Users Mailing List
Subject: Re: html:select question
i think you are trying to do the following...
html:select
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: html:select question
the most simplest solution is often the best
Au-Yeung, Stella H
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 :
!DOCTYPE web-app
PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN
http://java.sun.com/j2ee/dtds/web-app_2_2.dtd;
or
!DOCTYPE
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
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,
: 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-1.1. I have gone
through one
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?
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 scope
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 by example for now; however
I couldn't
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: upgrading struts1.0 to struts1.1 question
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
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 take the time to read it to see
If I use bean:write to display a bean property comments which happens
to be a long line of text. Is there a way to enforce wrapping with
bean:write so the long comments can be displayed as a paragraph?
Thanks!
-
To
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
p nowrapcomments here/p
Or with css
p style=white-space: nowrap;comments here/p
So in other words you should not have to do anything.
If you want to
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.
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
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
]
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 need
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
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
-
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 pages, but the only way I found is
to insert it in each tile that composes my page
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
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
, 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 var
field property=myFirstDate depends=date
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 using the existing
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
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
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 appropriate use of Struts
form beans
, 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
it to the model and vice versa (preferably with some kind of
helper classes and perhaps also non-form DTOs involved)
-Original Message-
From: Niall Pemberton [mailto:[EMAIL PROTECTED]
Sent: Friday, 27 February 2004 12:12
To: Struts Users Mailing List
Subject: Re: FormBeans: A question
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 enforce a = relationship between 2
date fields and am having a problem
: Re: custom validator question
Specify the second field as var
field property=myFirstDate depends=date,dateCompare
var
var-namedatePattern/var-name
var-valuedd/MM//var-value
/var
var
var-namecompareDate/var-name
var-valuemySecondDate
[IT] [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, February 26, 2004 2:54 PM
Subject: custom validator question
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
-
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 has an isXhtml
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 question
/
-Original 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
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
);
_request.setAttribute( Globals.ERROR_KEY, errors );
fwd = new ActionForward( _mapping.getInput() );
}
}
Theodosios Paschalidis wrote:
Hi all,
just a newbie question. I have a PlaceOrderAction and I want to display as an
ActionError the items
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 ActionError constructor takes additional parameters
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 a href path string?
For example I have the following code, I want to print out 'partNumber' and
'partDescription' and a a href' with index of each element
You can use the indexId attribute of logic:iterate
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
each element so I can
pass
, February 24, 2004 3:18 PM
To: [EMAIL PROTECTED]
Subject: A question on Struts taglib.
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 a href path string?
For example I have the following code, I want to print out
Chinnakuzhandai [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 24, 2004 3:45 PM
To: Struts Users Mailing List
Subject: RE: A question on Struts taglib.
add index attribute in your logic iterate and append that index to your host
string.
e.g
logic:iterate id=xyzID name=xyzForm property=xyz
: 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._fdd._shopworkorder.__createshopworkorder
out.print(weblogic.utils.StringUtils.valueOf(indexId )); //[
/app/fdd/shopWorkOrder
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:
logic:iterate id=parts indexId=index
collection
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 %
%@ page
. Yucky but
it lets me run under
eclipse and debug at least!... sigh/)
-Original Message-
From: lixin chu [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 17 February 2004 19:05
To: [EMAIL PROTECTED]
Subject: Eclipse + Tomcat plugin question
Hi ,
sorry if this is not the right forum
Hi,
I have a little problem with validation. I have a form with a field
html:text that show the property de a bean in a session scope. If the
field is empty at the load of the page the validation works right, but if
the property have any value at the load the validation (required) fail.
Question,
how can i add the test value to the html:text like below
bean:define id=test name=testForm property=testers.testerName/
html:text name=username value='bean:write name=test/'/
but this is not working, any idea ?
thks
1 - 100 of 4607 matches
Mail list logo