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
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
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
, 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 into application
Hi all,
Let's say I got a typical tile main layout definition:
definition name=.mainLayout path=/common/mainLayout.jsp
put name=header value=/common/header.jsp /
put name=content value=sample type=string/
put name=footer value=/common/footer.jsp /
/definition
Now
Hi all,
Let's say I got a typical tile main layout definition:
definition name=.mainLayout path=/common/mainLayout.jsp
put name=header value=/common/header.jsp /
put name=content value=sample type=string/
put name=footer value=/common/footer.jsp /
/definition
Now
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
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
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
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
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
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
Hi all,
is that possible?
GreetZ
Nils
Hi all,
is that possible?
GreetZ
Nils
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
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
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 Mailing
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-
From: Nils Liebelt
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-
From: Nils Liebelt
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
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
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
();
servletContext.setAttribute(applicationBean,
applicationBean);
}
public void contextDestroyed(ServletContextEvent arg0) {
servletContext = arg0.getServletContext();
servletContext.removeAttribute(applicationBean);
}
}
HTH,
Glenn
Nils Liebelt [EMAIL
();
servletContext.removeAttribute(applicationBean);
}
}
HTH,
Glenn
Nils Liebelt [EMAIL PROTECTED]
10/05/2005 10:41 AM
Please respond to
Struts Users Mailing List user@struts.apache.org
To
'Struts Users Mailing List' user@struts.apache.org
cc
[EMAIL PROTECTED]
Subject
();
servletContext.removeAttribute(applicationBean);
}
}
HTH,
Glenn
Nils Liebelt [EMAIL PROTECTED]
10/05/2005 10:41 AM
Please respond to
Struts Users Mailing List user@struts.apache.org
To
'Struts Users Mailing List' user@struts.apache.org
cc
[EMAIL PROTECTED]
Subject
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
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
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
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
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
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 xdoclet tags for the mapping
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 xdoclet tags for the mapping
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
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
Hey everybody,
Just want to validate a two field match using validwhen:
field property=newPass1 depends=required,validwhen
arg0 key=prompt.newPass/
var
var-namesomething/var-name
var-value(*this* == newPass2)/var-value
/var
Hey everybody,
Just want to validate a two field match using validwhen:
field property=newPass1 depends=required,validwhen
arg0 key=prompt.newPass/
var
var-namesomething/var-name
var-value(*this* == newPass2)/var-value
/var
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 validwhen:
field property
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 validwhen:
field property
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:
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:
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
special tags for whatever you need.
Path
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
special tags for whatever you need.
Path
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);
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);
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: 'Struts Users
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx
- Original Message -
From: Nils Liebelt [EMAIL PROTECTED]
To: 'Struts Users Mailing List' user@struts.apache.org
Sent: Tuesday, February 01, 2005 8:30 AM
Subject: RE: Tiles is hiding my jsp error messages
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx
- Original Message -
From: Nils Liebelt [EMAIL PROTECTED]
To: 'Struts Users Mailing List' user@struts.apache.org
Sent: Tuesday, February 01, 2005 8:30 AM
Subject: RE: Tiles is hiding my jsp error messages
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?
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
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
56 matches
Mail list logo