Nikhil,
Any version of Tiles/Struts up through version 1.2.4 only allows for a Tile
to be accessed inside Struts. In the upcoming version 1.3.X branch, tiles
will be in a stand-alone jar so it MIGHT include a filter or web.xml mapping
instructions to allow external (without requiring Struts)
Ted,
I saw javadoc changes that say @since 1.2.8. Will that
code be ported to 1.3?
See, I'd really like a 1.2.8 that fixes the URL
validator bug. That's a big priority for me.
Paul
__
Yahoo! Mail - PC Magazine Editors' Choice 2005
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:
url-pattern/folder/*/url-pattern
Is it correct?
Thanks,
C.F.
[EMAIL PROTECTED] wrote:
Hi,
Put the following
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
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,
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
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 '}' stuff
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:
html:textarea name=Page2Form bundle=messages property=comments
titleKey=comments.form.alt
You var name is wrong, try the following
var
var-namemaxlength/var-name
var-value500/var-value
/var
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
Thanks Niall - that fixed it.
Paul
Niall Pemberton writes:
You var name is wrong, try the following
var
var-namemaxlength/var-name
var-value500/var-value
/var
Niall
-
To unsubscribe, e-mail: [EMAIL
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
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:
*
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. Looking
Antunes
3 ways (straight from the doc)
html:submit property=property value=x
The parameter names for the request will appear as property.x or
PropertyName.GetX()
/*In the case where property is null */
html:submit value=x
A way of retrieving these values through a form bean is to define
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
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
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
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 user@struts.apache.org
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
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.
*
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
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]
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 the
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]
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
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]
Martin,
the doc for html:option states...
I'm using html:optionsCollection name=auditListCollection label=label
value=value /, 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
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
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
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
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
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
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:
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)
html:submit
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-based
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().
-Richard
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 security-contraint
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 html:text property=txt1/
nothing shows up.
I expected a text box to showup but
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 app.
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.org/struts/tags-logic;
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 have put
Hi,
When I hardcode something like font color=redhello/font between div
and /div 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
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 font
%@ 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-html; prefix=html %
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 taglib
in web.xml. (Fix the Tiles URI before removing its taglib from web.xml
though.)
Are you sure your
45 matches
Mail list logo