Well the following fixed it:
bean:write name=reportForm property=totalInventory/
The problem was the case in the reportForm. The form bean was named
ReportForm and I did not realize the case was changed when set in the
session.
I used the following snippet of code to help in the debugging (I
is the default
bean:write name='total' scope='request' property='totalInventory' /
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 26, 2004 2:37 PM
To: [EMAIL PROTECTED]
Subject: Re: html:text works, bean:write fails
Tried both cases
I added the following tag:
logic:notPresent name='total' property='totalInventory'
Not present
/logic:notPresent
And I DO get the 'Not present' text. I am still confused; why then does the
html:text tag work?
Sorry for the posting to myself, but I am hoping for someone to pick up
[EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I have a situation where I have not found a solution in the archives (I'm
sure it is there, just don't know the right search), the documents (I have
half dozen Struts books, plus the tomcat docs), and Google has not been my
friend:
I
Tried both cases - no joy.
Also tried wrapping the bean:write... tag
in logic:present tag:
logic:present name='total' property='totalInventory'
bean:write name='total' property='totalInventory' ignore='false'/
/logic:present
while setting the ignore to 'false'. The page renders, but
both these tags are accessing the same bean.
-jayash
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 26, 2004 1:53 PM
To: [EMAIL PROTECTED]
Subject: html:text works, bean:write fails
I have a situation where I have not found a solution
I have a situation where I have not found a solution in the archives (I'm
sure it is there, just don't know the right search), the documents (I have
half dozen Struts books, plus the tomcat docs), and Google has not been my
friend:
I have a simple struts application where if I put the following
7 matches
Mail list logo