RE: Setting Values To the tag

2001-12-26 Thread Strichartz, Beth

If you have a form bean with an attribute for CompanyName,
with get and set methods, than it should default if it is set prior

-Original Message-
From: Sudhir S. Shetty [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 26, 2001 12:43 AM
To: Struts Users Mailing List
Subject: Setting Values To the  tag


Hi ,
   I would like to know the way to set a request parameter value to
the  tag.
Im trying to do it as follows:
"/>

But Nothing is displayed kindly suggest the syntax.
Thanks in advance,
regards,
Sudhir


--
To unsubscribe, e-mail:

For additional commands, e-mail:



This message contains information which may be confidential and privileged.
Unless you are the addressee  (or authorized to receive for the addressee),
you may not use, copy or disclose to anyone the message or any information
contained in the message.  If you have received the message in error, please
advise the sender by reply e-mail, and delete or destroy the message. 

Thank you.


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




New User Question..How to refer to my formbean in a sciplet

2001-12-19 Thread Strichartz, Beth

Hello,

IN my jsp; I want to set a variable in my form bean (which is in scope)that
requires an argument

Can I 
<%MyFormbean.setBank(code) %> 
I get the error: Non Static method cannot be referenced from a static
context

How can I refer to my Form???


This message contains information which may be confidential and privileged.
Unless you are the addressee  (or authorized to receive for the addressee),
you may not use, copy or disclose to anyone the message or any information
contained in the message.  If you have received the message in error, please
advise the sender by reply e-mail, and delete or destroy the message. 

Thank you.


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Help with bean:write\bean:define whn property requires an argumen t

2001-12-18 Thread Strichartz, Beth

Please...seriously need some help with this.

-Original Message-
From: Strichartz, Beth [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 18, 2001 3:41 PM
To: [EMAIL PROTECTED]
Subject: Help with bean:write\bean:define whn property requires an
argumen t


Hi,

I need to call a method in my Formbean that returns an object but, requires
a string as an argument

For example:

  




How can I pass arguments ?? or cant I?

Thanks...please help




This message contains information which may be confidential and privileged.
Unless you are the addressee  (or authorized to receive for the addressee),
you may not use, copy or disclose to anyone the message or any information
contained in the message.  If you have received the message in error, please
advise the sender by reply e-mail, and delete or destroy the message. 

Thank you.


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


This message contains information which may be confidential and privileged.
Unless you are the addressee  (or authorized to receive for the addressee),
you may not use, copy or disclose to anyone the message or any information
contained in the message.  If you have received the message in error, please
advise the sender by reply e-mail, and delete or destroy the message. 

Thank you.


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




Help with bean:write\bean:define whn property requires an argument

2001-12-18 Thread Strichartz, Beth

Hi,

I need to call a method in my Formbean that returns an object but, requires
a string as an argument

For example:

  




How can I pass arguments ?? or cant I?

Thanks...please help




This message contains information which may be confidential and privileged.
Unless you are the addressee  (or authorized to receive for the addressee),
you may not use, copy or disclose to anyone the message or any information
contained in the message.  If you have received the message in error, please
advise the sender by reply e-mail, and delete or destroy the message. 

Thank you.


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: strut help

2001-12-08 Thread Strichartz, Beth

what is the return false about?
try removing that
 

-Original Message-
From: Kiet Nguyen [mailto:[EMAIL PROTECTED]]
Sent: Saturday, December 08, 2001 2:42 PM
To: '[EMAIL PROTECTED]'; Struts-User (E-mail)
Subject: strut help


Please help.  I'm in a dead-end.

I need to write the submit button with an image and a pop-up dialog and it
will work under
netscape 4.7 & IE & net6 when the browser is set "never check for new
version for page" as the caching technique.  I use javascript to submit the
form, but when caching is set, the form doesn't get submit.

Javascript:
function send(msgAction)
{   document.forms[0].action = msgAction;
document.forms[0].submit();
}

 






--
To unsubscribe, e-mail:

For additional commands, e-mail:



This message contains information which may be confidential and privileged.
Unless you are the addressee  (or authorized to receive for the addressee),
you may not use, copy or disclose to anyone the message or any information
contained in the message.  If you have received the message in error, please
advise the sender by reply e-mail, and delete or destroy the message. 

Thank you.


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Please Help with Iterate and Lookup bean value problem

2001-12-07 Thread Strichartz, Beth

Hi,
 I am iterating over a results set and instead of doing
a 
I need to convert the property to something more meaningful.
I added a method in my FormBean that will convert the value for me.
But, I do not know how to properly call it.

I have 
 
  


What I want to do is call CustomerSearchForm.getbankLabel(bankFile) here.
I have tried several things an can not figure this out.
 



This message contains information which may be confidential and privileged.
Unless you are the addressee  (or authorized to receive for the addressee),
you may not use, copy or disclose to anyone the message or any information
contained in the message.  If you have received the message in error, please
advise the sender by reply e-mail, and delete or destroy the message. 

Thank you.



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Gobal Forward Confusion..

2001-12-06 Thread Strichartz, Beth

I am confused.
If anyone can clear this up for me, I would appreciate it.
I have a global forward to an action that will load my form before
displaying the jps.

If I put the following in another jsp:

or in the url type:
  
http://localhost/middleware/customerMaintenance/search.do
or
http://localhost/middleware/customerMaintenance/search

I get a message on the webserver "No Mapping available for Path
"customerMaintenance/search"

Am I not understanding Teds Catalog with the gloab forward entry points
correctly?
I also tried changing the path to "/do/
But, my web.xml has  

ControllerServlet
*.do



  





  

  
  







This message contains information which may be confidential and privileged.
Unless you are the addressee  (or authorized to receive for the addressee),
you may not use, copy or disclose to anyone the message or any information
contained in the message.  If you have received the message in error, please
advise the sender by reply e-mail, and delete or destroy the message. 

Thank you.


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Test application.resources file

2001-12-04 Thread Strichartz, Beth

Hi,
Can anyone tell me how to test that I am actually reading\loading the
application.resources file.

or

How to test is action errors exist in my form (or action) after I save them.

Beth.


This message contains information which may be confidential and privileged.
Unless you are the addressee  (or authorized to receive for the addressee),
you may not use, copy or disclose to anyone the message or any information
contained in the message.  If you have received the message in error, please
advise the sender by reply e-mail, and delete or destroy the message. 

Thank you.


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Help with Html errors not showing errors

2001-12-04 Thread Strichartz, Beth


Thanks for replying,
I caught that one...
Still trying though...

-Original Message-
From: Jeff Martin [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 04, 2001 2:20 PM
To: Struts Users Mailing List
Subject: RE: Help with Html errors not showing errors


You make an Action error with "error.detail" but your messages file has
"errors.detail"?

Jeff

-Original Message-----
From: Strichartz, Beth [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 04, 2001 2:11 PM
To: Struts Users Mailing List
Subject: RE: Help with Html errors not showing errors


I am getting desperate on what to do with the issue below.
Does anyone have any suggestions on what to try next..

-Original Message-----
From: Strichartz, Beth [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 04, 2001 1:32 PM
To: 'Struts Users Mailing List'
Subject: Help with Html errors not showing errors


1.  I have the web.xml with the ApplicationResources in it.
2.  I have the tag struts-html at the top of my jsp page.
3.  I am saving errors in the action and forwarding to input..
in Action I have:
errors.add(ActionErrors.GLOBAL_ERROR, 
new
ActionError("error.detail",e.getCauseMessage()));

I save: if (!errors.empty()) {
saveErrors(request, errors);
saveToken(request);
return (new ActionForward(mapping.getInput()));
}

I have the applicationResources.properties and it includes an
errors.detail={0}

I know there are errors on the Web serer, I can see the printstacktrace
an
the logs.





But, Does not output anything...
Help.


This message contains information which may be confidential and
privileged.
Unless you are the addressee  (or authorized to receive for the
addressee),
you may not use, copy or disclose to anyone the message or any
information
contained in the message.  If you have received the message in error,
please
advise the sender by reply e-mail, and delete or destroy the message. 

Thank you.


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


This message contains information which may be confidential and
privileged.
Unless you are the addressee  (or authorized to receive for the
addressee),
you may not use, copy or disclose to anyone the message or any
information
contained in the message.  If you have received the message in error,
please
advise the sender by reply e-mail, and delete or destroy the message. 

Thank you.


--
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]>


This message contains information which may be confidential and privileged.
Unless you are the addressee  (or authorized to receive for the addressee),
you may not use, copy or disclose to anyone the message or any information
contained in the message.  If you have received the message in error, please
advise the sender by reply e-mail, and delete or destroy the message. 

Thank you.


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




RE: Help with Html errors not showing errors

2001-12-04 Thread Strichartz, Beth

I am getting desperate on what to do with the issue below.
Does anyone have any suggestions on what to try next..

-Original Message-
From: Strichartz, Beth [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 04, 2001 1:32 PM
To: 'Struts Users Mailing List'
Subject: Help with Html errors not showing errors


1.  I have the web.xml with the ApplicationResources in it.
2.  I have the tag struts-html at the top of my jsp page.
3.  I am saving errors in the action and forwarding to input..
in Action I have:
errors.add(ActionErrors.GLOBAL_ERROR, 
new
ActionError("error.detail",e.getCauseMessage()));

I save: if (!errors.empty()) {
saveErrors(request, errors);
saveToken(request);
return (new ActionForward(mapping.getInput()));
}

I have the applicationResources.properties and it includes an
errors.detail={0}

I know there are errors on the Web serer, I can see the printstacktrace an
the logs.





But, Does not output anything...
Help.


This message contains information which may be confidential and privileged.
Unless you are the addressee  (or authorized to receive for the addressee),
you may not use, copy or disclose to anyone the message or any information
contained in the message.  If you have received the message in error, please
advise the sender by reply e-mail, and delete or destroy the message. 

Thank you.


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


This message contains information which may be confidential and privileged.
Unless you are the addressee  (or authorized to receive for the addressee),
you may not use, copy or disclose to anyone the message or any information
contained in the message.  If you have received the message in error, please
advise the sender by reply e-mail, and delete or destroy the message. 

Thank you.


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




Help with Html errors not showing errors

2001-12-04 Thread Strichartz, Beth

1.  I have the web.xml with the ApplicationResources in it.
2.  I have the tag struts-html at the top of my jsp page.
3.  I am saving errors in the action and forwarding to input..
in Action I have:
errors.add(ActionErrors.GLOBAL_ERROR, 
new
ActionError("error.detail",e.getCauseMessage()));

I save: if (!errors.empty()) {
saveErrors(request, errors);
saveToken(request);
return (new ActionForward(mapping.getInput()));
}

I have the applicationResources.properties and it includes an
errors.detail={0}

I know there are errors on the Web serer, I can see the printstacktrace an
the logs.





But, Does not output anything...
Help.


This message contains information which may be confidential and privileged.
Unless you are the addressee  (or authorized to receive for the addressee),
you may not use, copy or disclose to anyone the message or any information
contained in the message.  If you have received the message in error, please
advise the sender by reply e-mail, and delete or destroy the message. 

Thank you.


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Problem with Index

2001-12-04 Thread Strichartz, Beth

Thanks,
Works awesome!

-Original Message-
From: Sobkowski, Andrej [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 04, 2001 12:21 PM
To: 'Struts Users Mailing List'
Subject: RE: Problem with Index


Beth,

I haven't compiled the following but I guess you should use either
Integer.valueOf(String).intValue() OR
Integer.parseInt(String)
that return an int instead of String.valueOf(int) that returns a String.

A second suggestion would be to use the logic JSP tags "greaterThan" or
similar.

Ex:

  

  


HTH

Andrej
-Original Message-----
From: Strichartz, Beth [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 04, 2001 11:56 AM
To: 'Struts Users Mailing List'
Subject: Problem with Index


In an iterate,
if I do this 

<%=Index%>

the index prints out to the screen for me.


But, how do I do this??

<% if (String.valueOf(Index)) > 0) {%>

<% } %>
To check the value of the index??
Thanks,
Beth.


This message contains information which may be confidential and privileged.
Unless you are the addressee  (or authorized to receive for the addressee),
you may not use, copy or disclose to anyone the message or any information
contained in the message.  If you have received the message in error, please
advise the sender by reply e-mail, and delete or destroy the message. 

Thank you.


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


This message contains information which may be confidential and privileged.
Unless you are the addressee  (or authorized to receive for the addressee),
you may not use, copy or disclose to anyone the message or any information
contained in the message.  If you have received the message in error, please
advise the sender by reply e-mail, and delete or destroy the message. 

Thank you.


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




Problem with Index

2001-12-04 Thread Strichartz, Beth

In an iterate,
if I do this 

<%=Index%>

the index prints out to the screen for me.


But, how do I do this??

<% if (String.valueOf(Index)) > 0) {%>

<% } %>
To check the value of the index??
Thanks,
Beth.


This message contains information which may be confidential and privileged.
Unless you are the addressee  (or authorized to receive for the addressee),
you may not use, copy or disclose to anyone the message or any information
contained in the message.  If you have received the message in error, please
advise the sender by reply e-mail, and delete or destroy the message. 

Thank you.


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Logic Tag question

2001-11-30 Thread Strichartz, Beth

Hi,

Any ideas on what tag, or how to compare to attributes from my form bean?

Typically I would do   



 A little lower...


But, I need to see to compare two properties.

Thanks,
Beth.


This message contains information which may be confidential and privileged.
Unless you are the addressee  (or authorized to receive for the addressee),
you may not use, copy or disclose to anyone the message or any information
contained in the message.  If you have received the message in error, please
advise the sender by reply e-mail, and delete or destroy the message. 

Thank you.


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: indexed checkboxes

2001-11-01 Thread Strichartz, Beth

Why do you need the index for checkbox?? if it is to create a dynamic
checkbox in an iterate, use
multibox... 

-Original Message-
From: Curt Peterson [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 31, 2001 3:25 AM
To: [EMAIL PROTECTED]
Subject: indexed checkboxes


Somewhere in the archives I have seen some recent threads about the
indexed attribute of the checkbox tag not working.  I too am having no
luck getting this to work with the 1.0 release.  I did see a reference
in the basehandler class to indexed being available in 1.1 and up
releases.  What is the 1.1 and up release?  Does the October 31, 2001
release work?

Many Thanks,

-Curt


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
To unsubscribe, e-mail:

For additional commands, e-mail:



This message contains information which may be confidential and privileged.
Unless you are the addressee  (or authorized to receive for the addressee),
you may not use, copy or disclose to anyone the message or any information
contained in the message.  If you have received the message in error, please
advise the sender by reply e-mail, and delete or destroy the message. 

Thank you.


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Help with message creating

2001-10-25 Thread Strichartz, Beth


I want to do this:
logic:messagesPresent property="name">
> key="errors.header"/>
>
>   
>  
>   
>
> 

But, how do I add a message when I am in the Action
Thanks,
Beth.


This message contains information which may be confidential and privileged.
Unless you are the addressee  (or authorized to receive for the addressee),
you may not use, copy or disclose to anyone the message or any information
contained in the message.  If you have received the message in error, please
advise the sender by reply e-mail, and delete or destroy the message. 

Thank you.




Messages like Errors...

2001-10-24 Thread Strichartz, Beth

I thought I read somewhere that I can add to the message bean
and then in a jsp see if this message bean exists and output it kind
of like errors???

errors.add(ActionErrors.GLOBAL_ERROR,
   new ActionError("error.database.missing"));

Can anyone point me in the right direction/...


This message contains information which may be confidential and privileged.
Unless you are the addressee  (or authorized to receive for the addressee),
you may not use, copy or disclose to anyone the message or any information
contained in the message.  If you have received the message in error, please
advise the sender by reply e-mail, and delete or destroy the message. 

Thank you.




adding /viewing messages like errors

2001-10-24 Thread Strichartz, Beth

 
I thought I read somewhere that I can add to the message bean
and then in a jsp see if this message bean exists and output it kind
of like errors???

errors.add(ActionErrors.GLOBAL_ERROR,
   new ActionError("error.database.missing"));

Can anyone point me in the right direction/...


This message contains information which may be confidential and privileged.
Unless you are the addressee  (or authorized to receive for the addressee),
you may not use, copy or disclose to anyone the message or any information
contained in the message.  If you have received the message in error, please
advise the sender by reply e-mail, and delete or destroy the message. 

Thank you.




RE: Getting the value of object in the iterate....

2001-10-23 Thread Strichartz, Beth

Thanks Ted!! :)

-Original Message-
From: Strichartz, Beth [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 23, 2001 11:17 AM
To: [EMAIL PROTECTED]
Subject: RE: Getting the value of object in the iterate


Ted,
Is that an html:input or straight html input.
I ask because the end tag is />
I will try this...
Beth.

-Original Message-
From: Ted Husted [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 23, 2001 11:08 AM
To: [EMAIL PROTECTED]
Subject: Re: Getting the value of object in the iterate


How about 

')>;" />

instead. 

Or, you might have to expose the bean as a scripting variable before
using it in a scriptlet.

"Strichartz, Beth" wrote:
> 
> Thanks! I got that working..
> Now I am having a problem sending to the JavaScript:
>  
> 
> Any ideas???
> 
> Error is :
> probably occurred due to an error in /ChangeEdit.jsp line 303:
> 
> 
>
C:\bea\wlserver6.0\config\mydomain\applications\.wl_temp_do_not_delete\WEB-I
>
NF\_tmp_war_myserver_myserver_middleware\jsp_servlet\_changeaddressedit.java
> :1451: ')' expected
> (No more information available, probably caused by another error)
> 
>

> 
> Full compiler error(s):
>
C:\bea\wlserver6.0\config\mydomain\applications\.wl_temp_do_not_delete\WEB-I
>
NF\_tmp_war_myserver_myserver_middleware\jsp_servlet\_changeaddressedit.java
> :1449: unclosed string literal
> 
> _html_submit0.setOnclick(weblogic.utils.StringUtils.valueOf("return
> doSubmit('<%= =Patients.getAccount().getSsn()) //[ /ChangeAddressEdit.jsp;
> Line: 303]
> 
> 
> -Original Message-
> From: Stephen Owens [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, October 23, 2001 9:53 AM
> To: [EMAIL PROTECTED]
> Subject: RE: Getting the value of object in the iterate
> 
> You should be able to do this using the  tag, like so,
> 
>indexId="index">
>   filter="true"/>
>  type="com.domain.Patients"/>
> <%= Patients.getAccount().getSsn()%>
>   
> -Original Message-
> From: Strichartz, Beth [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, October 23, 2001 9:21 AM
> To: [EMAIL PROTECTED]
> Subject: RE: Getting the value of object in the iterate
> 
> I have the same question...
> Does anyone out there know???
> 
> -Original Message-
> From: michael duggan [mailto:[EMAIL PROTECTED]]
> Sent: Monday, October 22, 2001 9:19 PM
> To: [EMAIL PROTECTED]
> Subject: Getting the value of onject in the iterate
> 
> If I am iterating over a collection..
>indexId="index">
>   filter="true"/>
> 
> 
> Where Patients has an account Object that has an SSN property.
> is it possible to add the following inside the iterate tag
> 
> 
> <%=Patients.getAccount().getSsn()%>The reason I ask, is I want to
> pass the SSN to Javascript in an Onclick event.
> 
> Thanks.
> 
> 
> This message contains information which may be confidential and
> privileged. Unless you are the addressee (or authorized to receive for
> the addressee), you may not use, copy or disclose to anyone the message
> or any information contained in the message. If you have received the
> message in error, please advise the sender by reply e-mail, and delete
> or destroy the message.
> 
> Thank you.
> 
> This message contains information which may be confidential and
privileged.
> Unless you are the addressee  (or authorized to receive for the
addressee),
> you may not use, copy or disclose to anyone the message or any information
> contained in the message.  If you have received the message in error,
please
> advise the sender by reply e-mail, and delete or destroy the message.
> 
> Thank you.

-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Custom Software ~ Technical Services.
-- Tel +1 716 737-3463
-- http://www.husted.com/struts/


This message contains information which may be confidential and privileged.
Unless you are the addressee  (or authorized to receive for the addressee),
you may not use, copy or disclose to anyone the message or any information
contained in the message.  If you have received the message in error, please
advise the sender by reply e-mail, and delete or destroy the message. 

Thank you.


This message contains information which may be confidential and privileged.
Unless you are the addressee  (or authorized to receive for the addressee),
you may not use, copy or disclose to anyone the message or any information
contained in the message.  If you have received the message in error, please
advise the sender by reply e-mail, and delete or destroy the message. 

Thank you.




RE: Getting the value of object in the iterate....

2001-10-23 Thread Strichartz, Beth

Ted,
Is that an html:input or straight html input.
I ask because the end tag is />
I will try this...
Beth.

-Original Message-
From: Ted Husted [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 23, 2001 11:08 AM
To: [EMAIL PROTECTED]
Subject: Re: Getting the value of object in the iterate


How about 

')>;" />

instead. 

Or, you might have to expose the bean as a scripting variable before
using it in a scriptlet.

"Strichartz, Beth" wrote:
> 
> Thanks! I got that working..
> Now I am having a problem sending to the JavaScript:
>  
> 
> Any ideas???
> 
> Error is :
> probably occurred due to an error in /ChangeEdit.jsp line 303:
> 
> 
>
C:\bea\wlserver6.0\config\mydomain\applications\.wl_temp_do_not_delete\WEB-I
>
NF\_tmp_war_myserver_myserver_middleware\jsp_servlet\_changeaddressedit.java
> :1451: ')' expected
> (No more information available, probably caused by another error)
> 
>

> 
> Full compiler error(s):
>
C:\bea\wlserver6.0\config\mydomain\applications\.wl_temp_do_not_delete\WEB-I
>
NF\_tmp_war_myserver_myserver_middleware\jsp_servlet\_changeaddressedit.java
> :1449: unclosed string literal
> 
> _html_submit0.setOnclick(weblogic.utils.StringUtils.valueOf("return
> doSubmit('<%= =Patients.getAccount().getSsn()) //[ /ChangeAddressEdit.jsp;
> Line: 303]
> 
> 
> -Original Message-
> From: Stephen Owens [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, October 23, 2001 9:53 AM
> To: [EMAIL PROTECTED]
> Subject: RE: Getting the value of object in the iterate
> 
> You should be able to do this using the  tag, like so,
> 
>indexId="index">
>   filter="true"/>
>  type="com.domain.Patients"/>
> <%= Patients.getAccount().getSsn()%>
>   
> -Original Message-
> From: Strichartz, Beth [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, October 23, 2001 9:21 AM
> To: [EMAIL PROTECTED]
> Subject: RE: Getting the value of object in the iterate
> 
> I have the same question...
> Does anyone out there know???
> 
> -Original Message-
> From: michael duggan [mailto:[EMAIL PROTECTED]]
> Sent: Monday, October 22, 2001 9:19 PM
> To: [EMAIL PROTECTED]
> Subject: Getting the value of onject in the iterate
> 
> If I am iterating over a collection..
>indexId="index">
>   filter="true"/>
> 
> 
> Where Patients has an account Object that has an SSN property.
> is it possible to add the following inside the iterate tag
> 
> 
> <%=Patients.getAccount().getSsn()%>The reason I ask, is I want to
> pass the SSN to Javascript in an Onclick event.
> 
> Thanks.
> 
> 
> This message contains information which may be confidential and
> privileged. Unless you are the addressee (or authorized to receive for
> the addressee), you may not use, copy or disclose to anyone the message
> or any information contained in the message. If you have received the
> message in error, please advise the sender by reply e-mail, and delete
> or destroy the message.
> 
> Thank you.
> 
> This message contains information which may be confidential and
privileged.
> Unless you are the addressee  (or authorized to receive for the
addressee),
> you may not use, copy or disclose to anyone the message or any information
> contained in the message.  If you have received the message in error,
please
> advise the sender by reply e-mail, and delete or destroy the message.
> 
> Thank you.

-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Custom Software ~ Technical Services.
-- Tel +1 716 737-3463
-- http://www.husted.com/struts/


This message contains information which may be confidential and privileged.
Unless you are the addressee  (or authorized to receive for the addressee),
you may not use, copy or disclose to anyone the message or any information
contained in the message.  If you have received the message in error, please
advise the sender by reply e-mail, and delete or destroy the message. 

Thank you.




RE: Getting the value of object in the iterate....

2001-10-23 Thread Strichartz, Beth

Thanks! I got that working..
Now I am having a problem sending to the JavaScript:
 

Any ideas???

Error is :
probably occurred due to an error in /ChangeEdit.jsp line 303:


C:\bea\wlserver6.0\config\mydomain\applications\.wl_temp_do_not_delete\WEB-I
NF\_tmp_war_myserver_myserver_middleware\jsp_servlet\_changeaddressedit.java
:1451: ')' expected
(No more information available, probably caused by another error)




Full compiler error(s):
C:\bea\wlserver6.0\config\mydomain\applications\.wl_temp_do_not_delete\WEB-I
NF\_tmp_war_myserver_myserver_middleware\jsp_servlet\_changeaddressedit.java
:1449: unclosed string literal
 
_html_submit0.setOnclick(weblogic.utils.StringUtils.valueOf("return
doSubmit('<%= =Patients.getAccount().getSsn()) //[ /ChangeAddressEdit.jsp;
Line: 303]
 


-Original Message-
From: Stephen Owens [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 23, 2001 9:53 AM
To: [EMAIL PROTECTED]
Subject: RE: Getting the value of object in the iterate


You should be able to do this using the  tag, like so,

  
 

<%= Patients.getAccount().getSsn()%>
  
-Original Message-
From: Strichartz, Beth [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 23, 2001 9:21 AM
To: [EMAIL PROTECTED]
Subject: RE: Getting the value of object in the iterate


I have the same question...
Does anyone out there know???
 
-Original Message-
From: michael duggan [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 22, 2001 9:19 PM
To: [EMAIL PROTECTED]
Subject: Getting the value of onject in the iterate


If I am iterating over a collection..
  
 
   

Where Patients has an account Object that has an SSN property.
is it possible to add the following inside the iterate tag
 
 
<%=Patients.getAccount().getSsn()%>The reason I ask, is I want to
pass the SSN to Javascript in an Onclick event.
 
Thanks.
 



This message contains information which may be confidential and
privileged. Unless you are the addressee (or authorized to receive for
the addressee), you may not use, copy or disclose to anyone the message
or any information contained in the message. If you have received the
message in error, please advise the sender by reply e-mail, and delete
or destroy the message. 


Thank you.


This message contains information which may be confidential and privileged.
Unless you are the addressee  (or authorized to receive for the addressee),
you may not use, copy or disclose to anyone the message or any information
contained in the message.  If you have received the message in error, please
advise the sender by reply e-mail, and delete or destroy the message. 

Thank you.




RE: Getting the value of object in the iterate....

2001-10-23 Thread Strichartz, Beth



I have 
the same question...
Does 
anyone out there know???
 

  -Original Message-From: michael duggan 
  [mailto:[EMAIL PROTECTED]]Sent: Monday, October 22, 2001 9:19 
  PMTo: [EMAIL PROTECTED]Subject: Getting the 
  value of onject in the iterate
  If I am iterating over a 
  collection..   
     
  
  Where Patients has an account Object that has an 
  SSN property.
  is it possible to add the following inside the 
  iterate tag
   
   
  <%=Patients.getAccount().getSsn()%>The 
  reason I ask, is I want to pass the SSN to Javascript in an Onclick 
  event.
   
  Thanks.
   



This message contains information which may be confidential and privileged.  Unless you are the addressee  (or authorized to receive for the addressee), you may not use, copy or disclose to anyone the message or any information contained in the message.  If you have received the message in error, please advise the sender by reply e-mail, and delete or destroy the message. 


Thank you.



Nightly builds

2001-10-22 Thread Strichartz, Beth

If I get a new nightly build, do I replace the struts jar and all taglibs
only??
or is there something else I need to worry about??

Beth



This message contains information which may be confidential and privileged.
Unless you are the addressee  (or authorized to receive for the addressee),
you may not use, copy or disclose to anyone the message or any information
contained in the message.  If you have received the message in error, please
advise the sender by reply e-mail, and delete or destroy the message. 

Thank you.




RE: How To: Radio Buttons and Regular buttons

2001-10-22 Thread Strichartz, Beth

What if I am looking for more than the iterator?
I really need the address Id... 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 22, 2001 5:25 PM
To: [EMAIL PROTECTED]
Subject: RE: How To: Radio Buttons and Regular buttons




The indexed property will work if you use the nightly build.  The name of
the
submit button will be suffixed with [x] where x is the interation index.
You
can then check that in your action.

Cheers,

Dave





"Strichartz, Beth" <[EMAIL PROTECTED]> on
10/22/2001 05:10:45 PM

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:(bcc: David Hay/Lex/Lexmark)
Subject:  RE: How To: Radio Buttons and Regular buttons




Hi all,
I have a similar questions.

In my iterate I have a regular Button and I need to know which one was
clicked. Therefore, I have to have a dynamic value generated in the iterate.
I have tried defaulting the value to be part of the bean that I am iterating
over ,
but this has not worked for me.
The following does not work for me...
Any ideas on what will work??
will the indexed property work?

  
 
 

   

  



  

  


  
 Thanks Beth.
-Original Message-
From: L. Yeung [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 22, 2001 3:27 AM
To: [EMAIL PROTECTED]
Subject: How To: Radio Buttons


Hi All! I need to iterate a collection of supplier
info with radio buttons. I want the value property to
have dynamic values extractd from the collection.


..



  


Thanks in advance.
L.Yeung

__
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com


This message contains information which may be confidential and privileged.
Unless you are the addressee  (or authorized to receive for the addressee),
you may not use, copy or disclose to anyone the message or any information
contained in the message.  If you have received the message in error, please
advise the sender by reply e-mail, and delete or destroy the message.

Thank you.








This message contains information which may be confidential and privileged.
Unless you are the addressee  (or authorized to receive for the addressee),
you may not use, copy or disclose to anyone the message or any information
contained in the message.  If you have received the message in error, please
advise the sender by reply e-mail, and delete or destroy the message. 

Thank you.




RE: How To: Radio Buttons and Regular buttons

2001-10-22 Thread Strichartz, Beth


Hi all,
I have a similar questions.

In my iterate I have a regular Button and I need to know which one was 
clicked. Therefore, I have to have a dynamic value generated in the iterate.
I have tried defaulting the value to be part of the bean that I am iterating
over ,
but this has not worked for me.
The following does not work for me...
Any ideas on what will work??
will the indexed property work?

  
 
 
 
  

  



  

  
   

  
 Thanks Beth. 
-Original Message-
From: L. Yeung [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 22, 2001 3:27 AM
To: [EMAIL PROTECTED]
Subject: How To: Radio Buttons


Hi All! I need to iterate a collection of supplier
info with radio buttons. I want the value property to
have dynamic values extractd from the collection.


..



  


Thanks in advance.
L.Yeung

__
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com


This message contains information which may be confidential and privileged.
Unless you are the addressee  (or authorized to receive for the addressee),
you may not use, copy or disclose to anyone the message or any information
contained in the message.  If you have received the message in error, please
advise the sender by reply e-mail, and delete or destroy the message. 

Thank you.




RE: New professional STRUTS website

2001-10-01 Thread Strichartz, Beth


Love the site!
-Original Message-
From: Frederick N. Brier [mailto:[EMAIL PROTECTED]]
Sent: Sunday, September 30, 2001 11:36 AM
To: [EMAIL PROTECTED]
Subject: Re: New professional STRUTS website


Beautiful site!  I haven't been through it all yet, but a very impressive 
web application.  As Martin Cooper asked, I would also be interested in 
what aspects of Struts you found most useful, what you felt was missing, 
whether you did one large page or tiled, etc.  I am curious how you 
implemented shared functionality such as uploading of images or their 
editing.  Did you duplicate the actions, somehow parameterize your JSPs, 
etc? Thank you for sharing your site.

Frederick N. Brier

At 11:48 AM 9/29/2001, you wrote:
>www.hallmarkstories.com
>
>Please have a look at this new site developed to produce offline physcial 
>product through an online web based application for Hallmark, Inc. by iXL, 
>Inc.(NYC).  I would be happy to provide more detail into any questions 
>anyone may have in terms of the STRUTS implimentation or other solutions 
>for the build.  I have been reading this list for a long time and working 
>on this project for a very long time hoping to expose STRUTS as a 
>fantastic framework for implimenting proffessional MVC based web
applications.
>
>Thanks,
>Adam S. Grohs
>[EMAIL PROTECTED]


This message contains information which may be confidential and privileged.
Unless you are the addressee  (or authorized to receive for the addressee),
you may not use, copy or disclose to anyone the message or any information
contained in the message.  If you have received the message in error, please
advise the sender by reply e-mail, and delete or destroy the message. 

Thank you.




RE: Help with Struts and EJBS..

2001-09-24 Thread Strichartz, Beth

Thanks,
My from has sets and gets.
I will try to look for previous posted messages..

Beth.
-Original Message-
From: Barry Glasco [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 24, 2001 1:40 PM
To: [EMAIL PROTECTED]
Subject: RE: Help with Struts and EJBS..


1) No, but it will work. Look at previous posts on how to properly
implement.
2) Your form should have get and set methods?
3) Collection
4) None that I am aware of.

-Original Message-
From: Strichartz, Beth [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 24, 2001 1:09 PM
To: [EMAIL PROTECTED]
Subject: Help with Struts and EJBS..


Hi,
I need some serious help.
I am a novice Java and Struts developer.
I am trying to develope a prototype that will work with backend EJBS..

I have an CustomerSearchForm, Form bean and  action bean
my Action class is below.

Questions?
1) Is this the appropriate way to call EJBS (in an action class)??
2) How do I get what is returned from the EJB back into my actionform bean?
3) If I want a list of matching customers retruned...what is the best format
for these to be returned from the EJB so that I can
forward to another jsp and show them..  Currently the EJB is returning a
string.
4) Is there any sample applications out there that I can look at that use
EJBs?

Thanks in advance for ANY help.
Beth.


public ActionForward perform
(ActionMapping mapping, ActionForm form,
HttpServletRequest request, HttpServletResponse response)
{
ActionForward fwdAction = null;
CustomerSearchForm searchForm = (CustomerSearchForm) form;
try {

// Get an InitialContext
Properties initProps = new Properties();
initProps.put (Context.INITIAL_CONTEXT_FACTORY,
"weblogic.jndi.WLInitialContextFactory");
initProps.put(Context.PROVIDER_URL,
"t3://yshen:7001");
Context ctx =  new InitialContext(initProps);

Object home = (CustomerFacadeHome)
ctx.lookup("sov/CustomerFacade");
CustomerFacadeHome customerFacadeHome = (CustomerFacadeHome)
PortableRemoteObject.narrow
(home, CustomerFacadeHome.class);

CustomerFacade facade = (CustomerFacade)
PortableRemoteObject.narrow
(customerFacadeHome.create(), CustomerFacade.class);

String[] found  = facade.findCustomer
(searchForm.getCustomerName (),
searchForm.getSsn (), searchForm.getAlphaKey (),
searchForm.getBank ());

for (int i=0; i


Help with Struts and EJBS..

2001-09-24 Thread Strichartz, Beth

Hi,
I need some serious help.
I am a novice Java and Struts developer.
I am trying to develope a prototype that will work with backend EJBS..

I have an CustomerSearchForm, Form bean and  action bean
my Action class is below. 

Questions?
1) Is this the appropriate way to call EJBS (in an action class)?? 
2) How do I get what is returned from the EJB back into my actionform bean?
3) If I want a list of matching customers retruned...what is the best format
for these to be returned from the EJB so that I can
forward to another jsp and show them..  Currently the EJB is returning a
string.
4) Is there any sample applications out there that I can look at that use
EJBs?

Thanks in advance for ANY help.
Beth.


public ActionForward perform
(ActionMapping mapping, ActionForm form, 
HttpServletRequest request, HttpServletResponse response) 
{   
ActionForward fwdAction = null;
CustomerSearchForm searchForm = (CustomerSearchForm) form;
try {

// Get an InitialContext
Properties initProps = new Properties();
initProps.put (Context.INITIAL_CONTEXT_FACTORY, 
"weblogic.jndi.WLInitialContextFactory");
initProps.put(Context.PROVIDER_URL,  
"t3://yshen:7001");
Context ctx =  new InitialContext(initProps);

Object home = (CustomerFacadeHome)
ctx.lookup("sov/CustomerFacade");
CustomerFacadeHome customerFacadeHome = (CustomerFacadeHome)
PortableRemoteObject.narrow
(home, CustomerFacadeHome.class);

CustomerFacade facade = (CustomerFacade)
PortableRemoteObject.narrow
(customerFacadeHome.create(), CustomerFacade.class);

String[] found  = facade.findCustomer
(searchForm.getCustomerName (), 
searchForm.getSsn (), searchForm.getAlphaKey (), 
searchForm.getBank ());

for (int i=0; i