Martin Ravell wrote:
So you call validate from within the Action?
Yes.
Do you then have to forward back to the original page if you have errors?
Yes.
One nice thing about doing validation manually (see below) is that I
can add further validation that would be irritating to do in
David Thielen wrote:
Is there anything simpler out there (I'm spolied by how easy it is in
Windows)? This is for a commercial product and we want our customers to be
able to install and configure it in 5 minutes (all of it, not just the
security).
Acegi is a pretty decent option. Spring is
Per Jørgen Walstrøm wrote:
tiles:put name=showPlus30Start direct=true
logic:equal property=searchPlus30 name=searchForm value=true
/tiles:put
tiles:put name=showTempEndTag direct=true
/logic:equal
/tiles:put
The exception I get, looks like this:
2006-01-25 13:48:19,568 ERROR
Sharon Jolly wrote:
I don't want to tightly couple by web tier with the ejb tier and that's
the reason why I am looking for some other class.
What does BeanUtils have to do with either tier? BeanUtils is just a set
of utility classes.
If I need to use some
other framework for the same
How come there isn't a rt.tld for JSF that takes in runtime expressions?
I understand that views may return xml or html views instead of jsp but
arn't tld's basically a JSP thing?
I understand this isn't a concern with JSP 2.0 but I'm still using JSP 1.2.
Shawn
David Thielen wrote:
I thought under struts 1.2 + jstl 1.1 + JSP 2.0 you get the expression
language even without struts-el as the ${var} gets evaluated everywhere. Or
did I not understand something?
JSP 2.0 gives you EL everywhere.
Dave
Are the shale artifacts being deployed to any maven repositories? I've
been downloading nightlies and just putting them in my local repository
(I even wrote a simple script to automate the process), but was hoping
to find a repository that was being updated nightly.
Thanks,
Rich
Dear All
I would like to formally announce that JAVAWUG (Java Web User Group)
is holding the fifteenth Birds-of-Feather (Meet up) at the
``Oracle City of London'' offices on Friday, 3rd January 2006.
The meeting will take place in a room with Audio/Visual facilities
between 7-9:30 pm. There
I don't see why this would couple the web tier to the ejb tier.
All it would couple you to is the commons-beanutils.jar which you should be
able to use even if you don't use struts.
Shawn
-Original Message-
From: Sharon Jolly [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 25, 2006
Hi,
I am trying to generate a *dynamic* menu.
I have a regular 'java' function which spits out menu tags (struts
layout taglib related).
The intention is to use Sitemesh to create the menu depending on the
access permissions of the logged in user without any dirty coding in
JSP's.
On 1/25/06, Garner, Shawn [EMAIL PROTECTED] wrote:
How come there isn't a rt.tld for JSF that takes in runtime expressions?
I understand that views may return xml or html views instead of jsp but
arn't tld's basically a JSP thing?
I understand this isn't a concern with JSP 2.0 but I'm still
On 1/25/06, Richard Wallace [EMAIL PROTECTED] wrote:
Are the shale artifacts being deployed to any maven repositories? I've
been downloading nightlies and just putting them in my local repository
(I even wrote a simple script to automate the process), but was hoping
to find a repository that
Hello,
I just started implementing my shale-clay application (looking at rolodex
example) and upon creating a command link in my view controller, I can see
the link on the html page, but when I click it, the next page is blank and
the source code shows only the jsp code of one of the subviews of
So say I have a constant declared in the java file or a utility method that
returns a value by taking in a value. I can't by default use those without
using the JSP RT Expressions. The only way I can use them is set them in
some scope inside a JSP RT Expression which requires an extra step.
Garner, Shawn wrote:
So say I have a constant declared in the java file or a utility method that
returns a value by taking in a value. I can't by default use those without
using the JSP RT Expressions. The only way I can use them is set them in
some scope inside a JSP RT Expression which
Pham Anh Tuan wrote:
Hi all,
I got a problem when I submit a form with setting like below
form name=postEditFrm method=POST enctype=multipart/form-data
input type=submit value=add
onclick='postEditFrm.action=$link.setAction(/addNewPost.do)?myNum=4;postEditFrm.submit;'
/form
I can not get
Sorry, guys for posting display tag issue here. Had to do this as I was not
getting any response from it's user forum today atleast.
Have an object Account. Which is having attributes accountNum,
accountTypeetc.
In PrepareSummaryAction
ArrayList accounts = new ArrayList();
Account
Per Jørgen Walstrøm wrote:
hello,
I am trying to do a tiles:put on a tag without an ending-tag. Like this
(layoutSearch.jsp):
tiles:put name=showPlus30Start direct=true
logic:equal property=searchPlus30 name=searchForm value=true
/tiles:put
tiles:put name=showTempEndTag direct=true
fea jabi [EMAIL PROTECTED] wrote on 01/25/2006 02:36:27 PM:
Sorry, guys for posting display tag issue here. Had to do this as I was
not
getting any response from it's user forum today atleast.
Have an object Account. Which is having attributes accountNum,
accountTypeetc.
Then,
yes, I do.
private String accountNum;
public void setAccountNumber(String accountNum) {
this.accountNum = accountNum;
}
public String getAccountNumber() {
return accountNum;
}
From: [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List user@struts.apache.org
To:
fea jabi [EMAIL PROTECTED] wrote on 01/25/2006 02:47:03 PM:
yes, I do.
private String accountNum;
public void setAccountNumber(String accountNum) {
this.accountNum = accountNum;
}
public String getAccountNumber() {
return accountNum;
}
Here's
Hi,
I am new to tiles and I'm trying to do some thing like this:
definition name=mainLayout path=/mainLayout.jsp
put name=head value=/head.jsp type=page /
put name=main value=/main.jsp type=page /
/definition
definition name=subLayout path=/jsp/layouts/layout_inserate.jsp
thanks. that worked.
From: [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List user@struts.apache.org
To: Struts Users Mailing List user@struts.apache.org
Subject: Re: displaytag
Date: Wed, 25 Jan 2006 14:51:31 -0500
fea jabi [EMAIL PROTECTED] wrote on 01/25/2006 02:47:03 PM:
yes, I do.
From: xzuma [EMAIL PROTECTED]
Hello,
I just started implementing my shale-clay application (looking at rolodex
example) and upon creating a command link in my view controller,
Do you mean that you have an action method in the view controller? Or, are you
binding a JSF control to an
If you are extending mainLayout you must have itemcount and pagecount
defined in mainLayout, and so on. Extending a tile you are using the
same layout and replacing specific pieces of that layout.
I've done something like this in the past:
tiles-definitions
definition name=ipets.default
On 1/24/06, Gary VanMatre [EMAIL PROTECTED] wrote:
From: Michael Jouravlev [EMAIL PROTECTED]
The question is: how history lists and in particular Back button, is
supported in JSF, including:
* JSF spec
* JSF reference implementation
* MyFaces
* Shale
* Other
I searched Net
The backing bean are one part of the model what is often called the
data model in the Swing world. It is a combinaison of Struts
DispatchAction and ActionForm concepts. It exposes your business logic
layer via DTOs or regular BOs depending of your architecture. You can
refer to them as ViewHelper
Thanks for quick reply, Gary. I should have been more verbose, however, I
thought this behaviour (printing raw jsp instead of html) was a very simple
simptom of a simple problem.
I am putting a clay component into a working JSF application (I need to be
able to assemble a page dynamically from
The Struts team is pleased to announce the release of Struts Scripting
1.0.1for General Availability. This is the first stable release of
Struts
Scripting (formerly Struts BSF). It allows Struts Actions to be written in
the scripting language of one's choice rather than as Java classes. It uses
From: Michael Jouravlev [EMAIL PROTECTED]
On 1/24/06, Gary VanMatre wrote:
From: Michael Jouravlev
The question is: how history lists and in particular Back button, is
supported in JSF, including:
* JSF spec
* JSF reference implementation
* MyFaces
* Shale
From: xzuma [EMAIL PROTECTED]
Thanks for quick reply, Gary. I should have been more verbose, however, I
thought this behaviour (printing raw jsp instead of html) was a very simple
simptom of a simple problem.
Well, does you jsp file name end with a .jsp suffix or .html suffix?
I am
Hello,
I like your solution a lot. But I'm wondering if it going to be possible
express the following in outer HTML template.
tr jsfid=clay clayJsfid=/widgets.html label=First Name:
property=selectedContact.firstName size=20 maxlength=30
required=true immediate=false/
I've
This is the MyViewController#createList method (it is a slightly changed
Rolodex#createTabs method):
public void createList(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
java.lang.Object displayElementRoot) {
List
Hi
Your problem lies within: property=selectedContact.firstName
Property is the component identifier, and can not cotain a .. What you need
to do is make shure that selectedContact is the managed bean.
Here is from a earlier posting:
You are using the property symbol in this example to
34 matches
Mail list logo