RE: Servlet Filter?

2006-04-10 Thread Quinn Stone
Frank, thanks for the link to javawebparts. The source code there helped me a great deal. Dakota, thanks for that very detailed explanation of creating my own dispatcher, but I chose to use a filter for now. I'm just not ready to go change the buttons and existing actions at the moment. I'll look

RE: [OT] Re: Bean Question

2006-04-10 Thread Neil Meyer
Thanks, The following worked. PropertyUtils.getSimpleProperty(bean,propertyName) Neil -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 07 April 2006 02:56 PM To: Struts Users Mailing List Subject: [OT] Re: Bean Question One, or both, of these may help: 1.

Re: problem in tiles

2006-04-10 Thread Antonio Petrelli
Ahmed Hashim ha scritto: ... but i remember that I can request the page directly... You remember wrong! You cannot request a Tiles definition directly. You have at least to write a simple JSP page with tiles:insert tag. You can invoke a Tiles definition directly only through a forward, if

Re: how to include a do url?

2006-04-10 Thread Michael Jouravlev
You can check out how I use it. This is main website of my project, JSP Controls Tag Library: http://www.jspcontrols.net This is what you talked about: http://www.jspcontrols.net/struts.jsp Michael. On 4/9/06, 王曾wang_zeng [EMAIL PROTECTED] wrote: That's great! Thank you,Michael,for using your

[ANN] JSP Controls Tag Library 0.6 has been released

2006-04-10 Thread Michael Jouravlev
New website, new features: * removed hardcoded Javascript from JSP tags, using Behaviour.js instead. * rewritten Tabbed Notebook tags - it cannot get simpler than that: %@ page contentType=text/html;charset=UTF-8% %@ taglib uri=http://jspcontrols.net/tags/core; prefix=jc % jc:component

Struts 1.3 - WebSite/Docs

2006-04-10 Thread Dion Gillard
Any pointers to where to find details on the changes and details in 1.3? -- http://www.multitask.com.au/people/dion/ Chuck Norris sleeps with a night light. Not because Chuck Norris is afraid of the dark, but because the dark is afraid of Chuck Norris

Re: struts validation problem

2006-04-10 Thread Madhav Bhargava
As a quick fix i changed the validator-rules.xml file. I added the following: *if (field == undefined) {* * isValid = true;* } else if { } I did this for required and mask rules. This solved the problem for me. Thanks for your response. Moreover with the version of validator framework i

Re: [OT] Need information about books to buy

2006-04-10 Thread erikweber
-Original Message- From: Ashish Kulkarni [EMAIL PROTECTED] Sent: Apr 7, 2006 11:58 AM To: user@struts.apache.org Subject: [OT] Need information about books to buy Hi I need to buy couple of books, 1 for AJAX, and 2 for Webservices, I know the basics of Ajax and Webservices, and need to

RE: Reg: use of Application Resources

2006-04-10 Thread Shasirekha Engala
I am thankful to you for the reply.Can I get some more information regarding the topic and if possible an example. Which site I have to refer for this? Thanks and regards Shasi -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED] Sent: Saturday, April 08, 2006 7:20 PM To: Struts

RE: Reg: use of Application Resources

2006-04-10 Thread Shasirekha Engala
-Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED] Sent: Saturday, April 08, 2006 7:20 PM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: Re: Reg: use of Application Resources Yes, you can specify an alternate bundle in the relevant tags, and load the bundle in the

RE: Proxy rewrites

2006-04-10 Thread George.Dinwiddie
If you put base href=https://machine1/proxy/machine2//application/index.jsp; into the head of your index.jsp, what is the redirect URL? -Original Message- From: Anil Arora [mailto:[EMAIL PROTECTED] Sent: Friday, April 07, 2006 6:42 PM To: Struts Users Mailing List Subject: RE:

RE: Servlet Filter?

2006-04-10 Thread Frank W. Zammetti
On Mon, April 10, 2006 2:09 am, Quinn Stone said: Frank, thanks for the link to javawebparts. The source code there helped me a great deal. Good deal, glad to hear it! My next question is whether there's a mechanism by which I can stick an ActionError in the request so that the error page

bean:message-Tag inside a bean:write-Tag?

