bean:size ..
Rodolfo
___
Este mensaje y cualquier fichero que pudiera adjuntar se dirige
exclusivamente a su destinatario. Si Vd. ha recibido esta comunicación por
error, por favor, notifíquelo inmediatamente al remitente y borre el
mensaje junto
I'm trying to use the validator framework. for client and server side
validations. I'm using Struts 1.1.
I have in my struts-config.xml
form-beans
form-bean name=UserListAdmin dynamic=true
type=com.sample.forms.SampleDynaForm
form-property name=test type=java.lang.String /
/form-bean
How much careless one can be!!!
The problem was with the form name in validation.xml (userListAdmin instead
of UserListAdmin)
:)
- Original Message -
From: Nitesh [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Friday, June 03, 2005 12:40 PM
Subject:
Thanks for the answer John...
Could you give me an example as to how we pre populate the array?
Regards,
Nitesh
- Original Message -
From: John Fitzpatrick [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Thursday, June 02, 2005 6:00 PM
Subject: Re: Problem
Now I have made a Struts app, that uses a LoginContext (Using
jbossSX/JAAS) to login. And this works fin.
But now I what to use the attibutes from the logincontext for more.
And what to be able to make menu's based on what role the user have. I
what to be able to set access controls to
i may be missing something here, but if random is what u want in a
collection, then y don't u use Collections.shuffle() ?
riyaz
Mark Benussi wrote:
Hello.
I am trying to write a comparator that randomly sorts a collection.
I have something like this:
new Comparator() {
Tony-
to allow access by your Struts app's bean tag set the struts-config.xml
message-resources parameter=test.ApplicationResources/
(ApplicationResources.properties is located in test folder off root)
Now you can have multiple message-resources with key=PropertyKey to
identify the particular
Hello.
I am trying to write a comparator that randomly sorts a collection.
I have something like this:
new Comparator() {
/**
* @see java.util.Comparator#compare(java.lang.Object,
java.lang.Object)
*/
public int compare(Object object1, Object
Hi All,
From where can I download struts el tag libraries.
I downloaded jakarta-struts-1.2.4.zip, but it does
not contain struts-html-el tag libraries
Thanks,
Ibha
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Take a look into the contrib/struts-el/lib folder !
Nico.
Ibha Gandhi a écrit :
Hi All,
From where can I download struts el tag libraries.
I downloaded jakarta-struts-1.2.4.zip, but it does
not contain struts-html-el tag libraries
Thanks,
Ibha
Ok. Now I know it was in the contrib directory.
Thanks,
Ibha
-Original Message-
From: Ibha Gandhi [mailto:[EMAIL PROTECTED]
Sent: Friday, June 03, 2005 5:22 PM
To: 'Struts Users Mailing List'
Subject: Newbie Q - Struts expression language taglibs
Hi All,
From where can I
:
UserBean users[] = (UserBean[]) form.get ( users );
for ( int i = 0; i users.length; i++ ) {
// check on the attributes of UserBean users[i]
}
Hope that example clears it up for you.
John
On 20050603 5:05 AM, Nitesh [EMAIL PROTECTED] wrote:
Thanks for the answer John
Have a look at the Struts Menu plugin
http://struts-menu.sourceforge.net/
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of marc
Sent: Friday, 3 June 2005 5:51 PM
To: user@struts.apache.org
Subject: How do I use JAAS(JbossSX) in Struts?
Now I have made a
Yeah looks cool and works with Velocity. I'm working on getting it to
work in me project.
But I still need to have access controls on me different action's.
Vance Karimi wrote:
Have a look at the Struts Menu plugin
http://struts-menu.sourceforge.net/
-Original Message-
From:
I use xdoclet and since Struts 1.1 you can do something like this in your
Action class where you can specify the list of Roles that have access to
this action.
/**
* @struts.action
* name=CustomerCreateForm
* path=/operator/customers/customer/CustomerAddAction
*
how do I switch off Struts - internal logging?
I am using struts 1.2.6.
Thanks in advance.
Abhinav
Mark Benussi wrote:
I am trying to write a comparator that randomly sorts a collection.
I'm not entirely convinced that the word sort it applicable here.
Collections.shuffle might do what you want if you have a List.
Dave
Greeting:
I am using html:multibox tag on a jsp page. The scope of form bean
associated with this jsp page is session. The Struts version is 1.1.
I first check some of checkboxes and then refresh the page. The bean's
property, i.e. selectedUsers (a String array), got populated and jsp
page
commons-logging.properties
# Disable logging
#org.apache.commons.logging.Log = org.apache.commons.logging.impl.NoOpLog
log4j.properties
log4j.enable=OFF
consult the applicable doc for either package
Martin-
in - Original Message -
From: Abhinav Bhatnagar [EMAIL PROTECTED]
To:
Hi,
I'm trying to use the tiles framework. Everything runs well, but if I
try to use a custom RequestProcessor I get this error in the console:
Jun 3, 2005 4:54:26 PM org.apache.struts.tiles.TilesPlugin
initRequestProcessorClass
SEVERE: TilesPlugin : Specified RequestProcessor not compatible
Hi All,
I am new to tiles frame work. I've applied tiles throughout my project. My
layout is very commonly used and it includes header, left navigation bar,
main body and footer. I've defined all the JSP pages in
*tiles-defs.xml*file. I'm providing part of
*tiles-defs.xml, layout.jsp *(default
From: Qinjian Jian [EMAIL PROTECTED]
Next, if I just unchecked
some of checked checkboxes rather then all of them, then refresh the
page it still works fine. However, if I unchecked them all then refresh
the page, the previous step checked boxed remained unchanged and still
were checked. I
We've spent the last couple of weeks enhancing our web app and now every
get/post to Tomcat from our web app is coming in twice. I can't figure out
what was changed. I have a breakpoint in the execute() method of our
LookupDispatchAction derived base class and all incoming requests come in
twice
Yes. That's it.
Thanks a lot.
Tim Jian
Momentum systems, Inc.
-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Friday, June 03, 2005 11:27 AM
To: Struts Users Mailing List
Subject: Re: html:multibox -- is this a bug
From: Qinjian Jian [EMAIL PROTECTED]
Next, if I
We have a BaseRequestProcessor which extends the TilesRequestProcessor
defined in the struts-config file. A co-worker is getting the following
error when he tries to use it:
[6/3/05 10:14:03:327 EDT] 690b690b WebGroup E SRVE0026E: [Servlet
Error]-[action]: java.lang.ClassCastException:
From: Barnett, Brian W. [EMAIL PROTECTED]
We've spent the last couple of weeks enhancing our web app and now every
get/post to Tomcat from our web app is coming in twice.
Any ideas on what I can check?
Do you have any Filters? Check that chain.doFilter(...) is only called
*once*.
--
Wendy
Not using any Filters.
-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Friday, June 03, 2005 11:24 AM
To: Struts Users Mailing List
Subject: Re: Double posting problem
From: Barnett, Brian W. [EMAIL PROTECTED]
We've spent the last couple of weeks enhancing our
I'm working in a project where I'm planning to use my own implementation
of ExceptionHander, I know that I need extend the
org.apache.struts.action.ExceptionHandler and overwrite the execute
method, I also know that I need use the html:errors / taglib and
configure my action to work with my
check to see if you are using image buttons input type=image to
submit your forms.
these types of buttons submit your form by default. if you define
javascript functions for these buttons to do your submitting that would
be the reason for the double submits your getting. you can get around
this
Thanks woodchuck, but the behavior is happening with any request, not just a
form submit using a button.
In the troubleshooting I've done since the post, I stepped out of the entire
call stack of methods and found out that the second hit on the breakpoint
comes when I step out of
At 1:41 PM -0400 6/3/05, Leandro_Dorileo/[EMAIL PROTECTED] wrote:
I'm working in a project where I'm planning to use my own implementation
of ExceptionHander, I know that I need extend the
org.apache.struts.action.ExceptionHandler and overwrite the execute
method, I also know that I need use the
Well, here's what the problem was.
We added a line of code in our header.jsp tile like this:
img border=0 src=${DistrictLogo}/
There were times when the DistrictLogo was empty, which resulted in html
that looked like this:
img border=0 src=/
This img tag with an empty src attribute caused a
Why not just map
/do/* to the action servlet insted of *.do
Then all of these would go through Struts..
http://myserver/do/Login
http://myserver/do/Logout
http://myserver/do/user/blahblah
This obviously wouldn't go through struts..
http://myserver/pages/blahblah.jsp
amol k wrote the
Why not just map /do/* to the action servlet insted of *.do
http://myserver/Login.do to http://myserver/do/Login, etc is not an issue but
Making the users type http://myserver/do/user/blahblah instead of
http://myserver/user/blahblah is a usability issue.
(will have to ultimately do that if
amol k wrote:
Here is what I am trying to achieve:
http://myserver/Login.do -- (maps to) LoginAction
http://myserver/Logout.do -- (maps to) LogoutAction
http://myserver/user/blahblah -- UserPageAction (notice that there is
no .do in this case. blahblah can be replaced by anything at runtime)
Why are you making your users type in the action anyway. Why don't you mask
this so they don't know how you implemented it. There are several ways to
make this transparent to the user! I can send details if you don't know
how?
-Original Message-
From: amol k [mailto:[EMAIL PROTECTED]
Amol-
http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-apache-howto.html
You can Use setup an alias in your httpd.conf
here is an example from Apache tech doc
# (1) Make Apache know about the context location.
Alias /examples D:\tomcat\webapps\examples
# (2) Optional, customize Apache
There are several ways to make this transparent to the user! I can
send details if you don't know how?
Do send details if you can.
Something like what Martin is suggesting looks like one way.
Thanks.
On 6/3/05, Ray Madigan [EMAIL PROTECTED] wrote:
Why are you making your users type in the
Hi
I´m trying execute the struts-blank.war example in Jboss 4.0.0.
I´m using the Windows 2000 Operating system and the struts is 1.2.4 version.
Please, is anyone have the answer contact me.
In the Tomcat don´t have problem, but in Jboss show :
HTTP Status 500 -
Another option might be to use two URL mappings: *.do and /users/*.
Would that get you what you want?
L.
amol k wrote:
There are several ways to make this transparent to the user! I can
send details if you don't know how?
Do send details if you can.
Something like what Martin is
Yeah, depending on what language your boss likes, make your action .pl ,
.dll, .exe, .vbs, .ico, or my favorite: .bat
/processCreditCard.bat just instills confidence in me.
- Nic.
amol k wrote:
There are several ways to make this transparent to the user! I can
send details if you
On Fri, Jun 03, 2005 at 02:22:18PM -0300, Rolf Fredi Molz wrote:
I?m trying execute the struts-blank.war example in Jboss 4.0.0.
I?m using the Windows 2000 Operating system and the struts is 1.2.4
version.
I've not seen this, and I've probably run this combination at some
point, though on
Hi all...
I am trying to validate a form...
public XForm extends ValidatorForm{
private YForm[] subForms;
getters..
setters--
}
public YForm extends ValidatorForm{
private String field;
getters..
setters..
}
I need to validate my XForm first validating each YForm in subForms...
I
43 matches
Mail list logo