Re: java.lang.ClassCastException: com.user.struts.form.UserSystemForm

2006-01-09 Thread brenmcguire
pc leung ha scritto: >Where does the error come from? > >... >in struts-config.xml >... > What about the element in struts-config.xml regarding the "userSystemForm" form-bean? Please post it because I'm supposing that you declared it with the wrong class. Ciao Antonio Petrelli

which one is best for DATA PERSISTENCE

2006-01-09 Thread JEEVANATHAM P. /BPCRP/INFOTECH/VASHI
Hi all, For my project we are doing lot of database actions such as inert, update, delete and read. For that which java frameworks is best to use? Hibernate or iBATIS or anyother? Please let me know. Regards, JEEVANANTHAM PARAMASAMY, -- Greetings! ICICI Infotech is no

Re: [shale] UnsupportedOperationException w/ Mock Objects

2006-01-09 Thread Dennis Byrne
Will it be acceptable if all 3 MockServletContext.log methods wrap a static commons logging method call? Dennis Byrne >-Original Message- >From: Craig McClanahan [mailto:[EMAIL PROTECTED] >Sent: Tuesday, January 10, 2006 02:17 AM >To: 'Struts Users Mailing List' >Subject: Re: [shale] Uns

Re: [shale] UnsupportedOperationException w/ Mock Objects

2006-01-09 Thread Craig McClanahan
On 1/9/06, Dennis Byrne <[EMAIL PROTECTED]> wrote: > > MockServletContext.log and many other methods throw a > UnsupportedOperationException. This makes it hard to test many core parts of > MyFaces. > > Was the intention here for the tester to override MockServletContext.log, > or does MockServletC

[shale] UnsupportedOperationException w/ Mock Objects

2006-01-09 Thread Dennis Byrne
MockServletContext.log and many other methods throw a UnsupportedOperationException. This makes it hard to test many core parts of MyFaces. Was the intention here for the tester to override MockServletContext.log, or does MockServletContext assume the tested code simply would/should not call

Re: double submit problem

2006-01-09 Thread Rick R
Rafael Taboada wrote: Thanks for ur replies... I'm interested in tokens method Please, do u know a site where I can find more information about this??? I have an example and lesson here on it: http://www.learntechnology.net/struts-token.do -- Rick

java.lang.ClassCastException: com.user.struts.form.UserSystemForm

2006-01-09 Thread pc leung
Where does the error come from? The following is the action class, jsp and struts-config.xml Flow is like this. http://localhost:8080/setupAssignUserSystem forwards to http://localhost:8080/assignUserSystem automatically. thanks In SetupAssignUserSystemAction class, UserSystemF

Re: Advice for Struts expert wanting to try Shale?

2006-01-09 Thread Dakota Jack
On 1/8/06, Mark Lowe <[EMAIL PROTECTED]> wrote: > > Its not about the inner workings, its about what it does. > If this were the case, Mark, then there would be virtually no difference between any of the solutions. You could just do anything at all that got the result and that would be fine. T

RE: formatting messages in different colours from Message Resources

2006-01-09 Thread Raghuveer
Dear AGary and Alexandre I changed my Message KEY " msg.insert.failed" as below > msg.insert.failed = Insert failed. In my JSP PAGE message is displayed with FONT tags. HTML tags are not being executed with message . Insert failed. so from above when HTML font tag could not be executed ,how com

Re: Web Push Technology

2006-01-09 Thread netsql
otoh, back to the future... pointcast.com! My current version 1.5x is pull. Version 2.0 that is in alpha and not released will be push (and allow for offline reading, like on a laptop on plane, plus a few more neat features). .V souravm wrote: Raghu/Frank, You are very right in saying that

Re: [Shale] getting my first dialog to work with Shale/MyFaces

2006-01-09 Thread Rahul Akolkar
On 1/8/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Ah, this is a bad thing for me..(:( I really absolutely have to have an > always visible and always clickable menu bar and after reading the > bugzilla notes seems like "breaking out of" a current dialog and starting > abrand new one with

Re: [OT] Name/address of included JSP page

2006-01-09 Thread Michael Jouravlev
On 1/9/06, Craig McClanahan <[EMAIL PROTECTED]> wrote: > On 1/9/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > > > > Is it possible to obtain name (relative, absolute, whatever) of > > included JSP fragment using container services? > > > Do you mean from *inside* the included page? And, I ass

Re: [OT] Name/address of included JSP page

2006-01-09 Thread Craig McClanahan
On 1/9/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > > Is it possible to obtain name (relative, absolute, whatever) of > included JSP fragment using container services? Do you mean from *inside* the included page? And, I assume you mean "included" as in (or using Tiles, which does essentia

[OT] Name/address of included JSP page

2006-01-09 Thread Michael Jouravlev
Is it possible to obtain name (relative, absolute, whatever) of included JSP fragment using container services? Michael. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Noob Q: "Failed to obtain specified collection"

2006-01-09 Thread Josh McDonald
Sorry guys that one was my bad... Well not really mine, but I'll digress. The request is being bandied about internally, and data being copied between almost identical (but of course not related & castable) objects. I don't think the people who wrote this application I'm maintaining really "got the

Re: Making submenus with tiles

2006-01-09 Thread Mark Lowe
You could create your own bean with nested menuitems, class MenuItem { ... List getItems() { return items; } ... void addMenuItem(MenuItem item) { this.items.add(item); } //and so on } You can use in tiles config, tiles controller or even a servlet that p

Re: double submit problem

2006-01-09 Thread Rafael Taboada
Thanks for ur replies... I'm interested in tokens method Please, do u know a site where I can find more information about this??? thanks -- Rafael Taboada Software Engineer Cell : +511-97753290 "No creo en el destino pues no me gusta tener la idea de controlar mi vida"

Re: Null actionform

2006-01-09 Thread Frank W. Zammetti
Good catch Wendy! I jumped right to trying to get what he asked for and I didn't even stop to think about WHY he was getting it in the first place :( -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM: fzammetti Yahoo: fzammetti MSN: [EMAIL

Re: Null actionform

2006-01-09 Thread Xavier Vanderstukken
Wendy Smoak wrote: On 1/9/06, Xavier Vanderstukken <[EMAIL PROTECTED]> wrote: Sometimes in my application, I call an action by this way : Null usually means no form bean is associated with the Action. What does the action mapping in struts-config.xml look like? -- Wendy -

Re: Null actionform

2006-01-09 Thread Wendy Smoak
On 1/9/06, Xavier Vanderstukken <[EMAIL PROTECTED]> wrote: > Sometimes in my application, I call an action by this way : > > > In this case the ActionForm received in my struts action is null, Null usually means no form bean is associated with the Action. What does the action mapping in struts-

Re: Null actionform

2006-01-09 Thread Frank W. Zammetti
Hi, I don't know if there is a way to tell Struts to give you an empty ActionForm, I suspect not, but you can always do it yourself in your Action: if (actionForm == null) { actionForm = RequestUtils.createActionForm(request, mapping, mapping.getModuleConfig(), getServlet()); } -- Frank W. Za

Null actionform

2006-01-09 Thread Xavier Vanderstukken
Sometimes in my application, I call an action by this way : In this case the ActionForm received in my struts action is null, is it a way to obtain an empty form instead of a null form? (Of course not by using a html:form) -

Making submenus with tiles

2006-01-09 Thread Keith Sader
Greetings, I've google'd the web and I haven't found any good advice on how to make submenus with tiles. What I have is a menu structure like this Item1 subitem1 subitem2 Item2 subitem2 subitem2 ... How would I define this in a tiles-def? What I have so far is something that looks like

Re: java.lang.OutOfMemoryError on production server

2006-01-09 Thread Srinivas Jadcharla
Try to increse the Heap size Look here http://h21007.www2.hp.com/cmdspp/QuestionAnswer/1,1764,5847BAEF-DA2E-4537-B3FD-B68173E1E0E7,00.html On 1/9/06, Brian Kremmin <[EMAIL PROTECTED]> wrote: > > Tomcat 5.0.28 gives the following error sporadically but usually after > only a few hours of operat

java.lang.OutOfMemoryError on production server

2006-01-09 Thread Brian Kremmin
Tomcat 5.0.28 gives the following error sporadically but usually after only a few hours of operation: type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException

[OT] Eclipse and JSTL

2006-01-09 Thread Garner, Shawn
I am finding that eclipse wtp isn't resolving my jstl tags. I have the uri includes at the top of the jsp pages and the jars in the build path. Any c:set, c:set, or c:choose are labled as unknown and marked as errors. It resolves the JSF ones. Shawn *

Bean scope...

2006-01-09 Thread Shilpa . Nalgonda
Hi All, I keep getting this error , I have defined this bean in config file... Also... -Cannot find bean StatusSearchActionForm in any scope Do I have to define it somewhere else??? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTE

Struts basic info - (was RE: [EMAIL PROTECTED])

2006-01-09 Thread gramani
<[EMAIL PROTECTED]> wrote on 01/09/2006 09:59:49 AM: > > Hello > > I am new to struts. > > Can you please tell me where could I get the basic information > regarding the same. > > Some of the basic books or pdf files for the basic understanding of struts Hi, There's a lot of info out on th

RE: [EMAIL PROTECTED]

2006-01-09 Thread garg.sandeep
Hello I am new to struts. Can you please tell me where could I get the basic information regarding the same. Some of the basic books or pdf files for the basic understanding of struts -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, January 09, 2006 8

RE: [EMAIL PROTECTED]

2006-01-09 Thread garg.sandeep
Hello I am new to struts. Can you please tell me where could I get the basic information regarding the same. Some of the basic books or pdf files for the basic understanding of struts -Original Message- From: »-(¯` Janarthan ´¯)-» [mailto:[EMAIL PROTECTED] Sent: Monday, January 09,

Re: [EMAIL PROTECTED]

2006-01-09 Thread �-\(�` Janarthan ��\)-�
Could not understand the meaning of this mail :( struts-user <[EMAIL PROTECTED]> wrote: [EMAIL PROTECTED] Best Regards, »-(¯` Janarthan ´¯)-» "The difference between Dreams and Achievements is purely Desire" - Yahoo! Photos – Showca

[EMAIL PROTECTED]

2006-01-09 Thread struts-user
[EMAIL PROTECTED]

Re: How to forward from one action to another, with modified parameters?

2006-01-09 Thread Rick Reumann
Dakota Jack wrote the following on 1/7/2006 10:09 AM: In my opinion, Eric, this is a bad solution. There are lots of reasons this is bad. Rather than go through them, I would suggest you just add the logic in /search.do?query=42 at the point you get the failure form /retrieve.do?id=42. I agre

RE: [OT] JavaWebParts and Struts / Ajax integration

2006-01-09 Thread Frank W. Zammetti
You know Peter, I think we've gotten away from Struts for the most part here, and I'm not sure we should continue this discussion on this list, probably isn't appropriate... if you aren't already, could you jump on the JWP mailing list and repost this latest message there? This would have the addi

Re: formatting messages in different colours

2006-01-09 Thread Alexandre Poitras
Or to be XHTML-compatible, use css styles :) On 1/9/06, Gary Feidt <[EMAIL PROTECTED]> wrote: > > Why not just throw a Insert failed. and color="red">Insert success. in you Message Resouces file. > > Gary > > >>> [EMAIL PROTECTED] 1/9/2006 4:37 AM >>> > > Can Any one provide me information regard

Re: formatting messages in different colours

2006-01-09 Thread Gary Feidt
Why not just throw a Insert failed. and Insert success. in you Message Resouces file. Gary >>> [EMAIL PROTECTED] 1/9/2006 4:37 AM >>> Can Any one provide me information regarding display of Messages from Application Resources in different colours and FONTS. Example: I need to display message

Re: Noob Q: "Failed to obtain specified collection"

2006-01-09 Thread Max Cooper
A tag in your JSP is probably expecting a Collection, but the getXXX() method it calls has a String (or some other non-Collection object) return type. Post the tag from your JSP that results in the error and the related getter(s) from your ActionForm for more specific assistance. -Max On Mon, 20

formatting messages in different colours

2006-01-09 Thread Raghuveer
Can Any one provide me information regarding display of Messages from Application Resources in different colours and FONTS. Example: I need to display messages based on Sucess or failure of Database Operations. I need to display messages in JSP Page as follows 1) Successful database opera

RE: [OT] JavaWebParts and Struts / Ajax integration

2006-01-09 Thread Pilgrim, Peter
> -Original Message- > From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] > Sent: 06 January 2006 18:49 > To: Struts Users Mailing List > Cc: 'Struts Users Mailing List' > Subject: RE: [OT] JavaWebParts and Struts / Ajax integration > > > On Fri, January 6, 2006 1:27 pm, Pilgrim, Peter sa