[shale] nightly builds?

2006-06-28 Thread Ryan Wynn
Have the nightly builds moved completely into the maven repositories? I couldn't find any at http://people.apache.org/builds/struts/nightly/struts-shale/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: [shale] symbol replacement on a symbol?

2006-06-26 Thread Ryan Wynn
On 6/26/06, Gary VanMatre <[EMAIL PROTECTED]> wrote: >From: "Ryan Wynn" <[EMAIL PROTECTED]> > > I think that there may be a good case for symbol replacement on a > symbol. Here is what I was trying to do: > > class MyBean { > String prop = "prop

[shale] symbol replacement on a symbol?

2006-06-26 Thread Ryan Wynn
I think that there may be a good case for symbol replacement on a symbol. Here is what I was trying to do: class MyBean { String prop = "propValue"; public String getProp(); public void setProp(String string); } Client.html Template.html (bean and property agnostic)

[shale] component id + clay templates

2006-06-14 Thread Ryan Wynn
If a have a shared html template how can I parameterize component ids such that the template can be used more than once within the view? For example, if I have a within a reusable template, and I used the template twice in a view, I would get an error because the of duplicate ids in the faces

Re: [shale] extending clay

2006-06-07 Thread Ryan Wynn
Shale ticket http://issues.apache.org/struts/browse/SHALE-187 created for this. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [shale] extending clay

2006-06-07 Thread Ryan Wynn
On 6/7/06, Gary VanMatre <[EMAIL PROTECTED]> wrote: >From: <[EMAIL PROTECTED]> > > Hi > > What would be really nice is if you would make the plugin publically available. > I was intending to make it available. I had intended to get some basic functionality working before I did so. Right now

Re: [shale] extending clay

2006-06-06 Thread Ryan Wynn
Attached is my modified ClayXmlParser which digests description elements and sets them into extended ComponentBeans. My mistake, forgot to add digester rules for attributes and symbols. Attached is the fixed version. package clay_plugin.parser; import java.io.IOException; import java.io.InputSt

Re: [shale] extending clay

2006-06-06 Thread Ryan Wynn
On 6/6/06, Gary VanMatre <[EMAIL PROTECTED]> wrote: >From: "Ryan Wynn" <[EMAIL PROTECTED]> > I have had to work around the use of private instance variables in a > couple other scenarios in trying to build this plugin. I was just > wondering if anyone was

[shale] extending clay

2006-06-06 Thread Ryan Wynn
I'm writing an eclipse plugin to create a visual builder for clay components. What I would like to do is extend the ClayXmlParser to add a rule that will capture the description from the xml and set in into the ComponentBean. The reason I want to be able to do this is to display the description

Re: [shale] shale-test compiled for compatibility?

2006-05-22 Thread Ryan Wynn
On 5/22/06, Wendy Smoak <[EMAIL PROTECTED]> wrote: On 5/22/06, Ryan Wynn <[EMAIL PROTECTED]> wrote: > The exception is > > java.lang.UnsupportedClassVersionError: > org/apache/shale/test/base/AbstractViewControllerTestCase (Unsupported > major.minor version 48.0) I t

Re: [shale] shale-test compiled for compatibility?

2006-05-22 Thread Ryan Wynn
On 5/22/06, Ryan Wynn <[EMAIL PROTECTED]> wrote: On 5/22/06, Craig McClanahan <[EMAIL PROTECTED]> wrote: > On 5/22/06, Ryan Wynn <[EMAIL PROTECTED]> wrote: > > > > I think this may have been asked before but can someone please make > > sure that shale

Re: [shale] shale-test compiled for compatibility?

2006-05-22 Thread Ryan Wynn
On 5/22/06, Craig McClanahan <[EMAIL PROTECTED]> wrote: On 5/22/06, Ryan Wynn <[EMAIL PROTECTED]> wrote: > > I think this may have been asked before but can someone please make > sure that shale-test is being compiled such that it is compatible with > jdk 1.4. I am

[shale] shale-test compiled for compatibility?

2006-05-22 Thread Ryan Wynn
I think this may have been asked before but can someone please make sure that shale-test is being compiled such that it is compatible with jdk 1.4. I am getting some major-minor version errors when trying to run my unit tests against 1.4. Here is the information from my shale-test manifest: Man

Re: [shale] All Hail Shale

2006-05-16 Thread Ryan Wynn
On 5/16/06, Wendy Bossons <[EMAIL PROTECTED]> wrote: Hi, I'm new to this list. I'm looking at new frameworks for my app -- does anyone know when Shale will officially be released? Also, what is the benefit of it working with JSF? Wouldn't you want to do one or the other? Wendy, Shale augments

Re: [shale] clay jsfid=void

2006-05-15 Thread Ryan Wynn
Try the following: Remove Me Hey Gary, Soon after I created this email I noticed I had an unmatched tag. After I corrected this the void component worked properly. Is there any support to report on non well-formed templates? Thanks, Ryan

[shale] clay jsfid=void

2006-05-12 Thread Ryan Wynn
Hi, I'm have a little trouble with the clay void component which is supposed to remove the markup from the template at runtime. It works perfectly with this template Mock Title but not with this one Tutorial: PCS Counter PCS C

Re: [shale][clay] defining onClick() etc for components

2006-04-28 Thread Ryan Wynn
On 4/28/06, Ian.Priest <[EMAIL PROTECTED]> wrote: Try onchange and onselect instead of onChange and onSelect. I think case matters as dictated by the implementation of UISelectOne.

[shale] any public binary release available?

2006-04-26 Thread Ryan Wynn
Just wondering if there is anywhere I can get a binary release of shale. I looked at the release plans on the wiki for 1.0 and 1.0.1 and didn't see any checkmarks under GA. Thanks, Ryan

Re: [shale] Dynamic includes in clay

2006-04-18 Thread Ryan Wynn
On 4/18/06, Richard Wallace <[EMAIL PROTECTED]> wrote: > Is the viewId the dynamic page to be included or is it the base page > that includes the dynamic content? My situation is that I have a single > page, /report/default.html, and that is the only view that should ever > be the view root. With

Re: [shale] Dynamic includes in clay

2006-04-18 Thread Ryan Wynn
On 4/18/06, Richard Wallace <[EMAIL PROTECTED]> wrote: > The problem I'm running into is that when next or previous are clicked, > instead of the content for the next page being displayed,the content > from the first page is always displayed. I've checked by logic and made > sure the the value of

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 t

Re: [shale] Using t:radio in Clay

2006-03-24 Thread Ryan Wynn
On 3/24/06, Richard Wallace <[EMAIL PROTECTED]> wrote: > Gary VanMatre wrote: > > Oh, I missed that one. We need to override the t:selectOneRadio > > renderer. The JSP tag must be doing this in the tomahawk components > > since it's not in the faces-config.xml. Try the following: I think these

Re: [shale] clay generic templates and symbol replacement

2006-03-02 Thread Ryan Wynn
On 3/2/06, Ryan Wynn <[EMAIL PROTECTED]> wrote: > On 3/2/06, Gary VanMatre <[EMAIL PROTECTED]> wrote: > > >From: "Ryan Wynn" <[EMAIL PROTECTED]> > > > > > > I am getting the following exception and though I have looked at bug > >

Re: [shale] clay generic templates and symbol replacement

2006-03-02 Thread Ryan Wynn
On 3/2/06, Gary VanMatre <[EMAIL PROTECTED]> wrote: > >From: "Ryan Wynn" <[EMAIL PROTECTED]> > > > > I am getting the following exception and though I have looked at bug > > 37796 I still can't decide if what I am trying to do cannot be done >

Re: [shale] clay generic templates and symbol replacement

2006-03-02 Thread Ryan Wynn
On 3/1/06, Ryan Wynn <[EMAIL PROTECTED]> wrote: > I am getting the following exception and though I have looked at bug > 37796 I still can't decide if what I am trying to do cannot be done > with symbol replacement or if I have made a mistake. > > The Component jsfid att

[shale] clay generic templates and symbol replacement

2006-03-01 Thread Ryan Wynn
I am getting the following exception and though I have looked at bug 37796 I still can't decide if what I am trying to do cannot be done with symbol replacement or if I have made a mistake. The Component jsfid attribute is null. The cause is most likely a missing "clayJsfid" attribute when using

[shale] clay description elements

2006-02-22 Thread Ryan Wynn
I think it may be beneficial to extend the clay dtd to add extra elements for documentation. Just like the component element in the faces-config.xml has a description sub-element. I say this only because I am trying to document all of my clay config definitions and it would really be nice if I co

Re: [shale] clay lost onchange for selectOneMenu

2006-02-13 Thread Ryan Wynn
On 2/13/06, Craig McClanahan <[EMAIL PROTECTED]> wrote: > Interestingly, that parallels a corresponding issue with the JSP rendition > of JSF components in JSF 1.0/1.1 ... if you have a property set in a tag > attribute, AND you set it in code, which wins? For JSP pages, we went round > and round

[shale] clay lost onchange for selectOneMenu

2006-02-13 Thread Ryan Wynn
Today I upgraded to the latest nightly build (2/13) for shale-core and shale-clay. It seems my clay onchange properties are being omitted now. Not sure in which nightly they stopped working. Anyone else having this problem?

Re: [shale] cannot run unit test framework with java 1.4

2006-02-13 Thread Ryan Wynn
Craig, Sorry, you were right, my eclipse workspace was referencing java 1.4 but for some reason the unit tests were being run under the default eclipse jre which was 1.3. Thanks for the help, Ryan

Re: [shale] cannot run unit test framework with java 1.4

2006-02-12 Thread Ryan Wynn
On 2/10/06, Craig McClanahan <[EMAIL PROTECTED]> wrote: > On 2/10/06, Ryan Wynn <[EMAIL PROTECTED]> wrote: > > > > java.lang.UnsupportedClassVersionError: > > org/apache/shale/test/base/AbstractViewControllerTestCase (Unsupported > > major.minor versio

Re: [shale] clay method binding symbol replacement

2006-02-10 Thread Ryan Wynn
On 2/10/06, Gary VanMatre <[EMAIL PROTECTED]> wrote: > This was bug http://issues.apache.org/bugzilla/show_bug.cgi?id=38492, fixed in > the 20060205 nightly build. Thanks, Gary. Missed that one.

[shale] cannot run unit test framework with java 1.4

2006-02-10 Thread Ryan Wynn
java.lang.UnsupportedClassVersionError: org/apache/shale/test/base/AbstractViewControllerTestCase (Unsupported major.minor version 48.0) Does AbstractVCTestCase require java 1.5 now or is this a build problem? I am using java 1.4 and cannot run my test cases now. using shale-test.jar from 2/10.

[shale] clay method binding symbol replacement

2006-02-10 Thread Ryan Wynn
As of 20060202 version of clay I cannot specify a method binding as the value of a symbol. For example works, but does not work. Is this something that has been fixed post 20060202? I could have sworn th

[shale] clay could catch recursive references

2006-02-08 Thread Ryan Wynn
I just stumbled upon a problem that clay might be able to catch. The scenario is that one clay component references a clayJsfid that includes a reference to an already included clayJsfid. The result is a out of memory exception because clay goes into a infinite loop. With the nature of clay usin

Re: [shale] clay binding attribute set first in restore view phase

2006-02-06 Thread Ryan Wynn
> I agree. I took a peek at the myfaces UIComponentTag and in the > "createComponentInstance" method there is a check for the existence of > a "binding" attribute. If there is one, the component instance pulled from > the target managed bean. Otherwise, it's using the createComponent factory >

[shale] clay binding attribute set first in restore view phase

2006-02-06 Thread Ryan Wynn
It seems the binding attribute is not getting set until the restore view phase. For example if I have ... setBar is not called until the view is restored. I would have thought that I would have access to the component during the initial render phase. What I would like to do i

Re: [shale] clay config including another clay config

2006-02-03 Thread Ryan Wynn
On 2/3/06, Gary VanMatre <[EMAIL PROTECTED]> wrote: > > >From: Ryan Wynn <[EMAIL PROTECTED]> > > > > How would I reference a clay config file from within another config file? > > > > Ya, that is a good question. I thought I knew how to do this but had

[shale] clay config including another clay config

2006-02-02 Thread Ryan Wynn
How would I reference a clay config file from within another config file? Thanks, Ryan

[shale] remoting - how do I use ClassResourceProcessor

2006-02-02 Thread Ryan Wynn
I am beginning to try to understand shale remoting. How do I configure shale to serve a resource from a jar file using the ClassResourceProcessor? Thanks, Ryan

Re: [shale] Tomahawk components

2006-01-27 Thread Ryan Wynn
I would recommend that the ticket on shale bugzilla be closed in favor of the ticket on myfaces jira ticket http://issues.apache.org/jira/browse/MYFACES-806 because I think it was agreed that this file would reside inside tomahawk.jar instead of within shale. The concensus on the shale ticket h

Re: [shale] Tomahawk components

2006-01-26 Thread Ryan Wynn
On 1/26/06, Craig McClanahan <[EMAIL PROTECTED]> wrote: > On 1/26/06, Richard Wallace <[EMAIL PROTECTED]> wrote: > > > > Gary mentioned in his follow up response to my earlier questions that it > > is indeed possible to use MyFaces Tomahawk with Shale Clay. So now I > > want to find some more info

Re: Tags for Pagination

2006-01-23 Thread Ryan Wynn
On 1/23/06, Srini Pillai <[EMAIL PROTECTED]> wrote: > Gary, > > We were thinking of executing an initial query to get the total count > for the criteria (using count(*)) and then page it using the offset and > range that would be passed as part of the query string when clicked on > the page number

Re: [shale] Simple Clay example

2006-01-20 Thread Ryan Wynn
Richard, try adding this to your web.xml and try hitting your default.html again. javax.faces.DEFAULT_SUFFIX .html Ryan

Re: [shale] ViewHandler registration

2006-01-20 Thread Ryan Wynn
> > You are correct that there's no current way to control the order of view > > handler initialization. For the specific case of choosing a > > ViewControllerMapper instance, however, use the context init parameter > > ShaleApplicationFilter.VIEW_CONTROLLER_MAPPER (the literal value is " > > org.a

Re: [shale] clay problem with 20060117

2006-01-18 Thread Ryan Wynn
> Try adding a span that spans your span :-) > > > > > I think that should fix it for now. It looks like the symbol table is built > after That fixed it, thanks Gary. > I agree that this is a bug and hopefully my diagnosis is correct. Please > file a > bugzilla ticket on this one. I

[shale] clay problem with 20060117

2006-01-18 Thread Ryan Wynn
I just upgraded to struts-shale-20060117 and I think I may have found a bug. I am now getting an exception component identifier's first character must be a letter or an underscore ('_')! But it is "@" This is on the following component. The weird thing is that I have other compon

Re: [shale] clay renderId

2006-01-13 Thread Ryan Wynn
> Besides defining these in XML, you can do this sort of thing mixing in HTML > templating. > > Common XML Config: > > > > > > > > > > > > > > > > > > > > > > > HTML template "/widgets.html": > > Mock Label:

[shale] clay renderId

2006-01-12 Thread Ryan Wynn
Can the renderId of a component be less than 1? I have built parent components that reference child components. These parent components are meant to be extended to add more child components. What I would like is to have the base parent components reference their child as say renderId=-1 and rend

Re: Shale-Clay: Are managed beans mandatory in xml view?

2005-12-08 Thread Ryan Wynn
On 12/8/05, Mikael Andersson <[EMAIL PROTECTED]> wrote: > Hi, > testing some clay templating ( base code from some very helpful posts in this > forum), > and it seems like I must have a managed bean associated to every view. > Is this correct? > > When running the code below without a managed bean

Re: Shale-Clay: Error finding Converter for component

2005-12-07 Thread Ryan Wynn
On 12/7/05, Mikael Andersson <[EMAIL PROTECTED]> wrote: > Hi, > I am new to Shale and Clay and am getting a 'Error finding Converter for > component', you guys will probably spot this beginner mistake immediately :) > > Error: > ERROR (org.apache.myfaces.renderkit.html.HtmlRendererUtils) - Error fi

