Re: html:text not interpreted :-(

2005-10-10 Thread bib_lucene bib
no, just put a simple html:text to see if a text box appears, I thought I will get this done and then continue adding more elements adding action classes etc? Is that wrong approach? [EMAIL PROTECTED] wrote: Have u map it with form-bean. bib_lucene bib 10/11/2005 11:54 AM Please respond to

Re: html:text not interpreted :-(

2005-10-10 Thread Sunil_Sahu
Have u map it with form-bean. bib_lucene bib <[EMAIL PROTECTED]> 10/11/2005 11:54 AM Please respond to "Struts Users Mailing List" To Struts Users Mailing List cc Subject Re: html:text not interpreted :-( ok I attached files , I access this page using http://localhost:8090/rs/tiles

Re: [OT] Re: log4j:WARN No appenders could be found for logger.

2005-10-10 Thread Manfred Wolff
Forget it! This is because the digester class uses the logging before you initializes it. Manfred Deep Chand schrieb: >Even if it is a warning why do I see that...what's wrong with the >configurationand i waited for like 30 seconds it keeps on printing >somethingbelow is the initial log

Re: html:text not interpreted :-(

2005-10-10 Thread bib_lucene bib
ok I attached files , I access this page using http://localhost:8090/rs/tiles/example.jsp It displays header, left pane, content, footer. But does not show text box in content. Thanks for your help. bibWendy Smoak <[EMAIL PROTECTED]> wrote: From: "bib_lucene bib" <[EMAIL PROTECTED]>> I still cann

Validation Configuration for Multiple Modules

2005-10-10 Thread tarek . nabil
Hi everyone, I'm using *Struts 1.1* to build an application with multiple Struts modules. I put my validations for each module in a seperate validations.xml file. For example, I have validations-a.xml for module a and validations-b.xml for module b. I then found out that although the validati

Re: html:text not interpreted :-(

2005-10-10 Thread Wendy Smoak
From: "bib_lucene bib" <[EMAIL PROTECTED]> I still cannot see the text field in body. This is the content of my web.xml If you're using the known URI for the taglibs, then you don't need in web.xml. (Fix the Tiles URI before removing its from web.xml though.) Are you sure your browser has

Re: html:text not interpreted :-(

2005-10-10 Thread bib_lucene bib
<%@ page language="java" %> <%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %> <%@ taglib uri="http://jakarta.apache.org/struts/tags-bean"; prefix="bean" %> <%@ taglib uri="http://jakarta.apache.org/struts/tags-logic"; prefix="logic" %> <%@ taglib uri="http://struts.apache.org/tags-h

Re: html tags not parsed by taglibs

2005-10-10 Thread Kishore Senji
When you say "bean:write is not parsed", you mean that in the html source that's generated you see "bean:write" in it? If so, you might have just forgot the bean taglib reference (<%@ taglib ...%>) On 10/10/05, Eric Plante <[EMAIL PROTECTED]> wrote: > > Hi, > > When I hardcode something like hello

html tags not parsed by taglibs

2005-10-10 Thread Eric Plante
Hi, When I hardcode something like hello between and in my jsp page, it works. if I put the same string in a property and use it in a bean:write, it's not parsed, the page shows the whole string which is not what I need. Is there a way to make the bean:write parse the string in the jsp? And ca

Re: html:text not interpreted

2005-10-10 Thread Michael Jouravlev
I get this error from time to time, I forget things ;-) Maybe it would be nice, if every tag library had an "I am here" tag, which would produce an HTML comment, when taglib is found. Michael. On 10/10/05, Wendy Smoak <[EMAIL PROTECTED]> wrote: > From: "bib_lucene bib" <[EMAIL PROTECTED]> > > > I

Re: html:text not interpreted

2005-10-10 Thread Wendy Smoak
From: "bib_lucene bib" <[EMAIL PROTECTED]> I have put the taglibs on top of template.jsp <%@ page language="java" %> <%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %> <%@ taglib uri="http://jakarta.apache.org/struts/tags-bean"; prefix="bean" %> <%@ taglib uri="http://jakarta.apache.o

Re: html:text not interpreted

2005-10-10 Thread Robert Taylor
It appears you didn't include the html taglib: <%@ taglib uri="http://jakarta.apache.org/struts/tags-html"; prefix="html" %> /robert bib_lucene bib wrote: Hi I am working on a sample struts tiles app . I got here http://www.roseindia.net/struts/struts_tiles.shtml This is a very basic tiles ap

html:text not interpreted

2005-10-10 Thread bib_lucene bib
Hi I am working on a sample struts tiles app . I got here http://www.roseindia.net/struts/struts_tiles.shtml This is a very basic tiles app. The app itself runs fine. But in the content.jsp if I put the line nothing shows up. I expected a text box to showup but nothing is shown. If i do

Re: How to minimize security related code in Action classes

2005-10-10 Thread Adam Hardy
Barnett, Brian W. on 07/10/05 21:16, wrote: Can someone point me to some articles or provide some examples on how to minimize security related code (authorization) in my Action classes? I am currently using container-managed, form-based security (Tomcat) for authentication and and elements in w

Re: Submit buttons getting their value

2005-10-10 Thread Dakota Jack
Actually this won't work either. The problem is that the request object has been purloined and given another wrapper name. You might want to look at the code before giving these ideas. On 10/10/05, Richard Yee <[EMAIL PROTECTED]> wrote: > Try getParameter() instead of getAttribute(). > > -Richar

Re: Submit buttons getting their value

2005-10-10 Thread Dakota Jack
LookupDispatchAction is a disaster. This is discussed in detail on www.michaelmcgrady.com. On 10/9/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > Do you want to create something like this: > http://www.superinterface.com/wizard/signupWizard.do > > It would be easier if you switched to event-b

Re: Submit buttons getting their value

2005-10-10 Thread Dakota Jack
This way of getting the values is antiquated, slow, etc. Again, for some better ways to do this, look at www.michaelmcgrady.com on buttons. These ways are old and no longer best practices. On 10/10/05, Martin Gainty <[EMAIL PROTECTED]> wrote: > Antunes > 3 ways (straight from the doc) > > The p

Re: Submit buttons getting their value

2005-10-10 Thread Dakota Jack
Jouravlev just took this from www.michealmcgrady.com and made it way too complex. The complexities are not helpful. Just look at www.michaelmcgrady.com for a better implementation of the ideas. On 10/9/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > Do you want to create something like this:

Re: [OT] Re: log4j:WARN No appenders could be found for logger.

2005-10-10 Thread Deep Chand
Even if it is a warning why do I see that...what's wrong with the configurationand i waited for like 30 seconds it keeps on printing somethingbelow is the initial log: log4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester). log4j:WARN Please initialize the

[OT] Re: log4j:WARN No appenders could be found for logger.

2005-10-10 Thread Dave Newton
Marked [OT] because... it's OT. Deep Chand wrote: I'm trying to use Log4J for logging. I get the following error during start up: log4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester) log4j:WARN Please initialize the log4j system properly. That's not an er

log4j:WARN No appenders could be found for logger.

2005-10-10 Thread Deep Chand
Hi, I'm trying to use Log4J for logging. I get the following error during start up: log4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester) log4j:WARN Please initialize the log4j system properly. After that it goes in some sort of loop. No idea what it is missing.

Re: Select first in Options list

2005-10-10 Thread Martin Gainty
Doug I think you are referring to the auditListCollection implementation of html:optionsCollection example illustrated at http://www.experts-exchange.com/Programming/Programming_Languages/Java/Q_21506596.html where Bean.Property.value MUST MATCH the VALUE of the selected option The only part you

Re: [OT] how actually to make a shoping cart

2005-10-10 Thread erikweber
Sorry, I don't know anything about displaytag. But if you want my opinion from a usability standpoint: I would have a dedicated place in the GUI for your user's cart contents, or at least a dedicated place for a control that makes the cart contents visible (perhaps in the "rail", under his user

RE: Select first in Options list

2005-10-10 Thread Doug Thomas
Martin, >> the doc for states... I'm using , giving me a list of options. How to select one option from this list (the first - always) is the question. I now have the first (default, or selected option value) in a session attribute that this JSP can get hold of. How to use that info? Or, does th

Strutsbox

2005-10-10 Thread Steve Beaver
Does any one have any experience with Strutsbox and eclipse 3.1? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: accessing MessageResources in a PlugIn?

2005-10-10 Thread Joe Germuska
At 5:15 PM +0200 10/10/05, Thomas Corte wrote: Hi there, I have a Struts plugin that needs to access the MessageResources of my Struts application (to send out some internationalized mails). However, neither the ActionServlet nor the ModuleConfig passed to the PlugIn's init () method seem to g

Re: accessing MessageResources in a PlugIn?

2005-10-10 Thread Kishore Senji
MessageResources.getMessageResources(config); http://struts.apache.org/api/org/apache/struts/util/MessageResources.html#getMessageResources(java.lang.String) Example Usage: MessageResources.getMessageResources(" org.apache.struts.taglib.LocalStrings"); On 10/10/05, Thomas Corte <[EMAIL PROTECTED]

Re: OT: RE: Development philosophy and such (was: Base action class)

2005-10-10 Thread Ted Husted
On 10/10/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > On 10/10/05, Ted Husted <[EMAIL PROTECTED]> wrote: > > The book is quite good. Low signal to noise ratio. > > ? ;-) Sorry, it's another dyslexic.Monday. s/Low/High. I'm forever doing the same thing with least versus most siginficant dig

Re: OT: RE: Development philosophy and such (was: Base action class)

2005-10-10 Thread Leon Rosenberg
On 10/10/05, Ted Husted <[EMAIL PROTECTED]> wrote: > Cockburn includes examples of all that in his book. An author is just > not compelled to include more detail than is needed for a particular > case. Issues like granularity are a matter of taste for particular > team, not an issue proscribed by

Re: OT: RE: Development philosophy and such (was: Base action class)

2005-10-10 Thread Michael Jouravlev
On 10/10/05, Ted Husted <[EMAIL PROTECTED]> wrote: > The book is quite good. Low signal to noise ratio. ? ;-) Michael. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

accessing MessageResources in a PlugIn?

2005-10-10 Thread Thomas Corte
Hi there, I have a Struts plugin that needs to access the MessageResources of my Struts application (to send out some internationalized mails). However, neither the ActionServlet nor the ModuleConfig passed to the PlugIn's init () method seem to grant access to the MessageResources. I actuall

Re: OT: RE: Development philosophy and such (was: Base action class)

2005-10-10 Thread Ted Husted
Cockburn includes examples of all that in his book. An author is just not compelled to include more detail than is needed for a particular case. Issues like granularity are a matter of taste for particular team, not an issue proscribed by the format. I use a wiki to write my use cases, but that's

Re: Select first in Options list

2005-10-10 Thread Martin Gainty
Doug- If you want specific items (options) pre-selected for your select control the doc for states If the value of the corresponding bean property matches the specified value, this option will be marked selected http://www.linuxforum.net/doc/tags.html#options1 HTH, Martin- - Original Messa

Re: Submit buttons getting their value

2005-10-10 Thread Richard Yee
Try getParameter() instead of getAttribute(). -Richard C.F. Scheidecker Antunes wrote: Hello all, I have two submit buttons, one with a value of Continue and the other Back. How do I check their values? I've tried request.getAttribute("submit").toString() but I do not get anything. My

Re: OT: RE: Development philosophy and such (was: Base action class)

2005-10-10 Thread Leon Rosenberg
On 10/10/05, Ted Husted <[EMAIL PROTECTED]> wrote: > In terms of requirements, my favorite "silver bullet" is > Cockburn-style Use Cases. Looking back over some of the requirements > documents I've written over the the years, this Use Case format was my > "missing link". > > * http://opensource2.at

Re: Struts, Tiles and Internationalization

2005-10-10 Thread Bryon Lape
The current site allows the user to select their language. Plus, I am adding registration so there a user needs to be allowed to select their default language for when they return and log in. Right now we are simply adding Canadian English and French. It is easy enough to see that a coffee house

Re: Select first in Options list

2005-10-10 Thread rajasekhar . cherukuri
Hi, Do not use "selected" for any option. By default automatically, the first option will be selected and your purpose will be solved. Regards, Rajasekhar Cherukuri "Doug Thomas" <[EMAIL PROTECTED]> 10/10/2005 06:20 PM Please respond to "Struts Users Mailing List" To "Struts Mail

Re: chaining actions i think!!

2005-10-10 Thread Tamas Szabo
Hi! To show the record that has been edited I am making another trip to the > DB as I don't have a cache. To return back to the results the user > clicks on his button and is forwarded to the edit Action class. It is > from this action class that I want to call the search Action class > passing in

Select first in Options list

2005-10-10 Thread Doug Thomas
I have a Select element with several Options making up a selection list. The Options are built dynamically from a database. After the list is built, I want the first option in the list to be SELECTed. Every sample I've seen assumes you know what's in the list and you know what option you want selec

[OT] how actually to make a shoping cart

2005-10-10 Thread R.Vijayaraghavan
Hello, I am very new to struts, moreover new to web development. I have to make a shopping cart and I am using displaytag to display the search results. Problems I am facing: 1. What actually should happen when a user selects a set of products and then clicks on the 'add to cart' button. Should t

Re: Submit buttons getting their value

2005-10-10 Thread Martin Gainty
Antunes 3 ways (straight from the doc) The parameter names for the request will appear as "property.x" or "PropertyName.GetX()" /*In the case where property is null */ A way of retrieving these values through a form bean is to define getX(),setX() specify your property as a blank string (pr

Re: OT: RE: Development philosophy and such (was: Base action class)

2005-10-10 Thread Ted Husted
On 10/7/05, Vic Cekvenich <[EMAIL PROTECTED]> wrote: > > > _Listen_ to the customer, > > +1 that requriements is the silver bullet. I address is w/ both mock ups > and prototypes... to demonstrate active listening. In terms of requirements, my favorite "silver bullet" is Cockburn-style Use Cases.

Re: Struts 1.3 - what is new there ?is it based on shale ?

2005-10-10 Thread Ted Husted
On 10/9/05, Legolas Woodland <[EMAIL PROTECTED]> wrote: > Hi > Thank you for reading my mail. > What is new in struts 1.3 ? The codebase that would become Struts 1.3.x is available as our nightly build. A copy of the release notes is available here: * http://wiki.apache.org/struts/StrutsClassicRe

Re: OT: RE: Development philosophy and such

2005-10-10 Thread Rafael Nami
Sorry, my bad english was there: When I said I, that was the group ;). Like I said, folks, I don't have ur experience YET, but someday I will ;). (but of course you'll have MUCH MORE EXPERIENCE, but that's another OT Thread ;)). Best Regards and have a nice week everyone. Rafael Mauricio Nami 20

Re: maxlength validation on textarea

2005-10-10 Thread paul
Thanks Niall - that fixed it. Paul Niall Pemberton writes: You name is wrong, try the following maxlength 500 Niall - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: maxlength validation on textarea

2005-10-10 Thread Niall Pemberton
You name is wrong, try the following maxlength 500 Niall - Original Message - From: <[EMAIL PROTECTED]> Sent: Monday, October 10, 2005 12:00 PM > I am trying to do a maxlength validation on a textarea but it always fails > validation however many characters I put in the f

maxlength validation on textarea

2005-10-10 Thread paul
I am trying to do a maxlength validation on a textarea but it always fails validation however many characters I put in the field (even if it is empty). The textarea tag in my jsp is: titleKey="comments.form.alt" altKey="comments.form.alt" rows="5" styleClass="TextInput" errorStyleClass="ErrorT

Re: bean:message jsp tag & escaping parameter replacement

2005-10-10 Thread Jon Barber
Niall Pemberton wrote: > >However, in the current release of Struts (1.2.7) you can achieve the same >by overriding the escape() method and in your custom MessageResources >implementation: > > protected String escape(String string) { >return string; >} > >That way your '{' blah '}'

Re: bean:message jsp tag & escaping parameter replacement

2005-10-10 Thread Niall Pemberton
From: "Jon Barber" <[EMAIL PROTECTED]> > We want to store CSS as message resources as we white label our site for > different partners. The white labelling takes place through our own > content management system, which we have interfaced struts to via our > own implementation of the MessageResour

bean:message jsp tag & escaping parameter replacement

2005-10-10 Thread Jon Barber
Dear All, We want to store CSS as message resources as we white label our site for different partners. The white labelling takes place through our own content management system, which we have interfaced struts to via our own implementation of the MessageResourcesFactory. Everything works fine, ap

Re: When is Struts 1.2.8 and 1.3 coming out?

2005-10-10 Thread Niall Pemberton
There have been a few changes in the STRUTS_1_2_BRANCH since the 1.2.7 release. Everything thats been put into that branch is also in the current "trunk" (i.e. 1.3.x). A couple of bugs were introduced in 1.2.7: http://issues.apache.org/bugzilla/show_bug.cgi?id=35127 http://issues.apache.org/bugzi

Re: Hide the JSP: Actions, rowBean and JSPs question

2005-10-10 Thread rajasekhar . cherukuri
Yes you are correct. In this case all the files under the folder named (/folder) will not be accessed. "C.F. Scheidecker Antunes" <[EMAIL PROTECTED]> 10/10/2005 12:33 PM Please respond to "Struts Users Mailing List" To Struts Users Mailing List , [EMAIL PROTECTED] cc Subject Re: Hide t

Re: Hide the JSP: Actions, rowBean and JSPs question

2005-10-10 Thread C.F. Scheidecker Antunes
Hi Rajasekhar, What would be no_access? Just a name value? In this case all JSPs would be not accessed correct? Now, if I want to only do this in a folder then I would: /folder/* Is it correct? Thanks, C.F. [EMAIL PROTECTED] wrote: Hi, Put the following code in your web.xml. Th