Re: Alternate ViewController

2007-04-11 Thread Gary VanMatre
>From: "JS Portal Support" <[EMAIL PROTECTED]> > > Hi, > > Though this primarily is a jsf question, I place it here since it might > involve the Clay viewhandler. > > I wish to implement a viewhandler that can understand the following > navigation rule, and followed the steps as described in

Re: I want to build Shale with JSF ref implementation.

2007-04-11 Thread apurva mistry
Thank you very much Craig and Wendy! I will be implementing Shale's clay with IBM JSF implementation. I will be posting more questions if I run into any problem. Thanks Apurva. Craig McClanahan <[EMAIL PROTECTED]> wrote: On 4/10/07, Wendy Smoak wrote: > On 4/10/07, apurva mistry wrote:

Re: SV: Shale Build Error - Lifecycle class not found

2007-04-11 Thread Torsten Krah
Running 2.0.6 :-(

RE: Clay nested templates

2007-04-11 Thread JS Portal Support
makes phasing JSP out possible in stead of having to do a complete changeover at once. And extending views... gotta love it! Cheers, Joost -Original Message- From: Gary VanMatre [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 11, 2007 5:28 AM To: user@shale.apache.org Subject: Re: Clay n

Re: I want to build Shale with JSF ref implementation.

2007-04-10 Thread Craig McClanahan
On 4/10/07, Wendy Smoak <[EMAIL PROTECTED]> wrote: On 4/10/07, apurva mistry <[EMAIL PROTECTED]> wrote: > I downloaded shale-framework-1.1.0-SNAPSHOT, and ran maven build. I build against the JavaServer Faces Reference Implementation by adding -Djsf=ri to the command line. But not sure if it

Re: I want to build Shale with JSF ref implementation.

2007-04-10 Thread Wendy Smoak
On 4/10/07, apurva mistry <[EMAIL PROTECTED]> wrote: I downloaded shale-framework-1.1.0-SNAPSHOT, and ran maven build. I build against the JavaServer Faces Reference Implementation by adding -Djsf=ri to the command line. But not sure if it really generated the jars with JSF ref implementati

Re: Clay nested templates

2007-04-10 Thread Gary VanMatre
>Hi, > >I'm experimenting with Clay and I like it. A few things are not quite clear >to me though. I can make my page /user_calendar.jsf work with the following >clay config: > > > > > > > > > > > > > > > > > >But I wish to insert another template inside a template, and thought the >following migh

RE: Shale Build Error - Lifecycle class not found

2007-04-10 Thread Torsten Krah
Deleted the repository before i wrote the mail, did not help. Cleaned out the project completly and trying to build, with or without skip flag, now i get: [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] [INFO] Compiling 57 source fil

Re: How do i post new message?

2007-04-08 Thread apurva mistry
Thanks Wendy! Wendy Smoak <[EMAIL PROTECTED]> wrote: On 4/8/07, apurva mistry wrote: > Just joined the Shale user group. > I want to implement Shale's clay, and not sure where to get the jar files and > javadoc for the same. I have been through the shale's clay page, but couldn't > find a w

Re: Clay Symbols aren't namespace aware - would be nice to have, wouldnt it?

2007-04-08 Thread Torsten Krah
able component too. You can also add an > extends attribute. > > http://myfaces.apache.org/tomahawk"; extends="mytable" > > >Should this work, is this a bug? Or is this correct behaviour? > > > > > I tried to model it like an XML namespace but the

RE: Clay - how to set locale Parameter for f:view in html/xml views?

2007-04-08 Thread Torsten Krah
Yeah might be, really lost track of this issue a little bit, although it was my question in 11/06. And i hope i am wrong now with my question: Is a EL Expression supported at: works but which points to a session bean named index for the user which got an english locale, although the vie

Re: How do i post new message?

2007-04-08 Thread Wendy Smoak
On 4/8/07, apurva mistry <[EMAIL PROTECTED]> wrote: Just joined the Shale user group. I want to implement Shale's clay, and not sure where to get the jar files and javadoc for the same. I have been through the shale's clay page, but couldn't find a way to download jar or other sample apps for

RE: Clay - how to set locale Parameter for f:view in html/xml views?

2007-04-08 Thread Gary VanMatre
>Hi again - did not create the issue yet ( yeah should really do this ), >but saw the file AssignViewRootCommand.java, which mentioned the locale. >Is it already possible yet, to support the locale UIViewRoot attribute? > >If yes, how to to so in clay templates? > It is possible and I think it was

RE: Clay - how to set locale Parameter for f:view in html/xml views?

2007-04-08 Thread Torsten Krah
Hi again - did not create the issue yet ( yeah should really do this ), but saw the file AssignViewRootCommand.java, which mentioned the locale. Is it already possible yet, to support the locale UIViewRoot attribute? If yes, how to to so in clay templates? kind regards Torsten smime.p7s Descri

RE: Using validators with Clay

2007-04-02 Thread Richard Eggert
That worked. Thanks! Rich Eggert Member of Technical Staff Proteus Technologies, LLC http://www.proteus-technologies.com -Original Message- From: Gary VanMatre [mailto:[EMAIL PROTECTED] Sent: Fri 3/30/2007 6:28 PM To: user@shale.apache.org Subject: Re: Using validators with Clay

RE: Tomahawk's enabledOnUserRole attribute and Clay

2007-04-01 Thread Richard Eggert
I'm using the one that's packaged with 1.0.4. Rich Eggert Member of Technical Staff Proteus Technologies, LLC http://www.proteus-technologies.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tue 3/27/2007 2:03 AM To: user@shale.apache.org S

Re: JSF and Servlet

2007-04-01 Thread paksegu
Okay Thanks Craig McClanahan <[EMAIL PROTECTED]> wrote: On 4/1/07, paksegu wrote: > First I was trying to convert a servlet code to pojo so i can call them from > JSF as manage beans but i ran into the problem of ServletContext and > getServletConfig methods and thats where I am stuck at. Whe

Re: JSF and Servlet

2007-04-01 Thread Craig McClanahan
On 4/1/07, paksegu <[EMAIL PROTECTED]> wrote: First I was trying to convert a servlet code to pojo so i can call them from JSF as manage beans but i ran into the problem of ServletContext and getServletConfig methods and thats where I am stuck at. When you are in a JSF request, you can get to

Re: JSF and Servlet

2007-04-01 Thread paksegu
First I was trying to convert a servlet code to pojo so i can call them from JSF as manage beans but i ran into the problem of ServletContext and getServletConfig methods and thats where I am stuck at. Craig McClanahan <[EMAIL PROTECTED]> wrote: On 4/1/07, paksegu wrote: > Hi, > Can you call a

Re: JSF and Servlet

2007-04-01 Thread Craig McClanahan
On 4/1/07, paksegu <[EMAIL PROTECTED]> wrote: Hi, Can you call a servlet/methods from a JSF app just as you can with manage beans? Thanks The short answer is yes, but it might help to understand a little bit more about what you are trying to do. A JSF application *is* a servlet based app

Re: Using validators with Clay

2007-03-30 Thread Gary VanMatre
>I've been trying to get a custom validator working with Clay, but so far I >haven't figured out how to do it. > >I have a class named "a.b.c.IPAddressValidator" that validates that a String >is >a valid dotted-decimal IP address, as its name implies. I've registered in my >faces-config under

RE: Tomahawk's enabledOnUserRole attribute and Clay

2007-03-30 Thread hermod.opstvedt
Hi Which Clay tomahawk component config file are you using? Have you tried with 1.1.5-SNAPSHOT and the config file in the trunk? Hermod -Original Message- From: Richard Eggert [mailto:[EMAIL PROTECTED] Sent: Monday, March 26, 2007 11:37 PM To: user@shale.apache.org Subject: Tomahawk's e

Re: JSF Validator on select menus only getting used once.

2007-03-29 Thread Mike Kienenberger
On 3/29/07, Jason Vincent <[EMAIL PROTECTED]> wrote: I wonder if JSF is considering the -1 as a value that needs to be validated and a "" as something it doesn't. On the html side, "" is equivalent to null. So if there's no value, then the validators don't run.

RE: JSF Validator on select menus only getting used once.

2007-03-29 Thread Baker,Jonathan
: Thursday, March 29, 2007 2:14 PM To: user@shale.apache.org Subject: Re: JSF Validator on select menus only getting used once. just had an after thought... when I don't change the first select it is still running the validator on that first select menu. There is a difference between th

Re: JSF Validator on select menus only getting used once.

2007-03-29 Thread Jason Vincent
e > pulldown has changed? I think I remember that happening to me. I > believe that the required check runs no matter what, but the validations > only run if values change. > > > JB > > -Original Message- > From: Mike Kienenberger [mailto:[EMAIL PROTECTED] > Sent:

RE: JSF Validator on select menus only getting used once.

2007-03-29 Thread Baker,Jonathan
Making the field required would ensure that "" could not be submitted. JB -Original Message- From: Jason Vincent [mailto:[EMAIL PROTECTED] Sent: Thursday, March 29, 2007 2:04 PM To: user@shale.apache.org Subject: Re: JSF Validator on select menus only getting used once.

Re: JSF Validator on select menus only getting used once.

2007-03-29 Thread Jason Vincent
check runs no matter what, but the validations only run if values change. JB -Original Message- From: Mike Kienenberger [mailto:[EMAIL PROTECTED] Sent: Thursday, March 29, 2007 1:54 PM To: user@shale.apache.org Subject: Re: JSF Validator on select menus only getting used once. That'

Re: JSF Validator on select menus only getting used once.

2007-03-29 Thread Jason Vincent
It is pretty simple... here is the validator class... public class SelectOneMenuValueValidator implements Validator { private static final Log LOGGER = LogFactory.getLog(SelectOneMenuValueValidator.class); public void validate(FacesContext context, UIComponent component, Object value) {

RE: JSF Validator on select menus only getting used once.

2007-03-29 Thread Baker,Jonathan
:[EMAIL PROTECTED] Sent: Thursday, March 29, 2007 1:54 PM To: user@shale.apache.org Subject: Re: JSF Validator on select menus only getting used once. That's pretty weird. It looks ok as far as I can tell. I would also think that each component would have its own instance of the validator.

Re: JSF Validator on select menus only getting used once.

2007-03-29 Thread Mike Kienenberger
That's pretty weird. It looks ok as far as I can tell. I would also think that each component would have its own instance of the validator. Maybe there's something strange in your validator code? Are you maintaining any kind of static state? On 3/29/07, Jason Vincent <[EMAIL PROTECTED]> wrote

RE: SV: Shale, Clay, Facelets and JSF Templating

2007-03-28 Thread Kito D. Mann
5:46 PM > To: user@shale.apache.org; [EMAIL PROTECTED] > Subject: Re: SV: Shale, Clay, Facelets and JSF Templating > > Thanks > > Hermod Opstvedt <[EMAIL PROTECTED]> wrote: Hi > > This seems like a total mess. Keep with one of them (If > siplicity/functionality cou

Re: SV: Shale, Clay, Facelets and JSF Templating

2007-03-28 Thread paksegu
he.org Emne: RE: Shale, Clay, Facelets and JSF Templating Ransford, Just out of curiosity, why are you interested in using Clay, Facelets, and JSF Templatin in the same application, since they all solve the same problem? ~~~ Kito D

RE: Shale, Clay, Facelets and JSF Templating

2007-03-28 Thread paksegu
I was thinking that the might be advantages and disadvantages, I wasn't too sure I would be able to use the EL expression langauge in shale and also I was thinking of combining the woodstock components with JSF templating to create UI for media/image album display component. Thanks "Kito D. M

RE: Shale, Clay, Facelets and JSF Templating

2007-03-28 Thread Kito D. Mann
Ransford, Just out of curiosity, why are you interested in using Clay, Facelets, and JSF Templatin in the same application, since they all solve the same problem? ~~~ Kito D. Mann - Author, JavaServer Faces in Action http://www.JSFCe

Re: Tomahawk's enabledOnUserRole attribute and Clay

2007-03-27 Thread Mike Kienenberger
I've opened http://issues.apache.org/jira/browse/TOMAHAWK-942 on this. On 3/27/07, Gary VanMatre <[EMAIL PROTECTED]> wrote: >From: "Mike Kienenberger" <[EMAIL PROTECTED]> > > Gary, I see this as a tomahawk bug. I'm pretty sure I looked at this > a couple weeks ago and noticed that the renderer w

Re: Tomahawk's enabledOnUserRole attribute and Clay

2007-03-27 Thread Mike Kienenberger
Yes, I brought it up on the myfaces dev list, but didn't get any comments. I guess I'll open a JIRA issue and take a look at it the next time I have the code checked out. I don't think we have any instances of a new tag handler but not a new component subclass. Yes, the tenative plan is that T

Re: Tomahawk's enabledOnUserRole attribute and Clay

2007-03-27 Thread Gary VanMatre
>From: "Mike Kienenberger" <[EMAIL PROTECTED]> > > Gary, I see this as a tomahawk bug. I'm pretty sure I looked at this > a couple weeks ago and noticed that the renderer was being set inside > the JSP tag handler rather than in the component. Seems like setting > it from the taghandler is the

Re: Tomahawk's enabledOnUserRole attribute and Clay

2007-03-27 Thread Mike Kienenberger
Gary, I see this as a tomahawk bug. I'm pretty sure I looked at this a couple weeks ago and noticed that the renderer was being set inside the JSP tag handler rather than in the component. Seems like setting it from the taghandler is the wrong approach. Breaks anything other than the jsp view

Re: SV: Tomahawk's enabledOnUserRole attribute and Clay

2007-03-27 Thread Gary VanMatre
not convinced that we do not need to package the various library configs for the stateful converters, validators and listeners. > Hermod > Gary > -Opprinnelig melding- > Fra: Gary VanMatre [mailto:[EMAIL PROTECTED] > Sendt: 27. mars 2007 17:06 > Til: user@sha

RE: Tomahawk's enabledOnUserRole attribute and Clay

2007-03-27 Thread Richard Eggert
user@shale.apache.org Subject: Re: Tomahawk's enabledOnUserRole attribute and Clay >Perhaps I'm overlooking something here, but from the testing I did this >afternoon, it appears that the "enabledOnUserRole" attribute provided with >most >of Tomahawk's components

Re: Tomahawk's enabledOnUserRole attribute and Clay

2007-03-27 Thread Gary VanMatre
>Perhaps I'm overlooking something here, but from the testing I did this >afternoon, it appears that the "enabledOnUserRole" attribute provided with >most >of Tomahawk's components doesn't work at all in Clay HTML templates. However, >it does work properly when I use straight JSP/JSF without C

Re: URLs and backing beans

2007-03-26 Thread Brad Smith
While looking further into this issue I ran across this web page: http://www.jsffaq.com/Wiki.jsp?page=HowToMaskActualURLToTheJSFPage which is a copy of the response in this forum thread: http://forum.java.sun.com/thread.jspa?forumID=427&threadID=511578 The solution advocated here is a custom Vi

Re: URLs and backing beans

2007-03-25 Thread Brad Smith
Thanks Craig. Your suggestion on URL syntax is better. It would be very useful to have a simple RESTful URL mechanism in JSF. Greetings from Bend. Brad On Sun, 2007-03-25 at 16:44 -0700, Craig McClanahan wrote: > Perhaps > > http://localhost:8080/myapp/projects/office2.html > > might be a

Re: URLs and backing beans

2007-03-25 Thread Craig McClanahan
On 3/25/07, Brad Smith <[EMAIL PROTECTED]> wrote: Thanks Kito. I was also considering a servlet filter approach but am leaning towards a custom Processor implementation based on Shale's remoting as you and Rahul recommend. My only lingering concern is the need to have the url end in the same ex

RE: URLs and backing beans

2007-03-25 Thread Brad Smith
Thanks Kito. I was also considering a servlet filter approach but am leaning towards a custom Processor implementation based on Shale's remoting as you and Rahul recommend. My only lingering concern is the need to have the url end in the same extension that the JSF servlet is expecting (html in t

RE: URLs and backing beans

2007-03-24 Thread Kito D. Mann
Brad, I often use a Servlet filter for this type of stuff, but a cleaner approach might be to use Shale Remoting (http://shale.apache.org/remoting). The process() method in your MethodBindingProcessor (http://shale.apache.org/1.0.4/shale-remoting/apidocs/org/apache/shale/remot ing/impl/MethodBindi

Re: URLs and backing beans

2007-03-24 Thread Brad Smith
Thank you Rahul. Yes the RESTful-ness is intentional. I will look these references over. Brad On Sat, 2007-03-24 at 12:12 -0400, Rahul Akolkar wrote: > > > > > The RESTful-ness of the URLs (if that was intentional) makes it seem > like Shale Remoting [1] could be helpful here. In which case,

Re: SV: URLs and backing beans

2007-03-24 Thread Brad Smith
Thank you for the reply Hermod. I should have added that in response to a url such as those in the original post, the application would return a web page with a list of projects that are active at each office. The goal is to have a bookmarkable URL without creating separate view controllers for e

Re: URLs and backing beans

2007-03-24 Thread Rahul Akolkar
On 3/24/07, Brad Smith <[EMAIL PROTECTED]> wrote: I have an application which needs to handle urls that have the following patterns: http://localhost:8080/myapp/projects/office1 http://localhost:8080/myapp/projects/office2 http://localhost:8080/myapp/projects/office2/subofficeA Conceptually I

Re: validation required

2007-03-22 Thread Hasan Turksoy
hi Sanjay, sorry for late response but our project in a hard deployment process in these days... since my project restricts code distribution, i've created a demo project that demonstrates the RequiredValidatorChecker usage... note that this may not be the best/recommendable solution for everyone

RE: prerender() not called on my tiles

2007-03-21 Thread JS Portal Support
portal.com -Original Message- From: Gary VanMatre [mailto:[EMAIL PROTECTED] Sent: Thursday, March 22, 2007 6:02 AM To: user@shale.apache.org Subject: Re: prerender() not called on my tiles >From: "Greg Reddin" <[EMAIL PROTECTED]> > > On 3/20/07, Gary VanMatre wr

Re: prerender() not called on my tiles

2007-03-21 Thread Gary VanMatre
>From: "Greg Reddin" <[EMAIL PROTECTED]> > > On 3/20/07, Gary VanMatre wrote: > > > > We sure need a tiles example app for Shale. > > > Yeah, one of these days I really need to start using Tiles 2 with a JSF > app. I'm really behind the curve on that one :-) > Well, if your using facelets,

Re: prerender() not called on my tiles

2007-03-21 Thread Greg Reddin
On 3/20/07, Gary VanMatre <[EMAIL PROTECTED]> wrote: We sure need a tiles example app for Shale. Yeah, one of these days I really need to start using Tiles 2 with a JSF app. I'm really behind the curve on that one :-) Greg

RE: prerender() not called on my tiles

2007-03-21 Thread JS Portal Support
pport Dasstraat 21 2623CB Delft the NetherlandsW: www.jsportal.com -Original Message- From: Gary VanMatre [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 21, 2007 2:51 PM To: user@shale.apache.org Subject: RE: prerender() not called on my tiles >From: "JS Portal Support"

RE: prerender() not called on my tiles

2007-03-20 Thread Gary VanMatre
JS Portal - Support > Dasstraat 21 > 2623CB Delft > the Netherlands > W: www.jsportal.com > Gary > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 20, 2007 6:58 PM > To: user@shale.apache.org > Subject: RE

RE: prerender() not called on my tiles

2007-03-20 Thread JS Portal Support
2623CB Delft the Netherlands W: www.jsportal.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 20, 2007 6:58 PM To: user@shale.apache.org Subject: RE: prerender() not called on my tiles Hi Have you made sure that there is a in case of validation

Re: [validator] conversion error while validating listbox component's value

2007-03-20 Thread Mike Kienenberger
http://myfaces.apache.org/sandbox/subForm.html contains: There can be several comma-separated entries in the actionFor-attribute - with this, it's possible to validate and update more than one subForm at once. I haven't tried this combination, but it sounds like it would do what you requested.

Re: validation required

2007-03-20 Thread Sanjay Choudhary
Hi Hasan, I read your blog and was quite pleased after reading it. It it possible to share the code? It will be nice if you can zip it up in a small sample project. It can be very simple and Form may have just one required field that uses JSF validator. Later , we can enhance it to support othe

Re: validation required

2007-03-20 Thread Hasan Turksoy
I took a look on the url you provided and on the wiki I also read that the 'required' validator is a special case. The JSF framework will only call a Validator if a value was submitted. Usually, you would set required="true" as an attribute on the input component. If I set requied=true on the in

RE: [validator] conversion error while validating listbox component's value

2007-03-20 Thread hermod.opstvedt
[mailto:[EMAIL PROTECTED] Sent: Tuesday, March 20, 2007 1:58 PM To: user@shale.apache.org Subject: Re: [validator] conversion error while validating listbox component's value >>Tomahawk sandbox subForm (and probably others like Trinidad's subForm) >>will allow you to do va

Re: [validator] conversion error while validating listbox component's value

2007-03-20 Thread Hasan Turksoy
Tomahawk sandbox subForm (and probably others like Trinidad's subForm) will allow you to do validation grouping like you've specified below. infact subforms can not handle all our requirements.. because we need to validate "crossform" fields too... suppose we are required to validate ( Form1.fie

RE: prerender() not called on my tiles

2007-03-19 Thread hermod.opstvedt
Hi Have you made sure that there is a in case of validation errors. Also have you checked your servers log files for any errors? Hermod -Original Message- From: JS Portal Support [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 20, 2007 7:05 AM To: user@shale.apache.org Subject: RE

RE: prerender() not called on my tiles

2007-03-19 Thread JS Portal Support
PROTECTED] Sent: Tuesday, March 20, 2007 5:40 PM To: user@shale.apache.org Subject: RE: prerender() not called on my tiles Hi Are the other lifecycle methods beeing called (init etc.) ? Hermod -Original Message- From: JS Portal Support [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 20, 2007 6

RE: prerender() not called on my tiles

2007-03-19 Thread hermod.opstvedt
Hi Are the other lifecycle methods beeing called (init etc.) ? Hermod -Original Message- From: JS Portal Support [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 20, 2007 6:26 AM To: user@shale.apache.org Subject: prerender() not called on my tiles Hi, I am combining shale and tiles. W

Re: validation required

2007-03-19 Thread Sanjay Choudhary
mod Opstvedt <[EMAIL PROTECTED]> wrote: Hei Take a look at [1]. Notice the usage of the arg parameter. [1] http://shale.apache.org/shale-validator/index.html Hermod -Opprinnelig melding- Fra: Sanjay Choudhary [mailto:[EMAIL PROTECTED] Sendt: 19. mars 2007 21:14 Til: user@shale.apac

Re: validation required

2007-03-19 Thread Sanjay Choudhary
Hermod and Gary, > tried as per Gary's suggestion, nothing appeared I read Gar

Re: validation required

2007-03-19 Thread Gary VanMatre
>From: "Sanjay Choudhary" <[EMAIL PROTECTED]> > > I am not sure what I am missing here... snippet from my JSP is > >value="#{bp.firstName}" id="firstName" >required="true" size="30"> >server="tru

Re: [validator] conversion error while validating listbox component's value

2007-03-19 Thread Mike Kienenberger
Tomahawk sandbox subForm (and probably others like Trinidad's subForm) will allow you to do validation grouping like you've specified below. On 3/19/07, Hasan Turksoy <[EMAIL PROTECTED]> wrote: >>Sounds like your doing some creating stuff with the validator. Yes, i've customized so many parts a

Re: [validator] conversion error while validating listbox component's value

2007-03-19 Thread Hasan Turksoy
hi, javax.faces.ServletException: "You have requested a conversion for type [ Lmy.app.CarType;, but there is no by-type converter registered for this type" as seen from exception above, a converter for string array is not needed.. in fact, exception says it can not find converter for "array of m

Re: [validator] conversion error while validating listbox component's value

2007-03-16 Thread Gary VanMatre
>From: "Hasan Turksoy" <[EMAIL PROTECTED]> > > i have implemented a workaround for this serverside required problem... > shortly: if validatorscript sets the required attribute, as you say, JSF > won't call my serverside validator when that field's value is empty... to > overcome this, i've com

Re: Defining mask globally

2007-03-16 Thread Sanjay Choudhary
Value(context); ---> > > > this returns null. > > > } else { > > > return expression; > > > } > > > } > > > > > > Thing I don't understand is why will it return null in scenerio 2 > > whereas it > > > is su

Re: [validator] conversion error while validating listbox component's value

2007-03-16 Thread Hasan Turksoy
i have implemented a workaround for this serverside required problem... shortly: if validatorscript sets the required attribute, as you say, JSF won't call my serverside validator when that field's value is empty... to overcome this, i've commented the validatorscript's required attribute setting

Re: [validator] conversion error while validating listbox component's value

2007-03-16 Thread Gary VanMatre
>From: "Hasan Turksoy" <[EMAIL PROTECTED]> > > hi, > > i have a problem about using commons-validator(CV) with selectmanylistbox of > my JSF pages'.. the problem is; CV trying to convert my listboxes' value(an > Array of objects) to string to make a required validation... And it throws > belo

Re: Defining mask globally

2007-03-15 Thread Gary VanMatre
> > > this returns null. > > > } else { > > > return expression; > > > } > > > } > > > > > > Thing I don't understand is why will it return null in scenerio 2 > > whereas it > > > is successful in finding the same in sc

Re: Defining mask globally

2007-03-15 Thread Sanjay Choudhary
y > > On 3/15/07, Hermod Opstvedt wrote: > > > > Hi > > > > Since I use Clay, I solve this with symbols. Clay really makes life simple > > in these cases. Try using the validators "message" attribute along with > > the > > resourcebundle lookup. > >

Re: Defining mask globally

2007-03-15 Thread Gary VanMatre
there anyother way /solution to use the global masks. FYI, I am now > using 1.1.0-SNAPSHOT version > > -Sanjay > > On 3/15/07, Hermod Opstvedt wrote: > > > > Hi > > > > Since I use Clay, I solve this with symbols. Clay really makes life simple > &

Re: Defining mask globally

2007-03-15 Thread Sanjay Choudhary
symbols. Clay really makes life simple in these cases. Try using the validators "message" attribute along with the resourcebundle lookup. Hermod -Opprinnelig melding- Fra: Sanjay Choudhary [mailto:[EMAIL PROTECTED] Sendt: 15. mars 2007 16:45 Til: user@shale.apache.org Emne:

Re: Defining mask globally

2007-03-15 Thread Sanjay Choudhary
]> wrote: Hi Haven't had a look at the code yet, but could you try: Hermod -Original Message- From: Sanjay Choudhary [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 14, 2007 11:03 PM To: user@shale.apache.org; [EMAIL PROTECTED] Subject: Re: Defining mask globally Hi Hermo

RE: Strange behavior from tags when using Clay HTML templates

2007-03-15 Thread Gary VanMatre
ies, LLC > http://www.proteus-technologies.com > > > > -Original Message- > From: Gary VanMatre [mailto:[EMAIL PROTECTED] > Sent: Wed 3/14/2007 9:56 PM > To: user@shale.apache.org > Subject: Re: Strange behavior from tags when using Clay HTML templates > >

RE: Strange behavior from tags when using Clay HTML templates

2007-03-15 Thread Richard Eggert
Okay, I've reported it as SHALE-426. Rich Eggert Member of Technical Staff Proteus Technologies, LLC http://www.proteus-technologies.com -Original Message- From: Gary VanMatre [mailto:[EMAIL PROTECTED] Sent: Wed 3/14/2007 9:56 PM To: user@shale.apache.org Subject: Re: Strange beh

RE: SV: Re: basic dialog nullpointerexception

2007-03-15 Thread hermod.opstvedt
-Original Message- From: Veit Guna [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 14, 2007 11:06 PM To: user@shale.apache.org Subject: Re: SV: Re: basic dialog nullpointerexception Hi. After I switched my local project to another version (different workspace), it indeeded stopped working with

RE: Defining mask globally

2007-03-15 Thread hermod.opstvedt
Hi Haven't had a look at the code yet, but could you try: Hermod -Original Message- From: Sanjay Choudhary [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 14, 2007 11:03 PM To: user@shale.apache.org; [EMAIL PROTECTED] Subject: Re: Defining mask globally Hi Hermod, I am

Re: SV: SV: Re: basic dialog nullpointerexception

2007-03-15 Thread Veit Guna
My project needs Java5, so it wouldn't be a solution for me... Original-Nachricht Datum: Thu, 15 Mar 2007 05:28:24 +0100 Von: Hermod Opstvedt <[EMAIL PROTECTED]> An: user@shale.apache.org CC: Betreff: SV: SV: Re: basic dialog nullpointerexception > Hi > >

SV: SV: Re: basic dialog nullpointerexception

2007-03-14 Thread Hermod Opstvedt
Hi Try it with jdk 1.4 on 5.5.23 and see what happens then. Hermod -Opprinnelig melding- Fra: Veit Guna [mailto:[EMAIL PROTECTED] Sendt: 14. mars 2007 23:06 Til: user@shale.apache.org Emne: Re: SV: Re: basic dialog nullpointerexception Hi. After I switched my local project to

Re: Strange behavior from tags when using Clay HTML templates

2007-03-14 Thread Gary VanMatre
>From: "Richard Eggert" <[EMAIL PROTECTED]> > > I'm having an issue using anchor () tags that are explicitly mapped to > h:commandLink (implicitly mapped tags don't work at all in this case). > > Consider the following HTML template named bugTest.html loaded via an XML > view > named "/bugTes

Re: SV: Re: basic dialog nullpointerexception

2007-03-14 Thread Veit Guna
[EMAIL PROTECTED] > Sendt: 12. mars 2007 20:34 > Til: user@shale.apache.org > Emne: SV: Re: basic dialog nullpointerexception > > Hi again. > > I upgraded my Tomcat 5.5.17 installation (it wasn't 5.5.16) to tomcat 5.5.23 > and now the BasicLifecycleListener gets invoked.

Re: Defining mask globally

2007-03-14 Thread Sanjay Choudhary
Hi Hermod, I am using version 1.0.4 of shale-validator. Is this the right approach to manage the regex for the mask? I also double checked about typo error, that error was in email message but not in the code. Thanks On 3/14/07, Hermod Opstvedt <[EMAIL PROTECTED]> wrote: Hi Another ques

SV: Re: basic dialog nullpointerexception

2007-03-14 Thread Hermod Opstvedt
Guna [mailto:[EMAIL PROTECTED] Sendt: 12. mars 2007 20:34 Til: user@shale.apache.org Emne: SV: Re: basic dialog nullpointerexception Hi again. I upgraded my Tomcat 5.5.17 installation (it wasn't 5.5.16) to tomcat 5.5.23 and now the BasicLifecycleListener gets invoked. Seemed to be a problem

Re: JSF 1.2 and Shale Tiles problem

2007-03-13 Thread Greg Reddin
On 3/13/07, Mads Henderson <[EMAIL PROTECTED]> wrote: Are there anybody that have a working view handler for the current jsf 1.2and tiles core? I have not tried to use Tiles with JSF 1.2 as of yet. Sorry for the lack of information so far. :-) Greg

Re: JSF 1.2 and Shale Tiles problem

2007-03-13 Thread Mads Henderson
I have found the following: http://issues.apache.org/struts/browse/SHALE-302 http://forum.java.sun.com/thread.jspa?threadID=770686&messageID=4408064 It seems that a bug was reported against the TilesViewHandler in October 2006. Are there anybody that have a working view handler for the current j

Re: shale dialog handling

2007-03-13 Thread Veit Guna
> > But what about the usecase of using other links like a menu? I don't > want to put every outcome on the page to the dialog configuration. > Right now, short of adding all the appropriate transitions to every > view state (yuck), the only mechanism I can think of that might deal > with this is t

Re: shale dialog handling

2007-03-13 Thread Craig McClanahan
ansitioning from one approach to another -- or you need sophisticated capabilities only for a portion of your app. Veit Craig Original-Nachricht Datum: Tue, 13 Mar 2007 09:30:42 -0700 Von: "Craig McClanahan" <[EMAIL PROTECTED]> An: user@shale.apache.o

Re: shale dialog handling

2007-03-13 Thread Veit Guna
t what are the major differences between shale-dialog and spring webflow? Veit Original-Nachricht Datum: Tue, 13 Mar 2007 09:30:42 -0700 Von: "Craig McClanahan" <[EMAIL PROTECTED]> An: user@shale.apache.org CC: Betreff: Re: shale dialog handling > On 3/13/

Re: shale dialog handling

2007-03-13 Thread Craig McClanahan
On 3/13/07, Veit Guna <[EMAIL PROTECTED]> wrote: > The current design assumption is that you can only have one active > dialog per window (or frame), and that you want to control the > lifetime. Hm. Is the lifetime of the dialog not implicitly configured through the xml? There's a start point

Re: shale dialog handling

2007-03-13 Thread Veit Guna
> The current design assumption is that you can only have one active > dialog per window (or frame), and that you want to control the > lifetime. Hm. Is the lifetime of the dialog not implicitly configured through the xml? There's a start point and an end point. That seems sufficient to me to sp

Re: shale dialog handling

2007-03-12 Thread Craig McClanahan
On 3/12/07, Veit Guna <[EMAIL PROTECTED]> wrote: Hi. I'm new to the shale dialog component and I'm evaluating whether to use it in my webapp. Since documentation is a bit poor, I hope somebody can clear things up for me. First thing I encountered was, that a dialog can't be started "twice". I h

Re: Re: basic dialog nullpointerexception

2007-03-12 Thread Craig McClanahan
it Guna" <[EMAIL PROTECTED]> An: user@shale.apache.org CC: Betreff: Re: basic dialog nullpointerexception > I'm using tomcat 5.5.16. > > > Original-Nachricht > Datum: Mon, 12 Mar 2007 05:31:50 -0700 > Von: "Craig McClanahan" <[EMAIL PRO

SV: Re: basic dialog nullpointerexception

2007-03-12 Thread Veit Guna
a" <[EMAIL PROTECTED]> An: user@shale.apache.org CC: Betreff: Re: basic dialog nullpointerexception > I'm using tomcat 5.5.16. > > > Original-Nachricht > Datum: Mon, 12 Mar 2007 05:31:50 -0700 > Von: "Craig McClanahan" <[EMAIL PRO

Re: basic dialog nullpointerexception

2007-03-12 Thread Veit Guna
I'm using tomcat 5.5.16. Original-Nachricht Datum: Mon, 12 Mar 2007 05:31:50 -0700 Von: "Craig McClanahan" <[EMAIL PROTECTED]> An: user@shale.apache.org CC: Betreff: Re: basic dialog nullpointerexception > On 3/12/07, Veit Guna <[EMAIL PROTECTED]&

Re: basic dialog nullpointerexception

2007-03-12 Thread Craig McClanahan
On 3/12/07, Veit Guna <[EMAIL PROTECTED]> wrote: Hi. I'm trying to get the basic dialog feature of shale 1.0.4 working. I've added the jars view, dialog, basic-dialog, core to my classpath and created a dialog xml file in WEB-INF. Now when I try in a h:commandLink an action like "dialog:myDial

<    2   3   4   5   6   7   8   9   10   11   >