Re: [shale] Clay - Logic components?

2005-12-03 Thread Ryan Wynn
On 12/3/05, Alexandre Poitras <[EMAIL PROTECTED]> wrote: > Yeah but this type of list is not supported unfortunately. I guess I will > have to create a new display for the list component. > > But I still think forEach component is a must when you need to create a new > component wich is just an agg

Re: [shale][clay] CSS style classes on substituted elements

2005-11-07 Thread Ryan Wynn
On 11/7/05, Gary VanMatre <[EMAIL PROTECTED]> wrote: > > Ryan Wynn wrote: > >I like the direction this is going. My thoughts on this... > >I like the syntax familiar syntax value="#{shale:attribute.class}"/> > > > >However, how about instead of

Re: [shale][clay] CSS style classes on substituted elements

2005-11-07 Thread Ryan Wynn
I like the direction this is going. My thoughts on this... I like the syntax familiar syntax However, how about instead of inventing a new syntax "#{shale: attribute.class}" we use the existing one. For example This approach assumes that clay has defined the existing clay context as a managed

Re: [shale][clay] CSS style classes on substituted elements

2005-11-04 Thread Ryan Wynn
Figures, symbols was his idea anyway. > > > > > > > > -- Forwarded message -- > From: Ryan Wynn <[EMAIL PROTECTED]> > To: Struts Users Mailing List > Date: Thu, 3 Nov 2005 22:54:38 + > Subject: Re: [shale][clay] CSS style classes on subst

