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
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
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)
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
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]
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
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
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
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
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
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
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
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
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
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
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
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.
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
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
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
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
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
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
> >
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
>
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
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
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
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
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?
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
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
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.
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.
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
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
> 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
>
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
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
How would I reference a clay config file from within another config file?
Thanks,
Ryan
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
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
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
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
Richard,
try adding this to your web.xml and try hitting your default.html again.
javax.faces.DEFAULT_SUFFIX
.html
Ryan
> > 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
> 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
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
> 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:
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
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
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
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
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
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
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
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
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
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
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
>
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
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
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
(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
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
Gary, thanks for the reply.
Just my thoughts on this:
in shared component spec
I have the following clay composite:
This enables me to do the following and get validation for free:
Now I want to add
[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
[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
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
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
/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".
> >
> >
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
[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
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-
74 matches
Mail list logo