Hi,
I want to make fully dynamic forms with Struts. The form fields will be
generated out of datasources. Is this possible with Struts
and what technics do you recommend ?
Thanks for your help
Greetings
Silvija
hi Ed,ya this is the same problem i m trying to solve. i hav removed that
addtional slash before D: but still its not working, also i i forgot to
mention in my first mail that i m getting follwing warnings on my consol
window:
log4j:WARN No appenders could be found for logger (
hi friends , i m using eclipse for my struts application,i m trying to
create a JSP / HTML file in my project , but whenever i select respective
option a progress box is coming as it should,but it stucks ther doesnt
show any progress atall, to come ot of it i hav 2 close whole project
again
Contact Eclipse support center :-D
Try reinstalling eclipse...
On 4/28/06, Chaitanya Parkhi [EMAIL PROTECTED] wrote:
hi friends , i m using eclipse for my struts application,i m trying to
create a JSP / HTML file in my project , but whenever i select respective
option a progress box is coming
Well, basically, I wanna the condition to be true only when user gives key
word 'password' to the password field.
And I tried this
var-value(*this* == 'password')/var-value
The validwhen still always is true no matter what is given..
-Original Message-
From: Jakub Milkiewicz
So, how do you make sure that the right dynamic data gets
loaded so that the
page displays the right stuff? That's where Shale comes in
handy. If your
backing bean implements the ViewController interface, then
prerender() will
get called just before the JSP page is invoked. This is
Hi,
this is correct, but how do I know which objects set to null and which not?
I have an ArrayList with Objects (Users), one parameter of the user is
assigned (of bool).
With the list I can assign some of the users and can store this (submit the
form). The index of the parameter is counted from
hi Chaitanya
when i use strutstestcase, i usually specify config file in setUp() as
public void setUp() throws Exception {
super.setUp();
setConfigFile(/WEB-INF/config/struts-config.xml);
}
according to javadoc, the path can be either an absolute path like you set
or a relative
hi ichy,i tried your suggestion but still prob is still ther.
On 4/28/06, ichy [EMAIL PROTECTED] wrote:
hi Chaitanya
when i use strutstestcase, i usually specify config file in setUp() as
public void setUp() throws Exception {
super.setUp();
Hi all,
I'm using clay full html and i need to call a javascript function from
a component. The component is defined in clay-config as
component jsfid=widgetsSelectOne extends=selectOneMenu
id=@property allowBody=false
attributes
set name=value
value=[EMAIL
Just noticed the case is wrong on the attributes.
Wrong: set name=onSelect value=alert('onSelect fired!')/
Right: set name=onselect value=alert('onSelect fired!')/
Now renders as
...
select id=clayView:_id0:_id24:day name=clayView:_id0:_id24:day
size=1 onselect=alert('onSelect fired!') ...
Try this:
In your Action class, use this method call:
getErrors(javax.servlet.http.HttpServletRequest request)
The javadoc for this method is at:
http://struts.apache.org/struts-doc-1.2.7/api/org/apache/struts/action/A
ction.html
Harsh.
-Original Message-
From: Lixin Chu
Are you sure that validation is being called? For example, what happens
when you submit the form with nothin in the login field (which is
required)?
Harsh.
-Original Message-
From: Zheng Wen Zhe [mailto:[EMAIL PROTECTED]
Sent: Friday, April 28, 2006 3:24 AM
To: 'Struts Users Mailing
The validation is definitely called.
If I submit the form with login field empty, alert is popping up.
So I am sure is somewhere wrong with the validwhen..
But, where??
Jason
-Original Message-
From: Chaudhary, Harsh [mailto:[EMAIL PROTECTED]
Sent: 28 April 2006 16:04
To: Struts Users
The scenario is validation always passes to success page as long as user
fills in two fields, no matter what you are put in.
So where could be the issue???
Jason
-Original Message-
From: Zheng Wen Zhe
Sent: 28 April 2006 16:02
To: 'Struts Users Mailing List'
Subject: RE: validatewhen
Do you see some stack when validation runs for the password field?
Also, do you see this entry in your validator-rules.xml file:
validator name=validwhen
?
Harsh.
-Original Message-
From: Zheng Wen Zhe [mailto:[EMAIL PROTECTED]
Sent: Friday, April 28, 2006 10:18 AM
To: 'Struts
This is the validwhen entry in validator-rules.xml
*
validator name=validwhen
classname=org.apache.struts.validator.validwhen.ValidWhen
method=validateValidWhen
methodParams=java.lang.Object,
That looks good.
Do you see any exception stack related to validation when you submit the
form?
Harsh.
-Original Message-
From: Zheng Wen Zhe [mailto:[EMAIL PROTECTED]
Sent: Friday, April 28, 2006 11:07 AM
To: 'Struts Users Mailing List'
Subject: RE: validatewhen --- what's wrong?
I am not sure how to set Apache tomcat server to debug mode.
However, there are no exception been thrown out in console during validation
execution.
Jason
-Original Message-
From: Chaudhary, Harsh [mailto:[EMAIL PROTECTED]
Sent: 28 April 2006 17:19
To: Struts Users Mailing List
Subject:
Hello Friens,
i have compatibility problems with struts-faces and myfaces greater
1.0.9 or sun jsf 1.1_01.
The Problem:
when i submit a s:form ... to a struts-action then the action-form is not
populated with the values from the form.
This problem is only when i use myfaces version greater
On 4/28/06, Ian.Priest [EMAIL PROTECTED] wrote:
component jsfid=alertingSelectOne extends=widgetsSelectOne
attributes
set name=onSelect value=alert('onSelect fired!')/
set name=onChange value=alert('onChange fired!')/
/attributes
/component
Try
On 4/27/06, 王曾wang_zeng [EMAIL PROTECTED] wrote:
Thank you,Craig. What do you mean by setup action? Is that the kind of
action which grabs some data, do some encapsilation work, and stuff them
into JSP scopes.
Yes, that's what I meant.
You say we can archive the goal with shale as well as
On 4/28/06, Bernhard Slominski [EMAIL PROTECTED] wrote:
So, how do you make sure that the right dynamic data gets
loaded so that the
page displays the right stuff? That's where Shale comes in
handy. If your
backing bean implements the ViewController interface, then
prerender() will
get
On 4/28/06, Craig McClanahan [EMAIL PROTECTED] wrote:
Yes. The way to do this would be to define a phase listener for Render
Response phase, and do your data collection in the beforePhase event
handler. You also have to remember that your listener is going to receive
beforePhase() calls for
Hi,
I am looking for Tag implementation for Table which can be configured for
external sorting and pagination. Which also support Struts( on sorting or
Pagination invokes Struts Action).
I have came accross displaytag opensource of sourceforge, but they lack clear
documentation. It was also
I am also looking for a pagination solution. And you are right, the
documentation for DisplayTag is not exactly up to the mark.
Another thing I found was it has some issues with its design. That is,
by default, it gets the entire object returned from a query and
populates a list with it. Now, if
On 4/28/06, Hubert Rabago [EMAIL PROTECTED] wrote:
On 4/28/06, Craig McClanahan [EMAIL PROTECTED] wrote:
Yes. The way to do this would be to define a phase listener for Render
Response phase, and do your data collection in the beforePhase event
handler. You also have to remember that your
I have an method in a class that extends DispatchAction that throws Exception
such as:
public ActionForward saveMethod(ActionMapping mapping, ActionForm form,
HttpServletRequest request, HttpServletResponse response) throws
Exception
{
//..
try
Jakub Milkiewicz wrote:
Hi
I have a problem with conditional validation. Currently i am working with
struts 1.1 - because of its WSAD support but i am thinking of migrating to
the newest one.
My problem is that on my jsp page i have 2 radio buttons:
html:radio name=viewBean
On 4/28/06, Craig McClanahan [EMAIL PROTECTED] wrote:
Sorry for not being clearer.
You can indeed register a listener with a phase-listener declaration --
you get an application wide singleton that has the same lifetime as your
application. However, it's also possible to add a phase listener
Juergen Kopper wrote:
Hi,
Angel Navarro schrieb:
Hi,
when I say 'the system expired session' is that the user are a lot of
time
without navigate and explorer expired session,
dou you understand me?
Yes I understand it and I think this makes the same as the invalidate(),
this means it
You could write a custom validator which would read the value of the
documentIdentity. Then,
If
documentIdentity != pazport, return true
else
-- Run your mask validation for passport number --
To do the mask validation, from your class, consult this:
Jakub Milkiewicz wrote:
Hi
I am using struts 1.2.8 and i have a problem with test condition with
validwhen validator.
Eveything works fine except when i try to compare sth with a string
containing values not from iso8859-1 charset .i.e
field property=statementType depends=validwhen page=3
2006/4/29, Craig McClanahan [EMAIL PROTECTED]:
You also have to remember that your listener is going to receive
beforePhase() calls for *all* simultaneously active requests, not just the
one page you might be interested in. And, don't forget to deregister
yourself as a listener when the
On 4/28/06, 王曾wang_zeng [EMAIL PROTECTED] wrote:
2006/4/29, Craig McClanahan [EMAIL PROTECTED]:
You also have to remember that your listener is going to receive
beforePhase() calls for *all* simultaneously active requests, not just
the
one page you might be interested in. And, don't forget
Thank you Craig for making it clear.
--
Wang Zeng
36 matches
Mail list logo