Re: [shale][clay] CSS style classes on substituted elements

2005-11-03 Thread Ryan Wynn
Or better yet you could put in the attributes of the baseHtml component of clay and then it would be picked up by all the descendants. On 11/3/05, Ryan Wynn <[EMAIL PROTECTED]> wrote: > > I believe that currently if the html attribute is not also an attribute on > the under

Re: [shale][clay] CSS style classes on substituted elements

2005-11-03 Thread Ryan Wynn
I believe that currently if the html attribute is not also an attribute on the underlying component, then the html attribute will be treated as a symbol. So, in this case if userNameMessage is actually a h:message, then username error message would produce ... in both the designer and develope

Re: Clay isEL and replaceMnemoic

2005-11-01 Thread Ryan Wynn
Gary, I like your first thought. Simply because it mimics . I guess being exactly inline with the html counterpart is not that important because attributes is currently "not inline" as in . But I Iike the shared set element evaluated in different contexts. Ryan On 11/1/05, Gary VanMatr

Re: Clay isEL and replaceMnemoic

2005-10-31 Thread Ryan Wynn
these values would be added to the symbol map, and evaluated like bindingType="Early" So my example would be something like On 10/31/05, Ryan Wynn <[EMAIL PROTECTED]> wrote: > > Gary, one more thing that would be nice would be if the parser allowed >

