Hi,
I want to use a bean:define tag within a logic:iterate tag to set a bean
value to null. How can I do this if I can not use the same value for the
id attibute.
thanks
Jordan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
HI,
I have a hastable or Hashmap of permissions that I want to use in my JSP
pages to determine what info is displayed to the user.
For instance I want to have the following logic
if permissionsHashMap has key Manage Countires
then display this
if permissionsHashMap has key Manage Logins
Hi,
I have a form that has an html:select tag that looks like this:
html:select property=permissions multiple=true size=10 tabindex=5
html:options collection=allPermissions property=permissionId
labelProperty=permissionName/
/html:select
This renders out as intended but when I
this provided a clue.
Sri
-Original Message-
From: Jordan Thomas [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 23, 2003 6:51 AM
To: Struts User List
Subject: How to handle a multiple select tag
Hi,
I have a form that has an html:select tag that looks like this:
html:select property
Hi,
How do I check a boolean value of a method/bean using the logic tags. Can
Struts-El do this? Essentially I have a method called getXYZ() that returns
a boolean value. I can't change the name of the method to isXYZ so I have
to leave it as is.
thanks
Jordan
--
To unsubscribe, e-mail:
Hi,
How can I dynamically change the the form class and name that my action is
using? i.e. In the middle of the execute() method.
thanks
Jordan
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
-
From: Jordan Thomas [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 14, 2003 11:51 AM
To: Struts-User
Subject: Dynamically changing the form class in the execute() method
Hi,
How can I dynamically change the the form class and name that
my action is
using? i.e. In the middle
Hi,
I have successfully created a JSP to output a collection that looks like
this:
logic:iterate id=permissionLanguage name=permissionForm
property=permissionLanguageData
tr
td
bean:write name=permissionLanguage
property=languageName/
Hi,
I am trying to use the nested tags within an iterate loop and I am getting
the following output:
input type=hidden
name=org.apache.struts.taglib.html.BEAN[1].permissionLanguageData[1].langua
geId value=en
What I really need is:
input type=hidden name=languageId[1] value=en
I am not sure
=permissionteset/
^^
You probably meant
nested:root name=permissionteset
..
/nested:root
Sri
-Original Message-
From: Jordan Thomas [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 09, 2003 11:06 AM
To: Struts-User
Subject: Problems with nested tags
Thanks David,
Looks like that could be the problem but unfortunately your patch hasn't
been committed.
cheers
Jordan
-Original Message-
From: David Morris [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 9 January 2003 5:54 PM
To: [EMAIL PROTECTED]
Subject: RE: Problems with nested tags
Great, it worked. I actually used the c:if: tag but still, this is all new
info. Cool.
thanks for your help
Jordan
:O)
-Original Message-
From: Rick Reumann [mailto:[EMAIL PROTECTED]]
Sent: Monday, 6 January 2003 9:40 PM
To: Struts Users Mailing List
Subject: Re[3]: Need logic:equal
Hi,
I am wanting to use a logic:equal tag inside an interate tag like this
logic:iterate id=permission name=permissions indexId=idx
logic:equal scope=page name=idx value=request.permissionsSize
blah blah...
/logic:equal
/logic:iterate
Essentially the idx value comes from the
Hi,
What is the best way to make the data in my Database tables/EJB's
internationalised? Is there a standard pattern for having seamlessly
internationalised data in a database that I can use with struts?
Essentially, based on the user's locale I want different data displayed and
unfortunately,
December 2002 9:02 PM
To: [EMAIL PROTECTED]
Subject: Re: Internationalisation and Database/EJB data
You need to design multiple language ability into your database schema. I
would create a view to make the queries easier.
David
From: Jordan Thomas [EMAIL PROTECTED]
Reply-To: Struts Users
Hi,
If I call
ActionErrors errors = languageForm.validate( mapping, request );
How can be errors null?
thanks
Jordan
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
OK, thanks for that.
cheers
Jordan
-Original Message-
From: Gemes Tibor [mailto:[EMAIL PROTECTED]]
Sent: Friday, 13 December 2002 11:31 AM
To: Struts Users Mailing List
Subject: Re: ActionErrors = Null
2002. december 13. 11:12 dátummal Jordan Thomas ezt írtad:
Hi,
If I call
Hi All,
How can I precompile my Struts app? Is there some kind of utility to do
this?
thanks
Jordan
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Hi,
What is the best way to design my application? Is it better to
a) Put all my actions for a particluar area (i.e. creating, editing and
deleting user accounts) in one Action class
or
b) Use a seperate action class for every action in my application
or
c) Put all of the actions for a
: All actions in one ActionClass
Definitely b. It will be far easier to maintain. If you're worried about
having a lot of actions you can look at DispatchAction or using DynaBeans.
David
From: Jordan Thomas [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts
Hi,
I want to initialize my application with some application variables. What is
the best way to do this? My approach so far has been to call the init()
method in an unmapped servlet. So everytime the server statrs up they are
loaded into memory. The only thing is that I am not sure how to set an
init variables. You could also setup a servlet to be loaded when the
container starts and put the code in the init() method. See the javadocs on
the servlet.init() method it's pretty easy to get ahold of the
ServletContext.
David
From: Jordan Thomas [EMAIL PROTECTED]
Reply-To: Struts Users
Hi,
I have a finder method associated with an EJB that returns a collection of
objects. I don't want to call the get Methods in my struts action class, in
my JSP's or in form classes as I would like to keep everything in the same
transaction. So what I was going to do was use a session bean which
Hi,
When using the validator, how do I change the order of the messages.
Currently, the error messages returned are
Password
Username
This doesn't correspond with how the fields are layed out in the form. I
would like the JavaScript error to read
Username
Password
Is there any way to do this?
-config.xml the input attribute of the
action
mapping is not set ?
Nick
-Original Message-
From: Jordan Thomas [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 05, 2002 3:50 PM
To: Struts User List
Subject: mapping.getInputForward().getPath() is null
Hi,
I am trying to set a String
Hi All,
A few validator problems here. I have set up my validator and it seems to
only be half working. My forms are all extening ValidatorForm but I am
receiving no specific javascript. I have included my generated HTML page.
There is no validation being done on the server side either.
When I
struts-config.
If you have validate=false in you action mapping, you have to manually
validate via form.validate();
D.
-Original Message-
From: Jordan Thomas [mailto:[EMAIL PROTECTED]]
Sent: December 6, 2002 7:55 AM
To: [EMAIL PROTECTED]
Subject: Validator Javascript missing
Hi All,
A few
Hi,
I am using the getInputForwardMethod() to return a user to the form that has
errors on it. OK, that is working except it seems to be leading to the wrong
place.
I need to go to http://localhost:8080/scoop/login/1.do from
http://localhost:8080/scoop/login.do. I think that instead I am been
, because it does not change the
state of this workflow.
--- Matthias
Jordan Thomas wrote:
Yes, I see what you are saying and if I define the next state, then if I
try to jump out of the workflow I get a an exception saying that it is
not allowed by the workflow.
What makes me think
I've been using pretty. It works quite niceley. I like it a bit more than
Jalopy.
cheers
Jordan
-Original Message-
From: BARADAT Benoit [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 5 December 2002 3:34 PM
To: Struts Users Mailing List
Subject: java Beautiful
Hello
I'm
-workflow
17:00:08,292 INFO [Engine] action: Previous state does not match any
allowed previous state!
-Original Message-
From: Matthias Bauer [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 5 December 2002 3:30 PM
To: Jordan Thomas
Cc: Struts User List
Subject: Re: AW: Workflow Extention
Yes. There is an article on JavaWorld and then there is the Tiles web site
where you should be able to download the jar files. Do a search on google
for it.
cheers
Jordan
-Original Message-
From: Christine McLennan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 5 December 2002 5:01 PM
To:
Hi,
I am trying to set a String as mapping.getInputForward().getPath() but this
is returning a null. How could this be. I though that this was set on every
request through the ActionServlet. If anyone can shed some light on this it
would be appreciated.
thanks
Jordan
--
To unsubscribe,
Hi All,
A newbie with a basic question (I hope...). How do I get the action mapping
from the current request?
thanks
Jordan
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Hi All,
I have a form where I want to generate forms dynamically. For instance, I
have a language bean with 3 objects so in my form I have 3 fields i.e.
html:text property=cardNumberfield_en/
html:text property=cardNumberfield_de/
html:text property=cardNumberfield_dk/
When I add an object to
me know, if this helps.
--- Matthias
Jordan Thomas wrote:
Hi All,
I am using the workflow extention to create my workflows. It seems that
when I am in the middle of a workflow, there is no way to allow the
user to jump out of the workflow into another area of the application.
I have tried
,
because you are not defining nextState values.
Do you see something else? What lets you think that it seems to be
disregarding the workflow?
One remark: You can as well leave away the property endWorkflow if you
want it to be false, because this is the default.
--- Matthias
Jordan Thomas
is in state 1
(i. e. action A has been executed) and action C can only be executed, if
the workflow is in state 2 (i. e. action B has been executed).
Pls. let me know, if this helps.
--- Matthias
Jordan Thomas wrote:
Hi All,
I am using the workflow extention to create my workflows. It seems
Hi,
How do I change the order of the error and javascript messages that are
generated by the validation framework?
Thanks
Jordan
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: Re: Help :: Dyna forms and Validation
Do you have an execute() method in your Action? What version of Struts
are you using?
- Original Message -
From: Jordan Thomas [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, November 22
Hi,
I have a dynaform that is simply calling inside the action class the
following.
public ActionForward performAction( ActionMapping mapping, ActionForm
form,
HttpServletRequest request, HttpServletResponse response
)
throws IOException, ServletException {
leave it. Does anyone have any suggestions how I can
work around this?
Thanks
Jordan
Jordan Thomas
Fraunhofer-Institut fuer Produktionstechnik und Automatisierung
(FhG-IPA)
Nobelstrasse 12
D-70569 Stuttgart
Tel.: +49 (0) 711-970-1187
Fax
Hi All,
I am using the workflow extention to create my workflows. It seems that
when I am in the middle of a workflow, there is no way to allow the user
to jump out of the workflow into another area of the application. I have
tried specifying a * and a *.do as a nextPath parameter but that
Hi,
I have set up my form using dynaform functionality. Everything seemed
OK, until the point when I started adding my validation functionality.
Anyway, it seems to be that when I add my validator:javascript
formName=loginForm/ tag to the top of my page I get the following
error:
14:36:08,436
Hi,
I have a problem where my bean appears to be not finding the firstName
field in my JSP. This is seems strange because it the firstName field is
declared in my dynaform. I am using tiles and the workflow framework and
version 1.1b of struts and I have tried the latest nightly build.
OK, found the problem. I've been looking at this for hours. :O(
In my JSP I was using then old struts-validate tld for my
validator:javascript formName=loginForm/ tag. It's now part of the
struts-html tld.
Cheers
Jordan
-Original Message-
From: Jordan Thomas [mailto:[EMAIL PROTECTED
Hi,
I am wanting to do a step by step, wizard style interface. Does anyone
know of a good tutorial for this?
thanks
Jordan
Jordan Thomas
Fraunhofer-Institut fuer Produktionstechnik und Automatisierung
(FhG-IPA)
Nobelstrasse 12
D-70569
47 matches
Mail list logo