2006-04-10 Thread Klaus Rohwer
Hello together, I am trying to implement a search_form with a dynamic pull-down menu whose entries can be in different languages. Unfortunatelly, I can't put a bean:message-Tag inside a bean:write-Tag. At least I get the following exception: org.apache.jasper.JasperException:

Is there an IsInSet or IsInList Tag already out there?

2006-04-10 Thread Rick Reumann
I'm going to be needing a tag similar to how struts' logic:present role= tag works, but I need it to work with my own set of roles that are going to be in bean ( in List or Set). I can write my own, but I was wondering if one already existed. Something like.. tag:InSet

Re: [HELP] how do I catch url like http://www.myweb.com/mysite :(

2006-04-10 Thread Dave Newton
Pham Anh Tuan wrote: I just think that we can check request object, after that we check db for specific username (360.yahoo.com/username), if it's exist, we will view homepage of that username. The problem here, I don't know how to do that :( I had to recreate this usecase for a conversion:

Re: [HELP] Problem with redirect attribute of forward tag

2006-04-10 Thread Dave Newton
Pham Anh Tuan wrote: I got problem with redirect attribute in forward tag. after MyRegistration is processed, it register some values in request scope (some messages to inform that Registration was successful), but after redirecting to Summary action, all values which registered in request

Re: problem in tiles

2006-04-10 Thread Dave Newton
Ahmed Hashim wrote: I tried to forward to loginPage.page from the action and it is working fine, but i remember that I can request the page directly... any suggestion? You can use tile definitions as input or forward attribute values in your Struts config file; is that what you mean? Dave

Struts tiles layout by tiles-config

2006-04-10 Thread Raghuveer
Is there facility to restrict some tile in my base configration. Example In page.error how to use only header part of my base configration. - tiles-config xml file !-- base tiles definition -- definition name=base.definition

trying to get a Collection from my jsp

2006-04-10 Thread KID
Hi, I try to get a collection from my jsp to my form bean. This is my code: nested:iterate property=prestationsComptage tr td nested:hidden property=idPrest / /td td nested:write property=libellePrestationComptage/ /td td nested:text property=nbUnites /

[OT] where i can find List of all JBI implementation?

2006-04-10 Thread Legolas Woodland
Hi Thank you for reading my post where i can find a list of all JBI implementation ? projects like service mix mule celtix ... Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Struts 1.3 - WebSite/Docs

2006-04-10 Thread Rahul Akolkar
On 4/10/06, Dion Gillard [EMAIL PROTECTED] wrote: Any pointers to where to find details on the changes and details in 1.3? snip/ Probable starting points: http://struts.apache.org/struts-action/userGuide/release-notes.html http://wiki.apache.org/struts/StrutsUpgrade -Rahul

indexed property validation error:java.lang.reflect.InvocationTargetException

2006-04-10 Thread Carl Smith
I have a jsp containing three text fields which are indexed property, I needs to validate all the text box contains a value other than null or empth string. When I click on save I got the error (see the bottom). Your helps are highly appreciated! jsp: html:errors/ html:form

Usage of Clay in portal environment

2006-04-10 Thread Phanidhar Adusumilli
Can Clay be used in portlets as it is or do we need to customize it.? we would like to use it weblogic portal environment.

Re: Usage of Clay in portal environment

2006-04-10 Thread Ryan Wynn
I have used Clay with WebSphere Portal 5.1 and the MyFaces JSR-168 portlet without any changes to clay. In fact, because the MyFaces portlet is a bridge, I can run the same clay app in either a portlet or web environment without any changes. I can't speak to weblogic, but I guess it should work

Re: [Shale] Clay

2006-04-10 Thread Gregg Bolinger
Gary, I appreciate the information. Ok, here is what I have and it is not working. Bear with me, I am going to post the bulk of my files, though they are quite short. [web.xml] !-- Display name for this application -- display-nameShale Blank Starter App/display-name !-- Select JSF

Action DTD for struts-config.xml

2006-04-10 Thread Lim Hock-Chai
Anybody know where I can find a complete explanation of Action tag and all of its properties? I'm trying to see how the include property work. thanks.

Re: Is there an IsInSet or IsInList Tag already out there?

2006-04-10 Thread Rick Reumann
Rick Reumann wrote the following on 4/10/2006 10:44 AM: I'm going to be needing a tag similar to how struts' logic:present role= tag works, but I need it to work with my own set of roles that are going to be in bean ( in List or Set). snip I supposed I could consider a JSTL function as well.

Re: Action DTD for struts-config.xml

2006-04-10 Thread Craig McClanahan
On 4/10/06, Lim Hock-Chai [EMAIL PROTECTED] wrote: Anybody know where I can find a complete explanation of Action tag and all of its properties? I'm trying to see how the include property work. The DTD itself is chock full of documentation comments. Look for the relevant version(s) in the

Custom tag question

2006-04-10 Thread Aladin Alaily
Hi, I have a question pertaining intregrating a custom tags with a struts tag. I want to know if there exists a best practise when trying to do what I'm doing (other than not doing it). I am trying to write a custom tag which wraps another tag in the following way: HTML Written:

Re: Custom tag question

2006-04-10 Thread Dave Newton
Aladin Alaily wrote: Would you use a .tag to produce the effect described above? If you mean a JSP 2.0 custom tag written in JSP, then sure. I'd also be wary of using other custom tags inside a tag like that, although I guess I've never tried it. Dave

Re: Custom tag question

2006-04-10 Thread Aladin Alaily
Hi Dave, I'm also wary of doing such a thing (hence why I'm posting here) because I would essentially be mimicking the servlet container's job. Now if it's possible to do what I'm trying to with files then I'll give that a shot instead. Thanks. Aladin Dave Newton wrote: Aladin Alaily

