Hi
Did you ever do this Gary?
Hermod
-Original Message-
From: Opstvedt, Hermod
Sent: Monday, June 12, 2006 7:39 AM
To: user@struts.apache.org
Subject: RE: [shale] extending clay
Hi
Sounds like a great plugin. I guess one should wait until it is at a V1 stage
before commiting (At le
Hi
You also need to put in "... onSubmit="return validateValidationForm(this);" in
your html:form tag.
Also: you should name your forms like: validationForm, not ValidationForm.
Hermod
-Original Message-
From: red phoenix [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 04, 2006 9:38 AM
T
Hi
This is the one that I am using, and it works great.
Hermod
-Original Message-
From: C. Grobmeier [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 27, 2006 1:23 PM
To: Struts Users Mailing List
Subject: Re: Setting Language through the browser?
* * * * * * * * * * * * * * * * * * * *
Hi
You call the Action (as shown below).
If you want to see it in action, look at www.os-seilforening.org
Hermod
-Original Message-
From: Fredrik Andersson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 27, 2006 1:07 PM
To: Struts Users Mailing List
Subject: Re: Setting Language through
Hi
That was what I ment - You don't return any values from your action. You need
to write the values to the response (supplied by the action), and then return
null. The documentation at http://ajaxtags.sourceforge.net shows you how, or
search for Struts and returning a file for instance.
Hermo
Hi
You are not setting any values in the request - How can the list be populated
if you don't supply any values
Hermod
-Original Message-
From: Sony Thomas [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 14, 2006 1:09 PM
To: user@struts.apache.org
Subject: ajax:autocomplete tag
Hi,
Hi
Sounds like a great plugin. I guess one should wait until it is at a V1 stage
before commiting (At least that is what I have done when committing to
opensource), but if you someone to help you test it I would be more than
willing.
Hermod
-Original Message-
From: Ryan Wynn [mailto:[
Hi
What would be really nice is if you would make the plugin publically available.
Hermod
-Original Message-
From: Ryan Wynn [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 07, 2006 5:11 AM
To: Struts User
Subject: [shale] extending clay
I'm writing an eclipse plugin to create a visua
Hi
I'll do that.
Hermod
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Craig
McClanahan
Sent: Tuesday, May 09, 2006 12:23 PM
To: Struts Users Mailing List
Subject: Re: [Shale] Dialog statemachine and errorconditions
On 5/9/06, [EMAIL PROTECTED] <[EMAIL P
Hi
Having been fiddling around with the Shale dialogs, there is one thing that I
feel could be improved on. The way it is now, if there is an error situation or
if the user navigates away from a dialog and later on navigates to say the
start of the dialog, an exception is raised. There is no wa
Hi
Have you tried to define a navigation rule, and add to that rule ?
Hermod
-Original Message-
From: Ian.Priest [mailto:[EMAIL PROTECTED]
Sent: Monday, April 24, 2006 1:28 PM
To: Struts Users Mailing List
Subject: Acegi with shale and clay
Hi,
I'm using Shale/Clay to create an appl
Hi
The use of sessionid has nothing to do with these. It is a functionality of the
applicationserver. If the browser does not support cookies, it will append the
sessionid to the URI regardsless of what the application is implemented with.
Shale/Clay by it self does not govern this if so was no
Hi
And you are absolutly right :
1st Pass:
Class.newInstance0() line: 350
Class.newInstance() line: 303
ClassUtils.newInstance(Class) line: 274
ClassUtils.newInstance(String) line: 265
ManagedBeanBuilder.buildManagedBean(FacesContext, ManagedBean) line: 49
VariableResolverImpl.resolveVariable(Fac
Hi
I am using the Maven build and have not run into any problems at all.
Hermod
-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 28, 2006 2:12 AM
To: Struts Users Mailing List
Subject: Re: Building SHALE??? The instructions don't work!
On 3/27/06, Hil
Hi
Howecome you have validate="false"? If you want validation, then set it to true
Hermod
-Original Message-
From: Thibaut [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 22, 2006 11:41 AM
To: user@struts.apache.org
Subject: Validation Problem
Hi
I have all the time the same problem
Hi
Why don't just add in a standard link, with target='_new'?
Hermod
-Original Message-
From: Timo Schnölzer [mailto:[EMAIL PROTECTED] Behalf Of Timo
Schnölzer
Sent: Friday, February 17, 2006 12:17 PM
To: 'Struts Users Mailing List'
Subject: [shale] escaping and resuming dialog
Hi folk
Hi
I have created a sample eclipse project which pretty much shows you how to do a
Tiles-like clay implementation. http://www.opstvedt.com/div/claymal.zip
This was my very first implemention with Clay when transitioning from
Struts-Tiles to Shale-Clay
Have a look at it. It pretty much covers t
Hi
While doing so I discovered that I had a Typo: value="[EMAIL PROTECTED]> <<
Note the wrong ending. Changing that to ->" and it works :)
Sorry for shooting to early. The behaviour was still weird though.
Hermod
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent
Hi
I tested it and I am getting a weird result: My main page gets rendered several
times and the block for the clayForEach is not rendered.
The set up is a working Clay template with the following block in it:
Story Title
Story body - reduced for simplicity
a clay templat
Hi
So in the case where bodyJsfid is a html template, I could do something like
this:
template jsdid=/news.xml:
and then do something like this:
bla bla
??
Hermod
-Original Message-
From: Gary VanMatre [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 07, 2006 2:30 PM
To: Struts
Hi
I was wondering about the usage of this tag. I see it has a shapeValidator,but
I was wondering what the intended syntax for this tag is, and if the current
var value is somehow passed along to it?
Hermod
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
This emai
Hi
I have tried to do the following:
First define a component in clay-config.xml:
then in my somepage.xml do this:
Hi
I have run into a peculiar problem with fullt html Clay.
Scenario:
Contacts
ABC Co
Hi
It is (at least) Firefox that is doing this. What it is sticking in is a
Norwegian formatted date. Tomcat should have understood this, getting the
locale from the request prior to doing this. So I thought that may this might
have something to do with the remoting support in Shale after all.
Hi
Add javascript (\S*\.js) to that also - as I painfully discovered when my Tree2
node toggling stopped working.
Hermod
-Original Message-
From: Opstvedt, Hermod
Sent: Tuesday, January 31, 2006 10:24 AM
To: user@struts.apache.org
Subject: RE: [shale] Images and css being rejected
Hi
Hi
Until it is fixed, you also need to add any mapping for that you might want for
images( gifs,jpg,png) etc.
-Original Message-
From: Gary VanMatre [mailto:[EMAIL PROTECTED]
Sent: Monday, January 30, 2006 8:28 PM
To: Struts Users Mailing List
Subject: Re: [shale] Images and css being re
Hi
I'll try and get started on that this evening.
Hermod
-Original Message-
From: Gary VanMatre [mailto:[EMAIL PROTECTED]
Sent: Monday, January 30, 2006 5:23 PM
To: Struts Users Mailing List
Subject: RE: [shale] Tomahawk components
>From: <[EMAIL PROTECTED]>
>
> Hi
>
> I'd be willin
Hi
Take a look at SecurityFilter. With that you get exactly what you are looking
for.
Hermod
-Original Message-
From: Luis Gervaso [mailto:[EMAIL PROTECTED]
Sent: Monday, January 30, 2006 11:29 AM
To: Struts Users Mailing List; Tomcat Users List
Subject: Re: Authentication crisis
the
Hi
I'd be willing to pitch in here. I have already gone through some of them, also
finding that jsCookMenu does not work in Clay (actually it does'nt work at all
at the moment according to the Myfaces list).
Hermod
-Original Message-
From: Richard Wallace [mailto:[EMAIL PROTECTED]
Sent
Hi
If you had searched the list, you would have found my posting on this. Anyway,
what you have to do is in the web.xml filtermapping for Shale do this
comment this:
add this:
shale
*.xml
shal
Hi
I'll have to figure which of my browsers cause this (IE, Firefox or Opera) and
report it to them.
Hermod
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Craig
McClanahan
Sent: Friday, January 27, 2006 5:58 PM
To: Struts Users Mailing List
Subject: Re: [
Hi
I have noticed the following errors in my Tomcat logs:
java.lang.IllegalArgumentException: fr, 27 jan 2006 08:45:27 GMT
at
org.apache.coyote.tomcat5.CoyoteRequest.getDateHeader(CoyoteRequest.java:1887)
at
org.apache.coyote.tomcat5.CoyoteRequestFacade.getDateHeader(CoyoteReque
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 12:14 AM
To: Struts Users Mailing List
Subject: [shale] Some Clay oddities
I'm pl
Hi
I have tested quite a bit of them, and so far I have only found that JSCookMenu
does not work.
Hermod
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Craig
McClanahan
Sent: Thursday, January 26, 2006 11:51 PM
To: Struts Users Mailing List
Subject: Re: [
Hi
I have to do that all the time with Shale/Clay. Otherwise I always get the old
stuff. Just changing a html/xml file and believe it will get recompiled will
hurt you.
Hermod
-Original Message-
From: Richard Wallace [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 26, 2006 10:29 PM
T
Hi
Your problem lies within: property="selectedContact.firstName"
Property is the component identifier, and can not cotain a ".". What you need
to do is make shure that "selectedContact" is the managed bean.
Here is from a earlier posting:
You are using the property symbol in this example to
Hi
There seems to be some problems with this aproach with respect to name
resolving.
Scenario : @managed-bean-name is a backing bean X, the table that you want to
display (see: Outer HTML template include) is from a bean Person as person on
X, and has properties firstName and middleName and so
Hi
Look in the Tomcat logs directory. In the ocalhost_logtxt file you will
probably find your answer.
Hermod
-Original Message-
From: Bogdan Paduraru [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 12, 2006 1:22 PM
To: Struts Users Mailing List
Subject: RE: Tomcat issues
I used
Hi
I have discovered a possible bug in Clay with respect to table th tags:
This can be verified as follows:
Put the following on a page
This will give an error:
javax.servlet.ServletException: Unmatched ending non
Hi
Use CSS with the media setting on your import of your stylesheet
(rel="stylesheet" type="text/css" media="print, screen").
and in your stylesheet define 2 blocks: @MEDIA print and @MEDIA screen where
you define your settings. For the stuff that you do not want to show on a
printout, add th
Hi
Don't use this. Use the jstl tags instead. In this case
If you read the tag doc's you will see that you are encouraged to switch to the
jstl tags in place og the struts tags. In so doing, use the struts-el tag
librarys
Hermod
-Original Message-
From: Legolas Woodland [mailto:[
Hi
In your tag set staticJavascript="false". This will remove
all scripts except your validation. However you need to add a link to the
generated scripts (in a .js file) in your .jsp.
Hermod
-Original Message-
From: Deepa Khetan [mailto:[EMAIL PROTECTED]
Sent: Monday, December 12, 200
Hi
Been away for a couple of days, but now I'm back at it. I finally figured out
why it was not serving resources like .css files etc.
In my web.xml file, I had a filter&filter mapping like this:
shale
org.apache.shale.fa
Hi
The nullpointer occurs because there is no check on the Inputstream in
ClayAmalgam:
InputStream in = null;
try {
in = context.getExternalContext().getResourceAsStream(url);
< This could return null
int c = 0;
done: while (true) {
Hi
Part 2:
If I try to access the resource directly, it just prints out the URI. If I
comment out ClayViewHandlerCommand from chain-config, it still does it so I am
at a loss as to what is going on here.
Hermod
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent:
Hi
I my continued persuit of Shale and Clay and have now started to apply my
standard style (lquid) to the template application. What I discovered was that
Clay will not serve .css files. I noticed in Geeta's ShaleNShark1 demo that the
style sheet was named .html. So I renamed my stylesheet to
Hi
No sooner did I send this, when I decided to clean out my Tomcat work directory
- and now it works. javax.faces.DEFAULT_SUFFIX hads to be set to .xml for this
to work.
Anyway, I now have a Template application which functionally behaves like it
was built with Tiles, meaning I have a standar
Hi
I am having trouble getting the links in my test/template application working.
I can see that it submits, but it is only redisplaying the same page. I can
access the pages by writing in the URI in the browser, so they are working.
My navigation looks like this:
Home
Page2
Page3
and I h
Hi
In my Clay test app, I have a index.jsp that does a . If I access this page, it gives me a 404, stating that it
can not find page1.jsp. I also have a index.html that does a . If I access this page, it
loads page1.xml as expected.
Is there any reason as to why Shale/Clay behaves like this ? D
Hi
I got it working (I was using faces as suffix instead og xml) - Looks very
promising.
Hermod
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 30, 2005 10:53 AM
To: user@struts.apache.org
Subject: RE: [shale] Clay templating
Hi
I tried
Hi
I tried your recipe, but it does not seem to work. It really excited me with
the parameter substitution, which looks a lot like what I have been testing
with Facelets. I am looking to replace Tiles with either Clay of Facelets, so
it would be nice to verify that the Clay way of doing templat
Hi
He asked for resourcebundle backed - not hardcoded. Frank has shown one of the
possible ways of doing it.
In addition to fmt:message you can of course use bean:message (including also
the "bundle" attribute if you have multiple modules for instance)
Hermod
-Original Message-
From:
Hi
Turn off "View as html" in your e-mail reader and you will see that this was
exactly what Emmanouil wrote.
Hermod
-Original Message-
From: Stanislav [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 24, 2005 9:54 AM
To: Struts Users Mailing List
Subject: Re: Inserting special charac
Hi Alexandre
Tradeoffs Well, I guess we all have to live with them.
Well, back to Shale/Clay/Tiles for some more struggle... :)
Hermod
-Original Message-
From: Alexandre Poitras [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 23, 2005 2:54 PM
To: Struts Users Mailing List
Subjec
Hi Alexandre
Ok, that claryfies things a bit. Allthough your example still does not feel
right with me. I still think taht anything to do with the view part, such as
changing the colour of a text etc. still should be handled in the view. What I
would do is to set a condition property in my code
Hi Alexandre
Mostly I aboslutly agree with you, but there is one thing that I am not
comfortable with: "..and so managing some of your UI components programmaticaly
is impossible."
What you are promoting here, is mixing view and controller, but since Craig is
promoting the use of one backing b
Hi
That should of course read: Thanks for your clarification -Gary- Sorry !
Hermod
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 23, 2005 6:25 AM
To: user@struts.apache.org
Subject: RE: [shale] Design questions
Hi
Thanks for your c
Hi
Thanks for your clarification Craig. So, if I read you correct, Tiles and Clay
go hand in hand. Use Tiles for assembling the pages, so that you only have to
write jsp/html files containing the specific content (not the whole page). Then
use Clay to do the work writing of the jsp/html files t
Hi
Forgotten the basics of Tiles, have we?
One of the key features of Tiles is the term definition and template jsp. In
the template jsp, you position named generic parts. In the the definition you
define what those parts are. This, in my terms, is to compose a page, hence
composition.
Anothe
Hi
So how would you implement composition, with inheritance, using Clay instead of
Tiles?.
Hermod
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Craig
McClanahan
Sent: Tuesday, November 22, 2005 6:15 AM
To: Struts Users Mailing List
Subject: Re: [shale] D
Hi
This has nothing to do with Tiles. The reason is that you are getting an
exception during page compile: Most likely you are trying to access a
Collection in select or something that does not render. I have seen this a
number of times.
Hermod
-Original Message-
From: eve [mailto:[EM
Hi
The solution to this is as simple as it can get: Use the "input" directive and
point this at a new tiles definition which overiredes your contact definition,
where you only override the banner.
Hermod
-Original Message-
From: Andreas Kurtz [mailto:[EMAIL PROTECTED]
Sent: Wednesday,
Hi
Be aware of a subtle bug in DisplayTag. If you have a column without a
"property" - i.e you want to display somthing different like:
then the use of "titleKey" will display nothing - You will have to use "title"
and har
Hi
I finally figured it out:
You can not have: and
reference as
it must be: instead.
So lesson learned: If you want to access tiles definitions as pages, they MUST
be prefixed by "/"
Hermod
-Opprinnelig melding-
Fra: Ronald Holshausen [mailto:[EMAIL PROTECTED]
Sendt: 20. oktober
Hi
Tried that - No cigar
if you type in http://localhost:8080/myapp/index.jsp and then have a
response.sendRedirect("/jsp/frontpage.faces") it will then go to
http://localhost:8080/jsp/frontpage.jsp (note webappname is now missing)
Hermod
-Opprinnelig melding-
Fra: Ronald Holshausen [
Hi Ronald
Try this: In your index.jsp (entry point of app) add:
<%@ page session="false" contentType="text/html;charset=utf-8"%>
<%
response.sendRedirect("jsp/frontpage.faces");
%>
Then define a tiles definition : jsp/frontpage.
If you can make this work, I am definitly doing something wrong.
Hi
Looking through the source of TilesViewHandler (Shale/Tiles standalone) and
JspTilesViewHandlerImpl (MyFaces/Struts Tiles) I see that the functionality for
mapping a viewId to a tiles definition (through suffix) is missing in
TilesViewHandler. There should be no reason why there is any diffe
Hi
I took a look at your ShaleNShark1 app. This is not doing what I am talking
about.
Lets take an example. You have a index.jsp that forwards to logon.jsf. This
will then load logon.jsp which in turn insert a /logon tiles-definition.
In my (working) case I have a index.jsp that forwards to /
Hi
Weird. I just took one of my working MyFaces/Tiles projects, and introduced
Shale/Clay/Spring configuration to it along with the approprate .jar files.
After that the tiles definitions stopped working.
I'll try to make myself a simple sample based on the shale usecases and see if
I can get
Hi
Are you using the TilesViewHandler from shale-tiles or JspTilesViewHandlerImpl
from Tomahawk ?
-Opprinnelig melding-
Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sendt: 19. oktober 2005 15:29
Til: Struts Users Mailing List
Emne: Re: SV: [Shale] JspTilesViewHandlerImpl and Shale
Hi Ronald
Can you access pages as tiles-definitions? I mean not just using jsp pages with
tiles:insert?
Hermod
-Opprinnelig melding-
Fra: Ronald Holshausen [mailto:[EMAIL PROTECTED]
Sendt: 19. oktober 2005 15:16
Til: Struts Users Mailing List
Emne: Re: [Shale] JspTilesViewHandlerImpl an
Hi
Has anybody successfully made
org.apache.myfaces.application.jsp.JspTilesViewHandlerImpl work with Shale?
Meaning that Tiles definitions can successfully be accessed as pages. I.e
somepage.jsf will be mapped to somepage.tiles (a tiles definintion)
Hermod
* * * * * * * * * * * * * * * * *
Hi
First of all: Please direct these types of questions to the proper maillisting
for Tomcat.
Tomcat is as I stated, first and foremost a Servlet engine (Reference
implementation), and is as such tuned for that. My guess is that if you are
having performance problems, that these are due to har
Hi
Your running Tomcat as an HTTP Server? Why? Tomcat is a Servlet engine and is
not optimized for serving static content. You should put Apache Http server in
front of it, serving static content.
I have Tomcat running on servers, and have seen more that 1200 concurrent
sessions on it without
Hi
Also there are a number of other API's for doing stuff like that, including the
Java extention from Sun: JAXB
Hermod
-Opprinnelig melding-
Fra: Bob Arnott [mailto:[EMAIL PROTECTED]
Sendt: 17. oktober 2005 11:15
Til: Struts Users Mailing List
Emne: Re: Serializing Form-Beans with XML
75 matches
Mail list logo