ADF Faces with Struts 2 -JSf plugin

2007-10-26 Thread robin bajaj
I have a fairly strong Struts 1.x background but suffered a lot in one of the recent projects because of the lack of some controls ( I didn't find using Dojo etc. that easy). I am currently working on a new project using Oracle ADF Faces and I am really very impressed by the out-of-the-box fun

struts 2 with jsf as plugin

2006-12-19 Thread robin bajaj
hi All, I heard that Struts2 can use JSF components selectively on per-page basis. Does this mean, I can use any JSF distribution including ICESoft, MyFaces, Sun's JSF RI etc. or does it have any limits as per the JSF distro is concerned. And can we mix match using a couple of distros, ie. us

Re: Struts2, Shale, Seam, pure JSF - what to use?

2006-12-19 Thread robin bajaj
Hi there, May I ask a corollary question in this context. What is the current status of Shale, is it build on top of SUN's JSF Ref. Implementation or MyFaces or Can I just use any JSF distro with Shale. Thanks for your replies in advance, regards robin On 12/19/06, Don Brown <[EMAIL PROTECTED]

Re: Ajax Requirement

2007-02-28 Thread robin bajaj
Another good online example using JWP http://www.learntechnology.net/content/ajax/ajax_select_alter.jsp On 2/28/07, Siva Gurusamy <[EMAIL PROTECTED]> wrote: Thanks for the reply. Can you please tell me which cookbook example which you are referring. I went through showcase.war, there was doub

Re: Need suggestion to load resource properties file dynamically

2007-03-01 Thread robin bajaj
Hi there, I am looking for similar results (*dynamically load properties file without restarting the server)) >You'll need to implement your own MessageResourcesFactory and configure > it in struts-config.xml. Your custom factory and/or the resource >bundles > it creates can use whatever logi

[OT] problem with displaytag column sorting in struts 1.2 web project

2007-04-08 Thread robin bajaj
Hi All, In my Struts 1.2.x webapp, I am getting some Patient records from backend using my PatientManager businessObject (which uses Hibernate) to send back a populated Patients List in the request scope. (Patient is my bean). I am feeding this patientsList to Displaytag table, to show the dat

Re: Flex front end

2007-04-20 Thread robin bajaj
I just came across this article that explains how to use Flex front end for Struts web app. http://www.adobe.com/devnet/flex/articles/struts.html hope that helps, robin On 4/20/07, Richard Kroll <[EMAIL PROTECTED]> wrote: I am new to struts so bear with me if I'm slightly off, but Flex and str

Re: [BEER] Re: Books

2007-04-27 Thread robin bajaj
i hope Ted (Husted) is reading this post ... (and several others from Struts 2 users who have expressed the need for such a book.. robin (a Struts2 fan, but waiting for some good book) - Original Message From: Chris Pratt <[EMAIL PROTECTED]> To: Struts Users Mailing List Sent: Friday,

how to generate generic errors using Struts validation framework

2006-10-31 Thread robin bajaj
Hi Everyone, I am using Struts 1.2 validation framework where I am using the following elements to mention validation rules for specific action properties. But this only allows me to generate validation errors for specific ActionForm property names. I need to

Re: in Struts 2

2006-11-01 Thread robin bajaj
Hi Ashish, Just curious, Is it Struts 2 taglib that you are using in this case? I am still at Struts 1.2.x, was wondering if there are any datePicker/Calendar taglibs in the latest Struts 2.x Would appreciate your feedback, robin Asish Kr. Samanta wrote: Hi, I am Asish, I am using datepi

Re: how to generate GLOBAL errors using Struts validation framework

2006-11-01 Thread robin bajaj
ty=" value for every field name that I am trying to validate. I need to know how can I achieve part (a) ?? Thanks for your help, robin Dave Newton wrote: From: robin bajaj [mailto:[EMAIL PROTECTED] I need to know how can I generate GLOBAL validation errors using the validation.xml file

Re: newbie struts and beans scope question

2006-11-03 Thread robin bajaj
Hi Rick, I am using Struts 1.2. Unless Struts 1.3 provides something special on this aspect, following is my understanding : a) If you have a bean that is NOT an actionForm, then you HAVE TO explicitly put it in request scope using request.setAttribute("mybean",mybean); to access it in the jsp

