Struts javadoc deadlink

2002-04-30 Thread Paulo Gaspar

A dead link report I got while playing webmaster follows.

Have fun,
Paulo Gaspar

 -Original Message-
 From: Aurélien Pelletier [mailto:[EMAIL PROTECTED]]
 Sent: Monday, April 29, 2002 2:49 PM
 To: [EMAIL PROTECTED]
 Subject: struts javadoc deadlink


 Hello,

 All the links about the validator package in the struts javadoc (
 http://jakarta.apache.org/struts/api/ ) are dead.

 http://jakarta.apache.org/struts/api/org/apache/struts/validator/package-
 frame.html

 hope you can fix it.

 have a nice day

 Aurélien



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




treeview...

2002-04-30 Thread Jean Fotovat

hello community,

has somebody implements a treeview on struts framework ?
thank you

jean fotovat



Re: treeview...

2002-04-30 Thread Arron Bates

Yes.
Complete tutorial to create trees with Struts here...
http://www.keyboardmonkey.com/pilotlight


Arron.



Jean Fotovat wrote:

hello community,

has somebody implements a treeview on struts framework ?
thank you

jean fotovat




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




struts-nested.tld...

2002-04-30 Thread Jean Fotovat

hello community,

where could i find struts-nested.tld ?
i don't find it in struts lib. Is it provided with struts or nobody hears about that ?
thanks

jean fotovat



Re: struts-nested.tld...

2002-04-30 Thread Arron Bates

In a Struts distrib after 15th of January this year.
I assume that you're trying to do something with the nested tags?...

Arron.

Jean Fotovat wrote:

hello community,

where could i find struts-nested.tld ?
i don't find it in struts lib. Is it provided with struts or nobody hears about that ?
thanks

jean fotovat




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




DO NOT REPLY [Bug 8664] New: - Corrections on the documentation

2002-04-30 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8664.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8664

Corrections on the documentation

   Summary: Corrections on the documentation
   Product: Struts
   Version: 1.0.2 Final
  Platform: All
   URL: http://jakarta.apache.org/struts/doc-1.0.2/index.html
OS/Version: All
Status: NEW
  Severity: Enhancement
  Priority: Other
 Component: Documentation
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


Corrections on the following HTML documents:

1) http://jakarta.apache.org/struts/doc-1.0.2/index.html
a) spelling: 'hestate' should be 'hesitate'

2) http://jakarta.apache.org/struts/doc-1.0.2/userGuide/kickstart.html
a) spelling: 'Comprehesive' should be 'Comprehensive'
b) verbage: Tags which are are not linked directly to the framework 
may be hosted at Jakarta Taglibs instead.

should be

Tags which are not linked directly to the framework may be 
hosted at Jakarta Taglibs instead.

c) verbage: Since Struts does have have paid personnel working on the 
project, we simply cannot make date-orientated commitments.

should be

Since Struts does have paid personnel working on the project, we simply cannot 
make date-orientated commitments.

d) spelling: 'prognasticate' should be 'prognosticate'

3) http://jakarta.apache.org/struts/doc-1.0.2/userGuide/introduction.html
a) verbage: 'mainMenu' should be 'main menu'


4) http://jakarta.apache.org/struts/doc-1.0.2/userGuide/building_view.html
a) spelling: 'fundmental' should be 'fundamental'
b) spelling: 'peform()' should be 'perform()'
c) spelling: 'definately' should be 'definitely'
5) http://jakarta.apache.org/struts/doc-1.0.2/userGuide/building_controller.html
a) spelling: 'logfile' should be 'log file'

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




Need Help

2002-04-30 Thread vivek shrivastava

Hi,

I know following questions have been asked or discussed so many times but I
am still confuse. Please do help me.

Once a users is logged in, I want to validate each page for a valid user. I
understand that I can use “CheckLogon” tab in each .jsp page check for valid
user. But I really don’t think that it is good idea to mix flow and
presentation.

We have two other options.

1. We create a base class by extending struts’s Action class and define a
function to do validation and extend all application specific Action classes
using that base class.
2. Or we extend ActionServlet class and define a function to do validation.

I think 2nd option is much more flexible and it does not have redundancy of
code like first option.

I want to know which one is best in real world.
If someone has implemented it using either of method, please provide me some
sample code so that I can implement it.

Please Please do help me.

Thanks




_
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


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




