DO NOT REPLY [Bug 8814] New: - html:reset disabled= does not use RTEXP

2002-05-05 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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=8814

html:reset disabled= does not use RTEXP

   Summary: html:reset disabled= does not use RTEXP
   Product: Struts
   Version: 1.1 Beta 1
  Platform: All
OS/Version: All
Status: NEW
  Severity: Normal
  Priority: Other
 Component: Custom Tags
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


I intended to dynamically set the enabled/disabled state of a button.  When I
specified a runtime expression, the result did not reflect the value of the
runtime expression.  Looking at the code, there does not seem to be a way that
it could.  BaseTagHandler does not interogate runtime expressions.

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




Bug report for Struts [2002/05/05]

2002-05-05 Thread bugzilla

+---+
| Bugzilla Bug ID   |
| +-+
| | Status: UNC=Unconfirmed NEW=New ASS=Assigned|
| | OPN=ReopenedVER=Verified(Skipped Closed/Resolved)   |
| |   +-+
| |   | Severity: BLK=Blocker CRI=CriticalMAJ=Major |
| |   |   MIN=Minor   NOR=Normal  ENH=Enhancement   |
| |   |   +-+
| |   |   | Date Posted |
| |   |   |  +--+
| |   |   |  | Description  |
| |   |   |  |  |
|  866|New|Enh|2001-03-06|Clean Way to Add Parameters to Redirecting Forward|
|  905|New|Enh|2001-03-08|Need new mode for html:options for single Collecti|
|  931|New|Enh|2001-03-11|Struts needs to cleanly support running multiple c|
| 1481|New|Enh|2001-04-24|Enhanced resolution of collection property in html|
| 1586|Opn|Nor|2001-05-01|The  tag generates incorrect focus java|
| 1683|New|Enh|2001-05-09|Change Struts tags to be more granular in their de|
| 1797|New|Enh|2001-05-17|Add a way to write out   if data is null |
| 1826|New|Enh|2001-05-20|Dynamic Properties (instead of using the Reflectio|
| 1871|New|Enh|2001-05-23|tag that displays iterate tag index value |
| 1895|New|Enh|2001-05-24|Provide a way to specify xerces and xalan in build|
| 1896|New|Enh|2001-05-24|Store copies of the TLD files in CVS  |
| 2017|Ass|Maj|2001-06-05|Text entered in forms using multi-part/formdata ca|
| 2046|Opn|Enh|2001-06-07|a struts tag within another struts tag|
| 2096|New|Enh|2001-06-09|Change  to use a collection like  calls method to populate se|
| 3212|New|Enh|2001-08-21|Somehow encrypting the data-source password   |
| 3239|New|Enh|2001-08-22|tag properties not exposed to iterator index  |
| 3283|New|Enh|2001-08-27|Adding Multiple Match Logic Equal/notEqual Tags   |
| 3353|New|Enh|2001-08-29|Need More Flexibility Setting/Getting ActionForm P|
| 3465|New|Nor|2001-09-06|FormFile.destroy() doesn't work for temporary file|
| 3485|New|Enh|2001-09-07|How to Chain action   |
| 3783|Unc|Nor|2001-09-23|Uploading MacIntosh files |
| 3789|New|Enh|2001-09-24|ID= attribute |
| 3849|New|Enh|2001-09-26|Enhance template tag to conditionally get contents|
| 4132|New|Enh|2001-10-12|possible problem with GenericDataSource.close |
| 4170|New|Nor|2001-10-15|MaxLengthExceeded doesn't stop file upload|
| |Opn|Enh|2001-10-26|Feature to display errors against individual input|
| 4744|New|Enh|2001-11-08|Allow Secure Form Submittal with  tag  |
| 4776|New|Nor|2001-11-09|ResponseUtils.filter() does not encode the apostro|
| 4868|New|Min|2001-11-14|FormTag.java styleId attribute conflicting with XH|
| 4929|New|Enh|2001-11-16|nested NullPointerException not defented with igno|
| 4974|New|Nor|2001-11-20|Link to struts-blank.war broken   |
| 5023|New|Blk|2001-11-21|html:form does not handle "action" attribute corre|
| 5101|New|Maj|2001-11-26|org.apache.struts.upload.MultipartIterator|
| 5157|New|Enh|2001-11-28|logic:iterate attributes inconsistent with rest of|
| 5244|New|Enh|2001-12-03|Declaritive Exception Handling|
| 5274|New|Maj|2001-12-04|OutOfMemoryError when uploading big files |
| 5286|New|Nor|2001-12-05|struts logic:redirect tag not working |
| 5292|New|Cri|2001-12-05|page attribute in LinkTag does not compute a full |
| 5303|New|Nor|2001-12-06|BaseTag when there is a web server acting as proxy|
| 5395|New|Nor|2001-12-12|ActionContext class   |
| 5503|New|Nor|2001-12-19|lost request-parameters if multipart-request  |
| 5518|New|Nor|2001-12-19|Convert HTML Tags to be XHTML-compliant when  resolves to location of |
| 7313|New|Enh|2002-03-21|[PATCH] logic:empty/notEmpty also deals with Colle|
| 7317|New|Nor|2002-03-21|RequestUtils.populate() convert null or empty para|
| 7329|New|Enh|2002-03-21|[PATCH] Nested tags for logic:iterate |
| 7347|New|Nor|2002-03-22|Validator contrib directory should be dead|
| 7348|New|Nor|2002-03-22|No Validator Documentation|
| 7351|New|Nor|2002-03-22|Validator JavaScript Primitive Validation Error   |
| 7352|New|Nor|2002-03-22|Struts 1.1 Beta 1 Release incorrectly reference co|
| 7353|New|Nor|2002-03-22|Validator JavaScript Select Error |
| 7361|New|Enh|2002-03-22|Performance Enhancement to MessageResouce.getMessa|
| 

RE: [Bug 8814] New: - html:reset disabled= does not use RTEXP

2002-05-05 Thread James Mitchell

Not sure if this encapsulates all your requirements, but I was able to run
this code on Tomcat 4.0.1/Struts 1.1b1:

<%
boolean b = true;
%>
  

  


The button was correctly disabled (IE5 and NS6)

Please ignore this if I am way off here.

JM







> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, May 05, 2002 12:31 PM
> To: [EMAIL PROTECTED]
> Subject: DO NOT REPLY [Bug 8814] New: - html:reset disabled=
> does not use RTEXP
>
>
> DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
> RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
> .
> 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=8814
>
> html:reset disabled= does not use RTEXP
>
>Summary: html:reset disabled= does not use RTEXP
>Product: Struts
>Version: 1.1 Beta 1
>   Platform: All
> OS/Version: All
> Status: NEW
>   Severity: Normal
>   Priority: Other
>  Component: Custom Tags
> AssignedTo: [EMAIL PROTECTED]
> ReportedBy: [EMAIL PROTECTED]
>
>
> I intended to dynamically set the enabled/disabled state of a
> button.  When I
> specified a runtime expression, the result did not reflect the
> value of the
> runtime expression.  Looking at the code, there does not seem to
> be a way that
> it could.  BaseTagHandler does not interogate runtime expressions.
>
> --
> To unsubscribe, e-mail:

For additional commands, e-mail: 



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




variable number of text fields in a form

2002-05-05 Thread Chakradhar Tallam

hi guys,

how do i handle the setting of variable number of text fields in a form!
i've tried with indexed properties but when i'm posting the form, the get
method is getting called rather than the set method for some reason. have u
had this kind of experience before, help is appreciated.

thanks,
CT.



Re: variable number of text fields in a form

2002-05-05 Thread Arron Bates

Depends on the type of indexed getter/setter you're using.

public String getMyIndex(int i) {}
public void setMyIndex(int i, String value) {}

...the setter will be called in this case, but in this instance...

public Object[] getMyIndex() {}
public void setMyIndex(Object[] obj) {}

...the setter will not be called, as the system will get the array, and 
set the item directly into the array, rather that return the resulting 
array back to the setter. This could very easily be the case. It's 
really easy to code this way, but don't expect the setter method itself 
to be called.

Have you tried the nested tags?... makes light work of list type 
operations among everything else.
Anyways, I've ranted this before, and your answer "could" be above :)


Arron.



Chakradhar Tallam wrote:

>hi guys,
>
>how do i handle the setting of variable number of text fields in a form!
>i've tried with indexed properties but when i'm posting the form, the get
>method is getting called rather than the set method for some reason. have u
>had this kind of experience before, help is appreciated.
>
>thanks,
>CT.
>



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




Re: variable number of text fields in a form

2002-05-05 Thread Arron Bates

And this is a user-list type question, so I've forwarded there.

Arron.

Arron Bates wrote:

> Depends on the type of indexed getter/setter you're using.
>
> public String getMyIndex(int i) {}
> public void setMyIndex(int i, String value) {}
>
> ...the setter will be called in this case, but in this instance...
>
> public Object[] getMyIndex() {}
> public void setMyIndex(Object[] obj) {}
>
> ...the setter will not be called, as the system will get the array, 
> and set the item directly into the array, rather that return the 
> resulting array back to the setter. This could very easily be the 
> case. It's really easy to code this way, but don't expect the setter 
> method itself to be called.
>
> Have you tried the nested tags?... makes light work of list type 
> operations among everything else.
> Anyways, I've ranted this before, and your answer "could" be above :)
>
>
> Arron.
>
>
>
> Chakradhar Tallam wrote:
>
>> hi guys,
>>
>> how do i handle the setting of variable number of text fields in a form!
>> i've tried with indexed properties but when i'm posting the form, the 
>> get
>> method is getting called rather than the set method for some reason. 
>> have u
>> had this kind of experience before, help is appreciated.
>>
>> thanks,
>> CT.
>>
>
>
>
> -- 
> To unsubscribe, e-mail: 
> 
> For additional commands, e-mail: 
> 
>



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




RE: variable number of text fields in a form

2002-05-05 Thread Chakradhar Tallam

thanks Arron,

here are my indexed getter/setter methods

public CallHistoryInfoItem getCallHistoryInfoItems(int index)
{
theLog.info("SetCallHistoryInfoForm.getCallHistoryInfoItems is
getting executed");
return (CallHistoryInfoItem)
((myCallHistoryInfoItems.toArray())[index]);
}

public void setCallHistoryInfoItems(int index, CallHistoryInfoItem chii)
{
theLog.info("SetCallHistoryInfoForm.setCallHistoryInfoItems is
getting executed");
(myCallHistoryInfoItems.toArray())[index] = chii;
}

getCallHistoryInfoItems is been called several times depending on the number
of text fields on my form when the form is posted but
setCallHistoryInfoItems never gets called.

chaks.

-Original Message-
From: Arron Bates [mailto:[EMAIL PROTECTED]]
Sent: Monday, 6 May 2002 2:57 PM
To: Struts Developers List; Struts Users Mailing List
Subject: Re: variable number of text fields in a form


And this is a user-list type question, so I've forwarded there.

Arron.

Arron Bates wrote:

> Depends on the type of indexed getter/setter you're using.
>
> public String getMyIndex(int i) {}
> public void setMyIndex(int i, String value) {}
>
> ...the setter will be called in this case, but in this instance...
>
> public Object[] getMyIndex() {}
> public void setMyIndex(Object[] obj) {}
>
> ...the setter will not be called, as the system will get the array, 
> and set the item directly into the array, rather that return the 
> resulting array back to the setter. This could very easily be the 
> case. It's really easy to code this way, but don't expect the setter 
> method itself to be called.
>
> Have you tried the nested tags?... makes light work of list type 
> operations among everything else.
> Anyways, I've ranted this before, and your answer "could" be above :)
>
>
> Arron.
>
>
>
> Chakradhar Tallam wrote:
>
>> hi guys,
>>
>> how do i handle the setting of variable number of text fields in a form!
>> i've tried with indexed properties but when i'm posting the form, the 
>> get
>> method is getting called rather than the set method for some reason. 
>> have u
>> had this kind of experience before, help is appreciated.
>>
>> thanks,
>> CT.
>>
>
>
>
> -- 
> To unsubscribe, e-mail: 
> 
> For additional commands, e-mail: 
> 
>



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