Suppose i have ids[] array and labels[] array
I need to render link a href=someaction.do?id=ids[i] label[i] /a
is it possible to do with logic:iterate ?
?
The answer is yes. Please check struts doc
However, by place your id and label into LabelValueBean. It will make your
code easier write
thru logic:iterate
-Dan
- Original Message -
From: Slava_L [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Saturday
hi list.
I have pretty simple question: How am i suppose to change form encoding type ?
Suppose i have native charset windows-1251 and jsp contentType=text/html;
charset=windows-1251
this works grate when i print string but won't work on form submit - insteed of
appropriate string on
Could u plz describe wut exactly u generate
Do u have to manualy edit somethin' after generation ? coz' if u do, then it
is worthless
- Original Message -
From: Emil Korladinov [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, December 06, 2002 5:36 PM
well is seems that u generate xml from another xml
i thinl xDoclet very usefull for EJB code generation
- Original Message -
From: tek1 [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Monday, December 09, 2002 7:38 PM
Subject: Re: Xdoclet and Struts
no.
check
Compiler says that PropertyUtil in struts 1.0.2. deprecated (i use copyProperties()
method)
I use JSDK 1.4.1 and could find out which class i am suppose to use insteed
deprecated?
The version of java has nothing to do with this. Check the PropertyUtil
javadoc in the jakarta commons for details.
David
From: Slava_L [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: How
. 06:11 dtummal Slava_L ezt rtad:
Well, are there any changes about java.sql.Date-in-Struts problem?
What is the best appropriate way to solve the representation poblem (i.e.
when Date converts in non-localezed string like -MM-DD) ?
For java.sql.Date the default format is -mm-dd. You can
But is it possible to hide DateWrapper behind java.sql.Date ? i wish to use
JDBC type in my FormBean
- Original Message -
From: Andreas Langmann [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Monday, November 25, 2002 6:57 PM
Subject: AW: AW: java.sql.Date again!!
ideas?
greetings,
Andreas
-Ursprngliche Nachricht-
Von: Slava_L [mailto:[EMAIL PROTECTED]]
Gesendet: 25.11.2002 12:01
An: Struts Users Mailing List
Betreff: Re: AW: java.sql.Date again!!
But is it possible to hide DateWrapper behind java.sql.Date ? i wish to
use
JDBC type in my
while i wuz playin' with these convertors i could not make second
convertor StringBeanUtilsConverterDate excuted.
When exactly Struts will invoke it
- Original Message -
From: Andreas Langmann [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Monday, November 25, 2002
: Re: AW: java.sql.Date again!!
On Mon, 25 Nov 2002, Slava_L wrote:
Date: Mon, 25 Nov 2002 19:01:26 +0800
From: Slava_L [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: Re: AW: java.sql.Date again
Well, are there any changes about java.sql.Date-in-Struts problem?
What is the best appropriate way to solve the representation poblem (i.e. when Date
converts in non-localezed string like -MM-DD)
?
is this problem? The JSTL has formatting tags that handle
this
if you can't find a Struts solution.
David
From: Slava_L [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: java.sql.Date again!!
Date: Mon, 25 Nov 2002
well, may be it seems to be unreal but THERE IS NO ANY SOLUTION to avoid
such an effect like overlap of select.. components over div... content
'coz of windowed nature of select.. realization
So.. if u realy need to solve the problem u need to override your own
select or whatever else.
-
Will be ever presented example about Tab layouts?
?
I'm not sure that's tiles main purpose. Tiles allows you to construct a
view from various page elements defined in an xml file. A tab layout is a
higher level concept.
David
From: Slava_L [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users
To: [EMAIL PROTECTED]
Subject: Re: Why Tiles still has no Tab layout ?
You can do a google search or search the mail archives at
http://www.mail-archive.com/struts-user%40jakarta.apache.org/
This is a fairly common topic.
David
From: Slava_L [EMAIL PROTECTED]
Reply
. But
maybe you have another version of Struts available in your classpath ?
Also, can you check if your action run correctly without Tiles ? Try
replacing somePage by a valid jsp page to test.
Cedric
Slava_L wrote:
the date of my tilesForStruts1.0.jar is 20 june 2002
which one should i use
: Re: Tiles + ActionForm.validation - problem !
What is the date of your tilesForStruts1.0.jar ? It looks like the
ActionComponentServlet chocks on a new call to
getMultipartRequestHandler(...), which has been added in Struts1.1
Slava_L wrote:
Nobody meets this problem ?
- Original
I often use tile's definition name as a forward in my action mappings.
Since this is not an url to direct jsp file how am i suppose to pass any request
parametrs
i.e forward name=someforward path=someTileDefName?param1param2/
Hi, list
I'm very new to Tiles and when i tried to bind this cool stuff to my previously
designed app, i met a problem with validation.
I'm usin' Struts 1.0.2 stable ver. + tilesForStruts1.0.jar (external tiles lib).
I need my action to forward back to the same page, when any errors appeared
Nobody meets this problem ?
- Original Message -
From: Slava_L [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, July 19, 2002 7:08 PM
Subject: Tiles + ActionForm.validation - problem !
Hi, list
I'm very new to Tiles and when i tried to bind this cool
How many of u, list, use these IDEs (nb/forte) ?
i use Forte and it will be grate if some sort of easystruts soft will appear
- Original Message -
From: Vincent Stoessel [EMAIL PROTECTED]
To: Struts Users [EMAIL PROTECTED]
Sent: Friday, June 21, 2002 12:26 AM
Subject: easystruts +
I have a form with several fields.
And one of them is SELECT field - 4xmpl streets names.
All streets names are stored in database, amount 100-300 thousands records
And the problem is that when this field renders on the page, app is freezing for a
long time.
how am i suppose to solve kinda
it on the browser. I'm quite sure that you'll be
changing your mind and making it a free-text field real quick.
Arron.
On Fri, 2002-06-21 at 10:48, Slava_L wrote:
I have a form with several fields.
And one of them is SELECT field - 4xmpl streets names.
All streets names are stored
and goes back to the form.
-Original Message-
From: Slava_L [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 20, 2002 5:49 PM
To: Struts Users Mailing List
Subject: how to solve a problem of fetchin' HUGE collection into form
I have a form with several fields.
And one
wussup with it ?
and also i've tried out this struts-menu.war in Netscape - it duz not reflect my
locale as it is in IE
, 2002 2:57 PM
Subject: AW: Using the value of a request-parameter for the attribute of a
custom tag
Hello Slava_L, hello list,
maybe u should place somethin' into this tag
mytaglib:ausgabeFreieNummern firma='bean:write name=firmaCode/'
...blah blah blah
/mytaglib:ausgabeFreieNummern
i've tryed out this cool stuff. BUT i have problems with pager-demo.jsp
from this taglib.
When i visite this jsp at jsptag.com it works perfect, but at localhost -
there is a problem: links to pages propagate themself =) .when i click on
one of (4xmpl) 3 pages i get 6 pages on new page and so on
Struts 1.0.x
For Struts 1.1, there is another tag that gets around this.
-Ted.
Slava_L wrote:
we have and ActionForm with Collection field (4xmpl list of smthing)
how should i use tag html:options to fill parent tag html:select with
values of list (from our Collection)
In uptodate we
wut abt this:
a href='bean:write name=myObj property=link/'bean:write
name=myObj property=item/ /a
?
(i often use like this way )
- Original Message -
From: Parmar, Deepak [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Tuesday, April 09, 2002 8:15 AM
Subject:
Where r u from ?
- Original Message -
From: Dimitar Stavrakov [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, April 05, 2002 5:03 AM
Subject: RE: Struts html:link tag
In struts-config.xml
For action userAdd.do enter a parameter validate=false .
supposed to compare any properties (values of thes fields ) of diff. beans, visible in
some scope.
what kind of logic tag should i use ?
we have and ActionForm with Collection field (4xmpl list of smthing)
how should i use tag html:options to fill parent tag html:select with values of list
(from our Collection)
In uptodate we use this scheme:
in jsp file we have
html:from - related with ActionForm in struts-config.xml
But, have u specified such attrib. like input = page.jsp
- Original Message -
From: Sanjay Choudhary [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Tuesday, April 02, 2002 8:43 AM
Subject: Error in overiding the validate method of ActionForm
Hi,
I have
What is the best way to do such thing like Wizard, i mean if I'd like to chain my
actions: when first action contains links, that invokes second action (4xmpl to view
some data for element of list in 1st action) , and second action provides backward
link to first action ...and have to pass the
Try to setup in ur struts-config.xml for this action (i mean action, which
is multiparted) attribut redirect = true, or instead of
findForward(success) do such thing like request.redirect(page)
- Original Message -
From: Struts Newsgroup @[EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent:
take a look at ur application.log...in Tomcat somewhere
and everytime u get error msg is is possible to find the exactly number of
string inexcatliy specified jsp file
- Original Message -
From: Gordon Luk [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; Struts Users Mailing List
[EMAIL
the simples way how to do this
u should use :
td color=bean:write name=loan property=color/ cell content as in urs
letter/td
- Original Message -
From: Bhaskar Gopalan [EMAIL PROTECTED]
To: Struts Group (E-mail) [EMAIL PROTECTED]
Sent: Saturday, March 30, 2002 5:30 AM
Subject: Setting
40 matches
Mail list logo