Problem with defining dynamical structurs with tiles

2006-03-26 Thread Peter Neu
Hello, I got this scenario where I have a basic layout (header, nav-bar, body, info, footer). What I need to do is insert dynamically a tiles compenent in a jsp document a few levels lower than the main document. The main document is siteLayout.jsp the body is entry.jsp. How can I insert in ent

User Restriction in a web application?

2006-03-26 Thread Julian Tillmann
Hi, I'd like to implement the following: In a web application a function should only be used by ONE user and if another user comes along it should show him the first user's name and give him the choice whether to kick the first user out or not. Is there perhaps something like that in Java?

Re: xslt

2006-03-26 Thread Hey Nony Moose
Morten Andersen wrote: > I've developed a struts based application that uses XSLT intensively > on the server side. I would like to move some of these transformations > to the client side. > ... etc ... > How do you use XSL in your struts apps. I heard one tech lead knock XSL on the head for inc

Using Tiles for a Menu Layout

2006-03-26 Thread Oswaldo Hernandez
I'm setting upd the development enviroment for a new Struts web app. I've sketched the page layout for all pages as follows. - Header - - Menu - - Content - - Fo

Re: Get all messages

2006-03-26 Thread Martin Gainty
Roberto Why not just retain the 2nd (message) parameter for your ActionErrors in some sort of variable to be references in getMessage accessor later on? Anyone else ? Saludos! Martin- - Original Message - From: "Roberto Lima Jr" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent

Re: xslt

2006-03-26 Thread Jonathan Revusky
Morten Andersen wrote: I've developed a struts based application that uses XSLT intensively on the server side. I would like to move some of these transformations to the client side. Well, here's a shameless plug, but if your primary problem with XSLT is the performance, you might have a look

Check if a message exists

2006-03-26 Thread Roberto Lima Jr
Hi, evereyone, I need to check if a message was specified in my application.properties before create an ActionError whith this error. Example: if (hasMessage("error.text.required")) { message = new ActionMessage("error.text.required"); }else { message = new ActionMessage("error.default.me

Re: HashMap with

2006-03-26 Thread Mark Lowe
On 3/26/06, Ahmed Hashim <[EMAIL PROTECTED]> wrote: > Thanks Mark, > I tried it and it is working fine with Valid XHTML output, It is the best > solution I have till now. > But I hope that I can make it using Struts Tags if anyone know. I dont think there is, the handy thing with jstl is the way t

Get all messages

2006-03-26 Thread Roberto Lima Jr
Hi, evereyone, I need to check if a message was specified in my application.properties before create an ActionError whith this error. Example: if (hasMessage("error.text.required")) { message = new ActionMessage("error.text.required"); }else { message = new ActionMessage("error.default.

Re: HashMap with

2006-03-26 Thread Ahmed Hashim
Thanks Mark, I tried it and it is working fine with Valid XHTML output, It is the best solution I have till now. But I hope that I can make it using Struts Tags if anyone know. Thanks. On 3/26/06, Mark Lowe <[EMAIL PROTECTED]> wrote: > > On 3/26/06, Ahmed Hashim <[EMAIL PROTECTED]> wrote: > > De

Re: HashMap with

2006-03-26 Thread Mark Lowe
On 3/26/06, Ahmed Hashim <[EMAIL PROTECTED]> wrote: > Dear All, > > <% > java.util.HashMap rawSourceMap=new java.util.HashMap(); > rawSourceMap.put("id", "123"); > rawSourceMap.put("name", "ahmed"); > pageContext.setAttribute("ourrefLink",rawSourceMap); > %> > > > > > > I want to

HashMap with

2006-03-26 Thread Ahmed Hashim
Dear All, <% java.util.HashMap rawSourceMap=new java.util.HashMap(); rawSourceMap.put("id", "123"); rawSourceMap.put("name", "ahmed"); pageContext.setAttribute("ourrefLink",rawSourceMap); %> I want to replace the scriptlet with a tag but I don't know how will i add the values

Re: Struts Tutorial

2006-03-26 Thread Ted Husted
If you go to * http://www.java201.com/ and search for "filters", you will fid several articles. -Ted. On 3/26/06, chuanjiang lo <[EMAIL PROTECTED]> wrote: > i'm also rather new here and im interested to know how to apply filters to > the web application... > > is there any useful guides around

Re: Struts Tutorial

2006-03-26 Thread chuanjiang lo
i'm also rather new here and im interested to know how to apply filters to the web application... is there any useful guides around too? thanks On 3/26/06, Dave Newton <[EMAIL PROTECTED]> wrote: > > Dakota Jack wrote: > > If you are smart, go elsewhere where things are not this nuts. > > > > *po

Re: Why did Struts development stagnate?

2006-03-26 Thread Jonathan Revusky
Dakota Jack wrote: Unless you had different logic books in school than I did, Craig, "including" does not mean "excluding all else". I am here to communicate with other developers that are using STruts for their own applications and part of that is the concern about how the development process h

Re: Why did Struts development stagnate?

2006-03-26 Thread Jonathan Revusky
Craig McClanahan wrote: On 3/25/06, Jonathan Revusky <[EMAIL PROTECTED]> wrote: Craig McClanahan wrote: On 3/25/06, Jonathan Revusky <[EMAIL PROTECTED]> wrote: The question is, at the very least, broadly on-topic. This interpretation is wildly out of sync with the formal description of