Re: Using html:errors with a field that is iterated.

2006-11-03 Thread robin bajaj
Hi Adam, Yes, I think html:errors is a pretty good validaiton mechanism. Especially if you use the Struts validation framework (validation.xml, validator-rules.xml) for generating your errors. For showing errors right beside each specific field that fails the validation, you will need to have t

Ajax in Struts 1.x , && what about SSL in Struts 2.x

2006-11-08 Thread robin bajaj
Hi All, I am using Struts 1.2.x for my web app. I have a navigation functionality on my forms (*Prev, Next, First , Last) for navigating through the records. My client does not like the whole page refreshing when any of the navigation buttons is clicked. Is that something that I can avoid by usi

Re: RE: Input and results on the same JSP

2006-11-09 Thread robin bajaj
Hi Guys, sorry to jump in this thread. I am trying to achieve this sort of AJAX functionality at Struts 1.2.x level. Is it possible? or Do I have to upgrade to Struts 2.x for AJAX support ? Any good articles for this (preferrable Struts 1.2.x specific) ? Appreciate your help in advance, thanks,

problem with moving jsp pages under web-inf/ folder

2006-11-09 Thread robin bajaj
Hi Everybody, - SUMMARY - Can anyone tell me as to how can I make my jsp lying in Web-inf/jsp/ folder pick the stylesheet and javascript lying in Web-inf/scripts and Web-inf/css ?? - DETAILS - I have SSL enabled my web-app this morning using SSLext release 0 . I am using Struts 1.2.x with Tile

In search of a perfect AJAX solution for Struts

2006-11-09 Thread robin bajaj
Hi Guys, In search of a perfect AJAX solutions for Struts 1.2.x , I just came across this Struts HTML taglib mod. which does AJAX for you declaratively. here's the site - http://struts.sourceforge.net/ajaxtags/index.html Here's the goal (as mentioned on site) This project has the go

Re: problem with moving jsp pages under web-inf/ folder

2006-11-09 Thread robin bajaj
TML points to web-inf, it won't serve them. One way to do it is to create an action mapping that is just defined as a ForwardAction, e.g. However, why do you need to protect the CSS and javascript files? Why not have them outside of the WAR files's WEB-INF directory, then your http would

Fw: problem with moving jsp pages under web-inf/ folder

2006-11-09 Thread robin bajaj
/javascript"> any idea, why is it still not working for me, I appreciate your help so far on this issue, robin - Original Message - From: "robin bajaj" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Thursday, November 09, 2006 5:15 PM Subject

dojo toolkit available for Struts 1.x ?

2006-11-10 Thread robin bajaj
Hi All, Thanks a lot for Struts community's help so far regarding all my questions. I developing a webApp using Struts 1.2.x I have been searching around for good jsp taglib for tab controls. And specifically that allows sub-tabs in those tabs. I have been hearing about dojo on this forum in Stru

Re: how to call action from java script

2006-11-10 Thread robin bajaj
Hi there, I would catch a control's (radionButton etc) event to fire the form's submit method to call its action etc. - You can catch the onclick event of the radio button and submit the form and hence call its action. onclick="document.forms[form-name-from-struts-config.xml].submit();" />

Re: In search of a perfect AJAX solution for Struts

2006-11-10 Thread robin bajaj
uot; (2006, Apress, ISBN 1-59059-695-1) Java Web Parts - http://javawebparts.sourceforge.net Supplying the wheel, so you don't have to reinvent it! On Thu, November 9, 2006 4:55 pm, robin bajaj wrote: Hi Guys, In search of a perfect AJAX solutions for Struts 1.2.x , I just came across this Struts HTML taglib mo

Re: problem with moving jsp pages under web-inf/ folder

