Re: [OT] JSF-Shale-Facelets orthogonality

2006-01-12 Thread Craig McClanahan
On 1/12/06, David G. Friedman <[EMAIL PROTECTED]> wrote: > > Since no one else has answered, I'll give this a try: > > JSF is the base for everything you asked about. Only AFTER you are > comfortable with JSF implementation (the Sun JSF RI > or the MyFaces runtime) would I recommend you try Facele

Re: Opening a new window

2006-01-12 Thread Aldo Vadillo Batista
I think you can use javascript for accessing to struts html:hidden variables. 12 Jan 2006 14:59:49 -, rahul kshirsagar <[EMAIL PROTECTED]>: > Hi, > > I am using struts in my application.I have one parent jsp from which i am > opening a new window.Now i want to pass some value from this child

Re: Need help about data repeater in JSF

2006-01-12 Thread Werner Punz
JEEVANATHAM P. /BPCRP/INFOTECH/VASHI schrieb: > Hi all, > > > > In my screen I used data repeater tag from jsf. It's working fine me. Now I > need to call a popup called as LOV from that textbox. When we click an image > it will open a popup window. From that popup we need to set values to the

need help in tomhawk calendar

2006-01-12 Thread JEEVANATHAM P. /BPCRP/INFOTECH/VASHI
Hi all, For the popup datepicker I am trying to use the t:inputCalendar tag. In the examples it is working fine. When I try to implement in to my application it gives java script error. Please help me. Thanks in advance, jeeva -- Greetings! ICICI Infotech is now 3i Infotech. The

Re: [OT] Getting started is confusing [was] Re: Need advice between Shale or Struts-Faces

2006-01-12 Thread Craig McClanahan
On 1/12/06, Alexandre Poitras <[EMAIL PROTECTED]> wrote: > > On 1/12/06, Werner Punz <[EMAIL PROTECTED]> wrote: > > Alexandre Poitras wrote: > > > I agree with you Michael since our designer is a big fan of Zen Garden > > > and I must say I don't miss working with tables :) I would like a > > > str

Re: [shale] starting server errors

2006-01-12 Thread Craig McClanahan
On 1/12/06, Garner, Shawn <[EMAIL PROTECTED]> wrote: > > Googled and couldn't find anything and not sure what to try and still have > this error: > > 01/12 16:16:18 error Error loading class for Filter shale: Filter is > disabled. > java.lang.IllegalStateException: No Factories configured for this

RE: [OT] JSF-Shale-Facelets orthogonality

2006-01-12 Thread David G. Friedman
Since no one else has answered, I'll give this a try: JSF is the base for everything you asked about. Only AFTER you are comfortable with JSF implementation (the Sun JSF RI or the MyFaces runtime) would I recommend you try Facelets, Shale or both. Facelets and Shale bring extra functionality on

Re: Wildcards in actionmapping and dodgey URLs

2006-01-12 Thread Josh McDonald
So the answer would be a 404 then? :) It's what I assumed would happen, just wasn't sure. Thanks for the response, -Josh -- "His comrades fought beside him, Van Owen and the rest... But of all the thompson gunners- Roland was the best." Josh McDonald Analyst Programmer Information

Re: Validation with DynaValidatorForm not working - help

2006-01-12 Thread Vasumathi
can u send ur struts_config.xml file with validator plugin and mentioning message_resource class in that file. also pls send ur jsp in which u want to print error messages. regards vasu Quoting Mahadevan Venkataraman <[EMAIL PROTECTED]>: > Thanks for the replies. > > Here is more info on the

Re: Wildcards in actionmapping and dodgey URLs

2006-01-12 Thread Don Brown
You handle it just as you would if you didn't use wildcards and the user typed a non-existent URL. The typical way to handle this would be to define an action mapping and set unknown="true" to tell Struts to call it if it cannot find the requested action. Don On 1/12/06, Josh McDonald <[EMAIL PR

Re: Wildcards in actionmapping and dodgey URLs

2006-01-12 Thread Rick R
Josh McDonald wrote: Quick question: When you've a wildcard in an actionmapping path, what will you get when the user makes something up that has no corresponding class? Will it give a 404, or an ugly stuts error? If it's an ugly error, how do you catch it? Somehow with the in struts-config.xml?

Wildcards in actionmapping and dodgey URLs

2006-01-12 Thread Josh McDonald
Quick question: When you've a wildcard in an actionmapping path, what will you get when the user makes something up that has no corresponding class? Will it give a 404, or an ugly stuts error? If it's an ugly error, how do you catch it? Somehow with the in struts-config.xml? -- "His comrades

