Re: [Stripes-users] stripes:hidden

2010-07-29 Thread Nikolaos Giannopoulos
Aaron, Unfortunately frameworks are ideally all about good design and best practices... and yes are dogmatic by their very existence... a little ironic isn't it... in fact I wouldn't be surprised if Stripes was implemented this way deliberately to force avoiding bad practices... but can't be

Re: [Stripes-users] DisplayTag and Stripes formatPattern

2010-07-29 Thread Freddy Daoud
Hi Lev, along those lines, is there a way to add formatting to the 'title' within a s:layout-render tag? for example: s:layout-render name=/WEB-INF/jsp/common/layout_main.jsp title=Matchups -- ${actionBean.date} is there a way for me add a formatPattern to

Re: [Stripes-users] stripes:hidden

2010-07-29 Thread Aaron Stromas
Nikolaos, Let me get back on topic by rephrasing my original question: why the value of the value attribute disappears from the generated HTML? Documentation states that, if present, the value attribute provides A default value for the form field. Can be a literal value, or an EL

Re: [Stripes-users] stripes:hidden

2010-07-29 Thread M.C.S.
Hi Aaron, Am 29.07.2010 12:50, schrieb Aaron Stromas: Let me get back on topic by rephrasing my original question: why the value of the value attribute disappears from the generated HTML? Documentation states that, if present, the value attribute provides A default value for the

Re: [Stripes-users] stripes:hidden

2010-07-29 Thread Aaron Strmas
Yes, absolutely. Thank you, Marcus. -a On Jul 29, 2010, at 8:56, M.C.S. m...@syn-online.de wrote: Hi Aaron, Am 29.07.2010 12:50, schrieb Aaron Stromas: Let me get back on topic by rephrasing my original question: why the value of the value attribute disappears from the generated HTML?

[Stripes-users] stripes layout

2010-07-29 Thread spliffy
Hi, I'm using the stripes layout manager. included in my 'header.jsp' is a nav bar. I'm looking for an elegant way to highlight the currently selected page in the nav bar. The best I 've come up with so far is to pass a 'pageSelected' parameter in my pages, like so: stripes:layout-render

Re: [Stripes-users] stripes layout

2010-07-29 Thread Oscar Westra van Holthe - Kind
On 29-07-2010 at 06:26, spliffy wrote: I'm using the stripes layout manager. included in my 'header.jsp' is a nav bar. I'm looking for an elegant way to highlight the currently selected page in the nav bar. The best I 've come up with so far is to pass a 'pageSelected' parameter in my pages,

Re: [Stripes-users] stripes layout

2010-07-29 Thread spliffy
I've made it a bit more concise by using just EL instead of c:if tag in my menu, for example :- code about.jsp About Us /code It seems ok I suppose. anything better would be appreciated. Ta. -- View this message in context: http://old.nabble.com/stripes-layout-tp29296412p29296569.html Sent

Re: [Stripes-users] stripes layout

2010-07-29 Thread ChopperHarris
Hi, The truth is that there isn't a 'for-free' solution, but you can come up with something moderately elegant if you think about it. The first thing I did was to write a simple JSP function that replaces the ternary operator in JSP el - nothing wrong with that, it just takes a lot of typing

Re: [Stripes-users] DisplayTag and Stripes formatPattern

2010-07-29 Thread Lev
thank you! On Thu, Jul 29, 2010 at 5:14 AM, Freddy Daoud xf2...@fastmail.fm wrote: Hi Lev, along those lines, is there a way to add formatting to the 'title' within a s:layout-render tag? for example: s:layout-render name=/WEB-INF/jsp/common/layout_main.jsp                  title=Matchups