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
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 beans
Hello,
I like your solution a lot. But I'm wondering if it going to be possible
express the following in outer HTML template.
I've tried it and got error:
java.lang.RuntimeException: java.lang.IllegalArgumentException: Subsequent
characters of component identifier must be a letter, a digit
>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?
>
>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
> >
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
the
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 seve
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 i
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
> > * Oth
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:
From what I can see your example should accomplish what you are
looking for. Is it not working for you?
Greg
On Jan 25, 2006, at 1:57 PM, Demetz Markus wrote:
Hi,
I am new to tiles and I'm trying to do some thing like this:
I want the subLayout to inherit
>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 t
thanks. that worked.
From: [EMAIL PROTECTED]
Reply-To: "Struts Users Mailing List"
To: "Struts Users Mailing List"
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.
>
> private String accountNum;
>
Hi,
I am new to tiles and I'm trying to do some thing like this:
I want the subLayout to inherit the mainLayout's definition and the tile
"myTile" to extend the subLayout. Is this possible in any way?
Or does anybody know a tutorial about tile
"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;
>
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"
To: "Struts Users Mailing
"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.
>
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):
these attributes are supposed to be used in a jsp like this:
The exception I get, looks like this:
2006-01-25 13:48:19,568 ERROR [ResourceFilter] Ex
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 acco
Pham Anh Tuan wrote:
Hi all,
I got a problem when I submit a form with setting like below
I can not get the parameter name "myNum" from request.getParameter("myNum") or
request.getParameterMap.containsKey("myNum");
I want to get the parameter here because I want to user that parameter "m
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 whic
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.
Sh
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 t
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
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 s
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.
<%=Resource.ge
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 12
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 wil
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
---
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
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
**
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 appli
Per Jørgen Walstrøm wrote:
>
>
>
>
>
>
>
>
> The exception I get, looks like this:
> 2006-01-25 13:48:19,568 ERROR [ResourceFilter] Exception in resource filter.
> javax.servlet.ServletException: ServletException in
> '/unprotected/layouts/layout.jsp': ServletException in
> '/unprotect
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. Sprin
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
va
hello,
I am trying to do a tiles:put on a tag without an ending-tag. Like this
(layoutSearch.jsp):
these attributes are supposed to be used in a jsp like this:
The exception I get, looks like this:
2006-01-25 13:48:19,568 ERROR [ResourceFilter] Exception in resource filter.
j
36 matches
Mail list logo