[LAZY] I could research this, but crunched for time... using different messages?

2008-02-15 Thread Rick Reumann
Struts 1.1.. How would I display validation messages different than other standard messages that I want to display? I'm using a common messages header, but I'd like to modify it so that I could display errors differently. It probably has to do with how I'm saving messages... For example for

Re: worth spending time in sitemesh?

2008-01-10 Thread Rick Reumann
I prefer Tiles to Sitemesh. Sitemesh is easier to use (at least easier than Tiles1, haven't tried Tiles2 yet). The reason I like Tiles better is for performance. Sitemesh buffers the entire before it can output the content. This chews up a lot of memory on large pages. For smaller pages, the

Re: learning struts/spring?

2008-01-08 Thread Rick Reumann
On Jan 7, 2008 9:15 PM, mah bub [EMAIL PROTECTED] wrote: is there any nice tutorial which covers the basic with step by step examples so that i can catch up. I have several step by step Struts lessons here: http://www.learntechnology.net Most are for Struts1 but someone provided some

Old skool hopefully simple question - Tiles1 and nesting??

2008-01-08 Thread Rick Reumann
Ok, I'm stuck using some old technologies here. Been googling around for this but still seemed stumped. All I want to do is to be able to extend a base tile definition that uses a JSP for main layout, and then create a sublayout definition that can be extended by other page definitions. Basically

Re: Type conversion with Generics

2008-01-08 Thread Rick Reumann
At least in Struts1.1, If I'm not mistaken, you aren't going to be able to use indexed properties like you are to set items in a Set. If you use Lists it would be much easier to accomplish the nested collection population. On Jan 8, 2008 1:02 PM, jvleminc [EMAIL PROTECTED] wrote: Hello, I am

Re: Type conversion with Generics

2008-01-08 Thread Rick Reumann
I'm assuming you can't change them because someone else created them? There are still ways you can deal with the beans with sets.. 1) Wrap them using the Adapter pattern. However if they are already coming back nested and you can used the adapters/wrappers in the business layer you could also.. 2)

Re: Type conversion with Generics

2008-01-08 Thread Rick Reumann
Yup Maps will work also. On Jan 8, 2008 1:57 PM, Dave Newton [EMAIL PROTECTED] wrote: I've never used Sets, only Maps, which definitely work... As a sanity check perhaps you could try using a Map. I know you can get a Set view of a Map, so perhaps this is an alternative solution (I'm not so

Re: JSON and ExtJS

2007-12-20 Thread Rick Reumann
I use it with Struts1.. not sure why it would be that much different. On Dec 20, 2007 9:54 AM, Frans Thamura [EMAIL PROTECTED] wrote: anyone work with JSON @ Struts2 and ExtJS integration F -- Rick - To unsubscribe,

Re: JSON and ExtJS

2007-12-20 Thread Rick Reumann
On Dec 20, 2007 9:57 AM, Marcin Zduniak [EMAIL PROTECTED] wrote: Could you be more precise ? I am working on project that employs all of mentioned technologies. Well by precise, I mean I use Struts, I return JSON from my Actions and then use that JSON form y Extjs components. Once your JSON is

Re: JSON and ExtJS

2007-12-20 Thread Rick Reumann
Oops:) I just realized I replied to someone replying to the OP. Sorry Marcin:) On Dec 20, 2007 10:04 AM, Rick Reumann [EMAIL PROTECTED] wrote: On Dec 20, 2007 9:57 AM, Marcin Zduniak [EMAIL PROTECTED] wrote: Could you be more precise ? I am working on project that employs all of mentioned

Re: JSON and ExtJS

2007-12-20 Thread Rick Reumann
On Dec 20, 2007 10:54 AM, Martin Gainty [EMAIL PROTECTED] wrote: JavaDoc mentions that shallow serialization will take place with the include being arbiter of which collection classes may be serialized.. hibernate has a similar situation where lazy_init=true but I can request hibernate to

Way to use Request scope for the following Questionnaire (using a DynaBean)?

2007-12-07 Thread Rick Reumann
Hopefully this won't sound too confusing. I'm leaving out a few details to try to get right to the heart of the issue...(Struts 1.3) I have an ActionForm that has a DynaBean that holds answers. Imagine a case where you have various surveys (templates) at different points in time thus the

Re: zoning out on some basic LazyDynaMap usage for a text field property?