Re: tabular radio buttons :(

2002-04-30 Thread dhay



Much better way is to stick everything in an ArrayList of beans which you
iterate through.  That way no logic-present tags - radio buttons will pick up
values from underlying values.

for update, you'll need either indexed tags or nested tags.

cheers,

Dave





Chakradhar Tallam [EMAIL PROTECTED] on 04/29/2002
11:47:35 PM

Please respond to Struts Developers List
  [EMAIL PROTECTED]

To:   '[EMAIL PROTECTED]'
  [EMAIL PROTECTED]
cc:(bcc: David Hay/Lex/Lexmark)
Subject:  tabular radio buttons :(



hi guys,

i've a page with radio buttons in 4 rows  5 columns = 20 radio buttons.
each column's radio button's on/off property comes from a bean = 5 beans.
only one radio button in a row can be selected (one of 4 in each row), that
means the radio buttons each row should have the same name. i got this
working  i can display the on/off info of each radio button properly.

the problem comes while updating, i've created a form bean with 4 boolean
properties, get  set methods. while setting if a radio button in a row is
selected how will i know which bean that belongs to (remember radio buttons
in a row have same name)!

am i going in a worng direction! is there a better way doing this! if so,
please provide me few examples. help is appreciated.

jsp code of one of the rows
 tr
  td class=bodyText align=leftbean:message
key=Diversions.engaged//td
  tdnbsp;/td
  td class=dataText align=center
logic:present name=PhoneNoDiversionServiceInfo
scope=session
html:radio name=PhoneNoDiversionServiceInfo
property=engagedDiverted value=true/
/logic:present
/td
  td class=dataText align=center
logic:present name=PhoneCallScreenDiversionServiceInfo
scope=session
html:radio name=PhoneCallScreenDiversionServiceInfo
property=engagedDiverted value=true/
/logic:present
/td
  td class=dataText align=center
logic:present name=PhoneMessengerDiversionServiceInfo
scope=session
logic:equal name=PhoneMessengerDiversionServiceInfo
property=engagedEnabled value=true
html:radio name=PhoneMessengerDiversionServiceInfo
property=engagedDiverted value=true disabled=false/
/logic:equal
logic:equal name=PhoneMessengerDiversionServiceInfo
property=engagedEnabled value=false
html:radio name=PhoneMessengerDiversionServiceInfo
property=engagedDiverted value=true disabled=true/
/logic:equal
/logic:present
/td
  td class=dataText align=center
logic:present name=PhoneCallBackDiversionServiceInfo
scope=session
logic:equal name=PhoneCallBackDiversionServiceInfo
property=engagedEnabled value=true
html:radio name=PhoneCallBackDiversionServiceInfo
property=engagedDiverted value=true disabled=false/
/logic:equal
logic:equal name=PhoneCallBackDiversionServiceInfo
property=engagedEnabled value=false
html:radio name=PhoneCallBackDiversionServiceInfo
property=engagedDiverted value=true disabled=true/
/logic:equal
/logic:present
/td
  td class=dataText align=center
logic:present name=PhoneCallForwardDiversionServiceInfo
scope=session
html:radio name=PhoneCallForwardDiversionServiceInfo
property=engagedDiverted value=true/nbsp;html:text
name=PhoneCallForwardDiversionServiceInfo property=engagedDivertedTo
size=10 maxlength=10/
/logic:present
/td
  td class=dataText align=center
logic:present name=PhoneCallForwardDiversionServiceInfo
scope=session
bean:write name=PhoneCallForwardDiversionServiceInfo
property=engagedLastChangeDate/
/logic:present
/td
  td class=dataText align=center
logic:present name=PhoneCallForwardDiversionServiceInfo
scope=session
bean:write name=PhoneCallForwardDiversionServiceInfo
property=engagedLastChangeTime/
/logic:present
/td
  td class=dataText align=center
logic:present name=PhoneCallForwardDiversionServiceInfo
scope=session
bean:write name=PhoneCallForwardDiversionServiceInfo
property=engagedLastChangeCCR/
/logic:present
/td
 /tr

a sample out put is attached
 test1.htm
thanks in advance.
Chakradhar Tallam
Consultant Software Engineer
Object Oriented Pty Ltd.,
Level 11 / 75 Miller Street, North Sydney, NSW - 2060
Phone: +61 2 9459 3356 Fax: +61 2 9955 6659
Web: http://www.oopl.com.au/







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


Trouble with example from nightly build (and a solution)

2002-04-30 Thread @Basebeans.com

Subject: Trouble with example from nightly build (and a solution)
From: Jose Quinteiro [EMAIL PROTECTED]
 ===
Using Resin 2.1/JDK 1.4/jikes-1.15 on Windows 2k, if you drop 
struts-example.war in the Resin webapps directory you get:

javax.servlet.jsp.JspException: Cannot find message resources under key
org.apache.struts.action.MESSAGE

Until and unless you add the following under servlet in web.xml

init-param
param-nameapplication/param-name
param-valueorg.apache.struts.webapp.example.ApplicationResources/param-value
/init-param


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




Code Submission Question

2002-04-30 Thread Phase Web and Multimedia

I reworked the link tag because I needed better javascript support for href
function calls. I think this would be an excellent addition to the struts
core. Where do I submit this code and what do I need to supply with it?

Brandon Goodin
Phase Web and Multimedia
P (406) 862-2245
F (406) 862-0354
[EMAIL PROTECTED]
http://www.phase.ws



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




Re: Code Submission Question

2002-04-30 Thread Joe Germuska

At 2:34 PM -0600 4/30/02, Phase Web and Multimedia wrote:
I reworked the link tag because I needed better javascript support for href
function calls. I think this would be an excellent addition to the struts
core. Where do I submit this code and what do I need to supply with it?

Post an issue in Bugzilla 
http://nagoya.apache.org/bugzilla/enter_bug.cgi?product=Struts. 
If possible, attach a patch.  Get everyone who likes it to vote for 
it.  Wait patiently...

Joe

-- 
--
* Joe Germuska{ [EMAIL PROTECTED] }
It's pitiful, sometimes, if they've got it bad. Their eyes get 
glazed, they go white, their hands tremble As I watch them I 
often feel that a dope peddler is a gentleman compared with the man 
who sells records.
--Sam Goody, 1956
tune in posse radio: http://www.live365.com/stations/289268

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




DO NOT REPLY [Bug 8664] - Corrections on the documentation

2002-04-30 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8664.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8664

Corrections on the documentation





--- Additional Comments From [EMAIL PROTECTED]  2002-05-01 02:26 ---
Please add me to the Struts Consultants list:
http://jakarta.apache.org/struts/resources.html#consultants

NetVenture Technologies - www.netvtech.com -  James DeVries

-James
[EMAIL PROTECTED]

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




DO NOT REPLY [Bug 8688] New: - Improved Javascript for Link Tag

2002-04-30 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8688.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8688

Improved Javascript for Link Tag

   Summary: Improved Javascript for Link Tag
   Product: Struts
   Version: 1.1 Beta 1
  Platform: All
   URL: http://www.phase.ws/linktag/taglib.zip
OS/Version: All
Status: NEW
  Severity: Enhancement
  Priority: Other
 Component: Custom Tags
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


I don't know if a similar solution has been provided, but, I tweaked the Link 
Tag to support the writing of 'javascript:[function_name]
([param1,param2,param3...])' to the href
attribute of the final output. Here is a summarization of it's functionality:

I added the following attributes:

function - This is the name of the javascript function that will be called;

functionName - This is the name of the bean that will provide parameter
values from one of it's properties.

functionProperty - This is a property of a bean that will either provide a
String or an ArrayList to populate the parameters of the function

urlIndex - This allows you to include the url generated by href,forward or
page to be included at a specific place in the function's parameters.

There is another class that I wrote that does the actual processing and
preparation of the url. I named it EcmaUtil.  I modeled the computeURL and
computerParam methods of the RequestUtils class when I built the methods for
the EcmaUtil.

The LinkTag class that I wrote extends the BaseHandlerTag under the
org.apache.struts.taglib.html package of struts jar.

I know the code needs a bit of reworking to fit back in to the struts
framework. I stripped out the MessageReources for the most part and removed
some exception handling that will need to be included again.

Anyways, if nobody has done this in the nightly or if it sounds like it
might be of use. Let me know and I will post the code,the tld and an example
of it's usage.

EXAMPLE OF USAGE:

This tag works exactly like the struts html tag with expanded feature outlined 
above:

pwshtml:link forward=listings/detail/popup function=popUpWin urlIndex=1 
paramId=image paramName=image
img src=image.jpg some text/pwshtml:link

This code will produce the follwing html
a href=javascript:popUpWin('/do/listings/detail/popup?
image=NWMT203336.jpg')img src=image.jpg/a

Of course some of the elements are arbitrary to the values in your beans. But 
you should be able to traverse the code and get the idea.

P.S. I am in the process of submitting this to struts for inclusion with the 
base package. Give me a vote on the message boards if you think this will be a 
good contribution. Also, feel free to enhance features.

Let me know,
Brandon Goodin
Phase Web and Multimedia
P(406)862-2245
F(406)862-0354
http://www.phase.ws
[EMAIL PROTECTED]

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