Re: How to use a POJO inside Struts FormBean?

2006-01-12 Thread Rick R
Nevermind. I see that your last reply Karan somehow got knocked out of this thread. (Possibly you started a new message and just pasted in the subject? since it ended up with a different MessageID in the header which is what my Thunderbird client uses for threading). Rick R wrote: Gupta, Kara

Re: How to use a POJO inside Struts FormBean?

2006-01-12 Thread Rick R
Gupta, Karan wrote: / CLASS IDefForm ***/ public class IDefForm extends ActionForm { private IDef iDef; Did you try renaming the property like Hubert suggested? If not, that iDef will DEFINITELY cause the problem that you mention. Change private IDef iDef; to something like IDef i

Re: Enabling links according to user's authorization

2006-01-12 Thread Brian Trzupek
Rivka, I have been asked this question many times, so I decided to just add the answer to my blog. It is there for your enjoyment! Let me know if you need more help. http://therustednail.blogspot.com/2006/01/role-based-user-authentication-in.html Thanks, Brian Trzupek Blog: http://therustednai

[OT] JSF-Shale-Facelets orthogonality

2006-01-12 Thread xzuma
Hello, I am reading discussions about the above three frameworks with one goal in mind, to find out whether JSF, Shale and Facelets are trully orthogonal. That is, if I go along any path, will be able to add any other framework lateron? How hard it is? What features of the frameworks are interlapp

RE: [shale] starting server errors

2006-01-12 Thread Garner, Shawn
Googled and couldn't find anything and not sure what to try and still have this error: 01/12 16:16:18 error Error loading class for Filter shale: Filter is disabled. java.lang.IllegalStateException: No Factories configured for this Application - typically this is because a context listener is not

RE: How to use a POJO inside Struts FormBean?

2006-01-12 Thread Gupta, Karan
Hi Hubert, I tried your method, by changing the jsp to use IDef.partNumber. It works perfectly. Thanks. -Original Message- From: Hubert Rabago [mailto:[EMAIL PROTECTED] Sent: Thursday, January 12, 2006 3:24 PM To: Struts Users Mailing List Subject: Re: How to use a POJO inside Struts Fo

Re: [OT] Getting started is confusing [was] Re: Need advice between Shale or Struts-Faces

2006-01-12 Thread Alexandre Poitras
On 1/12/06, Werner Punz <[EMAIL PROTECTED]> wrote: > Alexandre Poitras wrote: > > I agree with you Michael since our designer is a big fan of Zen Garden > > and I must say I don't miss working with tables :) I would like a > > strict XHTML rendererkit but I must say that at least the JSF standard >

RE: [OT] Webapp help framework?

2006-01-12 Thread Wiebe de Jong
I need to read these messages more fully before I respond. ;-( Wiebe -Original Message- From: Wiebe de Jong [mailto:[EMAIL PROTECTED] Sent: Thursday, January 12, 2006 3:14 PM To: 'Struts Users Mailing List' Subject: RE: [OT] Webapp help framework? Actually, when I put 'java help' into G

RE: How to use a POJO inside Struts FormBean?

2006-01-12 Thread Gupta, Karan
Thanks for your reply. Here's the rest of the code: /*** CLASS IDef ***/ package com.fmm.web.inventory.beans; public class IDef { private long iDefID; private String partNumber; private String description; private int equipType; private String partType;

Re: How to use a POJO inside Struts FormBean?

2006-01-12 Thread Hubert Rabago
You'll need to rename your "iDef" property if that is what you're calling it, via getIDef/setIDef. That pair will result in a property name of "IDef". If you'd rather not change your accessor methods, then use "IDef.partNumber" instead of "iDef.partNumber". [Wendy can quote the JavaBean spec rel

Re: How to use a POJO inside Struts FormBean?

2006-01-12 Thread Torgeir Veimo
On Thu, 2006-01-12 at 15:15 -0800, Gupta, Karan wrote: > > I get this exception: > javax.servlet.ServletException: No getter method for property > iDef.partNumber of bean org.apache.struts.taglib.html.BEAN > > So what is the way to achieve what I am trying to do? > What am I doing wrong? Probab

RE: [OT] Webapp help framework?

2006-01-12 Thread Wiebe de Jong
Actually, when I put 'java help' into Google I came up with the JavaHelp System at http://java.sun.com/products/javahelp/ Wiebe -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 10, 2006 7:03 AM To: Struts Users Mailing List Subject: [OT] Webapp help

How to use a POJO inside Struts FormBean?

2006-01-12 Thread Gupta, Karan
Hi, I am trying to use a POJO inside a Struts (1.2.7) FormBean, but I am unable to access the fields inside the POJO. package com.fmm.web.inventory.forms; public class IDefForm extends ActionForm { private IDef iDef; private List inventoryDefinitions; ...getters ..and..

Re: [OT] Getting started is confusing [was] Re: Need advice between Shale or Struts-Faces

2006-01-12 Thread Werner Punz
Alexandre Poitras wrote: I agree with you Michael since our designer is a big fan of Zen Garden and I must say I don't miss working with tables :) I would like a strict XHTML rendererkit but I must say that at least the JSF standard components don't produce garbage . What I am doing right now is

quartz plugin issue

2006-01-12 Thread lio struts
Hello world, I'm trying to use http://demo.jgsullivan.com/struts/ quartz plugin for struts. I use JBoss3.2.2/Tomcat-4.1and quartz 1.4.5 In my struts-config i've addded : In my WEB-INF, the file quartz-config.xml : And in WEB-INF/classes, the file

What to do...what to do...

2006-01-12 Thread Murray Collingwood
Hi folks I have a problem with one of my new sites not connecting to the MySQL database. I believe the problem is definitely in the context.xml, however different things happen when I move the app between two servers. You can see the site at http://www.pancakemanor.com.au and although it looks

RE: [shale] starting server errors

2006-01-12 Thread Garner, Shawn
Alright I fixed the dtd problem. Stupid Jrun had a bad one in their online examples. This is my only error left: 01/12 16:16:18 error Error loading class for Filter shale: Filter is disabled. java.lang.IllegalStateException: No Factories configured for this Application - typically this is becaus

Re: [shale] starting server errors

2006-01-12 Thread Wendy Smoak
On 1/12/06, Garner, Shawn <[EMAIL PROTECTED]> wrote: > I'm not getting the el error anymore but still getting the following: I'm afraid I'm out of ideas. At this point I'd want Craig to confirm that it _is_ still possible to use Shale in a Servlet 2.3 environment. (The website says that it's no

Re:

2006-01-12 Thread Josh McDonald
>styleId, reference the taglib docs: >http://struts.apache.org/struts-doc-1.2.x/userGuide/struts-html.html#form Ah thanks I didn't see that. >>Or to generate a name="" that's not based on the name of the form >bean? >> >> >I'm not sure why you'd want to that. So I can have two forms that use

RE: [shale] starting server errors

2006-01-12 Thread Garner, Shawn
I'm not getting the el error anymore but still getting the following: 01/12 15:44:23 error Error loading class for Filter shale: Filter is disabled. java.lang.IllegalStateException: No Factories configured for this Application - typically this is because a context listener is not setup in your web

Re: [OT JSF/Shale]

2006-01-12 Thread Laurie Harper
Garner, Shawn wrote: I want to use a link in one view page to go to another view without going through a bean action. Something like this? I thought maybe I could just use the jsp:forward tag and put the name of the jsp page. view1.jsp or I would like to hard code the resu

Re: [shale] clay renderId

2006-01-12 Thread Gary VanMatre
>From: Ryan Wynn <[EMAIL PROTECTED]> > > Can the renderId of a component be less than 1? I have built parent > components that reference child components. These parent components > are meant to be extended to add more child components. What I would > like is to have the base parent components r

Re: [shale] starting server errors

2006-01-12 Thread Wendy Smoak
On 1/12/06, Garner, Shawn <[EMAIL PROTECTED]> wrote: > It says: > > If you are using a JSP 1.2 container like Tomcat 4 you must also copy the > file jsp-2.0.jar to your WEB-INF/lib dir > > I'm not using Tomcat 4 but am using a 1.2 container. > Where do I get the jsp-2.0.jar file? I assume it mean

RE: [shale] starting server errors

2006-01-12 Thread Garner, Shawn
It says: If you are using a JSP 1.2 container like Tomcat 4 you must also copy the file jsp-2.0.jar to your WEB-INF/lib dir I'm not using Tomcat 4 but am using a 1.2 container. Where do I get the jsp-2.0.jar file? Shawn -Original Message- From: Garner, Shawn Sent: Thursday, January 12,

Re: Session Attribute strange behaviour

2006-01-12 Thread Marcelo Morales
Hello again On Jan 12, 2006, at 4:19 AM, Gaet wrote: Thanks all for your reply! Michael : What are "navigation buttons"? an applet, a dhtml framework? Have you a link? thanks He is questioning your requirement. It does not seem reasonable to put a link to the last page visited when the b

Re: Maintaining session state in remote servlet form post

2006-01-12 Thread Laurie Harper
Christopher Becker wrote: We have a struts app (v1.2.7) that uses Tiles for UI presentation, running in WebLogic 8.1. We are trying to implement a form whose action is to a remote servlet. The remote site actually generated the form details for us, and one of the fields provided is a hidden fiel

Re: Jsp , struts page forward problem?

2006-01-12 Thread Laurie Harper
Melih U. Unsal wrote: I am developing a web application with jsp and struts. (i am developing with websphere studio application developer). My question is about forwarding between pages. I have 2 jsp pages. First one is "user.jsp" and the other one is "useraddress.jsp" My first page (user.js

Re: [OT] Struts in Tomcat

2006-01-12 Thread Laurie Harper
Neil Meyer wrote: Good day, I know this is probably not the right user group for this question but I really need some advice I run 'n struts application in Tomcat. It is tomcat 5.5.9 and JDK: j2sdk-1_11_2_09. The problem is that this Tomcat get sometimes so slow and it is not stable it will som

RE: [shale] starting server errors

2006-01-12 Thread Garner, Shawn
I think I might be missing some myfaces dependency jars. -Original Message- From: Garner, Shawn Sent: Thursday, January 12, 2006 3:03 PM To: 'Struts Users Mailing List' Subject: RE: [shale] starting server errors Yes, I did. -Original Message- From: Wendy Smoak [mailto:[EMAIL PR

RE: [shale] starting server errors

2006-01-12 Thread Garner, Shawn
Yes, I did. -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Thursday, January 12, 2006 2:55 PM To: Struts Users Mailing List Subject: Re: [shale] starting server errors On 1/12/06, Garner, Shawn <[EMAIL PROTECTED]> wrote: > I found one reason it wasn't working. > I h

Re: [shale] starting server errors

2006-01-12 Thread Wendy Smoak
On 1/12/06, Garner, Shawn <[EMAIL PROTECTED]> wrote: > I found one reason it wasn't working. > I had to go back to this version of web-app. > PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" > "http://java.sun.com/j2ee/dtds/web-app_2.3.dtd";> > > After that though I'm gettin

Re: Create tabs using struts

2006-01-12 Thread Michael Jouravlev
The download page: https://sourceforge.net/project/showfiles.php?group_id=154342 The project homepage: http://jspcontrols.sourceforge.net/ Michael. On 1/12/06, Ashish Kulkarni <[EMAIL PROTECTED]> wrote: > > Hi > Where can i download it and test it, also the URL for > short desciption does not wor

[shale] starting server errors

2006-01-12 Thread Garner, Shawn
I found one reason it wasn't working. I had to go back to this version of web-app. http://java.sun.com/j2ee/dtds/web-app_2.3.dtd";> After that though I'm getting some errors upon startup: 01/12 14:29:28 error Error loading class for Filter shale: Filter is disabled. java.lang.IllegalStat

[shale] clay renderId

2006-01-12 Thread Ryan Wynn
Can the renderId of a component be less than 1? I have built parent components that reference child components. These parent components are meant to be extended to add more child components. What I would like is to have the base parent components reference their child as say renderId=-1 and rend

Re: [JSF/SHALE] 403 error

2006-01-12 Thread Craig McClanahan
On 1/12/06, Garner, Shawn <[EMAIL PROTECTED]> wrote: > > http://localhost:8101/totwcf/totwcf07/ > > > > > I have a faces-totwcf.xml file that is bound in jrun to totwcf context. > > > When I visit > http://localhost:

Re: Create tabs using struts

2006-01-12 Thread Ashish Kulkarni
Hi Where can i download it and test it, also the URL for short desciption does not work --- Michael Jouravlev <[EMAIL PROTECTED]> wrote: > Will something like this work: > http://www.superinterface.com/jspcontrols/tabcontrol/ > Here is a short description how to customize it: > http://www.jroller

Re: And Tags

2006-01-12 Thread Wendy Smoak
On 1/12/06, Asad Habib <[EMAIL PROTECTED]> wrote: > Hello. I am using the select and options tags in one of my JSP pages. My > first option has the value attribute set to an empty string (i.e. > value='') and the second option has the value attribute equal to 0 (i.e. > value="0"). For some reason,

[JSF/SHALE] 403 error

2006-01-12 Thread Garner, Shawn
http://localhost:8101/totwcf/totwcf07/ I have a faces-totwcf.xml file that is bound in jrun to totwcf context. When I visit http://localhost:8101/totwcf/totwcf07/ I get a 403 error (You are not authorized to v

And Tags

2006-01-12 Thread Asad Habib
Hello. I am using the select and options tags in one of my JSP pages. My first option has the value attribute set to an empty string (i.e. value='') and the second option has the value attribute equal to 0 (i.e. value="0"). For some reason, when the page is accessed the first time by a user, th

Re: Create tabs using struts- URL does not work

2006-01-12 Thread Michael Jouravlev
On 1/12/06, Ashish Kulkarni <[EMAIL PROTECTED]> wrote: > hi there > the short description URL > http://www.jroller.com/page/javadujour/20060110 > does not work, give 403 error This is weird. Works for me. Would you try once again? Just in case, I attached the content of that page with this email.

Re: [OT JSF/Shale]

2006-01-12 Thread Craig McClanahan
On 1/12/06, Garner, Shawn <[EMAIL PROTECTED]> wrote: > > I want to use a link in one view page to go to another view without going > through a bean action. That's actually pretty easy ... the thing you enter for the "action" attribute can be either a method binding to a bean action, or a literal

Re: Validation with DynaValidatorForm not working - help

2006-01-12 Thread Mahadevan Venkataraman
Here is the stack trace that I got from the catalina.log Maha Jan 11, 2006 3:05:52 PM org.apache.struts.validator.DynaValidatorForm validate SEVERE: org.apache.struts.validator.FieldChecks.validateRequired(java.lang.Object, org.apache.commons.validator.ValidatorAction, org.apache.commons.vali

Re: Create tabs using struts- URL does not work

2006-01-12 Thread Ashish Kulkarni
hi there the short description URL http://www.jroller.com/page/javadujour/20060110 does not work, give 403 error Just one more question, i can i programmatically decide which tab is to be displayed, for example, user clicks a button on tab1 , can i open tab 2 and load information and show it to use

Re: Get Struts Internal Logs From Tomcat

2006-01-12 Thread Laurie Harper
Hmm, if you have the JAR file deployed correctly and the log4j.poperties in the right place then, with that configuration, I would expect you to get flooded with debug logging :-) The only thing I can think of is to add an explicit category, such as log4j.logger.org.apache.struts=DEBUG though

Re: Create tabs using struts

2006-01-12 Thread Wendy Smoak
On 1/12/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > But nothing prevents me from putting this markup inside a Tab tag. I > think I will do that, and I will add "role" attribute as well, just > like you have in Struts Menu. Or do you want to have it in a different > way? I am all ears :-) A

Re: Create tabs using struts

2006-01-12 Thread Michael Jouravlev
On 1/12/06, Wendy Smoak <[EMAIL PROTECTED]> wrote: > On 1/12/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > > > Oops, bad URL for live demo. Here is the proper one: > > http://www.superinterface.com/jspcontrols/tabcontrol/index.jsp > > Nice. :) How would you you conditionally display each tab

Re: quartz plugin issue

2006-01-12 Thread lio struts
I did excactly the same with quartz-1.5.1 (it seems to include jboss special features)and i have no problem on startup. I have to go further to say it works... 2006/1/12, lio struts <[EMAIL PROTECTED]>: > > Hello world, > > I'm trying to use http://demo.jgsullivan.com/struts/ quartz plugin for >

Re: [OT] Getting started is confusing [was] Re: Need advice between Shale or Struts-Faces

2006-01-12 Thread Craig McClanahan
On 1/12/06, Werner Punz <[EMAIL PROTECTED]> wrote: > > Rick Reumann schrieb: > > > Please don't get me wrong, I'm not anti-JSF - I really like a LOT of it. > > I just wish there was some kind of effort to bring a lot of this > > together into one 'framework' - I know this goes against a lot of the

Re: Enabling links according to user's authorization

2006-01-12 Thread Dave Newton
Rivka Shisman wrote: > Can you please send an example code of overloading the processRoles > method? And also the relevant part in struts config file? > Too busy right now, but http://www.onjava.com/pub/a/onjava/2004/11/10/ExtendingStruts.html might give you enough info to start on your own. As

Re: Create tabs using struts

2006-01-12 Thread Wendy Smoak
On 1/12/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > Oops, bad URL for live demo. Here is the proper one: > http://www.superinterface.com/jspcontrols/tabcontrol/index.jsp Nice. :) How would you you conditionally display each tab based on user role(s)? Thanks, -- Wendy ---

Fwd: Create tabs using struts

2006-01-12 Thread Michael Jouravlev
Oops, bad URL for live demo. Here is the proper one: http://www.superinterface.com/jspcontrols/tabcontrol/index.jsp A short description how to customize it: http://www.jroller.com/page/javadujour/20060110 Works in both Ajax and non-Ajax mode. Michael. On 1/12/06, Ashish Kulkarni <[EMAIL PROTECT

Re: Create tabs using struts

2006-01-12 Thread Michael Jouravlev
Will something like this work: http://www.superinterface.com/jspcontrols/tabcontrol/ Here is a short description how to customize it: http://www.jroller.com/page/javadujour/20060110 Works in both Ajax and non-Ajax mode. Michael. On 1/12/06, Ashish Kulkarni <[EMAIL PROTECTED]> wrote: > Hi > Is th

[OT JSF/Shale]

2006-01-12 Thread Garner, Shawn
I want to use a link in one view page to go to another view without going through a bean action. Something like this? I thought maybe I could just use the jsp:forward tag and put the name of the jsp page. view1.jsp or I would like to hard code the result of this view a

convert html or jsp tags to struts tags

2006-01-12 Thread Ashish Kulkarni
Hi Is there a open source or free utility to convert html tags and jsp tags to equivalant struts tags? I have some HTML pages and plain jsp pages which i would like to convert to struts tags Ashish __ Do You Yahoo!? Tired of spam? Yahoo! Mail has

Re: Validation with DynaValidatorForm not working - help

2006-01-12 Thread Mahadevan Venkataraman
Thanks for the replies. Here is more info on the problem that I am having. I used the DynaValidatorForm in the form beans in order not to explicitly code the form beans. Also, I tried to do both client-side(javascript) and server-side validations. The client side validation worked. The javascrip

Re: Create tabs using struts

2006-01-12 Thread Sony Thomas
Hi Ashish, If you get any way around in this problem please let me know. I am also facing the same problem sony Ashish Kulkarni wrote: Hi Is there a any facility to create tabs in struts? I want to create a jsp page where user can click on link in one tab and the selected link will ope

Re: need Calendar in JSF

2006-01-12 Thread Werner Punz
Here is the demo: http://www.irian.at/myfaces/home.jsf Alexandre Poitras schrieb: > http://myfaces.apache.org/tomahawk/calendar.html > > On 1/12/06, JEEVANATHAM P. /BPCRP/INFOTECH/VASHI > <[EMAIL PROTECTED]> wrote: >> Hi all, >> >> >> >> Is there any component in JSF for date picker? >> >>

RE: Tomcat issues

2006-01-12 Thread David G. Friedman
Bogdan, There is an ant task you can add to your build.xml file which will restart your Tomcat webapp for you as it builds and copies everything over. Or you could ook into setting autoreload on your webapp's context. Regards, David -Original Message- From: [EMAIL PROTECTED] [mailto:[

Re: Enabling links according to user's authorization

2006-01-12 Thread Dave Newton
Brian Trzupek wrote: > Great question. What I have done in the past (and maybe there are > better ways) is to: > 1) When the user logs into the application, I cache off the users role > as well as other attributes (usually in a small User object in > session). thes attributes are the result of load

Maintaining session state in remote servlet form post

2006-01-12 Thread Christopher Becker
We have a struts app (v1.2.7) that uses Tiles for UI presentation, running in WebLogic 8.1. We are trying to implement a form whose action is to a remote servlet. The remote site actually generated the form details for us, and one of the fields provided is a hidden field entitled returnURL, which

Re: [OT] Getting started is confusing [was] Re: Need advice

2006-01-12 Thread Werner Punz
[EMAIL PROTECTED] schrieb: > > Hi Werner, do you mean "Derek Shen"? I found this: > http://www.javaworld.com/javaworld/jw-07-2004/jw-0719-jsf.html and he does > have a "FacesUtils" .. just wanted to make sure this si what you are > alluding to..? > yes... ---

Create tabs using struts

2006-01-12 Thread Ashish Kulkarni
Hi Is there a any facility to create tabs in struts? I want to create a jsp page where user can click on link in one tab and the selected link will open more details in other tab, that way i dont have to reload all the page each time user click on link, i am planning to use AJAX to update other ta

Re: [OT] Getting started is confusing [was] Re: Need advice between Shale or Struts-Faces

2006-01-12 Thread Werner Punz
Rick Reumann schrieb: > Please don't get me wrong, I'm not anti-JSF - I really like a LOT of it. > I just wish there was some kind of effort to bring a lot of this > together into one 'framework' - I know this goes against a lot of the > open source thinking, but if Shale is that useful, which I b

Re: [OT] Getting started is confusing [was] Re: Need advice between Shale or Struts-Faces

2006-01-12 Thread Werner Punz
I am also in a hurry so I will answer more extensively later... just to your problem now Rick Reumann schrieb: > > Sort off-topic but what do you use in JSF to create a display of List > data from a managedBean? I believe I was told to use DataTable and > that's what I used in my lesson, but I t

Re: Enabling links according to user's authorization

2006-01-12 Thread Brian Trzupek
Rivka, Great question. What I have done in the past (and maybe there are better ways) is to: 1) When the user logs into the application, I cache off the users role as well as other attributes (usually in a small User object in session). thes attributes are the result of loading the User and at

Re: need Calendar in JSF

2006-01-12 Thread Alexandre Poitras
http://myfaces.apache.org/tomahawk/calendar.html On 1/12/06, JEEVANATHAM P. /BPCRP/INFOTECH/VASHI <[EMAIL PROTECTED]> wrote: > Hi all, > > > > Is there any component in JSF for date picker? > > > > Please let me know. > > > > Thanks n advance > > > > jeeva > > -- > Greetings! > > > > > ICICI I

Re: How to update part of JSP using AJAX and struts action class

2006-01-12 Thread Frank W. Zammetti
Java Web Parts can do this: http://javawebparts.sourceforge.net And your in luck! The cookbook comes with an example of doing precisely this. Download it here: http://sourceforge.net/project/showfiles.php?group_id=140728&package_id=167877&release_id=366815 Frank Ashish Kulkarni wrote: Hi

Re: How to update part of JSP using AJAX and struts action class

2006-01-12 Thread Torgeir Veimo
On Thu, 2006-01-12 at 06:47 -0800, Ashish Kulkarni wrote: > Hi > I have a jsp where there are 2 drop down boxes, > I want to populate the value in second drop down box > depending on the selection of first dropdown box, > Suppose onClick event on first dropdown box i call a > struts Action using A

Opening a new window

2006-01-12 Thread rahul kshirsagar
Hi, I am using struts in my application.I have one parent jsp from which i am opening a new window.Now i want to pass some value from this child window and close the same. How to pass this value from child to parent jsp and also retain values in parent jsp? Which is the efficient way to impleme

Re: Opening a New window

2006-01-12 Thread Rick Reumann
rahul kshirsagar wrote the following on 1/12/2006 8:36 AM: Hi, Do i need to call action class on submit > of new jsp? I wasn't able to follow all of your original post, but in my opinion, you should always go through an Action, even if it's the the default ActionForward. This way, if later o

How to update part of JSP using AJAX and struts action class

2006-01-12 Thread Ashish Kulkarni
Hi I have a jsp where there are 2 drop down boxes, I want to populate the value in second drop down box depending on the selection of first dropdown box, Suppose onClick event on first dropdown box i call a struts Action using AJAX, this Action class populates the Form bean and sends it back to H

Jsp , struts page forward problem?

2006-01-12 Thread Melih U. Unsal
I am developing a web application with jsp and struts. (i am developing with websphere studio application developer). My question is about forwarding between pages. I have 2 jsp pages. First one is "user.jsp" and the other one is "useraddress.jsp" My first page (user.jsp) will show a user (on

Re: need Calendar in JSF

2006-01-12 Thread Rahul Akolkar
On 1/12/06, JEEVANATHAM P. /BPCRP/INFOTECH/VASHI <[EMAIL PROTECTED]> wrote: > Hi all, > > Is there any component in JSF for date picker? > Tomahawk calendar [1] for one. -Rahul [1] http://myfaces.apache.org/tomahawk/calendar.html > > > Please let me know. > > Thanks n advance > > jeeva >

Re: Space in jsp

2006-01-12 Thread Thomas Joseph
Hi, You may like to refer to the book "Core Servlets and Java Server Pages" by Marty Hall. (www.coreservlets.com) An online version is avalable at http://pdf.coreservlets.com/CSAJSP-Chapter4.pdf section 4.4. | Hi, | | Would you please explain what gzip compression in the servlet container i

Re: Get Struts Internal Logs From Tomcat

2006-01-12 Thread Jim Reynolds
Yes, it is there. On 1/11/06, Laurie Harper <[EMAIL PROTECTED]> wrote: > Did you put a copy of log4j.jar in WEB-INF/lib? > > L. > > Jim Reynolds wrote: > > Hello, > > I am creating a Struts webapp, and I would like to get some of the > > internal messages that struts throws out ... eg. Bean Crea

Opening a New window

2006-01-12 Thread rahul kshirsagar
Hi, I am using struts in my application.I have one JSP in which i have "search" and "submit" button.I am opening a new window on click of "search" and populating a jsp.Now i want to pass a value from this new jsp to old jsp and also want to retain data in old jsp.I am not able to pass the value

Re:

2006-01-12 Thread Dave Newton
Josh McDonald wrote: Quick question, is it possible to make generate an id="" ? styleId, reference the taglib docs: http://struts.apache.org/struts-doc-1.2.x/userGuide/struts-html.html#form Or to generate a name="" that's not based on the name of the form bean? I'm not sure why you'd

My ISP dumped me

2006-01-12 Thread Murray Collingwood
Hi folks I have a problem with one of my new sites not connecting to the MySQL database. I believe the problem is definitely in the context.xml, however different things happen when I move the app between two servers. You can see the site at http://www.pancakemanor.com.au and although it looks

RE: Tomcat issues

2006-01-12 Thread hermod.opstvedt
Hi Look in the Tomcat logs directory. In the ocalhost_logtxt file you will probably find your answer. Hermod -Original Message- From: Bogdan Paduraru [mailto:[EMAIL PROTECTED] Sent: Thursday, January 12, 2006 1:22 PM To: Struts Users Mailing List Subject: RE: Tomcat issues I used

RE: Tomcat issues

2006-01-12 Thread Bogdan Paduraru
I used Tomcat Manager for deploy and it works. I wonder why it didn't work when I just copied the file myself ... Thanx, Bogdan -Original Message- From: Ognjen Blagojevic [mailto:[EMAIL PROTECTED] Sent: Thursday, January 12, 2006 1:57 PM To: Struts Users Mailing List Subject: Re: Tomcat

[OT] Struts in Tomcat

2006-01-12 Thread Neil Meyer
Good day, I know this is probably not the right user group for this question but I really need some advice I run 'n struts application in Tomcat. It is tomcat 5.5.9 and JDK: j2sdk-1_11_2_09. The problem is that this Tomcat get sometimes so slow and it is not stable it will sometimes just hang.

need Calendar in JSF

2006-01-12 Thread JEEVANATHAM P. /BPCRP/INFOTECH/VASHI
Hi all, Is there any component in JSF for date picker? Please let me know. Thanks n advance jeeva -- Greetings! ICICI Infotech is now 3i Infotech. The e-mail addresses of the company's employees have been changed to @3i-infotech.com. You are requested to take note of this n

Re: Tomcat issues

2006-01-12 Thread Ognjen Blagojevic
Bogdan Paduraru wrote: I'm trying to run a Struts application built with Ant. Ant makes me the war file, I copy it under application directory in webapps of Tomcat server. When I try to run something from my browser it tells me the resource I call is unavailable. When I deploy the application unp

RE: Space in jsp

2006-01-12 Thread Meenakshi Singh
Ok. I'll do some R & D on it. Thanks a lot for your responses. Regards, Meenakshi -Original Message- From: Torgeir Veimo [mailto:[EMAIL PROTECTED] Sent: Thursday, January 12, 2006 4:30 PM To: user@struts.apache.org Subject: RE: Space in jsp On Thu, 2006-01-12 at 15:39 +0530, Meenakshi S

RE: Space in jsp

2006-01-12 Thread Torgeir Veimo
On Thu, 2006-01-12 at 15:39 +0530, Meenakshi Singh wrote: > My net surfing is not working today. > I did manage to view the main page but cudn't see the related links. > > I understood what gzip does.However, I couldn't understand as to how can I > implement it in my application. I use IBM websphe

RE: Space in jsp

2006-01-12 Thread Torgeir Veimo
On Thu, 2006-01-12 at 15:43 +0530, Meenakshi Singh wrote: > Also in another application , I have checked the entries that you have > specified for the compression on tomcat are already there. However, cudn't > see much difference in terms of performance. Well the network is probably fast between y

RE: Space in jsp

2006-01-12 Thread Meenakshi Singh
Also in another application , I have checked the entries that you have specified for the compression on tomcat are already there. However, cudn't see much difference in terms of performance. Thanks & Regards, Meenakshi. - To un

RE: Space in jsp

2006-01-12 Thread Meenakshi Singh
My net surfing is not working today. I did manage to view the main page but cudn't see the related links. I understood what gzip does.However, I couldn't understand as to how can I implement it in my application. I use IBM websphere server. I don't know if I need to get some tool etc. For ex: we

  1   2   >