2007-12-02 Thread Rick Reumann
using lazy inside a standard ActionForm, the ones that I have work inside of a DynaValidatorActionFom (say that 3 times fast). Don't feel like writing a reset method? you are getting old Rick. On Nov 30, 2007 7:17 PM, Rick Reumann [EMAIL PROTECTED] wrote: I swore I used to be able

Re: zoning out on some basic LazyDynaMap usage for a text field property?

2007-11-30 Thread Rick Reumann
On Nov 30, 2007 8:57 PM, Vinny [EMAIL PROTECTED] wrote: Hmm, I've never tried using lazy inside a standard ActionForm, the ones that I have work inside of a DynaValidatorActionFom (say that 3 times fast). Don't feel like writing a reset method? Unless I'm missing something, the reset

zoning out on some basic LazyDynaMap usage for a text field property?

2007-11-30 Thread Rick Reumann
I swore I used to be able to do this stuff... maybe it's Friday thing, but regardless I'm blanking on out on what I'm doing wrong with this... I have an ActionForm that has one property right now: private LazyDynaBean dynaBean = new LazyDynaMap(); My goal is to be able to populate this

Re: Download .zip of Struts 2 CRUD Example

2007-11-26 Thread Rick Reumann
On Nov 25, 2007 9:17 PM, hezjing [EMAIL PROTECTED] wrote: Hi Where can I download the .zip of the Struts 2 CRUD Example? See http://struts.apache.org/2.x/docs/crud-demo-i.html This is a different Struts2 CRUD one that Andy Ma created that I just put up last night...,