2006-11-10 Thread robin bajaj
build your war file. -ed On 11/9/06, robin bajaj <[EMAIL PROTECTED]> wrote: Hi Ed, Thanks for the suggestion, I agree with you. But when I changed my JSP Web-inf/jsp/non-tiles.jsp to point to my .css and .js in your suggested way, I get weird behaviour in the browsers. In IE 6, I ge

Re: Struts 1.3.5 and Eclipse 3.2

2006-11-10 Thread robin bajaj
Hi Bruno, The problem seems to be incorrect http://struts.apache.org/tags-logic"; prefix="logic" %> here's what I have. I know they changed it from Struts 1.1 to 1.2. Unless they changed it f You can give a shot with this. Or else just wait for some Struts 1.3.x user to respond. regards, robin

Re: Struts 1.3.5 and Eclipse 3.2

2006-11-10 Thread robin bajaj
Hi Bruno, The problem seems to be incorrect http://struts.apache.org/tags-logic"; prefix="logic" %> here's what I have. I know they changed it from Struts 1.1 to 1.2. << Unless they changed it from 1.2 to 1.3.x as well, it should work for you.>> You can give a shot with this. Or else just wait fo

[OT-Friday]What's the best way to search through Struts user list ...

2006-11-10 Thread robin bajaj
Hi Guys, What's the best way to search through Struts user mailing list archives ...for already known issues . Just Google or do we have some search functionality on the site that I didnt notice during a quick glance thanks, robin --

Re: Struts 1.3.5 and Eclipse 3.2

2006-11-10 Thread robin bajaj
Or actually you can just get it from your project structure, depending upon your jsp and tld location. Say your jsp is in WebRoot/ [[ webRoot/abc.jsp ]] and your tld is lying in web-Inf/struts-logic.tld {usual tooling/user practice} Then you can access the .tld as <%@ taglib uri="/WEB-INF/

Re: [OT-Friday]What's the best way to search through Struts user list ...

2006-11-10 Thread robin bajaj
Great going folks. Thanks a lot. robin Wendy Smoak wrote: On 11/10/06, robin bajaj <[EMAIL PROTECTED]> wrote: What's the best way to search through Struts user mailing list archives ...for already known issues . Just Google or do we have some search functionality on the site t

Re: In search of a perfect AJAX solution for Struts

