Use the altKey attribute (rather than alt) - its exactly what you're looking
for.
http://struts.apache.org/userGuide/struts-html.html#img
Also if you wanted to have different images for different locales you could
use either pageKey or srcKey
Niall
- Original Message -
From: "Rafael
Hi folks, i have a problem, please could u help me?
I'm using taglibs and when i'm using html:img i have to use ALT
attribute. But it has to call a key from myfile.properties.
As u see, i'm using a scriptlet to call an id defined with bean:define
all work well. But...
Is there a possi
Oh yes, but it uses the library bean. I want to use the JSTL, I asked if
is there any parameter in c:if test=something that I can use.
Thanks
Rodolfo
___
Jeff Beal <[EMAIL PROTECTED]>
13/04/2005 14:53
Por favor, responda a "Struts Users Mailing Li
Hi,
i have still a problem with the c:forEach tag in a Jsp.
In a DynaValidatorForm i set an array of Objects as an element of
form-property "artikel" with the action
"de.zakps.action.generiereArtikelform". That works fine.
The Iteration of the array with the c:forEach tag works very good.
But the
Just in case you don't know this, Ashish, which you probably do, if
the user's browser is in a language and you have that language
available, the language will be shown automatically without the user
having to see if it is available. Having choices is valuable only
where the user wants a language
Aren't there varieties available, Dave, for MySQL?
On 4/11/05, Dave Newton <[EMAIL PROTECTED]> wrote:
> Ashish Kulkarni wrote:
>
> >mysql, postgre sql, Ingres by CA, Derby from apache ,
> >
> >
> Note that the JDBC Connector/J for MySQL is GPL--if you link to it in
> your code your code must also
This is probably just about as easy with any mature framework. You
are probably using Struts, since you asked a Struts list, so I will
give you a Struts sort of answers, rather than Pearl, JSF, C#, NET, or
whatever. First, however, to answer your question rather than try to
sell my wares, I have
Thanks for your contribution. Any chance I could convince you to add all of
this to an enhancement ticket in bugzilla? That's the best way to make sure
this won't get lost of forgotten.
Thanks
--
James Mitchell
Software Engineer / Open Source Evangelist
Consulting / Mentoring / Freelance
EdgeT
Thanks. Good advice. But in a situation where there is no access to a
"legal team" (for lack of resources), I wonder if it would be smarter to
just take the time to switch to a different free or cheap database that
supports the standard JDBC transaction isolation levels (recommendations
with re
I don't know of a way to access the session from your business logic
other than passing it in as a parameter (which I would *NOT*
recommend). Even if you could access it, you would be tying the
business layer to the servlet api, which is what you are trying to
avoid by not passing the session dire
There isn't a "good" way to do this in my opinion other than by passing
the values to the bean class. IMHO (and probably most others) things
that tie you to the view technology (such as javax.servlet.*) shouldn't
be present in the model. Maybe no one will ever create a swing client
that calls your
I can use getSesssion and setSession in the action class but I need to access
session variable in my java bean where I perform my business logic, not in
action class methods. (java beans are called from action class). I hope I am
clear this time.
Thanks,
Mallik
--- Martin Gainty <[EMAIL PROTECT
I can only caution you again ... it doesn't matter what the MySQL
folks (or anyone else) says the license means. The only thing that
matters is what a court would decide if the matter came up. In turn,
that means you need to consult with *your* company's legal folks to
advise what *their* recomme
On 4/13/05, Ashish Kulkarni <[EMAIL PROTECTED]> wrote:
> Hi
> How to find out which language property files are
> availble in a web project, for example i have
> test.properties, test_fr_FR.properties,
> test_ru.properties file in WEB-INF\classes folder, how
> to identify on the fly what languages
After doing a little research on this I still wasn't getting a clear
picture, so I wrote to someone at MySQL AB (I found an e-mail address
for someone who seemed to welcome questions on the Web). I presented
what I thought were some typical scenarios of MySQL use (such as JDBC
applications and
YES
-Original Message-
From: Dakota Jack [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 13, 2005 8:16 PM
To: Struts Users Mailing List
Subject: Test: Is the Struts list working?
TEST
--
"You can lead a horse to water but you cannot make it float on its
back."
~Dakota Jack~
--
TEST
--
"You can lead a horse to water but you cannot make it float on its back."
~Dakota Jack~
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
struts-config identifies a forward to an identifier
The identifier is associated with the implementted action Class
The action class contain execute methods which reference
HTTPServletRequest/HTTPServletResponse parameters
which can getSesssion and setSession for whatever parameter you desire
Is t
Hi
How to find out which language property files are
availble in a web project, for example i have
test.properties, test_fr_FR.properties,
test_ru.properties file in WEB-INF\classes folder, how
to identify on the fly what languages property files
are availble and then display it in a jsp so the us
Hi
I use plain java beans for model/business layer.
I have a question regarding accessing session variables in java Beans(In model
Layer). I can pass session variables from action class but is there any other
way I can access session variables directly by extending any class.
Because I need "sessi
In the current struts release all you can do is use the bundle attribute on
the tags that display the error messages - i.e. either the or
tags. Something like
for the example you use. See http://tinyurl.com/6zzvm for more details.
The Commons Validator DTD does have a "bundle" attribute de
Mick,
Try this
p
{
padding: 0px;
margin: 0px;
}
*
Ruben Cepeda
[EMAIL PROTECTED]
*
Original Message Follows
From: <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List"
To:
Subject: [ot] css question
Date: Tue,
I had the need today to validate that two dates (start and end) are in
the proper relation. Searching the oracle at Google, I was unable to
find any solution other than people looking for the same thing and being
directed to write their own. So I wrote one today and figured I'd
contribute it
makes total sense. thanks a lot :)
On 4/13/05, Dave Newton <[EMAIL PROTECTED]> wrote:
> David Johnson wrote:
>
> >That totally makes sense, and I definitely see hot to iterate through
> >a collection of Strings or other straightforward things, but what I'm
> >confused about is that my PortfolioBe
David Johnson wrote:
That totally makes sense, and I definitely see hot to iterate through
a collection of Strings or other straightforward things, but what I'm
confused about is that my PortfolioBeanCollection (extends ArrayList)
contains objects of type "PortfolioBean" which in turn contain the
Does anyone know a way have the Validator read the error messages for
failed validation out of a non-default ApplicationResources.properties
file?
I am trying to separate the error messages out into a file that other
developers need not and/or should not touch. Actually it could be a set of
files
David, can you post the code that defines the PortfolioBean.
David Johnson <[EMAIL PROTECTED]>
13/04/2005 04:21 PM
Please respond to "Struts Users Mailing List"
To: Struts Users Mailing List
cc: (bcc: Glenn Deschenes/NAT/CMHC-SCHL/CA)
Subject:Re:
Jonathan Corbin wrote:
Is there a better way to accomplish this? Or am I stuck with Struts hacks for
the time being?
You could try rewriting the url in your appserver instead. Haven't got
time to try it myself yet though :(.
http://tuckey.org/urlrewrite/
--
Robin Ericsson
http://robin.vill.ha.k
Bingo, that was it. The link you sent dealt with exatly what I was
talking about.
Thank you sir.
:)
On 4/13/05, David Johnson <[EMAIL PROTECTED]> wrote:
> Hey
>
> That totally makes sense, and I definitely see hot to iterate through
> a collection of Strings or other straightforward things, but
bingo, that was it. Thank you!
On 4/13/05, Abdullah Jibaly <[EMAIL PROTECTED]> wrote:
> try:
>
>
>
>
>
> -Abdullah
>
> -Original Message-
> From: David Johnson [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, April 13, 2005 2:46 PM
> To: Struts Users Mailing List
> Subject: Re: fo
Hey
That totally makes sense, and I definitely see hot to iterate through
a collection of Strings or other straightforward things, but what I'm
confused about is that my PortfolioBeanCollection (extends ArrayList)
contains objects of type "PortfolioBean" which in turn contain the
attribute I'm tr
try:
-Abdullah
-Original Message-
From: David Johnson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 13, 2005 2:46 PM
To: Struts Users Mailing List
Subject: Re: forEach> for an object that extends ArrayList in
Application **and** Session
Oh, and to answer the other questio
David Johnson wrote:
that makes sense, but the individual portfolios (the members of the
PortfolioBeanCollection) dont really have a name, I just looped
through my result set doing
PortfolioBeanCollection PBC=new PortfolioBeanCollection ();
while (result.hasnext){
pbc.add (new PortfolioBean(resultS
Oh, and to answer the other question, I stored the
PortfolioBeanCollection on the session under the key
"userPortfolios" like this:
PortfolioBeanCollection myPortfolios= loadUserPortfolios(userID);
session.setAttribute("userPortfolios",myPortfolios);
On 4/13/05, David Johnson <[EMAIL PROTECTED]>
that makes sense, but the individual portfolios (the members of the
PortfolioBeanCollection) dont really have a name, I just looped
through my result set doing
PortfolioBeanCollection PBC=new PortfolioBeanCollection ();
while (result.hasnext){
pbc.add (new PortfolioBean(resultSet.getString("namef
I'm using RewriteRule directives in my Apache config to redirect certain URLs
to struts webapps, running under tomcat.
RewriteRule ^/my/webapp/url/(.*) /my-webapp/$1?paramIWantToAdd=31337
[QSA,PT]
This works fine, until it hits Struts code. Struts seems to be hard coded to
write server relativ
David Johnson wrote:
it outputs the proper number of tags, but is not preperly
displaying the correct PortfolioBeanCollection.PortfolioBean.portfolioName
You're not specifying the bean from which to get the property.
Dave
My First attempt was:
it outputs the proper number of tags, but is not preperly
displaying the correct
PortfolioBeanCollection.PortfolioBean.portfolioName
value..
h
On 4/13/05, David Johnson <[EMAIL PROTECTED]> wrote:
> This may be off topic.,.. but I'll float it out there ...
>
Dave Newton wrote:
Oops, missed the } in there.
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
David Johnson wrote:
I have an object in memory that I would like to iterate through on my
JSP page as follows:
The object is in the Session , and it is a PortfolioBeanCollection
which extends ArrayList. It contains a bunch of "PortfolioBean"
objects, which has a portfolioName attribute.
My questio
This may be off topic.,.. but I'll float it out there ...
I have an object in memory that I would like to iterate through on my
JSP page as follows:
The object is in the Session , and it is a PortfolioBeanCollection
which extends ArrayList. It contains a bunch of "PortfolioBean"
objects, which ha
Hi,
I have a dropdownlist. When I select "fixedwidth" option I have to make the
textfield mapSet.delimiter noneditable/readonly, if I select "delimiter" option
I should be able to enter data. I wrote an onchange event but I cannot make the
textfield readonly. How do I change the attribute read
Sorry, classpath problem :-(
Orange Caraibe
IMPORTANT.
CONFIDENTIEL : Les informations contenues dans ce message sont confidentielles et peuvent etre protegees par la loi. Ce message est etabli a l'intention exclusive de ses destin
Hi',
I'm migrating apps from Struts 1.1 to Struts 1.2 and have some difficulties
with DynaActionForm
My DynaForm look like :
The problem is that the properties are not initialised, the default
constructor isn't called
So I can't call in the jsp for example
I've looked i
Try
On 4/13/05, Scott Purcell <[EMAIL PROTECTED]> wrote:
> In the below line, I am trying to insert some dynamic data (hello). But it
> does not work. I have tried an expression, as you can see and it just prints
> verbatim, and I tried a and it just prints out the
> tag itself.
>
> How do
In the below line, I am trying to insert some dynamic data (hello). But it does
not work. I have tried an expression, as you can see and it just prints
verbatim, and I tried a and it just prints out the
tag itself.
How does one insert dynamic link data into these type of tags?
Thanks,
S
Hi
How multipart/form-data is handled by Struts?
My speech application is sending 2 data, one is String and other is binary
data (wave file).
All these exist in request parameter. When strut workflow is initiated using
getRequestDispatcher() does not seem to giving same request parameter. The
req
You can find the complete solution here
http://www.reumann.net/struts/articles/request_lists.jsp
On 4/13/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Mallik,
>
> The way I have always made this work in the past is to call the validate
> method on the form bean myself in the action rather t
Mallik,
The way I have always made this work in the past is to call the validate method
on the form bean myself in the action rather than leaving it the validator to
call for me.
Set validate="false" in the action mapping in struts-config.xml. Then in the
action call the validate method on th
How about using the java capabilities to store unicode string and just let the
bean:write do the necessarry convertion to html form?
String myStr= "\u308f\u305f\u3057";
see
http://java.sun.com/docs/books/jls/second_edition/html/lexical.doc.html#44591
for details on unicode characters in source
and .
On 4/13/05, Rodolfo García Esteban/CYII <[EMAIL PROTECTED]> wrote:
> Hi,
>
> How I can known if I have obtained errors before printing them with
> or
>
> Thanks
>
> Rodolfo
>
--
Jeff Beal
Webmedx, Inc.
Pittsburgh, PA USA
The tag, by default, escapes any HTML special
(Bcharacters, like the '&' in your case. This can be an important
(Bsecurity consideration to prevent malicious users of your site from
(Binjecting HTML markup into your website. To override this behavior,
(Bset filter="false":
(B
(B
(B
(BOn
Have the input attribute on the action that is having validation
errors point to an Action that will re-populate the drop-down list
bean.
On 4/12/05, Mallikarjun Komma <[EMAIL PROTECTED]> wrote:
> Hi,
> I am new to struts frame work.I have a question
> regarding repopulating dropdown menu when val
Hi,
How I can known if I have obtained errors before printing them with
or
Thanks
Rodolfo
Ah yes... you do not have the tag?
According to the Developer Guide (
http://struts.apache.org/userGuide/struts-html.html#text)
Render an input button of type text. This tag is only valid when nested
inside a form tag body.
Try wrapping it in the tag.
Axel Sachmann <[EMAIL PROTECTED]>
1
[EMAIL PROTECTED] wrote:
Have you included the taglb in the JSP ?
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
Yes but the bean is not in any scope! How can i access the Form-property?
Axel Sachmann <[EMAIL PROTECTED]>
12/04/2005 05:49 PM
Please respond to "Struts Users Mailing
Have you included the taglb in the JSP ?
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
Axel Sachmann <[EMAIL PROTECTED]>
12/04/2005 05:49 PM
Please respond to "Struts Users Mailing List"
To: Struts Users Mailing List
cc: (bcc: Glenn Deschenes/NAT/CMH
hi Sunny,
(B
(Bthank you for ur reply, but I used ur way before.
(B
(BI'm wondering why we can't use for my case ? :)
(B
(Bagain, thank u, Sunny :")
(B
(B- Original Message -
(BFrom: "Sunny" <[EMAIL PROTECTED]>
(BTo: "'Struts Users Mailing List'"
(BSent: Wednesday, April 13, 2
Hi again,
I posted this yesterday but got no reply, so here it is again - can anyone
help?
Thanks
Alan
Alan Mullane
04/12/2005 10:30 AM
To: user@struts.apache.org
cc:
Subject:ActionForward not working in Struts/Filters/XSLT
application
Hi,
I am wor
Have a look at
http://www.roseindia.net/struts/address_struts_validator.shtml
Regards
Deepak Kumar
--- "Rosario, Blossom"
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am trying to use client as well as server-side
> validations using the
> Struts Validator.
>
> The mapping in the Struts config file i
Hi,
I am trying to use client as well as server-side validations using the
Struts Validator.
The mapping in the Struts config file is
The corresponding reg_login.jsp page has the following lines to enable the
client-side validations for the login page:
and
Now, when I submit the
Or... make the values static in the form. Therefore they will remain the
same for all revisits to the page after validation. The values can also be
repopulated at the start of the process as well.
-Original Message-
From: Mallikarjun Komma [mailto:[EMAIL PROTECTED]
Sent: 13 April 2005 04:
62 matches
Mail list logo