narrowed it down to converter Re: Tiles headaches - should be simple - driving me nuts here...

2006-04-14 Thread Rick Reumann
Rick Reumann wrote: 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(In

Efficient session object and cookie checks in struts

2006-04-14 Thread Jeff Thorne
My struts application maintains 2 small objects in the user’s session. One is for the users location info (mandatory) and the other is the User Object (optional). I also save 2 cookies one being the user’s location info (mandatory) and the other the user’s saved login credentials (optional) to m

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

2006-04-14 Thread Adam Hardy
Hi Rick, I can't see anything that looks wrong but a couple of ideas might throw something up: - mainLayout.jsp is in / but your other jsps are in WEB-INF/jsp/ - is that right? - try renaming your tiles 'put-names', e.g. header -> headerTile (I find this gives more readily comprehensible e

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

2006-04-14 Thread Aladin Alaily
Rick Reumann wrote: 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

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 I'm

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

2006-04-14 Thread Aladin Alaily
Rick Reumann wrote: 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: http://struts.apache.org/dtds/tiles-config_1_3.dtd";> in your tiles

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: http://struts.apache.org/dtds/tiles-config_1_3.dtd";> in your tiles-definitions.xml? The

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

2006-04-14 Thread Aladin Alaily
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: http://struts.apache.org/dtds/tiles-config_1_3.dtd";> in your tiles-definitions.xml? The errors may be indicati

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

2006-04-14 Thread Hubert Rabago
Rick, My tiles:insert uses name instead of attribute. Then again, I'm no Tiles expert and I don't know what attribute is for. Hubert On 4/14/06, Rick Reumann <[EMAIL PROTECTED]> wrote: > I've used Tiles in the past. Started to implement it in this new app, > and I keep getting error messages l

Re: Strecks?

2006-04-14 Thread Michael Jouravlev
On 4/14/06, Vincent <[EMAIL PROTECTED]> wrote: > I saw this on TSS today: > http://www.theserverside.com/news/thread.tss?thread_id=39840 > > "Strecks, a set of open source extensions to the Struts framework aimed > at Java 5 users, has been released. Strecks (which stands for "Struts > Extensions")

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: [OT] Choosing Java EE version for new projects

2006-04-14 Thread Craig McClanahan
On 4/14/06, Bahadır Yağan <[EMAIL PROTECTED]> wrote: > > I want to ask your ideas about using Java EE 5. We are going to start > coding a new project within a month. Do you see any problems using EE 5? > > We will mostly use these technologies: > JSF, Shale, JMS, JAAS and web services > > I liked t

friday ha ha

2006-04-14 Thread netsql
http://www.theserverside.com/news/thread.tss?thread_id=39840 .V - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Strecks?

2006-04-14 Thread Vincent
I saw this on TSS today: http://www.theserverside.com/news/thread.tss?thread_id=39840 "Strecks, a set of open source extensions to the Struts framework aimed at Java 5 users, has been released. Strecks (which stands for "Struts Extensions") is built on the existing Struts 1.2.x code base." B

Tiles menu in 1.2.9

2006-04-14 Thread Hermod Opstvedt
Hi I have an 1.2.1 Struts application that I have been looking into migrating to 1.2.9. As far as I have seen this should go along quite nice, with the exception of a Tiles menu that I have. This uses logic:iterate and logic:present amongst other things. I really like this Tiles menu, because it g

Re: Plug-In for in-memory caching/refreshing?

2006-04-14 Thread James Mitchell
I've done this with Spring + EHCache. I used a method interceptor so both my struts code and my facade implementation was none the wiser. http://opensource.atlassian.com/confluence/spring/display/DISC/Caching +the+result+of+methods+using+Spring+and+EHCache You could even get creative and ab

Re: [shale] Anyway to stop auto-load of META-INF/faces-config.xml?

2006-04-14 Thread Hubert Rabago
On 4/13/06, Craig McClanahan <[EMAIL PROTECTED]> wrote: > > Not without taking the JAR apart and removing the faces-config.xml that is > there. Auto-loading such files is a feature required by the JSF spec. > > Craig Thanks Craig. I knew it was in the spec, I was just curious if there was a way

error with tmp:insert in struts-2.4

2006-04-14 Thread Fatiha Lokmane
Hi, I want to upgrade from struts-1.1 to struts-2.4 but I have the following error : 2006-04-14 16:20:29,312 : ApplicationDispatcher.invoke : Servlet.service() for servlet jsp threw exception org.apache.jasper.JasperException: /home.jsp(23,1) Unable to load tag handler class "org.apache.strut

Plug-In for in-memory caching/refreshing?

2006-04-14 Thread news.gmane.org
In a struts app, I would like to have some objects which load themselves via db queries on app startup, and remain in memory for quick information access. They would need to refresh different pieces of data on different schedules, and also be triggered manually to refresh based on some user act

Re: Working with business validation errors

2006-04-14 Thread Adam Hardy
Emmanouil Batsis on 14/04/06 08:56, wrote: I'm very interested to hear about how do you guys handle business-tier-dependent validation errors in a struts+EJB application. For example, suppose a user tries to create an account with a username that already exists (maybe a poor example but you get

[OT] Choosing Java EE version for new projects

2006-04-14 Thread Bahadır Yağan
I want to ask your ideas about using Java EE 5. We are going to start coding a new project within a month. Do you see any problems using EE 5? We will mostly use these technologies: JSF, Shale, JMS, JAAS and web services I liked the new features in JSF 1.2 and Unified EL. But I dont feel very

Re: problem in tiles

2006-04-14 Thread Ahmed Hashim
Thanks Antonio, Actually in my application I didn't allow the user to expose any jsp using the action. I used this techniques for a certain type of pages using a specific pattern in the generic action. So, I think it is more secure. Thanks. Ahmed Hashim On 4/14/06, Antonio Petrelli <[EMAIL PRO

Re: struts and javascript

2006-04-14 Thread 王曾wang_zeng
this is wrong. because as far as I know, a struts tag's atrribute sholud not be filled with mixed stuff by jsp codes and plain text. if you write this way: " > I guess the error won't occur.

Re: creating html:text-forms on the fly

2006-04-14 Thread Andreas Hartmann
Hello Rick, I implemented your idea for unknown

Re: directly addressing maps in jsp-file

2006-04-14 Thread Andreas Hartmann
Hi Vinit, I will try it when I need it. How can I access the entry without using a variable by giving the keyname hardcoded? Is it written like this: Kind regards, Andreas Hartmann Vinit Sharma wrote: > Hi, > > JSTL can help you here. Suppose key comes from bean item: > > > > I can use

Working with business validation errors

2006-04-14 Thread Emmanouil Batsis
Hello, I'm very interested to hear about how do you guys handle business-tier-dependent validation errors in a struts+EJB application. For example, suppose a user tries to create an account with a username that already exists (maybe a poor example but you get the point), but you can only figu

Re: [URGEN] Validation in Action and using redirection to view result page :(

2006-04-14 Thread 王曾wang_zeng
You worry too much! You can use forward. Even if the user refresh the page when the url dosen't corresponds to the current page, no big problem will occur. the IE will resend the data that is collected from the previous page to the server. The only thing will happen is the error-messages showing pa

Re: problem in tiles

2006-04-14 Thread Antonio Petrelli
Ahmed Hashim ha scritto: I solved the problem I think you are right, I can not call any tiles definition directly without calling an action I made a generic action definition to view my pages check the solution in my blog http://www.egjug.org/struts_action_foward_to_Tiles Ahmed Hashim