Hello all,
I would like to ask a few questions about RowSetDynaClass.
I can successfully set up one in a DAO class and include it in the
request scope of an action class to forward to a JSP.
The problem is with the JSP.
Problem number one:
- If the bean is null or empty I have an error,
Hello,
I don't find any information, how I can do to read the servletContext
variable inside of my Custom ExceptionHandler class.
I would like to get a reference to my logManager located in the
application scoped variables and initialized by a struts plugins.
validate() is a function of ValidatorForm
I have written some checking inside validate()
However validate returns ActionErrors.
However can I change it to ActionMessages
so that my checking inside in validate() still valid
when ActionErrors deprecates in the future?
And
Inside validate(),
The
(1) Could I add extra message to html:errors property=username
header=empty/ in addition to empty message?
Does html:errors only capture ActionErrors, not ActionMessages?
(2) I have fixed it by modifying validation.xml.
Thank
2005/8/25, 梁炳場 [EMAIL PROTECTED]:
Struts 1.2.7
(1)
The
Hi friends
I'm puzzled with a basic design problem:
I have a VO - say StudentVO - that has a property - birth_date.
Should the birth_date property be of type String (and then in the DAO
convert it to java.sql.Date) -
OR - Should it be of type Date and if so - what kind of Date
On Thu, 2005-08-25 at 12:34 +0200, Rivka Shisman wrote:
Hi friends
Shalom,
I'm puzzled with a basic design problem:
I have a VO - say StudentVO - that has a property - birth_date.
Should the birth_date property be of type String (and then in the DAO
convert it to
hi,
Have you tried to look into login_jsp.java file (in the line 135)
that is in the directory work?
Is likely that in this line you will find the motive of the error.
A slight tweak to that...
StudentVO(){
private Date birthDate;
public long getBirthDate() {
return birthDate.getTime();
}
public java.util.Date getBirthDateAsDate(){
return birthDate;
}
Why?
Because this way two subsequent calls to 'getBirthDateAsDate' will return the
same
Thanks but .
?
org.apache.struts.taglib.bean.MessageTag _jspx_th_bean_message_0 = new
org.apache.struts.taglib.bean.MessageTag();
?
What does it mean
[EMAIL PROTECTED] wrote:
hi,
Have you tried to look into login_jsp.java file (in the line 135)
that is in the directory
Thanks guys
But what if I already have a table with a date column (not long)
- Should I hold java.util.Date in the VO and convert it to java.sql.Date
in the DAO?
Rivka
-Original Message-
From: Gareth Evans [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 25, 2005 12:28 PM
To: Struts
I don't know exactly what means, but is likely that you haven't include the
call appropriate to tld into head of jsp or the file (tld) into correct
directory. Besides maybe that don't are finding the resouces file or that
this haven't the key searched.
I hope help you.
Yes, I would do it that way
Gareth
Rivka Shisman wrote:
Thanks guys
But what if I already have a table with a date column (not long)
- Should I hold java.util.Date in the VO and convert it to java.sql.Date
in the DAO?
Rivka
-Original Message-
From: Gareth Evans [mailto:[EMAIL
Hi,
I need to make a form with an org.apache.struts.upload.FormFile field.
The user should be able to add at runtime as many new FormFile fields as
he wants.
How can I do that if I don't know the exact number of FormFile fields
the page will contain?
Thanks
LuKe
--
Email.it, the
I'd have to respectfully disagree - it doesn't belong as a subproject
under MyFaces as it encapsulates and integrates MyFaces along with other
prominent frameworks. If anything it will eventually deserve its own
Apache project.
Regards,
Kaleb
-Original Message-
From: David G. Friedman
Hi All!
I am new to Struts and i am impressed with the framework, its INTENDED concept.
But i went through the Struts implementation in one of my project i came to
know there are some of the real time issues are there as mentioned below;
1) Object Maintenance
2) Time of debugging
3)
Kaleb,
Your point might be true and I wouldn't mind that
as long as it goes somewhere more appropriate. I
recommended MyFaces, rather than a to level project
because MyFaces claims to have a core that can be a
drop-in replacement for Sun's JSF RI (someday) and
Shale cannot run without a JSF
Rick, consider trying Faclets (from Java.net) w/ Struts Ti (from Dev
List) combo; that may be more powerfull and more teachable.
.V
Rick Reumann wrote:
David Haynes wrote the following on 8/22/2005 4:19 PM:
I'm just fumbling my way through like most others...
Trust me you don't want me
I cannot get my struts application to work with the Validator plugin. Can
someone please review my code below to see if I'm doing something wrong. I
have omitted the LoginForm class
The only formset in validation.xml...
formset
form name=LoginForm
field
On 8/25/05, Kade Jeevan Kumar [EMAIL PROTECTED] wrote:
OBJECT MAINTENANCE
When i went through implementing Struts for my project it really sucks as the
number of objects for each functionality is excedded as each functionality in
my project is totally differ from other functionalities.
On 8/25/05, Kade Jeevan Kumar [EMAIL PROTECTED] wrote:
Whenever if i get any exception due to lack of co-ordination between my JSP
form and ActionForm the error messages are not in a proper debuggable way.
Sometimes, if something goes wrong with the code it doesn't intimate me with
On 8/25/05, Kade Jeevan Kumar [EMAIL PROTECTED] wrote:
In one of my screen, i came across a need of adding the form components
dynamically using javascript (dynamically adding chek boxes). what is the
solution offered by struts to hold this situation to read the data into the
ActionForm.
Hi,
Has anybody used the
org.springframework.web.stuts.SpringBindingActionForm class?
The class extends ActionForm and the typical use, according to the
javadoc is:
public ActionForward execute(ActionMapping actionMapping, ActionForm
actionForm, HttpServletRequest request, HttpServletResponse
I'm also wondering ... how do I know exactly what Shale jars I need. The
docs don't seem to say, so I'm just pulling all of them from the
struts-shale-usecases... but I'm not sure I need all of them to just
start out using the view handler. I'm wondering if maybe the problem
below is because
Hi guys!
I have a sample-application I've build together from couple of
tutorials. It have HibernateStruts and works (fine) using Titles.
My problem:
* When I try to plug-in the Validator and change the parent of my forms
* from ActionForm to ValidatorForm or ValidatorActionForm the
*
Whoa. Hate is a strong word. Maybe Validator just dislikes
ActionDispatcher? :)
I'm having trouble making the connection between a change in form to
ActionDispatcher not working. Then again maybe it's just me. Can you
provide more info? Like, what flavor of ActionDispatcher are you
using?
Hi Hubert,
maybe you're right and they just don't like each other a little bit ;)
what flavor of ActionDispatcher are you using?
eeeh, don't know what you mean with flavor but I just use it for
working with multiple buttons on my page.
I have a public class BookEditAction extends
Oh kay.
You kinda threw me off a bit because there's DispatchAction, and
there's ActionDispatcher:
DispatchAction (also check its Direct Known Subclasses):
http://struts.apache.org/api/org/apache/struts/actions/DispatchAction.html
ActionDispatcher:
Hi i want to unsubscribe from this group.
Kindly unsubscribe me.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
A similar question has been asked once since I joined this list - so I
apologize in advance if this question has been asked numerous times
before.
A colleague of mine and I are researching Shale for potential use in a
production environment. Our timeline is pretty open - we're looking to
On 8/25/05, David G. Friedman [EMAIL PROTECTED] wrote:
Kaleb,
Your point might be true and I wouldn't mind that
as long as it goes somewhere more appropriate. I
recommended MyFaces, rather than a to level project
because MyFaces claims to have a core that can be a
drop-in replacement for
On 8/25/05, Rick Reumann [EMAIL PROTECTED] wrote:
I'm also wondering ... how do I know exactly what Shale jars I need. The
docs don't seem to say, so I'm just pulling all of them from the
struts-shale-usecases... but I'm not sure I need all of them to just
start out using the view handler. I'm
Hello everyone. I know it's a totally noob question, but I gotta ask.
I have an action that is called from page.jsp. After it's executed, it is
forwarded to the same page: page.jsp. But the problem is that it reloads the
same page with all the data that was there before. And I wanna reload it
Try making your forward a redirect:
forward name=success path=/pages/colecao.jsp redirect=true/
This will clear out your request parameters.
Gary
---BeginMessage---
Hello everyone. I know it's a totally noob question, but I gotta ask.
I have an action that is called from page.jsp. After
On 8/25/05, Walton, Kaleb (ISS Southfield) [EMAIL PROTECTED] wrote:
A similar question has been asked once since I joined this list - so I
apologize in advance if this question has been asked numerous times
before.
A colleague of mine and I are researching Shale for potential use in a
Worked perfectly. Thank you and sorry.
On 8/25/05, Gary VanMatre [EMAIL PROTECTED] wrote:
Try making your forward a redirect:
forward name=success path=/pages/colecao.jsp redirect=true/
This will clear out your request parameters.
Gary
-- Forwarded message
Craig McClanahan wrote the following on 8/25/2005 1:00 PM:
ContextLoaderListener is a Spring thing ... if you're going to take
advantage of the ability to use the managed beans facility to create
spring beans transparently, then you need the servlet context listener
registered in web.xml (see
Just subscribed to dev list which should also help me to develop a
conception of the speed of development.
I would assume I was talking about 35066 since it was related to the
dialog state. In my usual trial/error testing I removed an h:outputText
tag and replaced it with some straight text and
On 8/25/05, Walton, Kaleb (ISS Southfield) [EMAIL PROTECTED] wrote:
Just subscribed to dev list which should also help me to develop a
conception of the speed of development.
Cool.
I would assume I was talking about 35066 since it was related to the
dialog state. In my usual trial/error
Craig McClanahan wrote the following on 8/25/2005 12:47 PM:
Communities of interest don't always follow neat engineering
architectural diagrams. The community of interest here (and the one
that led to the Struts PMC accepting Shale) is web application
frameworks. That kind of common interest
Hi Hubert,
Thanks for your response. It worked the way you told by using dot delimiters
to point
out the nested object. On the same lines, I have one more question. How do I
validate an array of objects. This is my class strucutre.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Rick Reumann [EMAIL PROTECTED] wrote on 08/25/2005 01:55:04 PM:
Craig McClanahan wrote the following on 8/25/2005 12:47 PM:
Communities of interest don't always follow neat engineering
architectural diagrams. The community of interest here (and the one
that led to the Struts PMC
To unsubscribe, e-mail: [EMAIL PROTECTED]
On 8/25/05, Shajee [EMAIL PROTECTED] wrote:
Hi i want to unsubscribe from this group.
Kindly unsubscribe me.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
On 8/25/05, Rick Reumann [EMAIL PROTECTED] wrote:
Craig McClanahan wrote the following on 8/25/2005 1:00 PM:
ContextLoaderListener is a Spring thing ... if you're going to take
advantage of the ability to use the managed beans facility to create
spring beans transparently, then you need
On 8/25/05, David Durham [EMAIL PROTECTED] wrote:
Thanks, I'm following this list off and on, but fairly regularly, I
don't recall anyone else saying hey, this shouldn't be in struts. I
have no doubt that others feel the way you do, just interested in some
names that's all.
I don't think
Michael Jouravlev wrote the following on 8/25/2005 2:12 PM:
Craig, seems that you got Rick. Rick, how is life with Shale so far? :-)
I'll let you know when I can go a few minutes without getting:
HTTP Status 500 -
type Exception report
message
description The server encountered an
[EMAIL PROTECTED] wrote:
Rick Reumann [EMAIL PROTECTED] wrote on 08/25/2005 01:55:04 PM:
Would starting up a separate shale mailing list be a bad idea?
Defintely +1 for this idea.
And now, for a comercial:
I'd mirror it or start it in 2 minutes RiA, ex, click
On 8/25/05, Rick Reumann [EMAIL PROTECTED] wrote:
Would starting up a separate shale mailing list be a bad idea? I only
ask because the number of struts posts is quite heavy and if someone
posts a Shale question withough an approriate [shale] intro, I might
miss the post and end up deleting
Once again I'm stuck and I'm not sure what the problem is. Not sure if
this is Shale or MyFaces related, but I'll post here first.
Before the problem some background:
faces-config
navigation-rule
navigation-case
from-outcomesuccess/from-outcome
One small thing we could do is go through everywhere there is a
SAXException caught and add code to specifically catch a
SAXParseException and use the several properties of that type to
provide considerably more information than we do now.
SAXParseException can tell you exactly the file name
I am having problem with JSF and CSS.
In my css I have
#linkMe:link {
color: #C9C9C9;
}
#linkMe:visited {
color: #C9C9C9;
}
#linkMe:hover, #linkMe:active {
text-decoration: none;
color: #C9C9C9;
}
In my JSP I have:
f:verbatim
h:outputLink styleClass=linkMe value=#h:outputText
The problem I'm starting to run into being a JSF/Shale/MyFaces newbie is
not knowing where to post:) I'm too green to know if the problem is just
general JSF/MyFaces, Shale or maybe a combination.
Craig McClanahan wrote the following on 8/25/2005 3:02 PM:
On 8/25/05, Rick Reumann [EMAIL
Once again I'm stuck and I'm not sure what the problem is. Not sure if
this is Shale or MyFaces related, but I'll post here first.
Before the problem some background:
faces-config
navigation-rule
navigation-case
from-outcomesuccess/from-outcome
[EMAIL PROTECTED] wrote the following on 8/25/2005 3:07 PM:
I am having problem with JSF and CSS.
In my css I have
#linkMe:link {
color: #C9C9C9;
}
#linkMe:visited {
color: #C9C9C9;
}
#linkMe:hover, #linkMe:active {
text-decoration: none;
color: #C9C9C9;
}
In my JSP I have:
Hi Bob, I think I solved my style sheet problem something like 2 minutes
ago.. :)
So assuming yours is the same problem..
Here's how I declared my stylesheet up top of my layout.jsp:
link rel=stylesheet href=h:outputText value
Just getting into JSF myself, but don't you need a from-view-id element
too? I don't know if that's optional or not, but I've always seen it.
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
On Thu, August 25, 2005 3:03 pm, Rick Reumann
Here is my include:
head
link href=pages/site.css type=text/css rel=stylesheet media=screen
/head
here is the generated source:
a href= value= class=linkMe
jsp:id=C:/Projects/JsfShale/WebContent/pages/main.jsp:47:6click me/a
Rick Reumann [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED]
Beware that some browsers won't use stylesheets if they aren't sent by
the server as text/css. I don't know authoritatively which ones, but
I think Firefox and IE *in strict mode*, require text/css.
[EMAIL PROTECTED] wrote:
Hi Bob, I think I solved my style sheet problem something like 2
[EMAIL PROTECTED] wrote on 08/25/2005 03:19:07 PM:
Here is my include:
head
link href=pages/site.css type=text/css rel=stylesheet
media=screen
/head
How does the source for the head stuff look like? As Rick says it is
possible your stylesheet isn't being found..
Geeta
Neil Erdwien [EMAIL PROTECTED] wrote on 08/25/2005 03:22:23 PM:
Beware that some browsers won't use stylesheets if they aren't sent by
the server as text/css. I don't know authoritatively which ones, but
I think Firefox and IE *in strict mode*, require text/css.
Thanks for the warning!
here is my html source:
html
head
link href=pages/site.css type=text/css rel=stylesheet media=screen
titleTest JSF and Shale/title
/head
body
jsf link test: a href=# class=linkMeclick me/a
/body
/html
I know that this is wrong. It should be a href=# id=linkMeclick me/a
[EMAIL PROTECTED] wrote the following on 8/25/2005 3:29 PM:
I know that this is wrong. It should be a href=# id=linkMeclick me/a
and I do not know how to make jsf to do it.
Oh I should have caught that you were using ids vs classes. For testing
why not make you 'id' a class attribute in
[EMAIL PROTECTED] wrote on 08/25/2005 03:29:57 PM:
here is my html source:
html
head
link href=pages/site.css type=text/css rel=stylesheet
media=screen
titleTest JSF and Shale/title
/head
body
jsf link test: a href=# class=linkMeclick me/a
/body
/html
I know
[EMAIL PROTECTED] wrote the following on 8/25/2005 3:26 PM:
- right now I'm *finally* getting tiles to play nice with JSF/Shale so am
too excited to do much else than play with the app, adding links in
menu.jsp, images in layout.jsp... ah, heaven..!..:))
Care to email me the app zipped up
I would liek it also if please: [EMAIL PROTECTED]
Rick Reumann [EMAIL PROTECTED] wrote:[EMAIL PROTECTED] wrote the following on
8/25/2005 3:26 PM:
- right now I'm *finally* getting tiles to play nice with JSF/Shale so am
too excited to do much else than play with the app, adding links in
Rick, classes seem to work. Thank You. But the requirement is to use ID. May
be I can convince my team. I will go try Geeta's idea now to see how fun that
is...:=)
Rick Reumann [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote the following on 8/25/2005 3:29 PM:
I know that this is wrong.
Rick Reumann [EMAIL PROTECTED] wrote on 08/25/2005 03:35:06 PM:
Care to email me the app zipped up so I can learn from it:) (rick at
reumann.net preferably).
Absolutely!.. But I do have to clean out all the test1.jsp,
test2.jsp,...test567.jsp... first..;) Plus do a *final* check and see
On 8/25/05, Rick Reumann [EMAIL PROTECTED] wrote:
The problem I'm starting to run into being a JSF/Shale/MyFaces newbie is
not knowing where to post:) I'm too green to know if the problem is just
general JSF/MyFaces, Shale or maybe a combination.
To help people find answers to the pure JSF
I have an application built on struts and tiles. I have a design question
and would like some of your valuable opinions.
I have a huge jsp, which is broken into many includes, say abc.jsp and
includes one.jsp, two.jsp etc.
As, I mentioned I use tiles so in the config file, I have a forward
On Aug 25, 2005, at 3:15 PM, Dilip Ladhani wrote:
I have an application built on struts and tiles. I have a design
question and would like some of your valuable opinions.
I have a huge jsp, which is broken into many includes, say abc.jsp and
includes one.jsp, two.jsp etc.
As, I mentioned I
I knew I was trying to combine to many different things at once
(MyFaces/Shale) but it took Craig to wake me up to realize it and
recommended I go back to starting small. I backed out the Shale stuff
and said let me go back to just MyFaces. By comparing my web.xml with
the MyFaces example
Can be solved a couple of different ways
populating a hidden form field and testing the value of the hidden form
field OR
switching on DispatchAction (one for save, one for submit, one for create)
Take a look at Ted Husted's response to the question at
thank you Martin... the tip I got from Gary solved the problem.
Just had to put a redirect=true in my forward tag.
Thanks
On 8/25/05, Martin Gainty [EMAIL PROTECTED] wrote:
Can be solved a couple of different ways
populating a hidden form field and testing the value of the hidden form
field
It won't help you next time when you decide to *keep* the content
instead of just displaying empty page. Also, accessing JSP directly
(which you do by using redirection... no pun intended) is frowned
upon.
Instead of using feature-challenged DispatchAction, next time you
might want to try
If you put the business logic in the JSPs, then it seems to me that you're
essentially mixing the business and presentation layers. I would put the
business login in an action and figure out which tile to forward to from
there. Of course, I haven't used the Tiles Controller that Greg
The subject line asks it all. Is it true?
I hope we see a version 1.2.8 and a 1.3 soon, but I am
sorry to see all the innovation going into Spring
(YEAH!) and Shale (YAWN!), with no one really wanting
to continue growing the classic framework.
Is it viable to evolve Struts Classic into Shale,
I found out the error I was compiling the jsp pages using a old
version of jasper ... I put the correct file in my ant script and
everything worked.
Thanks. Especially for Ext.Ilitia2.
[EMAIL PROTECTED] wrote:
I don't know exactly what means, but is likely that you haven't include the
On 8/25/05, Paul Benedict [EMAIL PROTECTED] wrote:
The subject line asks it all. Is it true?
Once again? Man, you should have used [FRIDAY] prefix ;-) Tomorrow's
Friday anyway. The short answer is the question: is servlet API dead?
Do people still program to bare servlet API?
I hope we see a
77 matches
Mail list logo