Text area question

2002-09-10 Thread Thigpen, David

I've been doing a little Struts evangelization internally here (but no
development yet :-(  )  and I got posed the following question, to which I
have no answer: 

Do you know off-hand if struts provides a way to display dynamic data in a
multi-line textarea?  If so, can you point me in the right direction so I
can see an example?

Thanks

DT


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Handling check for logged-inness using a tag?

2002-06-05 Thread Thigpen, David

waiting anxiously ;-)

timeframe?

DT

-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 05, 2002 11:00 AM
To: Brian Holzer
Cc: Struts Users Mailing List
Subject: RE: Handling check for logged-inness using a tag?


Ok, better yet, let me drop it on my server.

Here's the url for those interested.
Stay tuned though, the struts-example is about to get better..trust me.

http://struts-atlanta.open-tools.org/struts-example-jsp-mod.zip


James Mitchell
Software Engineer\Struts Evangelist
Struts-Atlanta, the Open Minded Developer Network
http://struts-atlanta.open-tools.org





--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




test

2002-06-04 Thread Thigpen, David

is the list down?

DT

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: DTD Question

2002-05-30 Thread Thigpen, David

What do you mean by no access to the web on port 80?  

One solution might be to run Apache on the same box and serve the DTD files from it:

!DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application
2.2//EN http://localhost/j2ee/dtds/web-app_2_2.dtd;

DT

-Original Message-
From: Struts Newsgroup (@Basebeans.com) [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 30, 2002 1:40 PM
To: [EMAIL PROTECTED]
Subject: DTD Question


Subject: DTD Question
From: Adam Cohen [EMAIL PROTECTED]
 ===
I'm working on a web-app that is on a server that has no access to the web
on port 80.
When web.xml tries to get the dtd:
!DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application
2.2//EN http://java.sun.com/j2ee/dtds/web-app_2_2.dtd;
The server waits for a long time for the request to time out.
I don't want to hard code a local path to the dtd and the server can't get
accss to the web.
Is there a better way to do?
Thanks, Adam



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




display form bean property

2002-05-23 Thread Thigpen, David

I am able to display form bean values in an input field using the html:text tag.  How 
do I just display the value of a bean property without it being in an input field?  I 
mean JUST display it?

I've tried some of the bean tags but always get the message that the bean isn't found.

Thanks all

DT

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




display form bean properties update

2002-05-23 Thread Thigpen, David

I was able to display form bean properties by simply using jsp:usebean and % 
getProperty() %

I'm wondering though if this is the most efficient method since the bean is 
instantiated anyway within the html:form tag.

DT

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




pre-populated form

2002-05-21 Thread Thigpen, David

Before you ask, yes I have serched the archive for answers ;-)

My problem is this:  I have a page that displays the results of a database inquiry 
using a custom tag.  The user selects one of the displayed entries using a radio 
button and the selected information gets sent to another action (this works OK.)  That 
action uses that information in a new select statement and creates a new form bean, 
populates it, puts it into the session, and sends it all back out to a new JSP (AFAIK 
this works OK but I haven't been able to verify.)  The idea is that that JSP will 
explode the bean displaying the results in a prepopulated form that can then be edited 
and submitted.

My problem is getting the information out of the populated form bean.  I am populated 
it and putting it into the session myself within the action. I have tried all combos 
of bean:write and html:text I can think of in the JSP.  If I try to use 
value=formBeanName.propertyName  then the actual text (formBeanName.propertyName) 
gets displayed, not the value in the property.

My action for this JSP is defined in struts-config as:
***
action   path=/editquestions
  type=survey.EditQuestionsAction
  name=editQuestionsForm
  scope=request
  input=/editquestions.jsp
 forward name=success  path=/editquestions.jsp/
/action
***

I realize that the forward path will need to change.

my form bean is defined as:
***
form-bean  name=editQuestionsForm
type=survey.EditQuestionsForm/
***

And in the JSP the lates I have tried is:
***
html:form action=/editquestions 
html:text name=editQuestionsForm property=surveyId value=%= 
editQuestionsForm.getSurveyId() % 
/html:text
/html:form
***

Any help/advice/pointers to resources would be appreciated.  Even if pointers to 
specific messages on the list.  I searched the archive using prepoulated forms among 
others.

Thank you

David
Struts Newbie


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Installing Apps into WAS 4.0

2002-05-01 Thread Thigpen, David

I recently got two Struts apps (NoosApp, and StrutsExample) working =
within the Test Environment in Visual Age 4.0.  I was able to get the =
StrutsExample installed into a WebSphere 4.0 server (WAS) OK, but can't =
seem to get NoosApp to do the same.  I think it's dieing when it tries =
to pre-compile the JSPs; but the app will not start in any case.

One additional thing, how does Xalan, Xerces, XML-parser and even Struts =
get imported into WebSphere?  The Struts example ran no problem and I =
didn't have to import any of those libs into WAS.  That confuses me.

Thanks in advance.

DT

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]