Re: Clay isEL and replaceMnemoic

2005-10-31 Thread Ryan Wynn
On 10/31/05, Gary VanMatre <[EMAIL PROTECTED]> wrote: > > Ryan Wynn Wrote: > > >Currently, this is supported but only if value = [EMAIL PROTECTED] and > valueExpr="myBean.property", because > >the mnemonic replacement is done after the determinatio

Re: Clay isEL and replaceMnemoic

2005-10-31 Thread Ryan Wynn
Sorry, had a mistake in my post. In the example the 2nd component would look like this. or another approach would be On 10/31/05, Ryan Wynn <[EMAIL PROTECTED]> wrote: > > It seems beneficial to allow a mnemonic to be replaced by an EL > expression. This could be anot

Clay isEL and replaceMnemoic

2005-10-31 Thread Ryan Wynn
It seems beneficial to allow a mnemonic to be replaced by an EL expression. This could be another approach to the 'horizontal override' of component subtree and reduce the need to replicate the structure of the subtree in children. For example, would allow a component to extend from

Re: [Shale] new Clay replacement symbols

2005-10-27 Thread Ryan Wynn
(displayElement.getId()) ? getMnemoic(displayElement.getId()): displayElement.getId(); if (id == null) id = facesContext.getViewRoot().createUniqueId(); ... Then a duplicate component will not be created in the render cycle. Ryan Wynn/Vienna/[EMAIL PROTECTED] 10/27/2005 04:04 PM Please

