Hi
I think your question's answer will be
use these tags
refer tag lib
Regards
Kumar
Marc Ende <[EMAIL PROTECTED]> wrote:
Hi,
I'm using the only with collections. Now I need
to order the contents. It's possible to assign anything else
(orderable/sortable) than collections
to this tag?
From: <[EMAIL PROTECTED]>
I downloaded and installed a clean Tomcat 5.0.30, and now it started Ok.
So I went back and looked at my other Tomcat 5 install, and found that I
had some commons-xxx jars and log4J among other things in the common/lib
directory. Since we have been suspecious of digeste
On 9/8/05, Wendy Smoak <[EMAIL PROTECTED]> wrote:
> From: "Jason Kwon" <[EMAIL PROTECTED]>
>
> > Say I have multiple webapps.
> > Currently, I am deploying each webapp with their own copies of the
> > struts TLDs.
> > Is there any way I can deploy each webapp and deploy only a single set
> > of st
Hi
I downloaded and installed a clean Tomcat 5.0.30, and now it started Ok.
So I went back and looked at my other Tomcat 5 install, and found that I
had some commons-xxx jars and log4J among other things in the common/lib
directory. Since we have been suspecious of digester, I removed that one
fir
Hi ,
I think the Struts ActionMapping will try to invoke the setter and getter
methods of the ActionForm with the same name in if the names are
not equal simply it will not invoke the Setter() method . So the corresponding
Variable will be null . i think it wont throw any exception also(Actio
Hi all
Hibernate is an excellent tool! I managed to get it running quite quickly,
only a few
small issues to resolve, fortunately the error messages were fairly clear.
I've implemented Hibernate into the beginning of a new Struts app, however my
code
isn't looking like the examples and I'm w
> Sorry for interruption.
> After reading your discussion, I try to read the more about Shale.
> From the webpage, http://struts.apache.org/shale/index.html,
> it is found that Shale does not depend on Struts.
>
> I wonder if Shale will be independent of Struts?
>
I think that depends on th
Sorry for interruption.
After reading your discussion, I try to read the more about Shale.
>From the webpage, http://struts.apache.org/shale/index.html,
it is found that Shale does not depend on Struts.
I wonder if Shale will be independent of Struts?
2005/9/20, Gary VanMatre <[EMAIL PROTECTED]
There's nothing specific in Struts, but a filter does the trick nicely:
http://javawebparts.sourceforge.net/javadocs/index.html
That will actually do *all* incoming requests, but that's probably what
you want anyway. You can limit it by path too if that's helpful.
Frank
Laurie Harper wrote:
Wow, that's a big topic :-) The first thing I'd suggest is to think
about using a full J2EE application server and packaging your
apps/modules as EARs/WARs/etc. J2EE already includes solutions to most
of the requirements you list below; in particular, you can use the app
server's deployment fea
You do it exactly the same way, although you specify the values on the tags as
you
would for adding a new record. eg
Male
Female
Struts will automatically check the radio control that matches the current
value.
Kind regards
mc
On 19 Sep 2005 at 18:04, rahul wrote:
> hi all,
>
> I am look
Hi Joe
If there is a particular function (like server type) you could store the
different types in a
database record and then access the classes using reflection.
Kind regards
mc
On 19 Sep 2005 at 8:13, Joe Bermann wrote:
> That's what I'm doing now, but the problem is that it forces me to
> r
Abhinav Bhatnagar wrote:
Hi All,
Is there any way in struts to automatically trim the string before
setting them in the form object?
We can do it thru javascript but just want to know if Struts has any
feature for this.
I don't think so. You could define a custom RequestProcessor to do this
Hi Adam,
> OK, I think I might have seen problem too, but at this time,
> I am deploying my struts webapp war as a war file by copying
> it into the deploy directory and it causes no problem but
> redeploys nicely.
Now I'm deploying the webapp as a .war-file not as an exploded war anymore.
So
Marc Ende on 17/09/05 18:20, wrote:
Hi Adam,
hmmm... I always had this problem with the struts.jar. So I decided
to put the jar in the shared lib. The .war I do deploy is an
application wich have connections to an existing ejb on the same
server but there are no ejb's inside this project. There
From: "Marc Ende" <[EMAIL PROTECTED]>
I'm using the only with collections. Now I
need
to order the contents. It's possible to assign anything else
(orderable/sortable) than collections to this tag?
What are you using now, and what do you need it to do?
This works with a TreeMap to keep thing
>
> > The only difference is instead of in profile
> > screen I need profile.html and in main I need main.html components. How
> > can I do this?
>
> Well... to me, this sounds like a job for Tiles. Gary, what do you think?
>
Yes, I agree. The role of Clay is to glue togather JSF components.
Hi,
I'm using the only with collections. Now I need
to order the contents. It's possible to assign anything else
(orderable/sortable) than collections
to this tag?
marc
From: "Maksimenko Alexander" <[EMAIL PROTECTED]>
The only difference is instead of in profile
screen I need profile.html and in main I need main.html components. How
can I do this?
Well... to me, this sounds like a job for Tiles. Gary, what do you think?
As far as Shale + Tiles documentatio
g to the suffix that you specify for the "clay-template-suffix".
You can see an example of all of these techniques in the Rolodex usecase in the
nightly build
(http://svn.apache.org/builds/struts/nightly/struts-shale/shale-framework-20050919.zip).
The war is located under the webapps f
> On 9/19/05, David Erickson <[EMAIL PROTECTED]> wrote:
> > > -Original Message-
> > > From: Wojciech Ciesielski [mailto:[EMAIL PROTECTED]
> > > Use ActionRedirect class in your STRUTS Action's execute:
> > >
> > > ActionRedirect ar = new
> > > ActionRedirect(mapping.findForward("myRedirect
On 9/19/05, David Erickson <[EMAIL PROTECTED]> wrote:
> > -Original Message-
> > From: Wojciech Ciesielski [mailto:[EMAIL PROTECTED]
> > Use ActionRedirect class in your STRUTS Action's execute:
> >
> > ActionRedirect ar = new
> > ActionRedirect(mapping.findForward("myRedirectForward");
> >
Hello,
We are using Struts 1.2.4, and Weblogic 8.1.
The problem is as follows -
One of the action mappings in my struts-config.xml is -
The "sampleActionForm" corresponds to an entry in as follows
The class SampleActionForm has a single variable with the appropriate setter
and getter n
thank you very much
It worked!
> -Original Message-
> From: Harland, David [mailto:[EMAIL PROTECTED]
> Sent: Monday, September 19, 2005 6:07 PM
> To: Struts Users Mailing List
> Subject: RE: Radio Button in ActionForm
>
>
> Initialise your Action Form set sec equal to 'M' or 'F'.
>
> Add t
> -Original Message-
> From: Wojciech Ciesielski [mailto:[EMAIL PROTECTED]
> Sent: Monday, September 19, 2005 4:03 AM
> To: 'Struts Users Mailing List'
> Subject: RE: Validator woes, modifying the input forward on the fly?
>
> > Hi I have a situation like this:
> > User clicks on /viewUser
Ya I had thought about this, however I am trying to stay away from storing
stuff in the session unless it is absolutely critical, however I will keep
this in mind.
Thanks,
David
> -Original Message-
> From: Holshausen, Ron [mailto:[EMAIL PROTECTED]
> Sent: Monday, September 19, 2005 1:54 A
to the suffix that
you specify for the "clay-template-suffix".
You can see an example of all of these techniques in the Rolodex usecase in the
nightly build
(http://svn.apache.org/builds/struts/nightly/struts-shale/shale-framework-20050919.zip).
The war is locate
From: <[EMAIL PROTECTED]>
Same problem with latest build - It gives a NPE on 5.0.30 during
startup:
2005-09-19 15:48:19 StandardContext[/struts-shale-usecases]Exception
starting filter shale
javax.servlet.ServletException: Error at line 41 char 56: null
...
- Root Cause -
java.lang.Null
implement the same version of the specs. But I'm not sure whether it
is
> a bug in tomcat, the xml parser, or commons-digester.
I'm not seeing a problem with the latest nightly (20050919) on either
Tomcat
5.5.9 or 5.0.30.
If anyone is still having trouble with the use-cases app
the xml parser, or commons-digester.
I'm not seeing a problem with the latest nightly (20050919) on either Tomcat
5.5.9 or 5.0.30.
If anyone is still having trouble with the use-cases app starting up, can
you please try the latest version?
http://svn.apache.org/builds/struts/nightly/s
Yeah, I've upgraded to the version from last night (20050918), which
works ok. This might be a bug, because tomcat 5.0.x and 5.5.x both
implement the same version of the specs. But I'm not sure whether it is
a bug in tomcat, the xml parser, or commons-digester.
-Original Message-
From: [EM
Hi
It did start up ok under 5.5.9, so there must be some sort of
compatibility issue with 5.0.30
Hermod
-Opprinnelig melding-
Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sendt: 16. september 2005 13:46
Til: user@struts.apache.org
Emne: SV: [Shale] NullpointerException when running
s
Initialise your Action Form set sec equal to 'M' or 'F'.
Add the following to your jsp
-Original Message-
From: rahul [mailto:[EMAIL PROTECTED]
Sent: 19 September 2005 13:34
To: Struts Users Mailing List
Subject: Radio Button in ActionForm
hi all,
I am looking at some simplified
Hi Joe,
You can create a subclass of ActionServlet to load all of it's 'modules' from a directory rather
than by specifiying them in the web.xml. You could package your modules up as a jar file and load
them directly without exploding them.
The axis2 project has a simular utility for droppin
hi all,
I am looking at some simplified way of displaying the radio button
on a jsp depending upon the value of an ActionForm's property.
For example I have got an ActionForm with a property name sex, which can
take 'M' or 'F' as input.
Now after storing the value in an ActionForm instance (whic
thank you all very much!
-- Initial Header ---
From : "Wojciech Ciesielski" [EMAIL PROTECTED]
To : "Struts Users Mailing List" user@struts.apache.org
Cc :
Date : Mon, 19 Sep 2005 13:45:56 +0200
Subject : RE: HTML-Reset-botton works only before submit
That's what I'm doing now, but the problem is that it forces me to
re-release the BaseApp every time I want to ship a new feature. The BaseApp
is on a slower release schedule, about once every six months, whereas it
would be nice to support new features sooner than that.
The BaseApp is perfor
The tag is evaluated by the browser (not the server), therefore
when this
code arrives at your users browser it is going to look for the image on their
local hard
drive - obviously it won't be there.
You will probably need to set up an action class to read and write the image
back to the
us
yes I know ... I made a little CONFUSION sorry ;)
Fabio Bianchi
SVI/SACI
> Fiditalia S.p.A.
> via G. Silva, 34 - 20149 Milano
Tel. +39-02-43012409
Fax. +39-02-43012680
e-mail [EMAIL PROTECTED]
> Sito internet: www.fiditalia.it
-Messaggio originale-
Da: Larry Meadors [mailto:[EMA
On 9/19/05, Bianchi Fabio <[EMAIL PROTECTED]> wrote:
> hi all,
>
> this is my hbm.xml:
Huh?
> why ?
Huh?
> what can I do ?
Try posting to the Hibernate user list instead? ;-)
Larry
-
To unsubscribe, e-mail: [EMAIL PROTECTED
Hi All,
Is there any way in struts to automatically trim the string before
setting them in the form object?
We can do it thru javascript but just want to know if Struts has any
feature for this.
Thanks and regards,
Abhinav
CAUTION - Disclaimer *
This e-
> thank you very much for your answer!
> But when I validate and I've have a error
> I would like that the wrong typing is still
> displayed that the user can see what was wrong!
> Only after the reset button is clicked the values should be
> cleared!
> Is there a good possibility?
Reset button us
This from Ron Gagnon
try {
/*
** we specify Locale.US since months are in english
** we want to parse a TimeStamp
*/
SimpleDateFormat sdf = new SimpleDateFormat("dd-MMM- HH:mm:ss",
Locale.US);
/*** fix timezone in the SimpleDateFormat** this is a bug in JDK1.1*/
*
P U S H E D B A C K !
*
The twelfth bird-of-feature Struts JSF London meet-up has been
postponed for just eight days.
The event will now take place on
If timezone if the problem, then use SimpleDateFormat.setTimeZone() and
Calendar.setTimeZone() to set the timezones to UTC. That should
eliminate the timezone correction and give you the right number.
Wojciech Ciesielski wrote:
I try to parse some input from HTML form with
Java.sql.Timestam
well it should work but. Check the permissions of the files!
And sometimes you have to use C://ProjectGallery//web//..
this is what I would try at first.
Ciao
-- Initial Header ---
>From : "news" [EMAIL PROTECTED]
To : user@struts.apache.org
Cc :
Date
thank you very much for your answer!
But when I validate and I've have a error
I would like that the wrong typing is still
displayed that the user can see what was wrong!
Only after the reset button is clicked the values should be
cleared!
Is there a good possibility?
Ciao!
-- Initial
Ok, then I assume the problem is that calendar.getTimeInMillis() returns
the timestamp in UTC, and you need it in your local timezone?
-Original Message-
From: Wojciech Ciesielski [mailto:[EMAIL PROTECTED]
Sent: 19 September 2005 16:13
To: 'Struts Users Mailing List'
Subject: RE: a littl
> You can try use the SimpleDateFormat class in java.text to parse the
> time string.
That's what I am doing:
> > Java.sql.Timestamp toReturn;
> > SimpleDateFormat dateFormatTime("HH:mm");
> > Calendar cal = new GregorianCalendar();
> > cal.setTime(dateFormatTime.parse(timeString));
> > toReturn =
You can try use the SimpleDateFormat class in java.text to parse the
time string.
-Original Message-
From: Wojciech Ciesielski [mailto:[EMAIL PROTECTED]
Sent: 19 September 2005 15:57
To: 'Struts Users Mailing List'; [EMAIL PROTECTED]
Subject: RE: a little bit OT: Calendar misbehaviour
>
> I try to parse some input from HTML form with
>
> Java.sql.Timestamp toReturn;
> SimpleDateFormat dateFormatTime("HH:mm");
> Calendar cal = new GregorianCalendar();
> cal.setTimeInMillis(0);
> cal.setTime(dateFormatTime.parse(timeString));
> toReturn = new Timestamp(cal.getTimeInMillis());
>
>
--- Begin Message ---
Hi,
Check the reset section in this link :
http://struts.apache.org/api/org/apache/struts/action/ActionForm.html#reset(org.apache.struts.action.ActionMapping,%20javax.servlet.http.HttpServletRequest)
Regards
Kathir.
From: starki78 [mail
> So my question is:
>
> Do I jave to use a javascript function?
> Is it possible to map
> with the reset-method in the ActionForm?
> I didn't manage this.Thanks for any advice
>
> Nice greetings
You need to reset form - after submiting form instance with data is still in
the request when it's
I'm making a project that makes a picture gallery that has to be
accessible throw web, wap, webdav and file sharing. The project
consisting of a ejb backend and struts frontend(using velocity as
presentation).
I have made the EJB backend so that each dir with pictures in has a xml
file contanin
Hi
I've a form with some input-fields and at the first time the html:reset works
normally.
I submit the form and I've errors that are validated.
I'm still at the same page.
When I now press the reset button they are not deleted any more.
Reset always retrieves the state, that was before the submit
Hi!
I don't know is there proper place for discussing shale. If it's not can
you point me to correct mailing list
I'm using JSF and looking for good rendering/template framework.
Remembering that Shale is created by those people who have done Struts I
prefer using it instead of faceletes ;)
> Hi I have a situation like this:
> User clicks on /viewUser.do?id=4 action, which loads the specific user
> with
> id4 to be viewed.
> On that page is a form, the form is submitted, if some part of the xml
> validation fails I need to return back to /viewUser.do?id=4. It would be
> ideal if the
Hi there,
I try to parse some input from HTML form with
Java.sql.Timestamp toReturn;
SimpleDateFormat dateFormatTime("HH:mm");
Calendar cal = new GregorianCalendar();
cal.setTimeInMillis(0);
cal.setTime(dateFormatTime.parse(timeString));
toReturn = new Timestamp(cal.getTimeInMillis());
The poi
Hi David,
One way to get around the problem would be to store the form bean in the
session, or at least the id, and it will exist between requests. You'll
just need to make sure your viewUser.do action updates the session
variable correctly, and any other actions that use it.
-Original Messag
hi all,
this is my hbm.xml:
..
..
..
the output Error:
[19/09/05 9.03.38:601 CEST] 736f736f XMLHelper E
org.hibernate.util.XMLHelper Error parsing XML: XML InputStream(33) the
attribute "not-null" must be declared for element type "key-property".
[19/09/05 9.03.38:601 CEST] 73
60 matches
Mail list logo