Problem with logic:equal?

2003-09-14 Thread Bjørn T Johansen
I have this code in my jsp page: logic:iterate id=elem name=annList tr logic:equal name=elem property=status value=0 td class=text bean:write name=elem property=annCreated //td td class=text bean:write name=elem

RE: client side sorting.

2003-09-14 Thread imran ali
I used client sorting the way it is used at http://www.glendinning.org/webbuilder/sortTable you can see the source by doing view source at this page. But when I used it. Suppose I am having 6 rows. then it is actually swapping 1 6, 2 5, 3 4. Please help as to what may be the reason behind

JFace and Struts?

2003-09-14 Thread MyStrutsGroup
Hi there, Would you please give me a discription about using JFace with Struts or is there any web site or documents on this topics? Leon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Problem with logic:equal is actually a problem with bean:define and Weblogic 8.1

2003-09-14 Thread Bjørn T Johansen
I tried just running bean:define id=username name=UserContainer property=user.username / Test: %= username % in a jsp file under Tomcat and that works ok, but doing the same under Weblogic 8.1 with SP 1, generates a cannot resolve symbol error. Is this a bug in WL or am I doing something

tbody colour change.

2003-09-14 Thread imran ali
Hi During the client side sorting, I have to replace existing tbody with a new sorted tbody in Java Script. var newTbody = document.createElement('tbody'); for (var i=0, length=rowArray.length; ilength; i++) { newTbody.appendChild(rowArray[i]);

Re: JFace and Struts?

2003-09-14 Thread Ted Husted
MyStrutsGroup wrote: Hi there, Would you please give me a discription about using JFace with Struts or is there any web site or documents on this topics? The JSF specification hasn't been finalized yet, and, AFAIK, there aren't any HOWTOs available. For more about JSF and Struts in general, see

Re: Question about properties in the struts configuration file

2003-09-14 Thread Ted Husted
There's the set-property element which can be used to set an aribrary property on the Java object being deployed. To access those properties, you should go through the object. So if you are using set-properties on an ActionMapping, you cast the ActionMapping to your subclass and then use the

Re: RemoveAttributeAction always failure

2003-09-14 Thread Ted Husted
You also need to specify the scope or * for any scope. See the Javadoc and the source code for details. http://cvs.apache.org/viewcvs/jakarta-struts/contrib/scaffold/src/java/org/apache/struts/scaffold/RemoveAttributeAction.java?rev=HEADcontent-type=text/vnd.viewcvs-markup -Ted. Lázaro Miguel

Re: validating dates as Dates, or Strings?

2003-09-14 Thread Ted Husted
Matt Raible had an article about how to compare if two Strings match. I was going to see if you could use the same technique here, but it's down right now. http://tinyurl.com/6jnv Though, you don't need to use the Struts Validator for everything. You can also call your own custom validations

Re: design question

2003-09-14 Thread Ted Husted
If the values are not going to change during the life of the application, I would suggest using a plugin to set them at startup. See the MailReader Example application for some sample code. -Ted. deepaksawdekar wrote: I am displaying some dropdown boxes on my jsp. I have to take the values for

Re: Please Help Me To Understand forward

2003-09-14 Thread Ted Husted
The first snippet redirects to a Struts ActionForward named welcome. This places controls within the Struts controller where it can be managed from the struts-config. In the global-forwards section, the ActionForward element for welcome is mapped to the page /do/Menu. This application uses

RE: how to output value in text field?

2003-09-14 Thread hari_s
How about if you do with html-el html-el:text value=${yourbeanname.yourvalue} property=yourproperty / -Original Message- From: Paul McCulloch [mailto:[EMAIL PROTECTED] Sent: Friday, September 12, 2003 5:00 PM To: 'Struts Users Mailing List' Subject: RE: how to output value in text field?

RE: JFace and Struts?

2003-09-14 Thread James Holmes
Hey Leon, I have to put together a comprehensive listing of JavaServer Faces resources on my website at the following URL. http://www.jamesholmes.com/JavaServerFaces/ Hope that helps, -James -Original Message- From: MyStrutsGroup [mailto:[EMAIL PROTECTED] Sent: Sunday, September 14,

Re: sslext can only get it to post

2003-09-14 Thread Max Cooper
Hi Stephane, Here is how the system currently appears to work: 1. User is on shopping cart page, clicks checkout, the form is submitted unencrypted to the ShoppingCartAction (which is fine since it isn't supposed to be secure). 2. ShoppingCartAction does its magic (saves cart changes, for