[Shale] new Clay replacement symbols

2005-10-27 Thread Ryan Wynn
I noticed the new code for the replacement symbols. Gary, I like how you've opened it up to any attribute that is not defined. Great job on this. It seems that the ClayViewHandler will now have to change to accomodate this. I noticed the following problem today. If I have

Re: [Shale] Clay Component Grouping

2005-10-25 Thread Ryan Wynn
Gary, thanks for the reply. Just my thoughts on this: in shared component spec

[Shale] Clay Component Grouping

2005-10-25 Thread Ryan Wynn
I have the following clay composite: This enables me to do the following and get validation for free: Now I want to add

Re: [Shale] managed-bean-name token

2005-10-15 Thread Ryan Wynn
[EMAIL PROTECTED] (Gary VanMatre) wrote on 10/14/2005 10:20:58 PM: > I did some more looking and you are right. The managedBeanName of a > nested Clay component is being ignored. > I'll put in a fix for this one. Good catch and thanks for your persistence. > Gary Gary, thanks for the help. I

Re: [Shale] managed-bean-name token

2005-10-14 Thread Ryan Wynn
[EMAIL PROTECTED] (Gary VanMatre) wrote on 10/14/2005 03:20:37 PM: > The managedBeanName attribute can only be set at the Clay component. > The subtree under the Clay component applies token replacement of > the literal string "managed-bean-name" with the value from the root. > > For full html

