Front controller

2005-06-23 Thread Nils Liebelt
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

RE: Howto put current users into the application context?

2005-06-08 Thread Nils Liebelt
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

RE: Howto put current users into the application context?

2005-06-08 Thread Nils Liebelt
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

Howto put current users into the application context?

2005-06-08 Thread Nils Liebelt
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

Howto put current users into the application context?

2005-06-08 Thread Nils Liebelt
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

RE: how do I switch off Struts - internal logging?

2005-06-06 Thread Nils Liebelt
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

RE: how do I switch off Struts - internal logging?

2005-06-06 Thread Nils Liebelt
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

Tiles: Howto nest attributes! Is it possible?

2005-06-06 Thread Nils Liebelt
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

Tiles: Howto nest attributes! Is it possible?

2005-06-06 Thread Nils Liebelt
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

RE: Newbie Question : Session Management without cookies

2005-05-27 Thread Nils Liebelt
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

RE: Newbie Question : Session Management without cookies

2005-05-27 Thread Nils Liebelt
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

Nesting business beans inside form beans

2005-05-27 Thread Nils Liebelt
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

Nesting business beans inside form beans

2005-05-27 Thread Nils Liebelt
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

How to convert line breaks to using bean:write

2005-05-26 Thread Nils Liebelt
Hi all, is that possible? GreetZ Nils

How to convert line breaks to using bean:write

2005-05-26 Thread Nils Liebelt
Hi all, is that possible? GreetZ Nils

RE: Populating growing List

2005-05-23 Thread Nils Liebelt
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

RE: Populating growing List

2005-05-23 Thread Nils Liebelt
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

RE: Populating growing List

2005-05-23 Thread Nils Liebelt
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

RE: Populating growing List

2005-05-23 Thread Nils Liebelt
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

Populating growing List

2005-05-23 Thread Nils Liebelt
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

Populating growing List

2005-05-23 Thread Nils Liebelt
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

Creating/Editing of business objects :: Best practise

2005-05-13 Thread 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 busi

Creating/Editing of business objects :: Best practise

2005-05-13 Thread 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 busi

RE: Global scope

2005-05-10 Thread Nils Liebelt
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'

RE: Global scope

2005-05-10 Thread Nils Liebelt
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'

RE: Global scope

2005-05-10 Thread Nils Liebelt
(); servletContext.setAttribute("applicationBean", applicationBean); } public void contextDestroyed(ServletContextEvent arg0) { servletContext = arg0.getServletContext(); servletContext.removeAttribute("applicationBean"); } } HTH, Glenn &q

RE: Global scope

2005-05-10 Thread Nils Liebelt
(); servletContext.setAttribute("applicationBean", applicationBean); } public void contextDestroyed(ServletContextEvent arg0) { servletContext = arg0.getServletContext(); servletContext.removeAttribute("applicationBean"); } } HTH, Glenn &q

Global scope

2005-05-10 Thread Nils Liebelt
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

Global scope

2005-05-10 Thread Nils Liebelt
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

[OT] xdoclet actionforms

2005-04-21 Thread Nils Liebelt
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

[OT] xdoclet actionforms

2005-04-21 Thread Nils Liebelt
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

Displaying data :: Best practise

2005-04-19 Thread Nils Liebelt
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

Displaying data :: Best practise

2005-04-19 Thread Nils Liebelt
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

RE: Struts DB Access :: Best Practices

2005-03-10 Thread Nils Liebelt
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

RE: Struts DB Access :: Best Practices

2005-03-10 Thread Nils Liebelt
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

RE: Struts DB Access :: Best Practices

2005-03-10 Thread Nils Liebelt
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

RE: Struts DB Access :: Best Practices

2005-03-10 Thread Nils Liebelt
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

RE: Hibernate Struts Example

2005-03-08 Thread Nils Liebelt
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

RE: Hibernate Struts Example

2005-03-08 Thread Nils Liebelt
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

RE: Validwhen confusion? Using Struts 1.2.4

2005-02-24 Thread Nils Liebelt
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

RE: Validwhen confusion? Using Struts 1.2.4

2005-02-24 Thread Nils Liebelt
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 confusion?

2005-02-24 Thread Nils Liebelt
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

Validwhen confusion?

2005-02-24 Thread Nils Liebelt
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

RE: Construting HTML Email from Struts

2005-02-15 Thread Nils Liebelt
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

RE: Construting HTML Email from Struts

2005-02-15 Thread Nils Liebelt
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

RE: Construting HTML Email from Struts

2005-02-15 Thread Nils Liebelt
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

RE: Construting HTML Email from Struts

2005-02-15 Thread Nils Liebelt
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

Use of Message Resource/Factory

2005-02-14 Thread Nils Liebelt
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

Use of Message Resource/Factory

2005-02-14 Thread Nils Liebelt
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

RE: Tiles is hiding my jsp error messages?!

2005-02-01 Thread Nils Liebelt
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

RE: Tiles is hiding my jsp error messages?!

2005-02-01 Thread Nils Liebelt
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

RE: Tiles is hiding my jsp error messages?!

2005-02-01 Thread Nils Liebelt
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

RE: Tiles is hiding my jsp error messages?!

2005-02-01 Thread Nils Liebelt
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

Tiles is hiding my jsp error messages?!

2005-02-01 Thread Nils Liebelt
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

Tiles is hiding my jsp error messages?!

2005-02-01 Thread Nils Liebelt
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

LookupDispatch with ??

2005-01-29 Thread Nils Liebelt
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 --

LookupDispatch with ??

2005-01-29 Thread Nils Liebelt
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 --

Can you stretch a form over several tabs with tile tabs layout?

2005-01-27 Thread Nils Liebelt
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?

Can you stretch a form over several tabs with tile tabs layout?

2005-01-27 Thread Nils Liebelt
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?

RE: Form in wrong scope

2005-01-25 Thread Nils Liebelt
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

RE: Form in wrong scope

2005-01-25 Thread Nils Liebelt
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

Form in wrong scope

2005-01-25 Thread Nils Liebelt
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 --

Form in wrong scope

2005-01-25 Thread Nils Liebelt
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 --