Re: Struts, Tiles and the Validator

2006-01-25 Thread Dave Newton
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

Re: hard question - Single Sign On

2006-01-25 Thread Dave Newton
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

Re: Tiles: how to put a tag without a closing tag?

2006-01-25 Thread Dave Newton
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

Re: A util class for EJB tier similar to BeanUtils?

2006-01-25 Thread Dave Newton
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

[JSF] rt tld

2006-01-25 Thread Garner, Shawn
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

Re: I think Learning Jakarta Struts 1.2 has a bunch of wrong info

2006-01-25 Thread Dave Newton
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

[shale] Maven repo

2006-01-25 Thread Richard Wallace
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

[ANN] Java Web User Group / BOF XV / Oracle City of London / Frid ay 3rd February 2006 @ 19:00

2006-01-25 Thread Pilgrim, Peter
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

RE: A util class for EJB tier similar to BeanUtils?

2006-01-25 Thread Garner, Shawn
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

One Pass JSP Parsing Woes! - how to generate Dynamic JSP and enforce those tags get parsed/translated?

2006-01-25 Thread Raghu Kanchustambham
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.

Re: rt tld

2006-01-25 Thread Craig McClanahan
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

Re: Maven repo

2006-01-25 Thread Craig McClanahan
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

Simple question about shale-clay responding with the raw jsp instead of html

2006-01-25 Thread xzuma
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

RE: rt tld

2006-01-25 Thread Garner, Shawn
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.

Re: rt tld

2006-01-25 Thread Dave Newton
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

Re: [HELP] Can't not get parameter when submit a form form method=POST enctype=multipart/form-data

2006-01-25 Thread Laurie Harper
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

displaytag

2006-01-25 Thread fea jabi
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

Re: Tiles: how to put a tag without a closing tag?

2006-01-25 Thread Laurie Harper
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

Re: displaytag

2006-01-25 Thread gramani
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,

Re: displaytag

2006-01-25 Thread fea jabi
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:

Re: displaytag

2006-01-25 Thread gramani
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

extend tiles

2006-01-25 Thread Demetz Markus
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

Re: displaytag

2006-01-25 Thread fea jabi
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.

Re: Simple question about shale-clay responding with the raw jsp instead of html

2006-01-25 Thread Gary VanMatre
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

Re: extend tiles

2006-01-25 Thread Gary Feidt
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

Re: [JSF] history list support (Back/Forward buttons)

2006-01-25 Thread Michael Jouravlev
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

Re: [JSF] history list support (Back/Forward buttons)

2006-01-25 Thread Alexandre Poitras
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

Re: Simple question about shale-clay responding with the raw jsp instead of html

2006-01-25 Thread xzuma
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

[ANN] Struts Scripting 1.0.1 Released

2006-01-25 Thread Don Brown
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

Re: [JSF] history list support (Back/Forward buttons)

2006-01-25 Thread Gary VanMatre
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

Re: Simple question about shale-clay responding with the raw jsp instead of html

2006-01-25 Thread Gary VanMatre
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

Re: [shale] clay renderId

2006-01-25 Thread Sergey
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

Re: Simple question about shale-clay responding with the raw jsp instead of html

2006-01-25 Thread xzuma
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

RE: [shale] clay renderId

2006-01-25 Thread hermod.opstvedt
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