The debug code below returned the correct paths to JSP pages for header, body,
rightside and footer, but none of them get displayed. It returns a blank page.
%=request.getContextPath()%tiles:getAsString name=header /BR
%=request.getContextPath()%tiles:getAsString
Why don't you look at the source? My guess is that if you are looking at a
blank page, the page, except for tags, is blank.
At 08:41 PM 10/18/2002 -0700, you wrote:
Hi,
My app was working fine using struts-tiles with frameset. But since this
afternoon, it does not work any more. It displays a
I don't know, but my guess is that you meant to use
someString.equals(someOtherString) rather than someString ==
someOtherString, unless you somehow are using a hidden myString.intern() in
there. My guess, in other words, is that you are getting nothing because
all your == tests yield false.
Hi,
My app was working fine using struts-tiles with frameset. But since this afternoon, it
does not work any more. It displays a blank page (NOT a 404 error).
I have tried with debug code, but couldn't figure out. The action forward seems to
work fine after the user login. I tested and it
Hi,
The code below is a copy of the example of the html select tag.
Vector wanGroupOptions = new Vector();
wanGroupOptions.add( new LabelValueBean( Label 0, Value
0 ));
wanGroupOptions.add( new LabelValueBean( Label 1, Value
1 ));
Now
You are not alone, my frustrated brotha'. I've done this before and I was
pulling my hair out trying to figure out just what the heck was going on.
Glad you resolved it :)
robert
-Original Message-
From: Mohan Radhakrishnan [mailto:MohanR;hclcomnet.co.in]
Sent: Saturday, October 19,
Hi all,
I want to display a user 'age' if it is not empty. I've tried the
following code but it gives the exception :
javax.servlet.ServletException: You must specify the value attribute or
nested tag content
What could be the reason for this?
The code is:
logic:iterate id=user
Hello agaaain,
My checkboxes both multi and normal don't suppo all empty values.
I.e. I can transmit a checked empty value, but I can't all empty values:
I REALLY don't know what to do ... leease!
--useredit_center.jsp--
%taglib uri=/WEB-INF/struts-bean.tld prefix=bean %
%taglib
Ok suppose to have a Form with a checkbox named isOn and a submit
button name Save
a NOT checked value will produce:
http://localhost:8080/webappointments/openChk.do?action=Save
a checked value will produce:
http://localhost:8080/webappointments/openChk.do?isOn=onaction=Save
The problem is
I'm coming into this discussion late, so ignore me if I'm out in left field,
but it sounds like you're unhappy that when *no* checkboxes are checked,
*no* methods get called.
When you submit the form, only successful form elements are sent in the
request, so if *no* checkboxes are checked,
Thanks a lot , you have been very clarifying.
I've found a tip placing code in validate method :
public ActionErrors validate( ActionMapping mapping, HttpServletRequest
req) {
String str = req.getParameter( isOn );
if (str == null)
isOn = false;
return
Hi,
Struts1.1b2: BeanUtils.copyProperties(formBean, javaBean) not
converting
String properties into Dates:
It will not covert them into java.util.Date. You need to create a
Converter class to do it an register it. I just went through all
this with Eldercle who posted to this
Kiuma wrote:
I've found a tip placing code in validate method :
But it's a very dirty technique of course.
That will work, but... what if you have a form that you don't want to
validate? The reason this is working is that you have validate set to true
so that the validate method gets called.
Greetings:
I am just starting to use this Class from commons.collections jar
that is in Struts 1.1b2 ( I am using tomcat 4.04)
I have several questions...
1- Is there anyone out there using this collection that can share some
insight?
2 - There was talk of a tutorial regarding this
My application uses javascript validations (at the client side) and all the
validations are done in a validate.js file and displays the error messages with
alerts. And all the messages in the javascript are hardcoded and the js file is used
in many jsp's. Can i make the messages
I think this works fine for u
JS Function
function _alert(key)
{
var url=/app/view/jsp/Alert.jsp?name=+key;
window.showModalDialog(url,null,'dialogHeight:120px;dialogWidth:400px;scroll:no;status:no');
return false;
}
Alert.jsp
%
String _key=null;
I think this works fine for u
JS Function
function _alert(key)
var url=/app/view/jsp/Alert.jsp?name=+key;
window.showModalDialog(url,null,'dialogHeight:120px;dialogWidth:400px;scroll
:no;status:no');
return false;
}
Alert.jsp
%
String _key=null;
I managed to make my issues go away by replacing my
commons-collections(2.0) jar with the Release Candidate 2.1 version.
It also seems that some of the functionality of LazyCollections has been
absorbed into ListUtils.
so I replaced
private List papVoList = LazyCollections.lazyList(new
Dear people,
I know I am probably being stupid again but I can't figure this: I am
not currently using container managed security and do intend to switch
eventually but, for the moment, I would like to be able to set the user
role programmatically from within my app. I found Ted's advice below:
There were a couple of messages the other day concerning Struts failing
to work correctly under the 1.4 JDK. I'd like to add some evidence to that.
Sun's 1.4 JDK (at least the Linux version) seems to have serious
problems w/ the classpath. After upgrading to 1.4.0_01, and then
1.4.1_01, Struts
Struts works under Sun's 1.4 jdk on Windows 2000. I haven't tried it on
Linux though. You might try using IBM's 1.4 jdk.
David
From: email [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: JDK 1.4 and struts
Date: Sat, 19 Oct 2002
Problem is, IBM doesn't HAVE a 1.4 for Intel machines.
Struts works under Sun's 1.4 jdk on Windows 2000. I haven't tried it on
Linux though. You might try using IBM's 1.4 jdk.
David
From: email [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To:
22 matches
Mail list logo