Maybe it fails because types are incompatible for BeanUtils. All the same
getters and setters must return or accept the same type of Object.
2005/10/19, hem hem <[EMAIL PROTECTED]>:
>
> Hi all,
> i am new to this forum.this is my first post.i hope this mailing list
> helps me.
>
> in the first pag
how can i resolve this mate?
is there any help from struts bean utils that do the conversion automatically?
Aldo Vadillo Batista <[EMAIL PROTECTED]> wrote:
Maybe it fails because types are incompatible for BeanUtils. All the same
getters and setters must return or accept the same type of Object.
can you post the html script of your input form?
2005/10/20, hem hem <[EMAIL PROTECTED]>:
>
> how can i resolve this mate?
> is there any help from struts bean utils that do the conversion
> automatically?
>
> Aldo Vadillo Batista <[EMAIL PROTECTED]> wrote:
> Maybe it fails because types are incom
Hi Hermod,
The Shale Tiles view handler tries to map the view id to a tile
definition by dropping the extension. In my case, I have a tile
definition '/charts/measures/measureWizardSelectSystemEvent', so when
the view '/charts/measures/measureWizardSelectSystemEvent.jsf' is
invoked (in my case as
Hi
I want to use inside to mark some
records and perform group delete of selected records. Is there any
standard way to do this with Struts?
doesn't seem to bee helpfull wth this task. Please point me to some
tutorial if available.
Regards
--
Daniel Łaś <[EMAIL PROTECTED]>
e-direct Pols
Hi Ronald
Try this: In your index.jsp (entry point of app) add:
<%@ page session="false" contentType="text/html;charset=utf-8"%>
<%
response.sendRedirect("jsp/frontpage.faces");
%>
Then define a tiles definition : jsp/frontpage.
If you can make this work, I am definitly doing something wrong.
I've defined several modulesn through several struts-config files:
for example:
config/bde
/WEB-INF/struts-config-bde.xml
this is a action defined in the struts-config-bde.xml file
now i've a jsp in the html_root/bde folder
with this action
I a
The only problem I can see with your example code is that there is no
leading slash. Try forwarding to /jsp/frontpage.faces instead.
On 20/10/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hi Ronald
>
> Try this: In your index.jsp (entry point of app) add:
>
> <%@ page session="false" contentT
Hi
Tried that - No cigar
if you type in http://localhost:8080/myapp/index.jsp and then have a
response.sendRedirect("/jsp/frontpage.faces") it will then go to
http://localhost:8080/jsp/frontpage.jsp (note webappname is now missing)
Hermod
-Opprinnelig melding-
Fra: Ronald Holshausen [
The only thing I can think of is checking that you have mapped *.faces
to the JSF servlet (mine is mapped to *.jsf). Also, use a c:redirect
tag in your index.jsp to get the correct url:
<%@ taglib uri="http://java.sun.com/jsp/jstl/core"; prefix="c" %>
Lastly, look any the logs. Try setting org.a
Hi
I finally figured it out:
You can not have: and
reference as
it must be: instead.
So lesson learned: If you want to access tiles definitions as pages, they MUST
be prefixed by "/"
Hermod
-Opprinnelig melding-
Fra: Ronald Holshausen [mailto:[EMAIL PROTECTED]
Sendt: 20. oktober
Hello, might some of you enlight my path to redemption?
I tried to use this inside a jsp:
non boolean
Hi,
Which version of JSP+JSTL (and Tomcat) are you using?
I am not sure but I think that the problem is due to fact that "1" is
considered as an Integer class.
This is possible, i suppose, in two cases:
- you are using JSP1.2+JSTL1.0
- or in the taglib directive you are using
"http://java.sun.com
Hi Amleto,
am using tomcat 5.5.7, jstl 1.1.2
my web.xml declaration is as follow.
http://java.sun.com/jsp/jstl/core
/tld/c.tld
More over fact it's Interger not int shouldn't matter, as i said,
another webapp
which has
${param.mode=='list'} in it's test is working, th
Hello guys !
I have a problem with following tags:
The both have ability to assign key (to my Message Resources) to their
alt and title attributes. Is there any solution to assign key to value
attribute (there's no valueKey attribute in Struts Documentation for
these tags) ?? It's neces
Hi!
We are working on a
web application using Struts 1.2.7, deployed on Tomcat 5.5.9 on Solaris SunOS
5.8 and JVM 1.5.0_04-b05 and we have the following problem:
Sometimes we get
an java.lang.OutOfMemoryError: PermGen
space and the logs do not say anything more about the problem.
We
-Mensaje original-
De: Lukasz Piatkowski [mailto:[EMAIL PROTECTED]
Enviado el: jueves, 20 de octubre de 2005 13:40
Para: user@struts.apache.org
Asunto: Dynamic value in and tags
Hello guys !
I have a problem with following tags:
The both have ability to assign key (to my Mess
I've been looking at the JSP 2.0 spec, and this might be a bug.
BTW, you don't need the taglib declaration in your web.xml, you can
just use the URI in your jsp file and the taglib will be loaded from
the jstl jars.
On 20/10/05, David Delbecq <[EMAIL PROTECTED]> wrote:
> Hi Amleto,
>
> am using t
It doesn't work like .
...but you can nest message in body. It works perfectly
and for altKey attribute should be enough.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi all!
I solved it. Here the port 28280 i used instead of 80/8080.
When I added an http-listener at 8080, it works!
/Ulf
-Ursprungligt meddelande-
Från: Dave Newton [mailto:[EMAIL PROTECTED]
Skickat: den 19 oktober 2005 17:12
Till: Struts Users Mailing List
Ämne: Re: SV: Struts and Co
Ok, i finally found the problem. The doctype of my web.xml was
http://java.sun.com/dtd/web-app_2_3.dtd";>
which disable all EL in tomcat.
Solution was to replace with
http://java.sun.com/xml/ns/j2ee";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://java.sun.com/xm
Wendy,
I'm curious about your comment about Servlet 2.2 and placement of tld
files.
Sorry if I'm asking a basic question but I didn't know that you can just
use the tld files in the jar. You said "unless you're on Servlet 2.2..."
Does that mean that after Servlet 2.2 you can just use the tld file
From: <[EMAIL PROTECTED]>
Sorry if I'm asking a basic question but I didn't know that you can just
use the tld files in the jar. You said "unless you're on Servlet 2.2..."
Does that mean that after Servlet 2.2 you can just use the tld files in
the
jar file?
Yes. http://wiki.wsmoak.net/cgi-b
Daniel Łaś wrote:
> Hi
>I want to use inside to mark some
records and perform group delete of selected records. Is there any
standard way to do this with Struts?
doesn't seem to bee helpfull wth this task. Please point me to some
tutorial if available.
>
> Regards
Hi daniel,
you can do th
Fantastic.
Thank you so much!
David
"Wendy Smoak"
<[EMAIL PROTECTED]
com>
Deep Chand wrote:
I'm new to Struts. I've a form asking for customer data with fields
like name, address etc. What I want is this kind of flow/design:
Page1) Customer enters their info. Submit button will take them to Page2.
Page2) They are asked to verify the same info again with read only
fi
I'm trying to use the LookupDispatchAction with the html:image tags so
that I can have spiffy looking buttons, however I get this error:
INFO: Exception thrown Request[/Foo/SaveDefaultSettings] does not
contain handler parameter named 'method'. This may be caused by
whitespace in the label text.
Hello,
Can anyone point me to some documentation that helps you migrate Struts
apps from version 1.0.2 to 1.2.7?
Thanks in advance for any help.
-
The information contained in this message is intended only for the
personal and confidential use of the reci
Hello
I have a situation here. I have an ArrayList of DTO objects in session.
<%
ArrayList rows = (ArrayList) session.getAttribute("rows");
if (rows != null) {
Iterator i = rows.iterator();
while (i.hasNext())
{
NibuSrchVLocalDTO debug = (NibuSrchVLocalDTO)i.next();
http://www.michaelmcgrady.com/button/jsp/dispatch_action.jsp
http://issues.apache.org/bugzilla/attachment.cgi?id=15762
http://struts.sourceforge.net/strutsdialogs/selectaction.html
On 10/20/05, Keith Sader <[EMAIL PROTECTED]> wrote:
> I'm trying to use the LookupDispatchAction with the html:image
The best way would be to have one location. Number of JSPs is irrelevant.
http://struts.sourceforge.net/strutsdialogs/wizardaction.html
Michael.
--
Struts Dialogs
http://struts.sourceforge.net/strutsdialogs
On 10/9/05, Leon Rosenberg <[EMAIL PROTECTED]> wrote:
> Actually, it's your choice. If yo
From: <[EMAIL PROTECTED]>
Can anyone point me to some documentation that helps you migrate Struts
apps from version 1.0.2 to 1.2.7?
Unfortunately, I don't think anyone has contributed anything on upgrading
from Struts 1.0 yet:
http://wiki.apache.org/struts/StrutsUpgrade
Your best bet is t
Troy Bull wrote:
I have a situation here. I have an ArrayList of DTO objects in session.
<%
ArrayList rows = (ArrayList) session.getAttribute("rows");
if (rows != null) {
Iterator i = rows.iterator();
while (i.hasNext())
{
NibuSrchVLocalDTO debug = (NibuSrchVLocalDTO)i.n
After googling some more, it seems as though there's no 'elegant' way
of doing what seems simple on the surface in terms of swapping two
tags. I think I'm just going to wind up using the ImageButtonBean
work-around.
Thanks for the links!
On 10/20/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote:
On 10/20/05, Keith Sader <[EMAIL PROTECTED]> wrote:
> After googling some more, it seems as though there's no 'elegant' way
> of doing what seems simple on the surface in terms of swapping two
> tags. I think I'm just going to wind up using the ImageButtonBean
> work-around.
>
> Thanks for the lin
I have an application that I need to dynamically create fields/properties in
the html. Does anybody know of any article that describe the best approach to
do this in struts?
Note: Number of fields/properties will be control by a database. There is no
way to determine how many, however, it pr
Re-read the API description of this tag and the "collection" attribute:
"A runtime expression that evaluates to a collection (conforming to the
requirements listed above) to be iterated over."
You've given it a string, "rows", and not a collection. This is a
situation where using Struts-EL is co
I have three message resources defined in struts-config.xml:
In web.xml, I define a context parameter as follows,
javax.servlet.jsp.jstl.fmt.localizationContext
ApplicationMessageResources
Questions:
(1). Can I define more than message resources in context param?
(2). In jsp, how d
I have an an HTML form displayed on a jsp with struts html:form tags.
In the validate method, I have a checkForEmpty and checkForNumber
method that will check whether the field is empty or not a number (as
applicable) and if so, add an ActionError to the ActionErrors object.
The validate method wor
Senji,
Thx. I have tried with definition instead of beanName and it worked. (I
needed to do some small changes but it just took me a minute and it
worked.) Thx.
Now the strange thing is that in my book (O'Reilly) they never spoke about
using definition inside the jsp. So I was wondering did t
I am having trouble trying to use Displaytag tag and reading the titles for
the columns out of my application resources file.
I have tried:
...
But it does not seem to read anything.
I have tried searching for the answer, but haven't found anything that I
can make work.
Does anyone ha
David Whipple wrote:
...
You have a property called "" in your application
resources file?
If so, I guess I don't know, but I'd probably yell at you for a weird
resource name.
Dave
-
To unsubscribe, e-mail: [EM
Sometime it's just hard not to say anything. There are lots of different
options for
making this work and you don't have to change to JSTL to do it. The
logic:iterate tag is
absolutely fine, you just have to get the right parameter names.
Thanksfully there is a pattern to how the parameters
Good Afternoon David
Dumb question but I have to ask
titleKey will retrieve a message via
1)title is not defined
2)displaytag.properties must contain the name of the i18nResourceProvider
2)assuming JSTL is available..JSTL.jar is included in your application.war
M-
- Original Message -
Fr
Murray Collingwood wrote:
Sometime it's just hard not to say anything. There are lots of different options for
making this work and you don't have to change to JSTL to do it. The logic:iterate tag is
absolutely fine, you just have to get the right parameter names.
I'm of the opinion that t
hi all,
i am using struts jar 1.2 in my web app.
i want to test my struts action classes and jsps using Junit
are there any nice tutorials on this.
i want to use MockStrutsTestcase in my junit tests
your suggestions are very much appreciated
regards and thanks in advance
---
hem hem on 20/10/05 22:57, wrote:
i am using struts jar 1.2 in my web app.
i want to test my struts action classes and jsps using Junit
are there any nice tutorials on this.
i want to use MockStrutsTestcase in my junit tests
What precisely do you want to test? There are many different junit
c
Hi Adam,
thanks for your reply,
i my struts(version 1.2) web app,i am using tiles,
action form are submitted through tiles(jsp)templates.
i am having a helper class which copies property values from form bean to model
object.
i call the methods in this helper class from my action class and put som
Im having problems trying to build my url using
html:link and jstl. Im iterating over a list using
jstl and I want to pass in the id to the url.
Currently, im doing this:
Buy product
I want to do something like this:
Buy
product
Any help is appreciated. Thanks.
Jadeler
Hi Jadeler
Fortunately it's simpler than that... you don't need all that scriptlet stuff.
Try this and
see if it works.
Buy product
HTH
mc
On 20 Oct 2005 at 19:56, Jadeler wrote:
> Im having problems trying to build my url using
> html:link and jstl. Im iterating over a list usi
>
> I have read the struts documentation and am trying
> to
> work out how I would display an error image next to
> an
> invalid form field.
>
> Ramesh mentioned that property="custName"/> would display the error
> message
> associated with a particular field. Is there a (set
> of) struts tag(
Jadeler wrote:
Im having problems trying to build my url using
html:link and jstl. Im iterating over a list using
jstl and I want to pass in the id to the url.
Currently, im doing this:
Buy product
I want to do something like this:
Buy
product
you've got your JSTL expressions nes
Hey MurrayI tried what you suggested but the
values dont seem to be resolving. The link becomes
http://localhost:8080/testapp/StartBuyPolicy.do;jsessionid=8DE06461ADFCD864AF7CD5657A1C1DFD?x=${webProduct.id}&y=${webProduct.productType}
Im not too sure why I cant output the values. I can
prin
Use the following code
Hi
This will print the "Hi" the number of times depending on the size of
ArrayList. Also do not forget to use the fully qualified name with package
for type="NibuSrchVLocalDTO"
Regards,
Rajasekhar Cherukuri
Troy Bull <[EMAIL PROTECTED]>
10/20/2005 08:56
None. How about you Laurie?
Kind regards
mc
On 20 Oct 2005 at 23:42, Jadeler wrote:
> Hey MurrayI tried what you suggested but the
> values dont seem to be resolving. The link becomes
>
>
http://localhost:8080/testapp/StartBuyPolicy.do;jsessionid=8DE06461ADFCD864AF7CD
5657A1C1DFD?x=${web
Jadeler wrote:
http://localhost:8080/testapp/StartBuyPolicy.do?
x=${webProduct.id&y=${webProduct.productType}
The above link seems to be coming from this:
action="/StartBuyPolicy?x=${webProduct.id}&y=${webProduct.name}">
Buy product
What version of the Servlet Specification are you wor
56 matches
Mail list logo