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);
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
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
try request.getParameter(ParameterName);
Thanks, that's OK :-)
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
${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]
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
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
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
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.
_
Dont just search. Find. Check out the new MSN Search!
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
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,
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
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
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
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
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
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
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
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
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
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]
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.
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
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?
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
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
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]
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
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:
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
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
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
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.
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
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,
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
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]
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
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
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
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
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
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.
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
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
-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
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
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
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]
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
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
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
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
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/
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
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,
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]
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
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
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
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
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
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
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
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
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,
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
67 matches
Mail list logo