Hi all,
I want to write a Swing front end for one of my struts applications.
Basically keeping everything besides the view. I would be nice if I
can keep the validation framework and my controller components probably
wrapped in some kind of interface. I am wondering if there's already a
project d
ne 08, 2005 3:56 PM
To: Struts Users Mailing List
Subject: Re: Howto put current users into the application context?
Le Mercredi 8 Juin 2005 15:44, Nils Liebelt a écrit :
> Hi all,
>
> I want to show list of currently logged in users. Now in my idea this is
> something which should belong
ne 08, 2005 3:56 PM
To: Struts Users Mailing List
Subject: Re: Howto put current users into the application context?
Le Mercredi 8 Juin 2005 15:44, Nils Liebelt a écrit :
> Hi all,
>
> I want to show list of currently logged in users. Now in my idea this is
> something which should belong
Hi all,
I want to show list of currently logged in users. Now in my idea this is
something which should belong into application context. Putting it in there
Is not too difficult. I do it in my extended ActionServlet. But how do I get
it outta there? What listeners do I use in order to get notifie
Hi all,
I want to show list of currently logged in users. Now in my idea this is
something which should belong into application context. Putting it in there
Is not too difficult. I do it in my extended ActionServlet. But how do I get
it outta there? What listeners do I use in order to get notifie
Try something like this:
# Whattaa logga
log4j.logger=FATAL
log4j.logger.fr.improve.struts=INFO
log4j.logger.org.apache.ojb=INFO
log4j.logger.org.apache.struts=INFO
log4j.logger.com.candor.hummingbird=DEBUG
GreetZ
Nils
-Original Message-
From: Abhinav Bhatnagar [mailto:[EMAIL PROTECTED
Try something like this:
# Whattaa logga
log4j.logger=FATAL
log4j.logger.fr.improve.struts=INFO
log4j.logger.org.apache.ojb=INFO
log4j.logger.org.apache.struts=INFO
log4j.logger.com.candor.hummingbird=DEBUG
GreetZ
Nils
-Original Message-
From: Abhinav Bhatnagar [mailto:[EMAIL PROTECTED
Hi all,
Let's say I got a typical tile main layout definition:
Now the content has to split into 2 panes. But not always. So I would like
to have definition who looks like this:
The syntax is not right but it explains
Hi all,
Let's say I got a typical tile main layout definition:
Now the content has to split into 2 panes. But not always. So I would like
to have definition who looks like this:
The syntax is not right but it explains
Hi Mark,
Have a look at J2ee Specs first. So you get an idea of the session concept.
Regards,
Nils
-Original Message-
From: Mark Breitner [mailto:[EMAIL PROTECTED]
Sent: Friday, May 27, 2005 4:34 PM
To: user@struts.apache.org
Subject: Newbie Question : Session Management without cooki
Hi Mark,
Have a look at J2ee Specs first. So you get an idea of the session concept.
Regards,
Nils
-Original Message-
From: Mark Breitner [mailto:[EMAIL PROTECTED]
Sent: Friday, May 27, 2005 4:34 PM
To: user@struts.apache.org
Subject: Newbie Question : Session Management without cooki
Hi all,
could I speed up my development by placing "business" beans inside a form
bean using delegating methods to set it. I could init the "business" bean
with a none bean method and only expose certain attributes of course
validating the way i need it. I am interested if I place such a construc
Hi all,
could I speed up my development by placing "business" beans inside a form
bean using delegating methods to set it. I could init the "business" bean
with a none bean method and only expose certain attributes of course
validating the way i need it. I am interested if I place such a construc
Hi all,
is that possible?
GreetZ
Nils
Hi all,
is that possible?
GreetZ
Nils
27;Struts Users Mailing List'
Subject: RE: Populating growing List
dont think its a great idea, If I start putting beans in session , every
time I have a collection in form bean, I am not sure how long my application
is going to run.
Thanks and Regards,
Nitish Kumar
-Original Message
27;Struts Users Mailing List'
Subject: RE: Populating growing List
dont think its a great idea, If I start putting beans in session , every
time I have a collection in form bean, I am not sure how long my application
is going to run.
Thanks and Regards,
Nitish Kumar
-Original Message
What a bummer. I got the wrong scope!?! If I put the Form in session scope
it works fine. Gonna borrow a tie from my boss so I can hang myself...
Cheers,
Nils
-Original Message-
From: Nils Liebelt [mailto:[EMAIL PROTECTED]
Sent: Monday, May 23, 2005 1:50 PM
To: 'Struts Users Ma
What a bummer. I got the wrong scope!?! If I put the Form in session scope
it works fine. Gonna borrow a tie from my boss so I can hang myself...
Cheers,
Nils
-Original Message-
From: Nils Liebelt [mailto:[EMAIL PROTECTED]
Sent: Monday, May 23, 2005 1:50 PM
To: 'Struts Users Ma
Hi all,
I know that common issue with indexed properties as mentioned in the wiki
http://wiki.apache.org/struts/StrutsCatalogLazyList.
So I wrote a little handcranked lazy list but I still get an
indexoutofbounce exception. I really don't know whats going on here:
private ArrayList deleteSe
Hi all,
I know that common issue with indexed properties as mentioned in the wiki
http://wiki.apache.org/struts/StrutsCatalogLazyList.
So I wrote a little handcranked lazy list but I still get an
indexoutofbounce exception. I really don't know whats going on here:
private ArrayList deleteSe
Hi all,
I am just wondering who you guys handle the different save operations when
creating/editing any business object. I see two options:
- Put an id into ActionForm
- Retrieve the business object with that id
- Update busi
Hi all,
I am just wondering who you guys handle the different save operations when
creating/editing any business object. I see two options:
- Put an id into ActionForm
- Retrieve the business object with that id
- Update busi
letContext();
servletContext.removeAttribute("applicationBean");
}
}
HTH,
Glenn
"Nils Liebelt" <[EMAIL PROTECTED]>
10/05/2005 10:41 AM
Please respond to
"Struts Users Mailing List"
To
"'Struts Users Mailing List'
letContext();
servletContext.removeAttribute("applicationBean");
}
}
HTH,
Glenn
"Nils Liebelt" <[EMAIL PROTECTED]>
10/05/2005 10:41 AM
Please respond to
"Struts Users Mailing List"
To
"'Struts Users Mailing List'
();
servletContext.setAttribute("applicationBean",
applicationBean);
}
public void contextDestroyed(ServletContextEvent arg0) {
servletContext = arg0.getServletContext();
servletContext.removeAttribute("applicationBean");
}
}
HTH,
Glenn
&q
();
servletContext.setAttribute("applicationBean",
applicationBean);
}
public void contextDestroyed(ServletContextEvent arg0) {
servletContext = arg0.getServletContext();
servletContext.removeAttribute("applicationBean");
}
}
HTH,
Glenn
&q
Hi everybody,
Is there a global scope where you could dump e.g. a list of all users or
stuff that is needed in global context. Or just adding to each single
session?
GreetZ
Nils
Hi everybody,
Is there a global scope where you could dump e.g. a list of all users or
stuff that is needed in global context. Or just adding to each single
session?
GreetZ
Nils
Hi,
I am using the webdoclet module to generate my struts-config.xml. It works
very nice for my action classes. But for some reason I doesn't parse the
tags in my Form classes. I can't see the form bean definitions in the struts
config after building. I ran Ant in debug and I saw that finds the
a
Hi,
I am using the webdoclet module to generate my struts-config.xml. It works
very nice for my action classes. But for some reason I doesn't parse the
tags in my Form classes. I can't see the form bean definitions in the struts
config after building. I ran Ant in debug and I saw that finds the
a
What goes to the front (for viewing purposes)? For capturing data we use
ActionForms! But how do you display data (from your model) nicely? Send
Businesobjects, Businessobjects stuffed in Beans, ActionForm or something
else to the view layer?
Regards,
Nils
What goes to the front (for viewing purposes)? For capturing data we use
ActionForms! But how do you display data (from your model) nicely? Send
Businesobjects, Businessobjects stuffed in Beans, ActionForm or something
else to the view layer?
Regards,
Nils
ruts Users Mailing List
Subject: Re: Struts DB Access :: Best Practices
Nils Liebelt wrote the following on 3/10/2005 3:10 PM:
> - You make up your model. I use UML.
> - Look for a case tool where you can generate some code. Poseidon is
> great.
> - Put in the your xdocle
ruts Users Mailing List
Subject: Re: Struts DB Access :: Best Practices
Nils Liebelt wrote the following on 3/10/2005 3:10 PM:
> - You make up your model. I use UML.
> - Look for a case tool where you can generate some code. Poseidon is
> great.
> - Put in the your xdocle
Hi all,
Here's is a comment from a first time OJB user. I had to do a web project
with a quiet large entity relationship model. Many 1toN and MtoN relations.
So what do you do?!
- You make up your model. I use UML.
- Look for a case tool where you can generate some code. Poseidon i
Hi all,
Here's is a comment from a first time OJB user. I had to do a web project
with a quiet large entity relationship model. Many 1toN and MtoN relations.
So what do you do?!
- You make up your model. I use UML.
- Look for a case tool where you can generate some code. Poseidon i
Hi,
I just had a quick look at the example. Works fine for the book shop. But
you should keep in mind that pushing businessobjects to view is not what MVC
indented even if nested inside an ActionForm. Your ActionForms should only
contain String types. Since this is the type method GET/POST is gonn
Hi,
I just had a quick look at the example. Works fine for the book shop. But
you should keep in mind that pushing businessobjects to view is not what MVC
indented even if nested inside an ActionForm. Your ActionForms should only
contain String types. Since this is the type method GET/POST is gonn
I am using Struts 1.2.4
-Original Message-
From: Nils Liebelt [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 24, 2005 6:41 PM
To: 'Struts Users Mailing List'
Subject: Validwhen confusion?
Hey everybody,
Just want to validate a two field match using
I am using Struts 1.2.4
-Original Message-
From: Nils Liebelt [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 24, 2005 6:41 PM
To: 'Struts Users Mailing List'
Subject: Validwhen confusion?
Hey everybody,
Just want to validate a two field match using
Hey everybody,
Just want to validate a two field match using validwhen:
something
(*this* == newPass2)
No matter what I put in the space it always returns true!
The required statement works well. Do I miss a libra
Hey everybody,
Just want to validate a two field match using validwhen:
something
(*this* == newPass2)
No matter what I put in the space it always returns true!
The required statement works well. Do I miss a libra
eople change the content of the email, we can easily
upload a new format and send out the email.
On Tue, 15 Feb 2005 15:31:38 +0200, Nils Liebelt <[EMAIL PROTECTED]> wrote:
> Sounds a bit complicated! Why do you need
> to have struts tags? I would go for plain html and add
> spe
eople change the content of the email, we can easily
upload a new format and send out the email.
On Tue, 15 Feb 2005 15:31:38 +0200, Nils Liebelt <[EMAIL PROTECTED]> wrote:
> Sounds a bit complicated! Why do you need
> to have struts tags? I would go for plain html and add
> spe
Sounds a bit complicated! Why do you need
to have struts tags? I would go for plain html and add
special tags for whatever you need.
Path of least resistence...
GreetZ
Nils
-Original Message-
From: Todd Nine [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 15, 2005 2:50 PM
To: Stru
Sounds a bit complicated! Why do you need
to have struts tags? I would go for plain html and add
special tags for whatever you need.
Path of least resistence...
GreetZ
Nils
-Original Message-
From: Todd Nine [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 15, 2005 2:50 PM
To: Stru
Hi all,
Trying to perform a lookup on the message resource out of my businessobject.
Code looks like this:
MessageResourcesFactory mFactory = MessageResourcesFactory.createFactory();
MessageResources mRes = mFactory.createResources(null);
message.setSubject(mRes.getMessage("regist
Hi all,
Trying to perform a lookup on the message resource out of my businessobject.
Code looks like this:
MessageResourcesFactory mFactory = MessageResourcesFactory.createFactory();
MessageResources mRes = mFactory.createResources(null);
message.setSubject(mRes.getMessage("regist
ng?".
--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx
- Original Message -
From: "Nils Liebelt" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'"
Sent: Tuesday, February 01, 2005 8:30 AM
Su
ng?".
--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx
- Original Message -
From: "Nils Liebelt" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'"
Sent: Tuesday, February 01, 2005 8:30 AM
Su
messages?!
I agree this is annoying. Check the logs, there should be something
indicating what went wrong.
--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx
- Original Message -
From: "Nils Liebelt" <[EMAIL PROTECTED]>
To
messages?!
I agree this is annoying. Check the logs, there should be something
indicating what went wrong.
--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx
- Original Message -
From: "Nils Liebelt" <[EMAIL PROTECTED]>
To
Hi everybody,
I set flush="false" for all my tiles:insert tags in a jsp page. But still
can't see the error message if e.g. a message resource lookup fails. This is
very annoying since the form 300 lines long.
GreetZ
Nils
Hi everybody,
I set flush="false" for all my tiles:insert tags in a jsp page. But still
can't see the error message if e.g. a message resource lookup fails. This is
very annoying since the form 300 lines long.
GreetZ
Nils
Hi everybody,
I am using a LookupDispatch action to add and delete stuff to a form. It
works fine but it seems like quite a hustle to change my add and delete
buttons into linked images. Is there a way of html:image tag in this
particular situation?
Any suggestions?
Regards,
Nils
--
Hi everybody,
I am using a LookupDispatch action to add and delete stuff to a form. It
works fine but it seems like quite a hustle to change my add and delete
buttons into linked images. Is there a way of html:image tag in this
particular situation?
Any suggestions?
Regards,
Nils
--
The only problem I see is that the form needs to be submitted when clicking
on another tab? Otherwise you loose the just entered data.
Regards,
Nils
P.S. Is there a dedicated tiles mailing list?
The only problem I see is that the form needs to be submitted when clicking
on another tab? Otherwise you loose the just entered data.
Regards,
Nils
P.S. Is there a dedicated tiles mailing list?
Container specific error. Sorry.
Nils
-Original Message-
From: Nils Liebelt [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 25, 2005 4:38 PM
To: user@struts.apache.org
Subject: Form in wrong scope
Hi everybody,
For some reason struts decides to put my form into the session scope
Container specific error. Sorry.
Nils
-Original Message-
From: Nils Liebelt [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 25, 2005 4:38 PM
To: user@struts.apache.org
Subject: Form in wrong scope
Hi everybody,
For some reason struts decides to put my form into the session scope
Hi everybody,
For some reason struts decides to put my form into the session scope instead
of the specified request scope. When does this happen? I am using a
DispatchAction to prepare the view and a LookupDispatch to save forms.
Regards,
Nils
--
Hi everybody,
For some reason struts decides to put my form into the session scope instead
of the specified request scope. When does this happen? I am using a
DispatchAction to prepare the view and a LookupDispatch to save forms.
Regards,
Nils
--
63 matches
Mail list logo