RE: Problem with struts-workflow distribution (0.9.2)

2002-11-26 Thread ROSSEL Olivier
PROTECTED]] Date: mardi 26 novembre 2002 17:21 À: ROSSEL Olivier Cc: Struts Users Mailing List Objet: Re: Problem with struts-workflow distribution (0.9.2) Olivier, I guess you mean you are trying to build a war of the struts-workflow test application. Please refer to http

Managing a workflow with Struts-workflow.

2002-11-26 Thread ROSSEL Olivier
I want to have a workflow which is MainPage.do - FirstStep.do - SecondStep.do - ThirdStep.do - Result.do - MainPage.do (1.jsp) (2.jsp) (3.jsp) where each step is supposed to fill one part of a big ActionForm. I think each Step will test if the part of

JSTL in Struts.

2002-11-21 Thread ROSSEL Olivier
I wish to use JSTL taglib in my project (Struts 1.1b2). I have read on the mailing-list that latest versions of Struts contain Struts-EL. I understood that this Struts-EL is an implementation of JSTL. But it requires the nightly builds. It seems that Sun and Jakarta Taglibs also provide JSTL.

RE: JSTL in Struts.

2002-11-21 Thread ROSSEL Olivier
The Struts-EL supports EL just like JSTL. But the Struts-EL project is all the Struts custom tags you're used to, less functionality covered by tags in the JSTL. In essence, it forces developers to use the JSTL for certain functionality instead of relying on the Struts tags. This

RE: Can logic:redirect been used in Tiles JSP files?

2002-11-20 Thread ROSSEL Olivier
You normally can't do a redirect once the response is committed. If you use Tiles, the response is usually committed when you insert a Tile ... So, you should avoid using redirect with Tiles, or any other include mechanism. My vision: redirection should be managed through an action.

RE: what book/tutorial helped the most

2002-11-20 Thread ROSSEL Olivier
I have been using the O'reilly preview of this book. Very nice. But a bit short on certain subjects. Several articles around the web were very useful. So the O'reilly book + Google were perfect to me (I began one week ago, I am still a newbie, but happy newbie :-) I hope the book of Mr Husted

An action forcing Reload on the client?

2002-11-20 Thread ROSSEL Olivier
An action can either forward or redirect. Can it force the browser to reload its current URL? ---cut here--- This e-mail is intended only for the above addressee. It may contain privileged information. If you are not the addressee you must not copy, distribute, disclose or use any of the

RE: An action forcing Reload on the client?

2002-11-20 Thread ROSSEL Olivier
You'd have to use a META tag to do a refresh for that. ROSSEL Olivier wrote: An action can either forward or redirect. Can it force the browser to reload its current URL? Well, you missed my question. A JSP (let's call it ???.jsp) has a link to an action. When clicked, the action makes

Opening a popup from a html:link

2002-11-19 Thread ROSSEL Olivier
I have a Logout link (for the moment it is a html:link). Whern clicked, I would like to open a pop-up to ask the user to confirm the logout. What's the correct way to do that? May be, I should manage all that with standard script and a tags. But in that case, I will have to give a relative path

Calling a JSP from a tile.

2002-11-19 Thread ROSSEL Olivier
A JSP usually have a html:html main tag. This tag is supposed (mainly) to provide a html tag in the output. But if you call this JSP from a tile, you get an html tag in the middle of your tile. Of course you do not want that. Can the tag html:html check if a html has already been opened, and

Question about a Struts design pattern

2002-11-18 Thread ROSSEL Olivier
My application is made with tiles. As is: --- |T | L | --- | | | C | | | | | --- T: Title L: Login form C: Content The URL for this

Getting the contextRealm from an action?

2002-11-18 Thread ROSSEL Olivier
How can I get an action to check a session object LoggingUser against the context Realm (let's say the MemoryRealm in Tomcat)? To check that the user/pass is in the list, or to get the role of an already logged user? Precisely, how can I get the Realm from inside an action? Is it a portable

Tiles referencing actions.

2002-11-15 Thread ROSSEL Olivier
I have made an action LoginState that redirects either to IsLogged.jsp if a user has logged in my application, or to IsNotLogged.jsp if the user is a guest. Now I would like to use tiles for my applciation and provide in the upper right part of my pages, the output of this LoginState. I have

RE: Tiles referencing actions.

2002-11-15 Thread ROSSEL Olivier
But when I want to tiles:put the output of the LoginState action into the loginBox : tiles:insert page=/pages/MainLayout.jsp flush=true tiles:put name=title value=/pages/Title.jsp/ tiles:put name=loginBox value=/LoginState.do/ /tiles:insert , nothing appears. My question: is it

<    1   2