[Shale] managed-bean-name token

2005-10-14 Thread Ryan Wynn
I'm having trouble getting Shale clay to substitute a non-ViewController bean for the token managed-bean-name. I have looked at the use cases and I still feel like I don't understand the syntax to do token replacement. Shale continues to reference my ViewController bean in EL expressions, howe

[Shale] IndexOutOfBoundsException

2005-10-14 Thread Ryan Wynn
Using clay html views I am getting an IndexOutOfBoundsException at line 106 of org.apache.shale.clay.component.chain.CreateComponentCommand. This line does the following: parent.getChildren().add(clayContext.getChildIndex(), child); where parent and child are UIComponents. My exception repor

Re: Shale Question

2005-10-13 Thread Ryan Wynn
/portal work. Rahul Akolkar <[EMAIL PROTECTED]> wrote on 10/13/2005 03:47:25 PM: > On 10/13/05, Ryan Wynn <[EMAIL PROTECTED]> wrote: > > I seem to be getting warning "No ViewControllerMapper has been configured > > for this application". > > > >

Shale Question

2005-10-13 Thread Ryan Wynn
I seem to be getting warning "No ViewControllerMapper has been configured for this application". This started happening in the portlet environment, not in plain servlet environment. First question, should I have to set up a view controller mapper instance in the first place because shouldn't S

Re: Postback not occuring for Clay html full view

2005-10-11 Thread Ryan Wynn
[EMAIL PROTECTED] (Gary VanMatre) wrote on 10/11/2005 04:29:47 PM: > If you are using myfaces runtime, you need to add a preprocess > filter command. The usecase has an example (http://svn.apache. > org/viewcvs.cgi/struts/shale/trunk/use-cases/src/web/WEB-INF/chain- > config.xml?view=markup). T

Postback not occuring for Clay html full view

2005-10-11 Thread Ryan Wynn
I am using shale/clay html full view. I have an initial page, index.html, which contains a commandLink to another page, page2.html. index.html Page 2 clay-config.xml ... ... index is configured as in faces-