I have a ActionForm in the package sp.view. And It use Customer Bean in another
package sp.model .
When I run the jsp that use the form, I got a error. But if I move the Customer Bean
to sp or sp.view package,
Everything is fine. Have any idea?
This is my ActionForm
I am doing a webapp in struts... i'm using a sample program i found during my web
searches.
I was able to do fine, like saving and deleting but i always seem to get this error
whenever i
try to setting the form to the session.
My code is:
GetUserAccountService service = null;
Make sure you've coded and defined (in struts-config.xml) the corresponding
action and actionForm. Also, you do not need to specify the form name on
the JSP html:form... tag, it'll be placed there by struts when the page is
rendered.
-c
- Original Message -
From: shashi_struts [EMAIL
Hi all,
With your experience can you tell me, wht is your favorite Struts plugin for
Eclipse?
I am most of all interested in the edition of the configuration file and
graphical visualization of this file.
Alban.
**
This email
Hello David,
If I am not wrong I have read it on the site that Struts 1.1 is now migrated
from MVC 1 to MVC 2 therefore there is a differentiation of Request and
Response objects.
Alok
- Original Message -
From: David Graham [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, March 03,
easy struts is the best :)
--
Alexandre Jaquet
- Original Message -
From: Alban Soupper [EMAIL PROTECTED]
To: Struts Users Mailing List (E-mail) [EMAIL PROTECTED]
Sent: Monday, March 03, 2003 11:08 AM
Subject: What is the best struts plugin for Eclipse?
Hi all,
With your experience
Hi,
Try to add :
if (request.equals(mapping.getScope() )) {
request.setAttribute(mapping.getAttribute(), form);
}
else {
HttpSession session = request.getSession();
session.setAttribute(mapping.getAttribute(), form);
}
- Original Message -
From: Richard Raquepo [EMAIL PROTECTED]
I use Easy Struts and it is very cool. You can download it from
http://sourceforge.net/projects/easystruts
Current version (0.63) does not work with Eclipse 2.1.
Dejan
- Original Message -
From: Alban Soupper [EMAIL PROTECTED]
To: Struts Users Mailing List (E-mail) [EMAIL PROTECTED]
That's my problem easy struts doesn't work correctly on the version
of Eclipse that we use :(
Another candidate?
-Original Message-
From: Dejan Krsmanovic [mailto:[EMAIL PROTECTED]
Sent: lundi, 3. mars 2003 11:35
To: Struts Users Mailing List
Subject: Re: What is the best struts plugin
In a classic template, the header, footer and menu could be common across
your application.
However the body would likely change depending on the business process.
Is there a way to alter the 'body' value dynamically? I'm a bit confused by
this at the moment and my current understanding is that
Hi,
The Tiles config files should contain the resource keys (put
name=title value=a.key /). You use this keys in the jsp file in
conjunction with tags accepting such keys:
tiles:importAttribute /
bean:write name=a.key /.
You can implement your own SmartMenuItem, taking a key as input, and
Hi,
Have you tried to set flush=true in your insert tags ?
Cedric
Roland Berger wrote:
Hi all
tiles:insert does not insert the jsp page where it should.
I have the following setup:
In my master Layout (classicLayout.jsp) I have the tag:
Code snippet start of
Struts Console. Try to download it from www.jamesholmes.com/struts/console
I am not sure if it works with Eclipse 2.1 but I guess it does. It is not as
well integrated as Easy Struts is
but has support for editing validator and tiles config files
Dejan
- Original Message -
From:
HI
Could any body tell me how to store the hashtable key value in the html:multibox
value.
Regards
shashi
(I tried replying to this yesterday but the cheque was lost in the mail)
Dropped connection or something must have killed the last jar.
It's updated, give it another bash...
http://www.keyboardmonkey.com/downloads/km-nested-v2.03.jar
Arron.
Arron:
Can you please re-build the jar?
A Tiles controller is associated to the tile being inserted. The
controllers are called when a tiles is inserted. They are declared in
the insert tag, or in the definition tag which is used by insert.
The put tag is used to specify an attribute which is passed to the
insert. So, the
Yes, you could do something like this:
bean:define id=licen
bean:message key=license.name/
/bean:define
bean:message key=license.text arg0=%=licen%/
--
James Mitchell
Web Developer/Struts Evangelist
http://jakarta.apache.org/struts/
People demand freedom of speech to make up for the freedom
Hi
I am trying to use the Validator. The validation works fine in one page. I
have another page where the validation rules get fired when the page is
loaded and not when it is submitted. So, the error messages for required
fields are displayed as the page is loaded. It should be displayed when
Anyone got any cunning suggestions/workarounds as to change property
type in a DynaBean?
I'm attempting to replace an int that has been created from a
ResultSetDynaClass with a DynaBean, or other useful object
Anyone else had this sort of problem?
thanks mark
Console is not bad, but in fact
I would like something that can graphically represent
my pages interractions
Because in a large application the actions, forms, jsp
are very soon interlaced and the application behaviour is
not really clear...
-Original Message-
From: Dejan
I'm still having problems with sessions here but I've kind of narrowed
it down now.
if I have a html:link tag in a page that is currently using Session A
will it still
use the same session if I use that link to get to another page? I'm
assuming
it uses URL rewriting instead when using html:link
Hi,
struts-layout tries to be compatible with both struts 1.0 and 1.1, which
causes the deprecated errors you got when compiling with struts 1.1.
However, this should not prevent the use of strut-layout with b3. (unless
you use the struts-layout plugin, which still use the b2 interface).
Best
You can have a body acting as a body template which in turn insert
other bodies ...
Cedric
James Prance wrote:
In a classic template, the header, footer and menu could be common across
your application.
However the body would likely change depending on the business process.
Is there a way
My guess, without seeing exactly what you are doing, is that your code
is checking whether it already has precompiled the statement and is
attempting to re-use that statement without having the same database
connection. During the re-use, the previous user is doing either a
stmt.close() or
For a complete how-to on matching two fields, plus the JavaScript for
validator-rules.xml, check out http://tinyurl.com/6jnv.
HTH,
Matt
-Original Message-
From: Brian Topping [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 01, 2003 6:41 PM
To: Struts Users Mailing List
Subject:
I am attempting to access a variable from an ActionForm that is nested in a
logic:iterate tag, and I am getting this error:
javax.servlet.jsp.JspException: Exception accessing property queueSelected for bean
spgQueuesForm: java.lang.NoSuchMethodException: Unknown property 'queueSelected'
I am
Hello,
I'm having problems getting my browser to render the XHTML properly. My
doctype is correct, and my page is well formed. For some reason, when I hit
the page, the DOM is shown in IE 6.0. I'm running Struts 1.1 on Weblogic
7.0.
Thanks in advance!
-Josh
I keep getting:
no input attribute found for path ...
Everything looks good in my config files...
what causes this error?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Sakis,
This looks like a browser issue to me. Did you try Netscape or
Mozilla? I have had similar a problems with Japanese content(UTF-8) in
IE for mac where '???' where showing on some form elements. I never
found a solution around other than switching SHIFT-JIS character
encoding so if you
we'll need to see at least the relevant part of your struts-config.xml.
Also, what's throwing the error?
--
Voytek Jarnot
Quidquid latine dictum sit, altum viditur.
-Original Message-
From: Sloan Seaman [mailto:[EMAIL PROTECTED]
Sent: Monday, March 03, 2003 8:27 AM
To: Struts Users
http://www.improve-technologies.com/alpha/struts-config-editor/
I have not actually used it myself, so I can't say much about it. It
does appear to have a graphical layout view though.
Joe
-Original Message-
From: Alban Soupper [mailto:[EMAIL PROTECTED]
Sent: Monday, March 03, 2003
It means you did not specify an input attribute for the action with path
'...'
--
James Mitchell
Web Developer/Struts Evangelist
http://jakarta.apache.org/struts/
People demand freedom of speech to make up for the freedom of thought
which they avoid.
- Soren Aabye Kierkegaard (1813-1855)
I think you have set validate to true for this path, and not setted
input attribute, so struts is not able to forward to input JSP when
validation errors occurs.
Nico.
I keep getting:
no input attribute found for path ...
Everything looks good in my config files...
what causes this error?
Struts has always been based around a FrontController servlet, java action
classes performing logic, and a view layer. This is MVC model 2 design;
the RequestProcessor has nothing to do with that definition.
David
From: Alok Garg [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL
I believe using the xhtml doctype puts IE 6 into strict mode. Try
validating your page at the w3c.org validator site.
David
From: Josh Rayls [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List (E-mail) [EMAIL PROTECTED]
Subject: Rendering in
Hi,
During my struts app I have to gather a large amount of data from an Oracle
db (4-40MB each hit). I was wondering, as the site will be accessed at
regular intevals of about 2-5 minutes by upto 50 people at a time, what
would be the best place to sycronize the code to make sure that the
ANT
-Original Message-
From: alexj [mailto:[EMAIL PROTECTED]
Sent: Monday, March 03, 2003 4:11 AM
To: Struts Users Mailing List
Subject: Re: What is the best struts plugin for Eclipse?
easy struts is the best :)
--
Alexandre Jaquet
- Original Message -
From: Alban Soupper
Some body don't want to see % %? Just a guess.
-Original Message-
From: alexj [mailto:[EMAIL PROTECTED]
Sent: February 28, 2003 6:34 PM
To: Struts Users Mailing List
Subject: [struts-el] What's the benefits ?
I didn't find the benefits of the use of jstl extention.
Who can
Synchronization should take place at the lowest denominator possible.
The other thing to do is create a caching filter for your web content
that stores the page for 2-5 minutes before it refreshes itself.
-Original Message-
From: Simon Kelly [mailto:[EMAIL PROTECTED]
Sent: Monday, March
Easy Struts doesn't support tiles forwards in action mappings and it doesn't
handle validation.xml and it doesn't handle tiles-defs.xml. It is still
pretty immature. However, StrutsConsole handles everything really well.
Usually I do a combo of normal text editing and struts console. Most of the
- Original Message -
From: Jacob Hookom [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Monday, March 03, 2003 3:55 PM
Subject: RE: Best place to syncronize within struts.
Synchronization should take place at the lowest denominator possible.
By this I take it
You may consider using JCS, I've done some research into for a project but
never actually used it. It's caching mechanism and it will allow you to
specify the in-memory size and expiration on your data.
Cheers,
Ivan
- Original Message -
From: Simon Kelly [EMAIL PROTECTED]
To: Struts Users
This was exactly what I was looking for although I
don't quite understand how it works.
Doesn't bean:message../ write the value to the jsp
writer?
--- James Mitchell [EMAIL PROTECTED] wrote:
Yes, you could do something like this:
bean:define id=licen
bean:message key=license.name/
This was exactly what I was looking for although I
don't quite understand how it works.
Doesn't bean:message../ write the value to the jsp
writer?
tag write to the current ouputstream. Nested inside another tag, they
write to the bodycontent buffered ouputstream. This way parent tag can use
A ha that makes sense. Thanks!
--- Nicolas De Loof [EMAIL PROTECTED] wrote:
This was exactly what I was looking for although I
don't quite understand how it works.
Doesn't bean:message../ write the value to the
jsp
writer?
tag write to the current ouputstream. Nested
inside another
To be fair, Struts Console isn't really an Eclipse plugin. The plugin
just launches the program external to Eclipse. For some reason, the menubar
disappears when you do this so you may as well just launch the standalone
Struts Console.
David
From: Brandon Goodin [EMAIL PROTECTED]
But what is an input attribute?
I've got a form with tons of input fields as well as a form-bean specified
and an action for the path specified.
Everything looks fine.. that is why I can't figure out what is wrong.
What type of mis-configuraiton usually causes this issue?
--
Sloan
-
Agreed. I don't use it from within eclipse. I guess I really didn't answer
the questtion then. Did I? :-D.
Brandon Goodin
Phase Web and Multimedia
PO Box 85
Whitefish MT 59937
P (406) 862-2245
F (406) 862-0354
[EMAIL PROTECTED]
http://www.phase.ws
-Original Message-
From: David Graham
Agree. It is a good product. Better launch it as standalone or inside
Sun ONE Studio/NetBeans.
-Original Message-
From: David Graham [mailto:[EMAIL PROTECTED]
Sent: March 3, 2003 10:33 AM
To: [EMAIL PROTECTED]
Subject: RE: What is the best struts plugin for Eclipse?
To be fair, Struts
in struts-config.xml, input attribute of a path element defines the JSP
(or ohter ressource) that can be used to display errors and let the user
update it's submited (and erronous) datas
In general use, input value is the JSP that submitted to this path.
Nico.
- Original Message -
From:
I use solar-eclipse plug in to edit ANY xml file and jsp.
I also use a resin eclipse plugin if I need to debug JSP. (on resin home
page)
hth,
.V
p2 - apache wrote:
Agree. It is a good product. Better launch it as standalone or inside
Sun ONE Studio/NetBeans.
-Original Message-
From:
Could somebody tell me whether the followign line is an error
for the indexed=true property of the nested tags? The number
value seems to be outside the quotes,
td
input type=submit name=action[0] value=Edit
/td
td
input type=submit name=action[0]
Pshaw. Heathens, pagans, and troglodytes, all.
I use vim for all my XML editing. Does quite nicely against struts-config, with code
folding and syntax highlighting. Plus you are more manly if you can do stuff like
:g!action/d to get a nice text list of all your Actions.
I am SOOO much better
LOLthanks for making my Monday a little bit better!
--
James Mitchell
Web Developer/Struts Evangelist
http://jakarta.apache.org/struts/
People demand freedom of speech to make up for the freedom of thought which
they avoid.
- Soren Aabye Kierkegaard (1813-1855)
- Original Message
If I'm right, reset is not called by ActionForms with scope session.
How can I then reset my checkboxes?
--
Zsolt
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
i will have to side with Mr Childers, i'm afraid.
these all you'll ever want and more editing tools tend to often just teach
you how to read/work more slowly...
Steve
-Original Message-
From: James Childers [mailto:[EMAIL PROTECTED]
Sent: Monday, March 03, 2003 10:50 AM
To: Struts Users
Hello Cedric and the group:
Issue: need to retrieve properties of *myBean* in user session scope as
values for tiles attributes in request scope.
Solution from a scratch of my head:
jsp:useBean id=myBean scope=session /
tiles:useAttribute id=myAttribute name=myAttribute
From further debugging I found that if I use
pantryLoadingIntroChai
as the name of my form-bean and also as the attribute name in my action tag
it works fine.
If I use:
pantryLoadingIntroChain
it does not work.
The name is somehow clashing with another defined name of the same type
somewhere
reset is allways called in processPopulate().
Nico.
If I'm right, reset is not called by ActionForms with scope session.
How can I then reset my checkboxes?
--
Zsolt
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
What is vim ?
-Original Message-
From: James Childers [mailto:[EMAIL PROTECTED]
Sent: lundi, 3. mars 2003 16:50
To: Struts Users Mailing List
Subject: RE: What is the best struts plugin for Eclipse?
Pshaw. Heathens, pagans, and troglodytes, all.
I use vim for all my XML editing. Does
viMproved.
-Original Message-
From: Alban Soupper [mailto:[EMAIL PROTECTED]
Sent: Monday, March 03, 2003 11:17 AM
To: 'Struts Users Mailing List'
Subject: RE: What is the best struts plugin for Eclipse?
What is vim ?
-Original Message-
From: James Childers [mailto:[EMAIL
Vim is a powermad text editor that allows you to do regular-expression based search
and replace functions, syntax highlighting, moving around anywhere within a file in
just a few keystrokes, and other niceties that developers tend to enjoy.
http://www.vim.org
It's not really a GUI editor, and
I had a problem like that when I tried to name my file to something like
.xhtml or .xml and serve it as an XHTML document. IE decided that rendering
it would be too much trouble. I experimentally determined either the
resource must have a .htm or .html extension, regardless of doctype, or the
One other thing I forgot - the XML declaration also caused it to choke.
Hello,
I'm having problems getting my browser to render the XHTML properly. My
doctype is correct, and my page is well formed. For some reason, when I
hit
the page, the DOM is shown in IE 6.0. I'm running Struts 1.1 on
Hi,
BaTien Duong wrote:
Hello Cedric and the group:
Issue: need to retrieve properties of *myBean* in user session scope as
values for tiles attributes in request scope.
You can't set the scope of a tiles attribute: a tiles attribute is
defined with put nested in an insert. A tile attribute
Yes, that's exactly what I also want to do. But it seems that I missed the
big picture. When I set flush=true I get a Illegal to flush error. If I
set flush=false the tile I want to insert into the body template is
inserted at the top of the page and not where the insert tag is. Can you
give a
Thanks. The declaration was choking it. :( That's pretty rediculous.
-Original Message-
From: Miller, Jason [mailto:[EMAIL PROTECTED]
Sent: Monday, March 03, 2003 11:31 AM
To: 'Struts Users Mailing List'
Subject: RE: Rendering in XHTML
One other thing I forgot - the XML declaration
I am quite new to TILES and have a query abt the way it renders HTML pages.
Does it embed the javaScript code into the HTML page itself or
it has generic JavaScript Library files, and includes them using a
JavaScript include directive in HTML for JavaScript file, so that it could
be cached at
AFAIK, Tiles doesn't use any javascript.
David
From: Puneet Agarwal [EMAIL PROTECTED]
Reply-To: Puneet Agarwal [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: TILES - Network Traffic...
Date: Mon, 3 Mar 2003 16:44:54 -
I am quite new to TILES and have a query abt
I have a JSP that is successfully creating an instance
of a bean class in the session, but I'm failing to
understand a problem with retrieving data from that
bean.
The bean's constructor (zero arguments) is apparently
not executing defined routines. However, it can
retrieve private data members
The examples in struts-documentation use a master layout
(classicLayout.jsp), and the body is often made of tiles inserted with
another layout (like columnsLayout, vboxLayout, tabsLayout...). You can
easily define your own layout with an insert. It is also possible to
insert the definition
I am receiving 2 errors with the Struts 1.1 RC 1. The errors are:
(1) Error #: 300: variable Globals not found in... when compiling a
line of code in my Action class that reads, DataSource dataSource =
(DataSource)servlet.getServletContext().getAttribute(Globals.DATA_SOURCE
_KEY);
(2) At
Hi,
Tiles doesn't use any javascript. It is a framework to build pages by
assembling small pieces (tiles) on the server side. However, you can use
your own javascript in tiles ...
There was a discussion Sell me on tiles in the mailing list. Check
the mailing list archive:
I'm in the process of moving an application from struts 1.0 to 1.1 and ran into a
problem in the ActionForm bean class. In the validate method, the code is adjusting
the state of the input method depending on the state of the object that the user would
be editing. When I try the following code,
Have you imported Globals which is a struts class?
-Original Message-
From: Mervin Williams [mailto:[EMAIL PROTECTED]
Sent: March 3, 2003 12:16 PM
To: [EMAIL PROTECTED]
Subject: Problems with Struts 1.1 RC 1
I am receiving 2 errors with the Struts 1.1 RC 1. The errors are:
(1)
Use a different forward instead.
-Original Message-
From: Dan Hable [mailto:[EMAIL PROTECTED]
Sent: March 3, 2003 12:20 PM
To:
Subject: Setting ActionConfig Input At Runtime
I'm in the process of moving an application from struts 1.0 to 1.1 and
ran into a problem in the ActionForm bean
Hi all,
how do I get name of the web application a servlet execute on servlet
spec 2.3.
like in http://ww.mydomain.com/myapp/save.do
from saveAction.class , how do I find out myapp part.
the method servlet.getServletContext().getServletContextName() returns
null.
thanks for any info.
request.getContextPath()
-Original Message-
From: awc [mailto:[EMAIL PROTECTED]
Sent: Monday, March 03, 2003 10:36 AM
To: Struts Users Mailing List
Subject: My web application name
Hi all,
how do I get name of the web application a servlet execute on servlet
spec 2.3.
Hello All,
I have a DynaActionForm bean defined and I'm trying unsuccessfully to
access the properties using a RT Expression such as:
%= mapserviceDetailForm.siteName %
Here's the fragment from the struts-config:
form-bean
name=mapserviceSummaryForm
dynamic=true
Hi.
I use Struts 1.2b2
PostgreSQL 7.3
Win2K
I use a database at UNICODE
I have the file application_el_GR.properties seved as UNICODE
I use Tiles to configure the display of the application and a page
classicLayout.jsp
if i use %@ page contentType=text/html; charset=UTF-8 % on
classicLayout.jsp
Thanks. Importing the org.apache.struts.* fixed problem #1. However,
problem #2 is still occurring.
Please help.
-Original Message-
From: p2 - apache [mailto:[EMAIL PROTECTED]
Sent: Monday, March 03, 2003 11:27 AM
To: 'Struts Users Mailing List'
Subject: RE: Problems with Struts 1.1 RC
IBM WebSphere Studio Application/Site Developer (not free)
has a struts plugin. It has a editor (Web Diagram Editor)
that you can use for visualizing application flow,
in addition to alot of other stuff.
I can only find a tech preview blurb on it:
Hi all.
I store in the pageContext two ArrayList that contains different parameters. for
example One contains priceses for sell and one contains prices for rent.
on checkbox Click I want to change the content of a combobox.
How can I do that?
How can I get the page context to the Javascript?
Does anyone have experience using the Validator (struts 1.1b3) in Oracle
9iAS? I am able to run the struts-validator example webapp in Tomcat, but
get the following error whenever I run it in 9iAS.
java.lang.ArrayIndexOutOfBoundsException
at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for
The mails were really useful.
Thanks Regards
Puneet
- Original Message -
From: Cedric Dumoulin [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Monday, March 03, 2003 5:15 PM
Subject: Re: TILES - Network Traffic...
Hi,
Tiles doesn't use any javascript. It
Since I could not get a ForwardAction to work with Tiles,
I created an entry action that did nothing but forward to success.
action path=/setUpCreateUserAction
type=us.tx.state.rrc.app.SetUpCreateUserAction
forward name=success path=.app.CreateUser /
/action
action
Please don't flame - I'm not trying to start a tiles vs frames debate.
If bandwidth is absolutely critical then you may want to consider (shock!
horror!) frames or use inline IFrames. Tiles is great but will produce a bit
of extra output over frames as it will generally be used to render the
Hi, I am having problem reading data in application.properties.
Here is the structure of my struts folder inside tomcat4.1.8
%CATALINA_BASE%/webapps/myproject
|
- Some jsp files.
- META-INF
- WEB-INF
|
-some struts files as well as web.xml
-lib
-src
Hi Thomas,
A friend (Hi Jim :))) advised me to use the Meta http equiv tag and not the
java directive with the charset and it seems to work
- Original Message -
From: Thomas Gourgon [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Monday, March 03, 2003 4:22 PM
Hey guys,
I am just learning my way around struts and I need some help validating
a form. I have used validation before and I know how to do it for a
single field and multiple fields.
But now I am stuck, I have a form with two text fields for data to be
entered and I want to validate them. I
Not sure if you should call errors!=null !errors.isEmpty()
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: Mervin Williams [mailto:[EMAIL PROTECTED]
Sent: March 3, 2003 12:54 PM
To: 'Struts Users Mailing List'
Struts Console version 3.3 is now available.
http://www.jamesholmes.com/struts/
Download Now:
http://www.jamesholmes.com/struts/struts-console-3.3.zip
-- OR --
http://www.jamesholmes.com/struts/struts-console-3.3.tar.gz
Struts Console is FREE software.
This release fixes some bugs and adds a
David Graham [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
LOL
David
yeah, right, i could have expected so. i sent about five questions to this
mailing list and i never NEVER got an answer. and i don't think that the
reason is i ask stupid questions, in fact most of the
How 'bout a requiredif rule for each field, where a value is
required if the other field's value is null?
See the stuff on the requiredif rule in the validator section
of the user guide (online at the struts web pages).
There's also been some recent discussion related to this - you
coud probably
- Original Message -
From: John Nikolai [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday, February 27, 2003 2:24 PM
Subject: Re: Tiles: dynamically adding definitions
Thanks Cedric, I look forward to seeing the document.
Is this a feature which may
firstly, this is OT, secondly if you're using JDK 1.4, here's your one-liner
(String in question is str):
str = str.replaceAll(\\n, br);
which is a short way of writing:
Pattern.compile(\\n).matcher(str).replaceAll(br);
also a one-liner...
--
Voytek Jarnot
Quidquid latine dictum sit, altum
Thanks Cedric. You save us a day! 3 more items to be sure:
1) Assuming we have *myAttribute* from *myBean* in user session
myBean.getLevel2().getMyAttribute(). To use myAttribute as a JSP Java
variable, we need:
//set an attribute for tile insert
tiles:insert attribute=myAttribute
Hi Cedric
Sorry, but I can not find the problem even with the examples. I belive I do
it the same way as it is done there.
May be you can have a look at the code below:
*** tiles-defs.xml snippets ***
definition name=.detailLayout
path=/WEB-INF/common/layouts/detailLayout.jsp
...
On Mon, 3 Mar 2003 10:21:23 -0600
James Childers [EMAIL PROTECTED] wrote:
But once the initial effort is made it is a huge
timesaver. You just have to decide to learn it and stick with that
decision.
I'm forcing myself to use vim more (although I still use jEdit with some
plugins to do just
1 - 100 of 203 matches
Mail list logo