2006-11-10 Thread robin bajaj
-Original Message- From: robin bajaj [mailto:[EMAIL PROTECTED] Sent: Friday, November 10, 2006 3:03 PM To: Struts Users Mailing List Subject: Re: In search of a perfect AJAX solution for Struts Hi Frank, Thanks a lot for your reply on this issue. I did give it a quick shot to Java Web Parts

bean:write not displaying the intended values

2006-11-16 Thread robin bajaj
Hi Folks, At Struts 1.x level, I am writing the value of bean's property on a jsp page using tag , but nothing gets displayed on the web page. Infact the generated HTML (view source in the browser), shows the tag's code as-is. scope="request"/> However, I can display the value of bean's p

Re: bean:write not displaying the intended values

2006-11-16 Thread robin bajaj
ton, - R Chris Loschen wrote: Did you include the taglib reference in your JSP page? Something like this: <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> Without it, the JSP can't find the custom tag and you get the behavior you're describing.

Re: another html:link issue

2006-11-21 Thread robin bajaj
ction or POJO that contains the field (omit if property is a scalar) -- paramProperty: the name of the field in the above object, or the name of a scalar-typed scoped variable HTH, -ed On 11/20/06, robin bajaj <[EMAIL PROTECTED]> wrote: Hi Folks, I am trying to have an html:link in my jsp f

session maintenance in struts webapp

2006-11-21 Thread robin bajaj
Hi Folks, In my Struts 1.2.x based webapp, I intend to maintain a session for every logged in user. -- More details -- Say after 'n' seconds of inactivity I want to pop up a message saying the session will expire in another 'm' seconds. The user can click on 'refresh' button to get some more grace

Having problems with Struts validation framework

2006-11-23 Thread robin bajaj
Hi Folks, --- problem --- My validation is working but the control doesnt go back to the input page. I want the input page to render again showing the errors. --- Details -- I am using Struts 1.1.x for my webApp. My validation is working fine. (validator-rules.xml and validation-renewal.xml s

[Fwd: Having problems with Struts validation framework]

2006-11-23 Thread robin bajaj
Hello folks, I found a little issue with the action that's being called. Please dis-regard my previous mail reporting this issue. Its resolved now. However, I have another related issue. My loyaltyPAge.jsp has two buttons - Exit and continue. I want the validation to occur only when "Continue" i

how to use validation rules from validatior-rules.xml in Struts Actions

2006-11-23 Thread robin bajaj
Hi Folks, I have an Email text field that I want to validate against Struts validation framework's provided "email" Rule in validator-rules.xml. Can I do this programmatically in Struts Action or ActionForm's java code instead of having to declaratively do it in validation.xml. ?? Any help wo

Re: how to selectively call struts validation from a form

2006-11-23 Thread robin bajaj
Thanks Paul for your input on this issue and Thanks Wendy for suggesting the following link. > Rick has an article on calling validation manually, here: > http://learntechnology.net/validate-manually.do > I understand this stuff ActionErrors errors = form.validate( mapping, request )

help with using valuelist taglib with Struts 1.2.x

2006-11-27 Thread robin bajaj
I am trying to use valueList taglib with my Struts 1.2.x webapp. I basically have a collection of dto's having the data that I want to display. I am using Struts with Hibernate 3.0. I dont have any Spring knowledge. Have any of you been able to use valueList and its sorting/paging features with m

Help with using formaKey attribute for display dollar values

2006-11-28 Thread robin bajaj
Hi Folks, If I have an int value ( showing number of cents) in session scope that is going to get displayed on the JSP as dollar value. I am using the following tag formatKey="format.msf" scope="session"/> where I have the following key defined in my .properties file format.msf=$#,##0.00 B

[Fwd: Help with using formaKey attribute for display dollar values]

2006-11-28 Thread robin bajaj
Sorry I forgot to mention, I am actually dividing the 1896 cents by 100 before the jsp page to make the value 18.96 and then display it using the formatkey as $18.00. I would appreciate a formatKey pattern that could convert 1896 straight into $18.96 (without me having to divide it by 100). Th

Re: [Fwd: Help with using formaKey attribute for display dollar values]

2006-11-28 Thread robin bajaj
no that variable is a float. Hubert Rabago wrote: Did you declared the variable that holds the "1896 / 100" value as int? On 11/28/06, robin bajaj <[EMAIL PROTECTED]> wrote: Sorry I forgot to mention, I am actually dividing the 1896 cents by 100 before the jsp page to make the

[Fwd: Re: [Fwd: Help with using formaKey attribute for display dollar values]]

2006-11-28 Thread robin bajaj
Actually its a double. sorry --- Begin Message --- no that variable is a float. Hubert Rabago wrote: Did you declared the variable that holds the "1896 / 100" value as int? On 11/28/06, robin bajaj <[EMAIL PROTECTED]> wrote: Sorry I forgot to mention, I am actually dividing t

HELP with switching modules in Struts 1.2.x

2006-12-07 Thread robin bajaj
Hi All, I am trying to switch modules in Struts 1.2.x webapp using a global forward. Here's the global forward path="/MODULE2/action.do" redirect="true"/> Here's the action Mapping that wants to switch to MODULE2 when an actionForward "toAccMain_CustomerProfilePage" is returned by "Process

[Fwd: HELP with switching modules in Struts 1.2.x]

2006-12-07 Thread robin bajaj
Please ignore my previous mail. I found the issue. I was trying to forward from a local forward to a global forward. I started forwarding to the global forward directly and everthing started working fine. thanks, robin --- Begin Message --- Hi All, I am trying to switch modules in Struts 1.2.