I've got a page that I'm trying to use on. The action that
I'm trying to use implements the Preparable interface and when I access
it directly everything works fine. But when I try and embed it in
another page with the tag it doesn't seem like the prepare()
method is being invoked. I can s
Hello,
I have an action with a prepare method. The prepare method loads some
objects to operate on for the editing, so I have the interceptor stack
setup with the params, prepare, params interceptors. My prepare method is
public void prepareCreate () {
if (m_projectId == null) {
I've just about got everything worked out for using Freemarker to create
my Sitemesh templates and have it have access to all my Struts2
goodness. To do that I've got the following in my web.xml
sitemesh
org.apache.struts2.sitemesh.FreeMarkerPageFilter
sitemesh-f
Projects"
(2007, Apress, ISBN 1-59059-816-4)
Java Web Parts - http://javawebparts.sourceforge.net
Supplying the wheel, so you don't have to reinvent it!
Richard Wallace wrote:
Do you have anything on the forwarding to a JSP in a JAR file that you
can tell us about? I'm running
Do you have anything on the forwarding to a JSP in a JAR file that you
can tell us about? I'm running into the same situation where I work
and can't figure out a solution. I had thought that maybe if I
forwarded to something like /struts/jsps/test.jsp and add the package
that jsps are contained i
Hey all,
I'm having a problem with clay after updating to MyFaces 1.1.3 and
Tomahawk 1.1.3. I'm getting a couple of these when the webapp is deployed:
2006-06-08 10:02:55,174 2621 ERROR [http-8080-Processor24]
org.apache.shale.clay.config.beans.ComponentConfigBean
(ComponentConfigBean.java:235)
Craig McClanahan wrote:
On 5/11/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote:
On 5/11/06, Craig McClanahan <[EMAIL PROTECTED]> wrote:
> On 5/11/06, Jason Vincent <[EMAIL PROTECTED]> wrote:
> According to the HTML specification, disabled input controls
> are *not* included in the request attr
Gary VanMatre wrote:
Gary VanMatre wrote:
From: Richard Wallace <[EMAIL PROTECTED]>
I'm trying to use the token component on a form to ensure that a user
doesn't submit the form more than once. Whenever I try and submit the
form a second time, I get a NPE. I'm usin
Gary VanMatre wrote:
From: Richard Wallace <[EMAIL PROTECTED]>
I'm trying to use the token component on a form to ensure that a user
doesn't submit the form more than once. Whenever I try and submit the
form a second time, I get a NPE. I'm using it in Clay, if that makes
Gary VanMatre wrote:
From: Richard Wallace <[EMAIL PROTECTED]>
I'm trying to use the token component on a form to ensure that a user
doesn't submit the form more than once. Whenever I try and submit the
form a second time, I get a NPE. I'm using it in Clay, if that makes
I'm trying to use the token component on a form to ensure that a user
doesn't submit the form more than once. Whenever I try and submit the
form a second time, I get a NPE. I'm using it in Clay, if that makes
any difference. The code is simply:
...
I'm using the 1.0.3-SNAPSHOT
Hey everyone,
I hope you don't mind the cross post, but I just wanted to point this
out to everyone.
https://blueprints.dev.java.net/ajaxcomponents.html
The AJAX components use Dojo for the client-side and build on
Shale-remoting for the server-side. I had a similar idea and was even
work
ion.
On 4/19/06, Richard Wallace <[EMAIL PROTECTED]> wrote:
When trying to access a file that doesn't exist, Clay is throwing a
RuntimeException that is causing my 500 error page to be displayed
rather than a 404 error page. Here's the offending exception:
java.lang.RuntimeExce
When trying to access a file that doesn't exist, Clay is throwing a
RuntimeException that is causing my 500 error page to be displayed
rather than a 404 error page. Here's the offending exception:
java.lang.RuntimeException: Unable to find file /for_parents.html.
at
org.apache.shale.cl
James Reynolds wrote:
I want to test a value in session, then redirect or forward to a
different view based on the result. I tried using
getExternalContext().redirect("/theOtherPage.jsp"); but I received an
exception stating that I cannot redirect after the request is committed.
What's the prope
value="[EMAIL PROTECTED]" />
If there is a better way of accomplishing this I'd sure like to know
what it is.
Thanks again,
Rich
Richard Wallace wrote:
Hello again,
I'm trying to figure out how to
Hello again,
I'm trying to figure out how to use the Tomahawk updateActionListener in
Clay. The idea being that you can attach an action listener to a
commandLink and when that specific link is clicked a value will be set
on a given property of a backing bean. In JSP it would look something
Gary VanMatre wrote:
From: "Ryan Wynn" <[EMAIL PROTECTED]>
On 4/18/06, Richard Wallace 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
Ryan Wynn wrote:
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 log
Hey,
I'm trying to do something like:
allowBody="false" />
to dynamically include content in a page. The use-case is in a report
where the report is mostly static, but the report you get isn't. There
are next/prev links as well as table of content links so the user can
jump around. I nee
Gary VanMatre wrote:
That mostly works. Now the page renders and the spread radio buttons
are displayed where I have the
elements, but the radio
buttons are also displayed where the
element is. They're not supposed to be rendered if the layout is set to
spread tho. I'll play around with
Gary VanMatre wrote:
Hello again,
I'm trying to use the Tomahawk t:selectOneRadio and t:radio components
to use the spread layout feature. Here's the clay-config.xml
configuration for my component definitions:
Hello again,
I'm trying to use the Tomahawk t:selectOneRadio and t:radio components
to use the spread layout feature. Here's the clay-config.xml
configuration for my component definitions:
Gary VanMatre wrote:
From: Richard Wallace <[EMAIL PROTECTED]>
Ok, I've updated to the 20060313 release and the LoadBundle issues are
definitely fixed. Good job!
But I'm still having an issue with my t:columns not getting the class
set at all. I've uploaded a simple
Ok, I've updated to the 20060313 release and the LoadBundle issues are
definitely fixed. Good job!
But I'm still having an issue with my t:columns not getting the class
set at all. I've uploaded a simple example that produces the problem to
www.thewallacepack.net/shale-style-per-cell.tar.gz.
Gary VanMatre wrote:
From: Richard Wallace <[EMAIL PROTECTED]>
I'm trying to update from the 20060130 nightly to the 20060312 nightly
and I'm getting an IllegalStateException from the LoadBundle component
that I wasn't getting before. It looks like the basename attribute
I'm trying to update from the 20060130 nightly to the 20060312 nightly
and I'm getting an IllegalStateException from the LoadBundle component
that I wasn't getting before. It looks like the basename attribute
isn't being set for some reason, and I'm a bit lost as to why. I
haven't changed any
Gary VanMatre wrote:
From: Richard Wallace <[EMAIL PROTECTED]>
I'm trying to use some of the extended Tomahawk components and
attributes in a Clay web page. The table is being configured with:
...
>
But the forceId tag is
Gary VanMatre wrote:
From: Richard Wallace <[EMAIL PROTECTED]>
But the forceId tag is being ignored. In the Tomahawk clay-config.xml
file attached to this JIRA issue,
https://issues.apache.org/jira/browse/TOMAHAWK-70, has the following:
I think the forceId is being ignored b
I'm trying to use some of the extended Tomahawk components and
attributes in a Clay web page. The table is being configured with:
...
But the forceId tag is being ignored. In the Tomahawk clay-config.xml
file attached to this JIRA issue,
https://issue
Gary VanMatre wrote:
From: Richard Wallace <[EMAIL PROTECTED]>
Hello,
I'd like to extend the inputSecret component and give the new component
an added attribute. Basically, what I want to do is create a component
that has the tomahawk equal validator attached to it. So, what I&
Hello again,
I'm working on creating a dataTable and I'm having a problem trying to
figure out exactly how to do it in nothing but html. I've done this
before with help from the list, but that was a simple one column table
without any headers. Now I need to create a multi-column table with
Hello,
I'd like to extend the inputSecret component and give the new component
an added attribute. Basically, what I want to do is create a component
that has the tomahawk equal validator attached to it. So, what I've got
now is:
componentType="org.apache.myfaces.validator.Equal">
Craig McClanahan wrote:
On 2/21/06, Richard Wallace <[EMAIL PROTECTED]> wrote:
Craig McClanahan wrote:
On 2/21/06, Richard Wallace <[EMAIL PROTECTED]> wrote:
Hello everyone,
I have a simple feature request. Can we get a method added to the
AbstractViewControlle
Craig McClanahan wrote:
On 2/21/06, Richard Wallace <[EMAIL PROTECTED]> wrote:
Hello everyone,
I have a simple feature request. Can we get a method added to the
AbstractViewController class that gets a message out of the applications
configured message bundle? Something as sim
Hello everyone,
I have a simple feature request. Can we get a method added to the
AbstractViewController class that gets a message out of the applications
configured message bundle? Something as simple as:
protected String getMessage (String messageKey) {
ResourceBundle rb = Resou
Hello all,
I'm trying to use the tomahawk validator for making sure two fields have
the same value for users entering their password. There isn't a
definition in the clay-config.xml in the Shale or MyFaces JIRA tickets
so I'm trying to create one. So I went ahead and created one:
I've starting working with the commonsValidator components in Shale.
I'm just getting started but one thing I was hoping this could solve was
better error message handling. The error message handling in JSF is
probably one of it's weakest areas because you can only define a single
message to
Gary VanMatre wrote:
You have a couple options:
Oh, that explains why my converter wasn't working. I didn't even
realize there was a element for s. Makes sense.
But, I missed many of the base converter's. The defaults are defined in the
/META-INF/clay
I'm trying to format the output of some numbers. Before, the way I
would do this was:
I've tried this with the clay-config.xml with:
But that gives me a NPE with the message "The component identified by
jsfid convertNumber could not be found." Was the f:
Gary VanMatre wrote:
From: Richard Wallace <[EMAIL PROTECTED]>
Hello,
I'm trying to use radio buttons to do a questionnaire with the questions
pulled from a backing bean. There are examples of using select menus in
the use-cases but I don't see anything about how to u
Hello,
I'm trying to use radio buttons to do a questionnaire with the questions
pulled from a backing bean. There are examples of using select menus in
the use-cases but I don't see anything about how to use radio buttons.
I tried doing something like this:
#{question.text}
Gary VanMatre wrote:
From: Richard Wallace <[EMAIL PROTECTED]>
That's the obvious workaround. I was hoping for something a bit more
definitive tho. I saw bug 37867 on bugzilla, but there doesn't seem to
be a solution and it's been quiet for quite a while. I'll commen
filtermapping for Shale do this
comment this:
add this:
shale
*.xml
shale
*.html
shale
*.faces
Hermod
-Original Me
I'm having a problem with pages loading images and css files. I turned
up the debugging on log4j and when the css files and images are
requested by the browser nothing is returned. I checked the logs and
they're saying:
2006-01-27 10:31:20,241 54531 DEBUG [http-8080-Processor24]
org.apache.
Ryan Wynn wrote:
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
Tried it. Same result. I'll file a bug report.
[EMAIL PROTECTED] wrote:
Hi
Try and clean out your Tomcat work directory prior to restart after you have
made your changes.
Hermod
-Original Message-
From: Richard Wallace [mailto:[EMAIL PROTECTED]
Sent: Friday, January 27, 2006
I'm playing with templating using symbol replacement like in the
use-cases. It's very cool and very powerful. A couple of things that
are strange tho:
1) The first letter of the content of the file being used is being
cutoff. So, for instance, I have the clay definition:
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 information about that.
I see that you basically have to create a clay-config.xml with
declarations for each tomahawk component
Huh, weird. I had to shutdown tomcat, remove the webapp from
$TOMCAT_HOME/webapps and $TOMCAT_HOME/work/Catalina/localhost to fix the
problem.
Thanks again,
Rich
Gary VanMatre wrote:
From: Richard Wallace <[EMAIL PROTECTED]>
I updated to use the nightly from this morning and I
Craig McClanahan wrote:
On 1/26/06, Richard Wallace <[EMAIL PROTECTED]> wrote:
Ok. I understand that's how you use it in the html files. But what
about in the clay-config.xml file? For instance, in the use-cases
clay-symbols-config.xml file there is a component definitio
Gary VanMatre wrote:
From: Richard Wallace <[EMAIL PROTECTED]>
Hello again,
Sorry if I'm getting to be a pest, but I really like Clay and want to
understand it better. So, here are my questions of the day:
Can you (or how do you) use resource bundles in the clay config files?
I updated to use the nightly from this morning and I'm getting the
following when trying to load a page:
afterPhase () - RESTORE_VIEW(1)
beforePhase () - RENDER_RESPONSE(6)
Jan 26, 2006 9:59:10 AM org.apache.shale.clay.faces.ClayViewHandler
renderView
INFO: Clay template renderView for /defaul
Hello again,
Sorry if I'm getting to be a pest, but I really like Clay and want to
understand it better. So, here are my questions of the day:
Can you (or how do you) use resource bundles in the clay config files?
I'm trying to get to a place where I can use the symbol replacement
features
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
---
Thanks Craig, that was exactly the right solution. I'm using Tomcat
5.5.12 and adding the dispather elements to the shale filter-mapping did
the trick perfectly.
Thanks again,
Rich
Craig McClanahan wrote:
On 1/21/06, Richard Wallace <[EMAIL PROTECTED]> wrote:
Hello again,
Hello again,
I'm running into a problem getting my /index.jsp to forward to a Clay
HTML page. The index.jsp page just contains the following:
When I try to hit it with the URL
http://localhost:8080/shale-clay-example/ I get a 404 saying that
default.jsp cannot be found. If I goto
http:
Gary VanMatre wrote:
I'll direct you to the shale usecase example instead of duplicating in this
response but this is the minimum stack to use Clay.
Added jars:
* JSF archives (myfaces or RI)
* Common-chains.jar
* shale-core.jar
* shale-clay.jar
Web.xml
* Common Chains – Loads a cou
one at a time rather than have to look at gigantic web.xml
and faces-config.xml files. It's rather confusing, especially given the
current lack of documentation.
Thanks,
Rich
Richard Wallace wrote:
Hello,
I'm trying to get a simple clay example up and running so that I can
us
Hello,
I'm trying to get a simple clay example up and running so that I can use
the full html view (which is similar to facelets, correct?).
I looked at the use cases and copied the web.xml, faces-config.xml and
clay-config.xml and stripped out anything that I didn't need, like
Spring and di
60 matches
Mail list logo