Re: Why did Struts development stagnate?

2006-03-29 Thread Graham Reeds
IIRC there was a list that Craig produced around the time the merger was announced of why they were merging and things that in hindsight were probably a bad idea (though seemed right at the time). If you do a search for Craig's many posts you might come up trumps with the list. Think of it t

Re: [FRIDAY] You might be a Wally if ...

2006-01-22 Thread Graham Reeds
...you start a [FRIDAY] thread on comp.jakarta.struts.user. G. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: new website look

2005-10-23 Thread Graham Reeds
Michael Jouravlev wrote: Left column is resizable with some weird width persentage. ApacheCon ad does not resize, and sticks out. Background is not set, too. On 10/22/05, Adam Hardy <[EMAIL PROTECTED]> wrote: Hi All, nice new fresh looking website. Is that the maven-generated one? Can conf

Re: AW: database design

2005-10-04 Thread Graham Reeds
R. Markham wrote: Depends how much you want to pay. As far as I know TOAD or Power Designer are the best. IIRC TOAD is Oracle only. G. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTE

Re: database design

2005-10-03 Thread Graham Reeds
Rafael Taboada wrote: Hi folks. When u design a database... What soft do u use?? What's the best?? I use Embarcadero E/R... Is there any program better than embarcadero? -- Rafael Taboada Software Engineer Cell : +511-97753290 "No creo en el destino pues no me gusta tener la idea de controlar

Re: Action mapping to a Tile

2005-09-30 Thread Graham Reeds
On a related theme... Is it possible to set it up so the application automatically starts with a page from the tile-def.xml bypassing jsp's entirely... I suppose you could do a forward from within index.jsp but why waste processor power:-) G. ---

Re: Action mapping to a Tile

2005-09-30 Thread Graham Reeds
Van wrote: On 9/30/05, Graham Reeds <[EMAIL PROTECTED]> wrote: Now with the above changes and I also read that tiles have a convention of prefixing period (.) so that has been changed I still get a 404 but with the new error message of "Invalid path /Tester was requested" s

Re: Action mapping to a Tile

2005-09-30 Thread Graham Reeds
Your webapp is under 'test'? (Just for completeness of info.) Yes it is. Now with the above changes and I also read that tiles have a convention of prefixing period (.) so that has been changed I still get a 404 but with the new error message of "Invalid path /Tester was requested" struts-c

Re: Action mapping to a Tile

2005-09-30 Thread Graham Reeds
Dave Newton wrote: Graham Reeds wrote: In my struts-config.xml I have a forward mapped: path="pages/Tester" forward="Test.page" /> What happens if you put a leading "/" in the path? Dave Still get the 404 error message. I'm not having a lot of lu

Re: Action mapping to a Tile

2005-09-30 Thread Graham Reeds
[EMAIL PROTECTED] wrote: just out of curiosity, did you mean to write Test No, the lack of .do is deliberate. Using do denotes an actual form action whereas I just want the activation of a generated page by tiles. I suppose I could call it "pages/Tester.tile". This way I can keep all my t

Re: Action mapping to a Tile

2005-09-30 Thread Graham Reeds
Greg Reddin wrote: Are you using the TilesRequestProcessor? In struts-config.xml: Also make sure the Tiles Plugin is configured: Yes. They are the exact carbon copies of mine. I used the default struts-blank.war as my starting point for my testi

Action mapping to a Tile

2005-09-30 Thread Graham Reeds
r the page test/pages/Tester I thought it might be that the application hasn't been updated so I stopped and restarted Tomcat and that had no effect - still 404's. Anything else I need to check? Thanks Graham Reeds. --

Re: More Tiles and Definitions problems

2005-09-29 Thread Graham Reeds
so the attributes are propagated to jsp's defined as attributes for 1.3x? Also anything else to watch out for in a similar vein? In order to do what you want you have to define your tiles as: ...snip... Hope this helps.

More Tiles and Definitions problems

2005-09-28 Thread Graham Reeds
displays the _header.jsp and _footer.jsp tiles but does not give the new title, leaving it blank. If I remove the ignore="true" attribute from the getAsString tag then it renders nothing. Why doesn't the title get picked up? Thanks, Graham Reeds -

Re: How to make work in Tiles?

2005-09-27 Thread Graham Reeds
梁炳場 wrote: In the header.jsp, I try to add something like "About Us", "Contact Us". Make them align to the right. But it does not work. I spread across the header section. I do this in the header.jsp (and use classLayout.jsp). ... How can I make it work? Thnx I guess you did

