TagSupport - how to get request attribute

2005-11-04 Thread Andrzej Bengner
Hello, I have one problem with access to attribute in request in my class from TagSupport. I send GET to my site (eg. http://localhost/app/site.jsp?Test=value). How to get this Test attribute in my class? I tried: TagUtils.getInstance().lookup(pageContext,Test, null);

STRUTS AND JAVADOC.

2005-11-04 Thread Søren Blidorf
Hi. I am making a JAVADOC of my STRUTS project. Is there a way I can get the STRUTS forwards ect in the JAVADOC. If I haven't made my self clear, please ask. I NEED HELP, I am new to JAVADOC :) BR Soren, DK - To

RE: TagSupport - how to get request attribute

2005-11-04 Thread Vishal Dalal
try request.getParameter(ParameterName); -Original Message- From: Andrzej Bengner [mailto:[EMAIL PROTECTED] Sent: Friday, November 04, 2005 4:56 PM To: user@struts.apache.org Subject: TagSupport - how to get request attribute Hello, I have one problem with access to attribute in

Re: TagSupport - how to get request attribute

2005-11-04 Thread Andrzej Bengner
try request.getParameter(ParameterName); Thanks, that's OK :-) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: TagSupport - how to get request attribute

2005-11-04 Thread Xavier Vanderstukken
${request['ParameterName']} Andrzej Bengner wrote: try request.getParameter(ParameterName); Thanks, that's OK :-) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: TagSupport - how to get request attribute

2005-11-04 Thread Martin Gainty
Andrei- This is straight from the doc! *This assumes you have configured your backing bean* * @param pageContext Page context to be searched 954 * @param name Name of the bean to be retrieved 955 * @param scopeName Scope to be searched (page, request, session, application) 956

How to get ACCESS to Locale in TAG class

2005-11-04 Thread Łukasz Piątkowski
Hello ! I have a problem with accessing LOCALE in my TAG class. When I want to get LOCALE in my ACTION class I use : request.getSession().getAttribute(Globals.LOCALE_KEY) - and it works fine in my TAG class I use : pageContext.getSession().getAttribute(Globals.LOCALE_KEY) - it is null

Client Side Validator Fails When Submit from Javascript

2005-11-04 Thread Jim Reynolds
I have been playing with the client-side validation, and ran into a problem last night that I can docuemnt, but cannot figure out why it fails. The below file, shows a form and when you hit the submit, presents the appropriate alert box with the proper message. All is good, and works when the

sorting of table columns

2005-11-04 Thread fea jabi
can we sort table columns when clicked on the column header using struts? I mean does struts provide any tag to do so? is there an example on how this can be done? Thanks. _ Don’t just search. Find. Check out the new MSN Search!

Validation Question how to echo back users input in error message?

2005-11-04 Thread Troy Bull
I am using the struts validator and it works almost exactly the way I want. Say I have a field tf and the value is ABC I want to do a validation requiring it to be an integer and return the following error message: tf must be an integer. I can do all this pretty easily here is the code that

Re: STRUTS AND JAVADOC.

2005-11-04 Thread Collin VanDyck
Hi Soren, You can javadoc your Struts Java types, although I'm not sure of a way to get your Struts configurations in normal JavaDoc. You can, however, run StrutsDoc: http://struts.sourceforge.net/strutsdoc/ StrutsDoc will document the information found in your struts configuration files,

Re: How to get ACCESS to Locale in TAG class

2005-11-04 Thread Hubert Rabago
Is your JSP being accessed directly? If so, you may need to let the Struts RequestProcessor do its work first. action path=/myPage forward=/myPage.jsp/ then access it the way you would other Struts actions: http://domain/myApp/myPage.do Hubert On 11/4/05, Łukasz Piątkowski [EMAIL

Re: STRUTS AND JAVADOC.

2005-11-04 Thread Nick Heudecker
I didn't know people were still using Strutsdoc. I should probably start maintaining it again. On 11/4/05, Collin VanDyck [EMAIL PROTECTED] wrote: Hi Soren, You can javadoc your Struts Java types, although I'm not sure of a way to get your Struts configurations in normal JavaDoc. You

Re: STRUTS AND JAVADOC.

2005-11-04 Thread Søren Blidorf
Thanks. It's written that I need to install ANT as well. Is there a way to do it with out ANT - Original Message - From: Collin VanDyck [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Friday, November 04, 2005 3:31 PM Subject: Re: STRUTS AND JAVADOC. Hi

Re: sorting of table columns

2005-11-04 Thread Michael Jouravlev
On 11/4/05, fea jabi [EMAIL PROTECTED] wrote: can we sort table columns when clicked on the column header using struts? I mean does struts provide any tag to do so? is there an example on how this can be done? http://displaytag.homeip.net/example-sorting.jsp

Accessing strust beans without bean:write/

2005-11-04 Thread Lee Harrington
There are situations where bean:write name=formBeanName property=propertyName/ just doesn't seem to parse. I've tried substituting %= formBeanName.getPropertyName% but it can't find formBeanName. The form bean is therer as the bean:write works in other places in my jsp. How do we directly

[OT] [MIME] Re: Urgent help needed : Printing Jasper Reports

2005-11-04 Thread Dave Newton
Meenakshi Singh wrote: I have to print a report(which I have created using jasper report). I m setting the content type as response.setContentType(application/octet-stream); Moved OT. - To unsubscribe, e-mail: [EMAIL

[shale][myfaces] selectManyCheckBox in usecases fails to validate

2005-11-04 Thread Rahul Akolkar
Thought I'd changed something when I rolled Shale, but I see the following behavior in Shale 11/4 nightlies usecases.war as well. 1) Navigate to view corresponding to profile/profile3.jsp in Edit Profile dialog. 2) Validation for selectManyCheckBox fails with

Re: STRUTS AND JAVADOC.

2005-11-04 Thread Dave Newton
Søren Blidorf wrote: It's written that I need to install ANT as well. Is there a way to do it with out ANT Probably, but why would you want to? It's scary that you're building struts (or any java project, for that matter) without Ant. Dave

Re: sorting of table columns

2005-11-04 Thread fea jabi
I saw this example too. But was not sure about this display tag. is this display tag struts stuff. I don't remember seeing it. Thanks. From: Michael Jouravlev [EMAIL PROTECTED] Reply-To: Struts Users Mailing List user@struts.apache.org To: Struts Users Mailing List user@struts.apache.org

[OT] [DISPLAYTAG] Re: sorting of table columns

2005-11-04 Thread Dave Newton
fea jabi wrote: is this display tag struts stuff. No, it's displaytag stuff. Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

SV: STRUTS AND JAVADOC.

2005-11-04 Thread Søren Blidorf
Basically because I don't know ANT Why do I need ANT? -Oprindelig meddelelse- Fra: Dave Newton [mailto:[EMAIL PROTECTED] Sendt: 4. november 2005 17:27 Til: Struts Users Mailing List Emne: Re: STRUTS AND JAVADOC. Søren Blidorf wrote: It's written that I need to install ANT as well.

RE: [OT] [DISPLAYTAG] Re: sorting of table columns

2005-11-04 Thread fea jabi
how do I use that with struts table then? From: Dave Newton [EMAIL PROTECTED] Reply-To: Struts Users Mailing List user@struts.apache.org To: Struts Users Mailing List user@struts.apache.org Subject: [OT] [DISPLAYTAG] Re: sorting of table columns Date: Fri, 04 Nov 2005 11:37:46 -0500 fea jabi

Re: Accessing strust beans without bean:write/

2005-11-04 Thread Dave Newton
Lee Harrington wrote: I've tried substituting %= formBeanName.getPropertyName% but it can't find formBeanName. How do we directly address the formBean's from within javascript? Javascript? Or Java scriptlet? You have an example of one and ask about the other. Under which servlet spec?

Re: Shale timeline

2005-11-04 Thread Rahul Akolkar
On 11/3/05, Craig McClanahan [EMAIL PROTECTED] wrote: snip/ the dev list) on a grade. That being said, I would *not* assume 1.0.0 would be anything other than an alpha. This is not necessarily an issue about quality, it's more about API stability. I don't want to lock down quite everything

Re: SV: STRUTS AND JAVADOC.

2005-11-04 Thread Collin VanDyck
It basically saves you tons of time over the normal course of the development lifecycle. All of your compilation, packaging, testing, deployment, and more can be automated with ant. If you've used makefiles in C, that's the analogy. You would simply type: % ant deploy Which, depending on

Re: [OT] [DISPLAYTAG] Re: sorting of table columns

2005-11-04 Thread Dave Newton
fea jabi wrote: how do I use that with struts table then? What's struts table? Do you mean the layout taglib? Dave Spending too much time on Lisp mailing lists this week Newton - To unsubscribe, e-mail: [EMAIL PROTECTED]

[OT] [ANT] Re: SV: STRUTS AND JAVADOC.

2005-11-04 Thread Dave Newton
Søren Blidorf wrote: Basically because I don't know ANT Why do I need ANT? Ant lets you build Java projects in a robust and portable manner, pays attention to dependencies, and is extensible to allow a variety of tasks under a variety of conditions. obligatory-understatement It is very

Re: [OT] [DISPLAYTAG] Re: sorting of table columns

2005-11-04 Thread fea jabi
sorry, what I mean is table class=line-table and struts stuff to get dynamic data. How does the JSP know about the display tag? From: Dave Newton [EMAIL PROTECTED] Reply-To: Struts Users Mailing List user@struts.apache.org To: Struts Users Mailing List user@struts.apache.org Subject: Re:

Re: Shale timeline

2005-11-04 Thread Rahul Akolkar
On 11/3/05, Bernhard Slominski [EMAIL PROTECTED] wrote: Hi Craig, thanks a lot for the answer, that's really helpful! Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 3. November 2005 17:57 As far as I'm concerned, the feature work I wanted to see for a

html:checkbox

2005-11-04 Thread Ray Madigan
Greetings, I remember getting something like this to work in the past, I have searched and cannot find what is missing, or what I'm doing wrong, or if it is even possible. I want to connect a set of checkboxes to a HashMap in my action form. In my ActionForm I have a two methods like public

SV: [OT] [ANT] Re: SV: STRUTS AND JAVADOC.

2005-11-04 Thread Søren Blidorf
Thanks both. Does it take a lot of effort to set it up. I am getting very interested, but my time is very limited these days. -Oprindelig meddelelse- Fra: Dave Newton [mailto:[EMAIL PROTECTED] Sendt: 4. november 2005 17:51 Til: Struts Users Mailing List Emne: [OT] [ANT] Re: SV: STRUTS

HTML label and Struts text (I know this has been said before)

2005-11-04 Thread Mark Benussi
Sorry I couldn't find the old thread for this. Is there a way of associating the html label tag with an input. The requirements is to assign an id attribute to the html:text tag but I cant see a way of doing this.

Re: STRUTS AND JAVADOC.

2005-11-04 Thread Dave Newton
Nick Heudecker wrote: I didn't know people were still using Strutsdoc. I should probably start maintaining it again. Bah, maintainence is for the weak. I would like to see what the generated output looks like, though, to see if I should use it as opposed to my Ruby program that generates

Re: SV: [OT] [ANT] Re: SV: STRUTS AND JAVADOC.

2005-11-04 Thread Collin VanDyck
You owe it to yourself to run through an ant tutorial or two. Start out getting something compiled, use that for a while. You can always expand your script in the future to do other things. You can easily have something running in a couple hours. Basically, if you are programming in Java,

Re: SV: [OT] [ANT] Re: SV: STRUTS AND JAVADOC.

2005-11-04 Thread Dave Newton
Søren Blidorf wrote: Does it take a lot of effort to set it up. No. http://ant.apache.org/ Setup info at http://ant.apache.org/manual/install.html#installing Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: [OT] [DISPLAYTAG] Re: sorting of table columns

2005-11-04 Thread Dave Newton
fea jabi wrote: How does the JSP know about the display tag? The same way a JSP page knows about any custom tag library. I think you should look at the displaytag docs. Dave - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: HTML label and Struts text (I know this has been said before)

2005-11-04 Thread Dave Newton
Mark Benussi wrote: Is there a way of associating the html label tag with an input. The requirements is to assign an id attribute to the html:text tag but I cant see a way of doing this. IIRC the stock HTML tags don't produce id attributes, which is probably one reason why there are some

Re: sorting of table columns

2005-11-04 Thread Martin Gainty
Good Afternoon Fea I was asking the same question looking at Struts HTML Grid Tags *and some customisation of the submit buttons to be incorporated into the column headings* when Dennis from Evergreen Investments suggested http://displaytag.sourceforge.net/ And..if your are supporting jsp 1.1

Re: HTML label and Struts text (I know this has been said before)

2005-11-04 Thread Niall Pemberton
Actually they do the styleId arttribute gets rendered as id Niall - Original Message - From: Dave Newton [EMAIL PROTECTED] Sent: Friday, November 04, 2005 5:05 PM Mark Benussi wrote: Is there a way of associating the html label tag with an input. The requirements is to assign an

Easy question, please help a rookie

2005-11-04 Thread Dave
I'm trying to get the URL of the current page into a attribute (local variable?). This was suggested to me, but it doesn't work: c:set var=myURL value=${request.requestURI}/ TIA, Dave - To unsubscribe, e-mail: [EMAIL

Re: Easy question, please help a rookie

2005-11-04 Thread DGraham
Maybe this can help? http://javaalmanac.com/egs/javax.servlet/GetReqUrl.html?l=new -Dennis Dave [EMAIL PROTECTED] Sent by: news [EMAIL PROTECTED] 11/04/2005 12:18 PM Please respond to Struts Users Mailing List user@struts.apache.org To user@struts.apache.org cc Subject Easy question, please

SV: SV: [OT] [ANT] Re: SV: STRUTS AND JAVADOC.

2005-11-04 Thread Søren Blidorf
How does ANT work with JBuilder? -Oprindelig meddelelse- Fra: Dave Newton [mailto:[EMAIL PROTECTED] Sendt: 4. november 2005 18:01 Til: Struts Users Mailing List Emne: Re: SV: [OT] [ANT] Re: SV: STRUTS AND JAVADOC. Søren Blidorf wrote: Does it take a lot of effort to set it up. No.

[OT ANN] Roomity v 1.5 w/ video, social networking and html editor + JDNC article

2005-11-04 Thread netsql
Roomity.com v 1.5 is a web 2.01/RiA poster child community webapp. This new version ads broadcast video, social networking such as favorite authors and html editor. It likely already has groups and content you are already using but aggregated and safer, including technology, Java, etc., but it

R: Easy question, please help a rookie

2005-11-04 Thread Amleto Di Salle
Try to use ${pageContext.request.requestURI} BR /Amleto -Messaggio originale- Da: news [mailto:[EMAIL PROTECTED] Per conto di Dave Inviato: venerdì 4 novembre 2005 18.19 A: user@struts.apache.org Oggetto: Easy question, please help a rookie I'm trying to get the URL of the

AW: Shale timeline

2005-11-04 Thread Bernhard Slominski
-Ursprüngliche Nachricht- Von: Rahul Akolkar [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 4. November 2005 17:55 As far as I'm concerned, the feature work I wanted to see for a 1.0.0release is complete In a nutshell, there are no dates (the process is driven by volunteers

Re: SV: SV: [OT] [ANT] Re: SV: STRUTS AND JAVADOC.

2005-11-04 Thread Dave Newton
Søren Blidorf wrote: How does ANT work with JBuilder? Don't know, never used JBuilder. According to the jBuilder home page Ant support is built in, and I bet you have access to some documentation you could look at.. Dave

Re: Validation Question how to echo back users input in error message?

2005-11-04 Thread Michael Jouravlev
I would like to know the answer on this too. I searched the Net, all examples use properties from property file. Using resource=false does not help with either (neither?) of these variants: arg0 key=nestedUser.fromAddress resource=false/ arg0 key=${nestedUser.fromAddress} resource=false/ arg0

Re: R: Easy question, please help a rookie

2005-11-04 Thread Dave
Amleto Di Salle disalle at di.univaq.it writes: Try to use ${pageContext.request.requestURI} BR /Amleto This worked thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

How to force no page caching

2005-11-04 Thread Braun, James F
I need to force no page caching and I (vaguely) remember a configuration parameter that would do this. However, I looked in the wiki but didn't find anything on this. Can anybody shed any light? Thanks, J. -- This transmission is intended only for use by the addressee(s) named herein and may

Re: How to force no page caching

2005-11-04 Thread Michael Jouravlev
On 11/4/05, Braun, James F [EMAIL PROTECTED] wrote: I need to force no page caching and I (vaguely) remember a configuration parameter that would do this. However, I looked in the wiki but didn't find anything on this. Can anybody shed any light? Thanks, J. controller nocache=true / if you

Re: How to force no page caching

2005-11-04 Thread Xavier Vanderstukken
Braun, James F wrote: I need to force no page caching and I (vaguely) remember a configuration parameter that would do this. However, I looked in the wiki but didn't find anything on this. Can anybody shed any light? Thanks, J. Set the nocache attribute to true for the controller element

Re: [shale][myfaces] selectManyCheckBox in usecases fails to validate

2005-11-04 Thread Craig McClanahan
n 11/4/05, Rahul Akolkar [EMAIL PROTECTED] wrote: Thought I'd changed something when I rolled Shale, but I see the following behavior in Shale 11/4 nightlies usecases.war as well. 1) Navigate to view corresponding to profile/profile3.jsp in Edit Profile dialog. 2) Validation for

Re: [shale][myfaces] selectManyCheckBox in usecases fails to validate

2005-11-04 Thread Rahul Akolkar
On 11/4/05, Craig McClanahan [EMAIL PROTECTED] wrote: snip/ Rahul, To make sure I don't lose this in my inbox, could you please file a bug report about it? snap/ Sure, # 37361 [*] -Rahul * http://issues.apache.org/bugzilla/show_bug.cgi?id=37361 http://issues.apache.org/bugzilla/

Re: [shale][clay] CSS style classes on substituted elements

2005-11-04 Thread Ryan Wynn
I noticed that Craig commited the set name=styleClass value=@class/ to baseHtml. I think this is good, however I think that now if the symbol 'class' is not explicitly specified then the result will be span class=@class.../span. Is that right, Gary? One solution may be to set the value of the

Re: [shale][clay] CSS style classes on substituted elements

2005-11-04 Thread Craig McClanahan
On 11/4/05, Ryan Wynn [EMAIL PROTECTED] wrote: I noticed that Craig commited the set name=styleClass value=@class/ to baseHtml. I think this is good, however I think that now if the symbol 'class' is not explicitly specified then the result will be span class=@class.../span. Is that right,

html:textarea with tags

2005-11-04 Thread Eric Plante
Hi, I'd like to use a html:textarea tag but my html tags in the text aren't parsed and there is no filter like bean:write has, Is there a way to make that tag parse html tags? Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: [shale][clay] CSS style classes on substituted elements

2005-11-04 Thread Gary VanMatre
I noticed that Craig commited the to baseHtml. I think this is good, however I think that now if the symbol 'class' is not explicitly specified then the result will be class=@class Is that right, Gary? Yes, it does do that :-(. One solution may be to set the value

Re: html:textarea with tags

2005-11-04 Thread Murray Collingwood
Sounds like you are missing your taglib definition for html? Can you post your JSP file? mc On 4 Nov 2005 at 19:27, Eric Plante wrote: Hi, I'd like to use a html:textarea tag but my html tags in the text aren't parsed and there is no filter like bean:write has, Is there a way to make

Re: html:textarea with tags

2005-11-04 Thread Eric Plante
Why? The taglib is fine and it shows the text; the problem is that the text that is supposed to be printed out also includes some pure html tags which aren't parsed. Ex: if I have font color='red'some text/font the textarea print that litteraly instead of printing the text in red. With

Re: html:textarea with tags

2005-11-04 Thread Murray Collingwood
I believe you will find that a textarea doesn't support any embedded html codes. Everything is treated as plain text no matter what it contains. Even !-- -- is treated as text. If you know of any sites providing formatted text inside a textarea I would be really interested (as would

Re: [shale][clay] CSS style classes on substituted elements

2005-11-04 Thread Craig McClanahan
On 11/4/05, Gary VanMatre [EMAIL PROTECTED] wrote: I noticed that Craig commited the to baseHtml. I think this is good, however I think that now if the symbol 'class' is not explicitly specified then the result will be class=@class Is that right, Gary? Yes, it does do

Re: [shale][clay] CSS style classes on substituted elements

2005-11-04 Thread Gary VanMatre
On 11/4/05, Gary VanMatre wrote: I noticed that Craig commited the to baseHtml. I think this is good, however I think that now if the symbol 'class' is not explicitly specified then the result will be class=@class Is that right, Gary? Yes, it

Re: [shale][clay] CSS style classes on substituted elements

2005-11-04 Thread Craig McClanahan
On 11/4/05, Gary VanMatre [EMAIL PROTECTED] wrote: On 11/4/05, Gary VanMatre wrote: I noticed that Craig commited the to baseHtml. I think this is good, however I think that now if the symbol 'class' is not explicitly specified then the result will be

RE: HTML label and Struts text (I know this has been said before)

2005-11-04 Thread Mark Benussi
Perfetemondo! -Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: 04 November 2005 17:18 To: Struts Users Mailing List Subject: Re: HTML label and Struts text (I know this has been said before) Actually they do the styleId arttribute gets rendered as id Niall

Re: [shale][clay] CSS style classes on substituted elements

2005-11-04 Thread Gary VanMatre
On 11/4/05, Gary VanMatre wrote: I noticed that Craig commited the to baseHtml. I think this is good, however I think that now if the symbol 'class' is not explicitly specified then the result will be class=@class Is that right,

Re: [shale][clay] CSS style classes on substituted elements

2005-11-04 Thread Craig McClanahan
On 11/4/05, Gary VanMatre [EMAIL PROTECTED] wrote: On 11/4/05, Gary VanMatre wrote: I noticed that Craig commited the to baseHtml. I think this is good, however I think that now if the symbol 'class' is not explicitly specified then the