Hibernate will be great if you want to port database from one platform to
another as it relies on its own QL (not SQL) ... just like entity bean CMP .
-Original Message-
From: Mathew Ring [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 07, 2004 10:38 PM
To: [EMAIL PROTECTED]
Subject: RE:
Hi,
There are certain things I wld want to point out:
Lets assume you have page1 ,page2 and page3 as part of wizard. Page1 has
a next button, page2 has next & back and page3 has back & submit button.
I would create a formbean which contains attributes for all the 3 pages
and define the formbean to
I need some guidance and/or an example of how to achieve this...
I have a multi-page wizard that uses a form bean (in the session) per
page. "Next" and "Back" buttons submit to the same Action which is
necessary to save all data entered into the form beans. On a workflow
violation, I want the us
I need some guidance and/or an example of how to achieve this...
I have a multi-page wizard that uses a form bean (in the session) per
page. "Next" and "Back" buttons submit to the same Action which is
necessary to save all data entered into the form beans. On a workflow
violation, I want the us
Hi All,
In our system we have some pages which take lot of time to process
because of the complicated back end logic. So, sometimes the navigation
from one page to another page is very slow.
What our client wants is to show an intermediate revolving gif with some
informative text in it before th
>>>how would you solve conflicts?
For my purposes, I would let the database manage conflicts. Each application scope
object would
be tied to the database, a change made on a specific application server would first
update the
database. For example, the information from a table containing label/
Hello,
I'm developing a struts application with two modules - a website module, and
an Extranet module which permits users to login and handle administrative
matters.
The login page is part of the Extranet module, however, because at this
point a user has not successfully logged into the Ex
I need some guidance and/or an example of how to achieve this...
I have a multi-page wizard that uses a form bean (in the session) per
page. "Next"
and "Back" buttons submit to the same Action which is necessary to save
all data
entered into the form beans. On a workflow violation, I want the us
it is really irresonable to use document.forms[index] to refer to a form,
since you may insert forms before or after the specific form ,thus you have
to update your javascript code
why struts does this? I m wandering why it doesnt treat the form name
attribute as that of html form?
From: "Sano
Rafael,
Something looks wrong with your select tag "perfil_usuario". Are those item
setup to look like "option" tags such as: 'value'? Why don't you use html:options instead so it
can auto-mark the selected one? When you use bean:write like that, there is
nothing in your page to show it how to m
David,
Yes, I do. I'm using the Struts Taglibraries. Here is a form example.
Regards,
Rafael
<%@ page import="java.util.*" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" pre
Rafael,
Are you using the html:text, html:textarea and other tags? They should
automatically re-populate the appropriate answer. Can you give us some
relevant form code examples from a troublesome JSP?
Regards,
David
-Original Message-
From: Rafael Chiarinelli [mailto:[EMAIL PROTECTED]
Hello for all.
My name is Rafael and I'm new user in Struts. So, I have a doubt
about form validation. When I have a form, and has some wrong data in
this form, the Validator return to form with the errors. Have any way to
return with the data int the text box, combos and others components?
check http://www.trita.com
Regards,
Nafise
-
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
Mike,
If it is javascript, your only concern, you can use
document.forms[your form index] in your javascript code.
If you are particular in using a form name, use your form bean name as
pointed by the form action in the struts-config file.
But make sure, you update your script if you plan to
if you are using tomcat 4 or 5, its a problem specifying the form name in
attribute, coz tomcat uses referential integrity.
your struts-config.xml should have an entry for form
---
your JSP
...
---
your JS coding...
document.forms[formIndex].formPro
I have a html:form like this
you know ,I need to use name to refer to this form in javascript ..
Thanks&Regards
Mike
_
与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn
--
17 matches
Mail list logo