Oh Yes
I am sorry.
-Ni3
On 11/25/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hi
>
> He asked for resourcebundle backed - not hardcoded. Frank has shown one of
> the possible ways of doing it.
>
> In addition to fmt:message you can of course use bean:message (including also
> the "bundle
Hi
He asked for resourcebundle backed - not hardcoded. Frank has shown one of the
possible ways of doing it.
In addition to fmt:message you can of course use bean:message (including also
the "bundle" attribute if you have multiple modules for instance)
Hermod
-Original Message-
From:
On 11/24/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
> I had to ask this same question a day or two ago actually :) Here's one
> of the two provided solutions... this one seems to me the more
> straight-forward...
>
>
Here's the thread:
http://www.nabble.com/JSTL-messages-problem-t600572.
Hi Mon Cab
here is the example
And Equivalent Html code generated is like
Thanks.
Nitin Mandolkar.
On 11/25/05, Mon Cab <[EMAIL PROTECTED]> wrote:
> Does anyone know how to specify what is written on the
> submit button using message resources? I thought it
> might be titleKey but when I t
I had to ask this same question a day or two ago actually :) Here's one
of the two provided solutions... this one seems to me the more
straight-forward...
The other approach involved getting the button's text into a variable
via JSTL's tag and using that in conjunction with the HTML-EL
ta
On 11/24/05, Mon Cab <[EMAIL PROTECTED]> wrote:
> Does anyone know how to specify what is written on the
> submit button using message resources? I thought it
> might be titleKey but when I tried to use that, it
> just labelled my submit button "submit".
Try putting it in the body of the submit t
Does anyone know how to specify what is written on the
submit button using message resources? I thought it
might be titleKey but when I tried to use that, it
just labelled my submit button "submit".
__
Yahoo! Music Unlimited
Access over 1 mil
Hi Laurie,
Thanks for responding.
> Firstly, the check for marks <= 100 in the validwhen rule is redundant,
True! I realize that and have removed that.
> Second, shouldn't you allow an empty value for marks if degree.id isn't
set,
> rather than forcing the user to enter numeric data that's going
Hello All,
Am stuck up with a
simple problem and could not find solution to the same over the net
my DAO sets a list in the session , this list contains java bean classes, the
action
class forwards the flow to a jsp page.
I want to iterate over the collection and read the java beans stor
Kevin,
What you described is perfect for a controllerClass="..." or
controllerUrl="..." attribute inside a tile definition, as
I suggested ina previous post. A controller lets you add, remove, or alter the
pieces of a tile. It sounds like you
might want one of your items to be a list which you
Hi all,
I want to know is it possible to send form bean
property to the custom tag.basically i want to display
static text instead of text box if the user has read
only ability to the page else show him text box.user
role is checked in the custom tag surrounding the text
box . i want to imple
Craig McClanahan wrote:
On 11/24/05, Laurie Harper <[EMAIL PROTECTED]> wrote:
I have code for populating form beans dynamically, as follows (I'll
spare you the dirty details of why I'm doing this instead of relying on
Struts' standard form bean population):
String formKey = Constants.FORM_KE
On 11/24/05, Laurie Harper <[EMAIL PROTECTED]> wrote:
>
> I have code for populating form beans dynamically, as follows (I'll
> spare you the dirty details of why I'm doing this instead of relying on
> Struts' standard form bean population):
>
>String formKey = Constants.FORM_KEY;
>getJspCo
Mon Cab wrote:
Thanks Lorrie.
I hadn't realized that one could return a null
mapping. More than likely I will redirect to the
referring url using a dispatcher.
Does that sound like the best way to redirect to the
referring URL/URI? This url would more than likely be
another "blaBla.do" pag
Thanks Lorrie.
I hadn't realized that one could return a null
mapping. More than likely I will redirect to the
referring url using a dispatcher.
Does that sound like the best way to redirect to the
referring URL/URI? This url would more than likely be
another "blaBla.do" page.
I am presumi
I have code for populating form beans dynamically, as follows (I'll
spare you the dirty details of why I'm doing this instead of relying on
Struts' standard form bean population):
String formKey = Constants.FORM_KEY;
getJspContext().findAttribute(formKey);
String formBeanName = formTag.ge
I'm not sure why it would be treated as an external context, but it
seems both the RI and MyFaces are treating it as such. The only thing I
can think of if that's the case would be to prefix the path with the
application context, which would be painful if I wanted to deploy the
app to a differe
Raghu Kanchustambham wrote:
Hi,
I have the following situation:
1. educationDetails[0].degree.id is not chosen. (drop down return value =
-1).
OR
2. educationDetails[0].degree.id > 0 (the user chose one of the options from
the drop down) which implies the marks should be atleast 35% and not mo
R Raghavan wrote:
Dear all,
We have a full blown app written based on the core Velocity &
Turbine model.
I have a couple of questions?
1. is it really possible to migrate this app to a struts framework? if
so what complications needs to be faced?
2. If not? Is it possible to start the app
Mon Cab wrote:
I am trying to build a login page which will direct
the user to a different page depending on what action
they were trying to perform before they logged on.
I was thinking of using a passing a request parameter
in the request for the login page which could be used
by a request
Hi,
I have the following situation:
1. educationDetails[0].degree.id is not chosen. (drop down return value =
-1).
OR
2. educationDetails[0].degree.id > 0 (the user chose one of the options from
the drop down) which implies the marks should be atleast 35% and not more
than 100%
I tried the atta
[EMAIL PROTECTED] wrote:
Hello, I'm currently having a problem with the Struts
org.apache.struts.upload.FormFile.
In particular, I want to upgrade my J2EE-Struts application with the upload
file functionality.
In one of the existing jsp I put this line of code:
...
...
and in the Form class
Per Jørgen Walstrøm wrote:
hello,
is the following true?
1) if I do a logic:iterate over a Collection when viewing the items in the
Collection, I can use e.g. a HashSet
2) if I do a logic:iterate over a Collection and I want to be able to also
update the items, I need to use an indexable Colle
Kanuri, Chand wrote:
hi all,
i am having a form in which a bean is instatiated(bean has 2 properties
"name" and "code").
i am using like this in the jsp:
starki78 wrote:
Hi, perhaps someone faces the same problem:
I would like to specify a bundle for example in this way:
but it is never recognized only when the default message-ressources in struts-config without any key are defined
Because of that I'would like to test validator 1.2
and I'
'#23.jpg' is an anchor -- a link to a point somewhere in the current
document. So when the browser loads your page, it sees that you've asked
for a background image and tries to load it from the URL you've
specified, which in this case is the page itself, not what you intended.
L.
su mo wrote
I don't agree. In the OO world it is true but here using inheritance
allow you to specify some default values that you can override (think
about Tile). This is impossible in composition unless you have some
substitution mechanism.
On 11/24/05, Dakota Jack <[EMAIL PROTECTED]> wrote:
> Composition a
OK.
I think I know what is going on here. For some reason, everytime we email
you the ampersand entity, it get translated into a literal & again and it
looks like nothing has changed.
I am going to use "@amp;" but you change @ to & in your code:
jdbc:mysql://localhost/[EMAIL PROT
I am trying to build a login page which will direct
the user to a different page depending on what action
they were trying to perform before they logged on.
I was thinking of using a passing a request parameter
in the request for the login page which could be used
by a request dispatched in the
Composition and inhertitance are fundamentally incompatible. If they are
being used together conceptually, this is a design nightmare.
On 11/22/05, Gary VanMatre <[EMAIL PROTECTED]> wrote:
>
>
> > Hi
> >
> > So how would you implement composition, with inheritance, using Clay
> instead of
> > Til
Composition and inheritance are fundamentally antithetical. If they are
being mixed up here, this is a design sinkhole.
On 11/22/05, Gary VanMatre <[EMAIL PROTECTED]> wrote:
>
>
> > Hi
> >
> > So how would you implement composition, with inheritance, using Clay
> instead of
> > Tiles?.
> I'm a bi
Composition and inheritance are two antithetical patterns. One of themost
important things you can do is to favor composition over (instead of)
inheritance. If they are being mixed up here, this is an architectural
nightmare.
On 11/22/05, Gary VanMatre <[EMAIL PROTECTED]> wrote:
>
>
> > Hi
> >
>
[EMAIL PROTECTED] wrote:
Hello, I'm currently having a problem with the Struts
org.apache.struts.upload.FormFile.
In particular, I want to upgrade my J2EE-Struts application with the upload
file functionality.
In one of the existing jsp I put this line of code:
set it as
borislav
--
wendy
my from has the item bean instantiated which has both name and code.
i need the name in the form bean because my business logic code needs both
code and name?
can you please let me know the way to achieve this using hidden property(i
mean going back to webConstants) for name for that particul
On 11/24/05, Kanuri, Chand <[EMAIL PROTECTED]> wrote:
> how can i go back to webconstants and get the name?
> thats the main problem i got now.
>
> property="name"/>">
> as itemType giving me the last name value(in the collection) at the moment .
My take on this is that you don't need the hidden
wendy,
how can i go back to webconstants and get the name?
thats the main problem i got now.
">
as itemType giving me the last name value(in the collection) at the moment .
regards and many thanks
-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: 24 November 2005 16
On 11/24/05, Kanuri, Chand <[EMAIL PROTECTED]> wrote:
> my dropdown is populating properly but i couln't populate "name" in my
> itembean.
>
> >
> >
>
> here the value "code" is populated to the field "code" in my item bean.
> how can i populated "name".
> how can i link the both as the
wendy,
my dropdown is populating properly but i couln't populate "name" in my
itembean.
>
>
here the value "code" is populated to the field "code" in my item bean.
how can i populated "name".
how can i link the both as the "name" should be populated based on the
selected "code".
can
On 11/24/05, Kanuri, Chand <[EMAIL PROTECTED]> wrote:
> hi all,
> i have a dropdown list in my struts web app,
> i am having a form in which a bean is instatiated(bean has 2 properties
> "name" and "code").
>
> i am using like this in the jsp:
>
>
>name="<%=WebConstants.getItemTypeListName
hi all,
i have a dropdown list in my struts web app,
i am having a form in which a bean is instatiated(bean has 2 properties
"name" and "code").
i am using like this in the jsp:
Hello,
I find property validations in validation.xml file
difficult to create.
I've searched, but not found a tool or Eclipse plugin
to maintain validation.xml so I wrote an
HTML/javascript file to generate automatically theses
validation.
This file is not very clean and still a little buggy
hello,
is the following true?
1) if I do a logic:iterate over a Collection when viewing the items in the
Collection, I can use e.g. a HashSet
2) if I do a logic:iterate over a Collection and I want to be able to also
update the items, I need to use an indexable Collection, e.g. an ArrayList.
Ha
Yes what you provided works fine, but it doesn't allow me to 'put' other
components into the 'OuterLayout' as well as into the 'InnerLayout'.
What I'm trying to do is to have one generic layout that all pages following
and then sublayouts that are more geared to different parts of the site.
For
Hello, I'm currently having a problem with the Struts
org.apache.struts.upload.FormFile.
In particular, I want to upgrade my J2EE-Struts application with the upload
file functionality.
In one of the existing jsp I put this line of code:
...
...
and in the Form class:
...
import org.apache.s
hi all,
i am having a form in which a bean is instatiated(bean has 2 properties
"name" and "code").
i am using like this in the jsp:
Use a hiden input :
Hiden value can be a runtime expression (EL if you use the JSTL like
struts taglib)
You can also not set value in JSP but in the form-bean, and use struts
mapping between form-bean ant HTML form.
Nico.
Henning Moll a écrit :
Hi!
I use the tag in my jsps. For exa
Hi!
I use the tag in my jsps. For example:
This will be rendered to
...
...
Now i need to have an parameter in that action, something like this:
...
...
At least the value needs to be dynamic.
I can't find a solution. Any suggestions?
Kind regards
Henning
--
Telefonieren Sie schon od
Hi
Turn off "View as html" in your e-mail reader and you will see that this was
exactly what Emmanouil wrote.
Hermod
-Original Message-
From: Stanislav [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 24, 2005 9:54 AM
To: Struts Users Mailing List
Subject: Re: Inserting special charac
> Either i did the mistake or my email client :-)
>
> the '&' character must become & (thats one of the five predefined
> XML entities) so the URI (one more try now) must be
>
> jdbc:mysql://localhost/databaseName?useUnicode=true&characterEncoding=utf-8
>
I still got the same thing, but i sur
Stanislav wrote:
Because you're doing XML, you need to escape XML entities.
Change your value to this:
jdbc:mysql://localhost/databaseName?useUnicode=true&characterEncoding=utf-8
I don't know where to put this :-
If I put this line of code in data-source I get error
Hi Nitin,
For More information on Logging Read this simple tutorial
http://logging.apache.org/log4j/docs/manual.html
Have a Good Day!!!
Best Regards
Pal
-Original Message-
From: nitin mandolkar [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 24, 2005 1:42 PM
To: Struts Users Maili
Hallo Martin,
I found the solution:
Create a batch file with the name setenv.bat. In the Batch file set
set JPDA_ADDRESS=8000
set JPDA_TRANSPORT=dt_socket
Stores this file in /CATALINA_HOME/bin directory.
Starts tomcat with
Catalina jpda start
So you don't need additional plugins in Eclipse.
Hi
I added this enrty in log4.properties files looks like it is helping me.
log4j.logger.org.apache=INFO
Can you please explain this one. What actullay it is doing. it is like
we can set the log level by package level or class level also.
On 11/23/05, Gary Feidt <[EMAIL PROTECTED]> wrote:
> D
> >>Because you're doing XML, you need to escape XML entities.
> >>
> >>Change your value to this:
> >>
> >>jdbc:mysql://localhost/databaseName?useUnicode=true&characterEncoding=utf-8
> >>
> >>
> >>
> >I don't know where to put this :-
> >
> >If I put this line of code in data-source I get
54 matches
Mail list logo