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
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
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]
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
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
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
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
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,
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
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
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
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
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
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
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,
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
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
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
/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
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
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();" />
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
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
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
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
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
--
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/
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
-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
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
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.
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
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
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
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
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
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 )
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
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
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
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
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
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
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.
44 matches
Mail list logo