Re: Custom tag question

2006-04-10 Thread Aladin Alaily
... with tag files ... Aladin Alaily wrote: Hi Dave, I'm also wary of doing such a thing (hence why I'm posting here) because I would essentially be mimicking the servlet container's job. Now if it's possible to do what I'm trying to with files then I'll give that a shot instead.

Re: trying to get a Collection from my jsp

2006-04-10 Thread ot 811
Kid, I try to get a collection from my jsp to my form bean. do you mean that you get the exception when you POST from the JSP ? Struts will not call your setPrestationsComptage(List prestationsComptage) method. Instead you must used indexed properties. see:

Re: Usage of Clay in portal environment

2006-04-10 Thread Phanidhar Adusumilli
But I have seen some code in ClayViewHandler that casts the response to ServletResponse. This is in RenderView method. The code is as follows: ServletResponse response = (ServletResponse) context.getExternalContext ().getResponse(); Following this line, the ServletResponse is used to get

Re: how to include a do url?

2006-04-10 Thread 王曾wang_zeng
OK. I have checked it out,so great. Sorry, I reply so late. cos the place where I live is opposite to the place where you live on this earth. When you get up,I am going to sleep. 2006/4/10, Michael Jouravlev [EMAIL PROTECTED]: You can check out how I use it. This is main website of my

Re: [Shale] Clay

2006-04-10 Thread Gary VanMatre
Gary, I appreciate the information. Ok, here is what I have and it is not working. Bear with me, I am going to post the bulk of my files, though the= y are quite short. [web.xml] I didn't seen anything that didn't look correct in the web.xml snippet you provided. One thing to check is the

Re: [HELP] Problem with redirect attribute of forward tag

2006-04-10 Thread Pham Anh Tuan
hiz ... thank you very much Dave :) - Original Message - From: Dave Newton [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Monday, April 10, 2006 10:11 PM Subject: Re: [HELP] Problem with redirect attribute of forward tag Pham Anh Tuan wrote: I got

Re: [HELP] how do I catch url like http://www.myweb.com/mysite :(

2006-04-10 Thread Pham Anh Tuan
Thanks Dave, I try following your instructions. again, thank you! :) bowlkhin - Original Message - From: Dave Newton [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Monday, April 10, 2006 10:07 PM Subject: Re: [HELP] how do I catch url like

Re: Usage of Clay in portal environment

2006-04-10 Thread Dakota Jack
These posts are supposed to be preceded by [SHALE] On 4/10/06, Phanidhar Adusumilli [EMAIL PROTECTED] wrote: Can Clay be used in portlets as it is or do we need to customize it.? we would like to use it weblogic portal environment. -- You can lead a horse to water but you cannot make it