[OT] Anyone familiar with BEA weblogic 8.1 that might be able to help me understand why every request is giving me a new Session (fine on Tomcat4?

2007-10-08 Thread Rick Reumann
Yes, I know the wrong list, but been googling with not much luck - didn't feel like spending the time yet to join some bea list until I asked some of you geniuses first: Ultimately I have to run this app on an old server bea weblogic 8.1 on java4, so for prototyping I've started out using Tomcat4

Defining a controller for Tiles?.. and shouldn't we include a Tiles example app in the release?

2007-10-05 Thread Rick Reumann
I'm working on using IDEA for a Struts1.3 project and IDEA was complaining about my Tiles definition that I had declared: plug-in className=org.apache.struts.tiles.TilesPlugin set-property property=definitions-config value=/WEB-INF/tiles-definitions.xml / set-property

Re: Defining a controller for Tiles?.. and shouldn't we include a Tiles example app in the release?

2007-10-05 Thread Rick Reumann
On 10/5/07, Antonio Petrelli [EMAIL PROTECTED] wrote: Volunteering to do something that is already outdated, and that will be removed in favour of Tiles 2? I think it's a waste of time IMHO, also because in Struts 1.4 there will be support for Tiles 2. Cool. I didn't even know there was

Re: Inheritance within form beans

2007-10-03 Thread Rick Reumann
On 10/2/07, Kothari, Kailash [EMAIL PROTECTED] wrote: Thaks Rick. This will give me an instance of the parent bean OR the child bean. What I need is a child bean pre populated with data from the parent bean. Ok, so just get ParentBean and then populate your subclassed bean... public

Re: Accessing a row in a table on a JSP page.

2007-10-03 Thread Rick Reumann
On 10/2/07, JohnLangan [EMAIL PROTECTED] wrote: I call the database and create an ArrayList of beans to hold the data. Using JSTL I iterate over the list to display the data in an html table inside a form in a JSP page. c:set var=dataItems value=${lmdao.listingManagerData} / c:forEach

Re: Struts Application is not working

2007-10-03 Thread Rick Reumann
There are a ton of things that can cause the obscure error you are witnessing. You have to make sure the doctype definitions are correct as well for web.xml and struts-config. I'd start with a working example web.xml and struts-config (maybe the example app struts comes with - and then start

Re: [OT] Ajax recommendations for use with Struts1.1

2007-10-03 Thread Rick Reumann
On 10/3/07, Ted Husted [EMAIL PROTECTED] wrote: Just to chime in late ... an Ajax library that does well the sort of things Frank is describing is the Yahoo User Interface (YUI) Library. Reading the source for the YUI library is an absolute pleasure! Thanks Ted, I'll have to check that out.

Re: [OT] Ajax recommendations for use with Struts1.1

2007-10-03 Thread Rick Reumann
On 10/3/07, Rick Reumann [EMAIL PROTECTED] wrote: Going to check out YUI now. So far I haven't been too impressed with their data table models (they seem pretty basic, not bad but I don't scrollable tables, movable columns, etc, but maybe I'm missing it): http://developer.yahoo.com/yui

Re: Inheritance within form beans

2007-10-03 Thread Rick Reumann
On 10/3/07, Kothari, Kailash [EMAIL PROTECTED] wrote: Thanks a lot Rick. That gives me a new area to explore. The BeanUtils method - BeanUtils.copyProperties(Object target, Object src) - does give me a shallow copy of an object, Im trying to figure out how to get a deep copy.. I might be the

Re: Inheritance within form beans

2007-10-03 Thread Rick Reumann
On 10/3/07, Kothari, Kailash [EMAIL PROTECTED] wrote: Ok, that's quite interesting.. I think I just need to find a efficient way of doing the deep copy because my parent class has thousands of attributes in all including nested attributes.. Hmm thousands of attributes? I doubt you are

Struts 1... any new types of Actions that have come along?

2007-10-02 Thread Rick Reumann
I'm back coding in Strut1.x after being away from it for a while (since 1.1). What type of Action do most people prefer to use now and days? I'm typically using MappingDispatchAction which I really like. Other than the submit button of course, other buttons I end up adding a little javascript that

Re: Inheritance within form beans

2007-10-01 Thread Rick Reumann
On 10/1/07, Kothari, Kailash [EMAIL PROTECTED] wrote: What I also need is that, when a child form bean is instantiated by Struts, I want Struts to check if there is an instance of the parent form bean in the session and if so, pre populate that data from the parent to the child form bean.

Re: Indexed and Nested properties

2007-09-29 Thread Rick Reumann
On 9/29/07, Radha Krishna [EMAIL PROTECTED] wrote: Hi, i am working on indexed,nested properties. i have following entries in my ActionForm Radha, I think you are making this too complicated trying to use an index in your setter (I think if I recall correctly you only needed that kind of

Re: How to do a collection form of beans ???

2007-09-26 Thread Rick Reumann
On 9/26/07, A. Lotfi [EMAIL PROTECTED] wrote: Hi, I just want to get a collection of rows from a database and put them in a form. http://www.learntechnology.net/content/struts/struts_nested.jsp (and it's not a good idea to call your data access layer from your action. I've given you some

Re: dynamicaly radio buttons from database, please help me

2007-09-25 Thread Rick Reumann
On 9/24/07, A. Lotfi [EMAIL PROTECTED] wrote: Hi, I am using struts1.3.8 I just want when the user click in a link (SurveyAction.do) , he will be presented with a form : ID Title -- O smal O medium O hight ID Title -- O smal O medium

[OT] When did JSP officially go from 1 to 2?

2007-09-23 Thread Rick Reumann
I'm trying to create a doc to persuade the 'powers that be' to provide a decent server for our applications, and I'm presenting the merits of JSP2/Servlet2.4. I'd like to know when those specs became official, but I'm having trouble finding the dates. I want them to realize that I'm not requesting

Re: how populate form from database ?

2007-09-21 Thread Rick Reumann
On 9/21/07, A. Lotfi [EMAIL PROTECTED] wrote: Hi, I need to populate a form with data from database, is there any example. thank you your help is appreciated. Probably are a ton of them. (Here's one for Struts1.x using iBATIS

[OT] Ajax recommendations for use with Struts1.1

2007-09-19 Thread Rick Reumann
Hey all, unfortunately I'm going to be stuck on a new project has to use Struts1.1 - not that I'm against Struts it's just that I'd rather use something less archaic like Struts2 - We have to run on an old server( Weblogic8.1), won't upgrade to java5, servletspec2.3/jsp1.2), have to use offshore

Re: OT Re: Struts 2 ABC book

2007-09-07 Thread Rick Reumann
On 9/7/07, Rick Reumann [EMAIL PROTECTED] wrote: On 9/7/07, Antonio Petrelli [EMAIL PROTECTED] wrote: 2007/9/7, Rick Reumann [EMAIL PROTECTED]: The issue is that SiteMesh, to act using the decorator pattern, decides to pull out the entire page contents and store

Re: OT Re: Struts 2 ABC book

2007-09-07 Thread Rick Reumann
On 9/7/07, Antonio Petrelli [EMAIL PROTECTED] wrote: 2007/9/7, Rick Reumann [EMAIL PROTECTED]: The issue is that SiteMesh, to act using the decorator pattern, decides to pull out the entire page contents and store it in a StringBuffer. Really? I am using Sitemesh (without Struts 2

OT Re: Struts 2 ABC book

2007-09-07 Thread Rick Reumann
Thanks Ted for this link. Just getting into Struts again after a long hiatus so I'm sure your starting book will really help. Quick sort of OT question for anyone. Reading the first chapter of Ted's Starting Struts 2 book it mentions SiteMesh integration.. I'm curious if people are still working

Re: pass parameters to action

2007-09-07 Thread Rick Reumann
On 9/7/07, Anna Simbirtsev [EMAIL PROTECTED] wrote: Hello I have a link html:link page=/myAction.do paramId=map paramName=mapName/html:link and when a user clicks on it, it calls action myAction and passes parameters using HashMap. Those parameters are visible in the URL. Is there any way

Re: Wiki link?

2007-01-31 Thread Rick Reumann
On 1/30/07, Ted Husted [EMAIL PROTECTED] wrote: So someone tell me Is Struts2 and WebWork the same product? I sort of try to follow things and I can't even tell any more what is going on. I think the first page on both sites should be an FAQ. Since there hasn't been a GA release of Struts

Re: Wiki link?

2007-01-30 Thread Rick Reumann
I've always found incredibly difficult to find things on the Struts home page http://struts.apache.org/ I really think the home page should have a clarification of terms and what you plan on doing. For one thing this is incredibly confusing... On Struts home page: Struts 2 was originally known

Funny, just got around to watching this JSF video..

2007-01-16 Thread Rick Reumann
I just got around to watching this JSF presentation with Ed Burns.. http://event.on24.com/eventRegistration/EventLobbyServlet?target=lobby.jspeventid=25412sessionid=1partnerref=atssc_sitepost_01_16_07key=1C3610AF899E09A2EFD26F0FD6B7875Eeventuserid=9113781 (the transcript you can view also). What

Re: IRC #struts on freenode

2006-09-16 Thread Rick Reumann
Don't forget about us on #funkycodemonkey on irc.darkmyst.org either. All are welcome - although weekends and evenings are often quiet. Of coruse, during the day when we are supposed to be doing our real work, we spend the most time chatting:) On 9/16/06, Wendy Smoak [EMAIL PROTECTED] wrote:

Re: Struts and AJAX

2006-07-03 Thread Rick Reumann
Just wanted to say +1 for the JWP tags. Plus the support you get it is top-notch. Use them. On 7/3/06, Frank W. Zammetti [EMAIL PROTECTED] wrote: draegoon Z wrote: Sounds great so far, but I think I lost you on the first part. Let's work through a simple problem... Let's say I have in my

Re: How to specify default displayed value in html:select

2006-06-19 Thread Rick Reumann
Pankaj Gupta wrote: Hi, Please suggest how can I specify which value(s) to be displayed as selected by default in html:select tag, when specified through collection attribute. I think it's best to set this up in your Action 'before' you forward to the JSP, or if you know what will always

Re: Cancel button sets the form value

2006-06-19 Thread Rick Reumann
Monkeyden wrote: I don't use the execute() method of Action at all and have implemented a separate abstract doCancel method in my base action, which cleans up any unecessary state, but this requires an extension of the struts/tiles request processor. I find it easier just to use an

Re: BeanUtils, Form Bean and POJO Bean

2006-06-18 Thread Rick Reumann
Paul Benedict wrote: I can use the copyProperties() method of the BeanUtils to convert all the String(s) read from the web page to proper Java types in my form bean. Just be weary though, that BeanUtils can really by a major PAIN when you have domain objects that have number wrapper data

Help with Excel in new IE popup window - problem when it remains open

2006-06-17 Thread Rick Reumann
This is driving me crazy. On a form I have another button(other than the main submit) that is supposed to open a popup window which will display an Excel doc. I have some javascript which I'll show that changes the form's target for the popup. The Action dispatch method called returns excel

Re: pop up using html:link

2006-06-16 Thread Rick Reumann
I'm sure it can be done with html:link, but I haven't used in a while. I'd just use JSTL... //below assumes your /readLogEntry is defined in an ActionMapping with .do ? c:url var=url value=/readLogEntry.do/ a href=javascript:popUpWindow('${url}', '${tmpStr}',100,100,100,100)Detail/a On

Re: Submission of collection of collection

2006-06-16 Thread Rick Reumann
On 6/16/06, Vijayraghav Nerella -X (vraghav - eTouch Systems at Cisco) [EMAIL PROTECTED] wrote: Hi, Has anyone tried to create a screen that shows input fields which are collection of collection? yes, you want to use nested Collections. It can be done, but their are few caveats with using it.

Re: struts version of session.getAttribute() ?

2006-06-16 Thread Rick Reumann
On 6/16/06, Brian Long [EMAIL PROTECTED] wrote: What's the mechanism in struts to accomplish pulling an object out of the session and using it in a jsp? If you are using a more recent app server like Tomcat 5.x+, you can just do ... in JSP: divMy session var ${sessionVar}/div El expressions

Advice on hanlding multi-select options that need a regular submit on form, plus a submit to popup window

2006-06-15 Thread Rick Reumann
I'm looking for advice on how to best handle this situation. I have a form with several multi-select drop downs. There is a typical submit button that submits the form. What I also have is another button within the form called preview distribution which needs to take the data on the form and up

Re: Help on Validation

2006-06-15 Thread Rick Reumann
On 6/15/06, Vishal Seth [EMAIL PROTECTED] wrote: Can there be some thing which can be looked at or any ideas on what could be the better way to implement this sort of condition? Do you really 'have' to bother using validate='true'? Personally, I still find it much more conveineint to validate

Re: Advice on hanlding multi-select options that need a regular submit on form, plus a submit to popup window

2006-06-15 Thread Rick Reumann
Message - From: Rick Reumann [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Thursday, June 15, 2006 12:42 PM Subject: Advice on hanlding multi-select options that need a regular submit on form, plus a submit to popup window I'm looking for advice on how to best

Re: How do otherS deal with being OO and dealing with multi-selects on front end?

2006-05-11 Thread Rick Reumann
Rick Reumann on 10/05/06 18:12, wrote: Lets assume you want to be a good OO developer and you are designing an application to handle CRUD stuff for a Person. Lets say this Person can own Cats and Dogs. So person might look like... Person -- int personId String personName List dogs

How do other deal with being OO and dealing with multselects on front end?

2006-05-10 Thread Rick Reumann
Lets assume you want to be a good OO developer and you are designing an application to handle CRUD stuff for a Person. Lets say this Person can own Cats and Dogs. So person might look like... Person -- int personId String personName List dogs; //list of Dog objects List cats; //list of Cat

Re: Issue with checkboxes!

2006-05-07 Thread Rick Reumann
王曾wang_zeng wrote: The reason is that the form bean is configed to be saved in session scope, and the reset() method is not called when the form is submitted. Rizwan, Meaning... you need to override the ActionForm reset method and set any of your ActionForm booleans to false. Then you'll be

Re: Issue with checkboxes!

2006-05-07 Thread Rick Reumann
Rizwan Merchant wrote: and in ExtendedDynaValidatorForm I would have a reset() method as follows public void reset(ActionMapping mapping, HttpServletRequest request){ super.reset(); //not sure what goes here } So my next question is..how to I reset all the booleans in the form? Do I

Re: How do I insert a value from an id-iterate-bean into the value-tag of multibox?

2006-05-06 Thread Rick Reumann
Andreas Hartmann wrote: Hello Tarun, Tarun Reddy wrote: Hi, You can do this way, logic:iterate name=Portal property=deaktserver id=srv html:multibox property=inaktmachines bean:write name=srv / /html:multibox /logic:iterate This should work. This produces an Unterminated

Are throwing RuntimeExceptions in a struts app 'that evil'?

2006-05-03 Thread Rick Reumann
I think I've read over most of the conventional wisdom that talks about how throwing aRuntimeExceptions are a bad idea, especially from within a catch in a finally block (at least IDEA is warning me about it:) But my question is it really 'that' bad? For example let's say for an updateSomething

Re: Are throwing RuntimeExceptions in a struts app 'that evil'?

2006-05-03 Thread Rick Reumann
On 5/3/06, Michael Jouravlev [EMAIL PROTECTED] wrote: On 5/3/06, Rick Reumann [EMAIL PROTECTED] wrote: I think I've read over most of the conventional wisdom that talks about how throwing aRuntimeExceptions are a bad idea, especially from within a catch in a finally block (at least IDEA

Re: Accessing Validation Errors in an Action

2006-04-27 Thread Rick Reumann
Asad Habib wrote: How do I access errors that the Validator places in the ActionErrors object instance within a Struts action? I need to do this in my action code so I can throw the appropriate kind of exception. Thanks. I show this very thing at the end of this article:

Some extra eyes to see where I'm screwing this code up...(form with Map property where keys-String, values-String[])

2006-04-24 Thread Rick Reumann
Thanks for any help... Here's what the html page output looks like: Product Roles - SomeProduct [] INTERNALAUTHOR[]EXTERNALAUTHOR SomeProduct2 [] INTERNALAUTHOR[]EXTERNALAUTHOR SomeProduct3 [] INTERNALAUTHOR[]EXTERNALAUTHOR Backing this output is an

Re: Some extra eyes to see where I'm screwing this code up...(form with Map property where keys-String, values-String[])

2006-04-24 Thread Rick Reumann
). On 4/24/06, Rick Reumann [EMAIL PROTECTED] wrote: Thanks for any help... Here's what the html page output looks like: Product Roles - SomeProduct [] INTERNALAUTHOR[]EXTERNALAUTHOR SomeProduct2 [] INTERNALAUTHOR[]EXTERNALAUTHOR SomeProduct3

Re: Tiles vs. jsp:include + XHTML/CSS

2006-04-24 Thread Rick Reumann
Michael Jouravlev wrote: So, the question I am asking: what are the real benefits of using Tiles if I use JSP includes + XHTML/CSS for layout/styling? Can most of Tiles features be implemented with XHTML/CSS? I guess some of it comes to a personal preference in regard to the dynamic content

Re: iteration with indexed properties

2006-04-23 Thread Rick Reumann
martin wrote: I've a problem with indexed properties inside an iteration. Some of the properties are rendered as a text-area and should be editable by the user. The rendering goes fine but if the user makes some changes, they are not committed to the form. You might want to look at using the

Re: html:checkbox entries are not disappering

2006-04-21 Thread Rick Reumann
Hans-Peter Petek wrote: But, when I deselect a checkbox, press the button (i.e. submit), all the previous checked checkboxes are still checked .. =?!?!? Every checkbox I ever checked once still remains checked ... Can anyone help me ... Common problem. Make sure you are setting all your

Session lovers... how do you handle this 'common?' situation?

2006-04-21 Thread Rick Reumann
I haven't used Session scope for my ActionForms in a lo time, but now I need to for a particular scenario. The problem I'm running into is imagine you click on a link to Create New - in which case, after you pass through your Action, you'd go to a page backed by the session-scoped

Re: Session lovers... how do you handle this 'common?' situation?

2006-04-21 Thread Rick Reumann
On 4/21/06, David Evans [EMAIL PROTECTED] wrote: *** That reassignment is just reassigning the local pointer to the new form instance, disconnecting it from the form instance in the session. Good point David:) I was forgetting Java101 and being an idiot. Thanks. Yea, I'll stuff the new

Re: Calling an action from another action

2006-04-20 Thread Rick Reumann
On 4/20/06, Meenakshi Singh [EMAIL PROTECTED] wrote: Please help me. I am using this code in one of my action classes(dispatch actions) if(returnvalue==1) //return value is the value returned by the dao method after inserting the record into the database. { ActionForward fwd=new

Re: Calling an action from another action

2006-04-20 Thread Rick Reumann
On 4/20/06, Michael Jouravlev [EMAIL PROTECTED] wrote: On 4/20/06, Rick Reumann [EMAIL PROTECTED] wrote: So again, really think about whether you need to go from one action to another. Lastly, if you do need to it (which from the above I doubt you need to), I wouldn't do it in the Action

Re: How to execute code in an Action when ActionForm validation fails?

2006-04-18 Thread Rick Reumann
On 4/18/06, Eric Rank [EMAIL PROTECTED] wrote: From reading a bit on Rick Reumann's site (http://www.learntechnology.net/validate-manually.do) a simple way to handle this is to call the validate method within the execute method of the Action. There's a bit of logic that has to be processed

Doofus tiles question - problem nesting

2006-04-15 Thread Rick Reumann
I know I'm doing something stupid here, but would appreciate the help. All I want to do is be able to insert dynamic content (like for example a submenu list of links) into my header.jsp that is part to my mainLayout.jsp. What I have been trying is (html stripped out)... tiles-definitions

Re: Doofus tiles question - problem nesting

2006-04-15 Thread Rick Reumann
Aladin Alaily wrote: Main Layout.jsp tiles:useAttribute name=page_links id=page_links classname=java.lang.String / ... in your html on the page ... %= page_links % Maybe I'm missing your point but I hope this helps. Aladin Thanks Aladin for trying to help. The problem

Re: Doofus tiles question - problem nesting

2006-04-15 Thread Rick Reumann
Rick Reumann wrote: mainLayout... -- tiles:insert attribute=header tiles:put name=links content=page_links/ ??? I'm probably doing this wrong /tiles:insert I needed to do it this way and it works!: tiles:insert attribute=header tiles:put name=links beanName=page_links

Tiles headaches - should be simple - driving me nuts here...

2006-04-14 Thread Rick Reumann
I've used Tiles in the past. Started to implement it in this new app, and I keep getting error messages like... javax.servlet.jsp.JspException: Error - Tag Insert : No value found for attribute 'header'. at org.apache.struts.taglib.tiles.InsertTag.processAttribute(InsertTag.java:690)

Re: Tiles headaches - should be simple - driving me nuts here...

2006-04-14 Thread Rick Reumann
Aladin Alaily wrote: Hi Rick, Your configuration looks okay to me (for a 1.2.7 struts app - I don't know about 1.2.9 because I haven't made the jump yet). What kind of errors did you get when you put: !DOCTYPE tiles-definitions PUBLIC -//Apache Software Foundation//DTD Tiles

Re: Tiles headaches - should be simple - driving me nuts here...

2006-04-14 Thread Rick Reumann
Aladin Alaily wrote: Did you revert back to 1.2.7 or is this message appearing with 1.2.9? I'm getting the same error with 1.2.7 or 1.2.9. It's so frustrating because I'm comparing the jars between an app where I have things working and this current one and they seem to be the same - but

Re: creating html:text-forms on the fly

2006-04-12 Thread Rick Reumann
Andreas Hartmann wrote: Hello, I've got a lot of html:text forms, which are created on the fly - therefore I don't know during programming, which getter and setter-methods will be needed. I assume, it works by using arrays. logic:iterate property=value id=entry indexId=ctr html:text

Re: Multiple text box

2006-04-11 Thread Rick Reumann
On 4/11/06, Neil Meyer [EMAIL PROTECTED] wrote: Hi All, I urgently need some help here please I basically need to do the following in struts. I tried the html-el--:text / tag and still can't get it to work. String names[] = request.getParameterValues(names); I have a form bean with an

Is there an IsInSet or IsInList Tag already out there?

2006-04-10 Thread Rick Reumann
I'm going to be needing a tag similar to how struts' logic:present role= tag works, but I need it to work with my own set of roles that are going to be in bean ( in List or Set). I can write my own, but I was wondering if one already existed. Something like.. tag:InSet

Re: Is there an IsInSet or IsInList Tag already out there?

2006-04-10 Thread Rick Reumann
Rick Reumann wrote the following on 4/10/2006 10:44 AM: I'm going to be needing a tag similar to how struts' logic:present role= tag works, but I need it to work with my own set of roles that are going to be in bean ( in List or Set). snip I supposed I could consider a JSTL function as well

Re: MVC Dilemma

2006-04-07 Thread Rick Reumann
olonga henry wrote the following on 4/7/2006 10:21 AM: After getting the ticket list, I will have to read the employeeIds first in memory then make those calls and put 'em in a hashmap so that I can disply 'em properly in the hashmap. I've been following this thread, and it's amazing how

Re: MVC Dilemma

2006-04-07 Thread Rick Reumann
Rick Reumann wrote the following on 4/7/2006 10:50 AM: I've been following this thread, ... although I wasn't following the thread that closely and missed about the different databases. I'll just shut up and let smarter people answer. (I will almost bet though that hibernate isn't helping

Re: MVC Dilemma

2006-04-07 Thread Rick Reumann
olonga henry wrote the following on 4/7/2006 11:33 AM: Larry, person who talks about Spring, Hibernate and struts and know about JTA certainly knows that a database is a collection of tables. You don't have to be an a**ss when someone is just trying to get clarification. Good luck getting

Re: html:text tag, how to get javascript index

2006-04-07 Thread Rick Reumann
Jim Reynolds wrote the following on 4/7/2006 1:38 PM: I have the following logic:iterate loop logic:iterate id=abc type=ab name=a property=jj indexId=index html:hidden indexed=true property=name name=abc / html:text name=abc indexed=true property=age

Re: html:text tag, how to get javascript index

2006-04-07 Thread Rick Reumann
Jim Reynolds wrote the following on 4/7/2006 2:02 PM: Thanks Rick for the info. I am running Tomcat 5.5. But for some reason, it is still not happy. It just prints out the tag like in the page, and does no variable substitution. What do you mean by it prints out the tag like in the page? Are

Re: convert collection to excel spread sheet

2006-04-07 Thread Rick Reumann
temp temp wrote the following on 4/7/2006 1:59 PM: I must create export to excel spreadsheet capability for my pages . I will be having java.util.Collection containing search results which I have to convert into an excel sheet.What is the best and simplest way to convert a

Re: html:text tag, how to get javascript index

2006-04-07 Thread Rick Reumann
Jim Reynolds wrote the following on 4/7/2006 2:27 PM: PS, Isn't it just the JSP, JSTL that enables that snippet to work? Or do I need a certain jar? Not sure what could be wrong. Tomcat 5 supports EL expressions ( ${} stuff ) by default. Paste the tag declarations you are using on the top of

Re: Tomcat not starting

2006-04-03 Thread Rick Reumann
Klaus Rohwer wrote the following on 4/3/2006 5:01 AM: During startup Tomcat suddenly doesn't continue after having given out the following lines: 03.04.2006 10:46:26 org.apache.struts.util.PropertyMessageResources init INFO: Initializing, config='org.apache.struts.util.LocalStrings',

Re: Number Format Error

2006-03-29 Thread Rick Reumann
Vinit Sharma wrote the following on 3/29/2006 9:29 AM: When I tried to run the tip given in article: http://www.jguru.com/faq/view.jsp?EID=915891 I get an error Cannot format given Object as a Number. Can some one please give an insight on this one. I'm using Struts 1.2.4. Did you verify by

Re: I Apologize

2006-03-27 Thread Rick Reumann
Lighten up. I wrote it. It was supposed to be joke to bring levity to an incredibly annoying situation. If I wrote actually trying to be you and truly impersonate you, that would be a different matter. If I wanted to really spoof being you I wouldn't have made it such an obvious joke. I would have

Re: I Apologize

2006-03-27 Thread Rick Reumann
On 3/27/06, Larry Meadors [EMAIL PROTECTED] wrote: Way to go Rick, you butt-monkey - Jonathan jumped all over ME! It must be that nice Montana tan that you have. -- Rick

Re: I Apologize

2006-03-27 Thread Rick Reumann
Actually that's pretty funny. That shows how weak our Tampa JUG is:) Larry speaks one time at it, and he becomes famous. On 3/27/06, Jonathan Revusky [EMAIL PROTECTED] wrote: Larry Meadors wrote: Haha, thanks for the insults and vote of no confidence, but you are barking up the wrong

Re: I Apologize

2006-03-27 Thread Rick Reumann
Hey Jonathan, relax a bit. Come chill out with us tomorrow in #FunkyCodeMonkey on irc.darkmyst.org You can complain about struts in real time and talk up MagicMarker or whatever:) Anyone else is welcome to join as well. It's a good time and makes the day a bit more bearable when your stressed at

[OT] funny

2006-03-24 Thread Rick Reumann
D20 magic missile, and no saving throw!... those that played DD back in the day can relate:)... http://video.google.com/videoplay?docid=7521044027821122670 -- Rick http://www.learntechnology.net - To unsubscribe, e-mail:

Re: [OT][Friday] funny

2006-03-24 Thread Rick Reumann
Sorry, meant to put Friday in the subject or is it still Beer we are supposed to use? Rick Reumann wrote the following on 3/24/2006 1:54 PM: D20 magic missile, and no saving throw!... those that played DD back in the day can relate:)... http://video.google.com/videoplay?docid

Re: ajax with struts

2006-03-23 Thread Rick Reumann
Joel Alejandro Espinosa Carra wrote the following on 3/23/2006 3:45 PM: I'm worried about the load of the database beacuse this action is called from a javascript event onkeyup() this means that the action will be executed every time when user press a key in the field, is there an other way to

Re: Strategy for Controlling the Session Size

2006-03-22 Thread Rick Reumann
Julian Tillmann wrote the following on 3/22/2006 4:04 AM: Can someone give me advice how to control and clean the amount of Collections (HashTables/ArrayList) that are stored in the session. Are you actually sure you have a performance problem with too much stuff stored in Session scope?

Re: Strange Form Reset Behavior

2006-03-22 Thread Rick Reumann
Marcio Ghiraldelli wrote the following on 3/22/2006 8:46 AM: Hello, I am facing a strange ActionForm Reset behavior with Struts 1.2: I want after submit a form, redirect via controler to the same form (so the user can submit it subsequently times). If you want to just return to the same

Re: Validation Problem

2006-03-22 Thread Rick Reumann
Thibaut wrote the following on 3/22/2006 10:18 AM: I did but it still doesn't work ... still have the blank page instead. What do the error logs say? -- Rick http://www.learntechnology.net - To unsubscribe, e-mail: [EMAIL

  1   2   3   4   5   6   7   8   >