tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Russo, Joe" <Rus...@cadmus.com>
Subject RE: form issue
Date Sun, 08 Mar 2009 18:45:20 GMT
Even after I deselect the checkbox
I have value getArchived() = on
Any suggestions would be grateful.

14:39:57,439 DEBUG [RequestUtils] Get module name for path
common/detailedSearch.do
14:39:57,439 DEBUG [RequestUtils] Module name found: default
14:39:57,440 DEBUG [RequestProcessor] Processing a 'POST' for path
'/common/detailedSearch'
14:39:57,440 DEBUG [RequestUtils]  Looking for ActionForm bean instance
in scope 'session' under attribute key 'detailedSearchForm'
14:39:57,440 DEBUG [RequestUtils]  Recycling existing ActionForm
instance of class 'com.cadmus.rpm.ui.common.DetailedSearchForm'
14:39:57,440 DEBUG [RequestUtils]  -->
-----------com.cadmus.rpm.ui.common.DetailedSearchForm-----------
getFields() = true
getKeyword() =
getSection() = -1
getJournalId() = zpq
getAffliation() =
getAllAuthors() = d
getArticleNumber() =
getFigureType() = 0
getFirstAuthor() = d
getIssueNumber() =
getArchived() = on
getStrKeyword() = null
getStrValues() = null
getBatchName() =
getSortBy() = 1

-----Original Message-----
From: Russo, Joe [mailto:RussoJ@cadmus.com] 
Sent: Sunday, March 08, 2009 1:12 PM
To: Tomcat Users List
Subject: form issue

I created a <html:checkbox property="archived">
When I select and deselect the checkbox I get weird behavior.
The other form variables work like they should.  
For example, if I have in the name variable "Some Name" and then select
the dropdown after the action class is called the "Some Name" text is
there.
When I use the drop down and deselect the checkbox it checks it again.
Any ideas what would cause this?

I have this action defined.

<action		
		path="/common/detailedSearchArchived"
		type="com.cadmus.rpm.ui.common.DetailedSearchAction"
		name="detailedSearchForm"
		scope="session"
		validate="false">
	<forward name="success"    path="/common/srch_01.jsp"/>
	<forward name="Failure"    path="/common/srch_01.jsp"/>
	<forward name="searchResultsPage"
path="/common/srch_03.jsp"/>
	<forward name="zeroResultsPage"
path="/common/zeroResults.jsp"/>
</action>



****

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


****

****

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message