Re: Tiles and tile definitions

2005-09-24 Thread Graham Reeds
Remove the dots, leave the slash: path="/_common/..." I had tried that but the page is blank. I found the problem eventually. _header.jsp has a getAsString used for the username and I hadn't given any text because I had forgotten about it. Thanks for your tim

Re: Tiles and tile definitions

2005-09-24 Thread Graham Reeds
Greg Reddin wrote: On Sep 23, 2005, at 9:17 PM, Graham Reeds wrote: Now nothing appears when I try to open Test.jsp from a page that has uses the method I'm not quite following what you mean there. Are you saying you have a page with the following? and you expect Test.j

Tiles and tile definitions

2005-09-23 Thread Graham Reeds
I am having a problem with the tile definitions and the paths contain therein. My dev directory is setup: web \ + WEB-INF \ | \ tiles-def.xml + _common \ | + layouts \ | \ mainLayout.jsp | + tiles \ |

Re: [OT] CSS site/forum ?

2005-03-13 Thread Graham Reeds
Sorry about the delay between your last and this post - been away from the list for a few days. The first thing I have in my CSS files is * { margin: 0; padding: 0; } just to make sure we are on a (fairly) level playing field. Hopefully IE7's CSS support will be so similar to the standard tha

Re: Handle images path in one place

2005-02-21 Thread Graham Reeds
Neil Aggarwal wrote: Graham: I don't like depending on JavaScript for this. I think your modification to html:base would be perfect. I have voted for it. Thanks. G. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional command

Re: Handle images path in one place

2005-02-14 Thread Graham Reeds
I do this in a different way to everyone else:-) I use this piece of JavaScript in the of every jsp file: if (window.location.href.indexOf("localhost") >= 1) { document.write('http://localhost/mysite/"; />'); } else { document.write('http://www.mysite.com/"; />'); } Which writes in the tag for th

Re: Struts In Action - Still up to date?

2005-02-14 Thread Graham Reeds
Funny you should mention this...Nick Heudecker (Hibernate Quickly) and I have just agreed to write Struts in Action, 2nd Edition which will target 1.2 and 1.3 as appropriate. Our goal is to bring the trusted tome up to date, and include more practical solutions to common problems that arise on thi

Re: Struts Studio

2005-02-12 Thread Graham Reeds
Build everything yourself once, and then after that use someone elses. That way, you know everything that goes into making one work and reasons why things work the way they do, and then use somebody elses because theirs have had more time to developer and will be have beaten upon more than yours

Re: Request for changes [Was: Re: Struts 1.2.6 release??]

2005-02-07 Thread Graham Reeds
Graham Reeds wrote: Niall Pemberton wrote: http://www.mail-archive.com/dev@struts.apache.org/msg05862.html From memory, version 1.2.6 was left at beta mainly because there were new attributes added to the "core" tags which hadn't also been included in the "EL" flavour ta

Request for changes [Was: Re: Struts 1.2.6 release??]

2005-02-07 Thread Graham Reeds
Niall Pemberton wrote: http://www.mail-archive.com/dev@struts.apache.org/msg05862.html From memory, version 1.2.6 was left at beta mainly because there were new attributes added to the "core" tags which hadn't also been included in the "EL" flavour tags. The plan currently is to have a 1.2.7 versio

problems

2005-02-04 Thread Graham Reeds
. Any idea why this was set so and if there is any other way of getting around this limitation or do I have to still use my JScript to set this for me? Thanks, Graham Reeds. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additio

Re: Struts, XHTML, DOCTYPES, and EL (several newbie questions)

2005-01-29 Thread Graham Reeds
I have another question. I seem to only get the JavaDoc help for Struts in the source of JSP files where I have the reference to the tag's via an <[EMAIL PROTECTED] ...%> scriplet. In Java I receive the error "JavaDoc not installed" from Netbeans so I was wondering where the docs folder for

Re: [OT] Advertising website

2005-01-28 Thread Graham Reeds
Print it on your forehead and walk around the mall. There's people on E-Bay that will do it for you too! Get a family to name their new-born child after it? G. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-

Struts, XHTML, DOCTYPES, and EL (several newbie questions)

2005-01-27 Thread Graham Reeds
ave any description of what the tags do. Where is this information locally or should I download the src to get the documentation? I'd rather have a local copy than use the public one on sao/api/. Thanks for your time, Graham Reeds. ---