java.lang.ClassNotFoundException: caught an exception while obtaining a
class file for org.apache.tapestry5.corelib.components.Form.
if its the slf4j logger, which isn't found and you're using jetty try to put a file called
jetty-web.xml into your WEB-INF folder.
jetty-web.xml:
Thanks Harald! It works now.
Wei.
Harald Geritzer-2 wrote:
java.lang.ClassNotFoundException: caught an exception while obtaining a
class file for org.apache.tapestry5.corelib.components.Form.
if its the slf4j logger, which isn't found and you're using jetty try to
put a file called
Sven, you forgot the subtle Jedi hand movement. ;)
-Filip
Sven Homburg skrev:
the parameter closed is not implemented.
youre pleased to add an issue
http://code.google.com/p/tapestry5-components/issues/list
2008/6/11 Marcus [EMAIL PROTECTED]:
Hi,
How can I configure t5components.SidePanel
sorry,
for a moment the jedi power was left my spirit
2008/6/12 Filip S. Adamsen [EMAIL PROTECTED]:
Sven, you forgot the subtle Jedi hand movement. ;)
-Filip
Sven Homburg skrev:
the parameter closed is not implemented.
youre pleased to add an issue
Irony ... good :-) Thanks for trying to help me with my dumb questions.
I simplified my first sample, let me make it more close to what I wanted:
@Property
private MyGridRowObject myObject; // t:grid row=myObject ...
public Object getMyDynaObject() {
Link testLink;
It seems that since i've upgraded my app on T5.0.13, an event like the
one below doesn't refresh the page anymore :
Object onSuccessFromMyForm() {
...
return this;
}
Any clue ?
Stephane
I'm trying to create a SortableTarget mixin on my own component but am not
having any luck as yet.
I have created a MixinAny component that implements ClientElement so I can
attach mixins to an Any style component and get the client id.
I have not been able to find any examples of attaching a
Hello List,
My application use dynamic fields that I create on the fly in a loop.
Problem is : If a field trigger an error, how can I highlight it
correctly.
I don't want to use the per field onValidate mechanism since all
the values of the form have not been set yet and I want to do
Hi Howard,
unfortunately it does not work at least as i am doing it :)
could you take a look at the sample page below and verify
whether i've done a mistake or there is a bug. As mentionend
before the display of the beaneditor components works as
expected but when is submit the page i get a
Hello all,
Currently all our development is in T3(I know we are behind).
The word has come down its time to upgrade. My question is, what technology
works best with T4 as the layer between it and the database?
Currently we use Torque with T3(behind again I know). I have been researching
it
Hi James,
I'd recommend you skip T4 and go straight to T5 if you can live with it
not being final yet. As far as I know the final release should happen
sometime this summer, though.
T5 is already quite mature, though - I've been using T5 in production
for more than 7 months with only minor
Hi,
You really should skip T4. I've used both and must say that T5 is really
much clearer and easier to work with.
If you want to go serious with technology, you should probably look for
Hibernate - Spring - T5 combo. For our latest project we decided to drop
Spring, because T5 ioc offered
I¹ve noticed on a tapestry app that we are building, that if two users on
separate machines go to the same page, the second user can see the first
users submitted details on the form. We¹re just using a Form component, a
model Object in the page class and declaring each of the properties as
could you post the source of your page and template?
are you using https? http - https switches?
we're already using T5 in production and never had this issues
g,
kris
Ciaran Wood [EMAIL PROTECTED]
12.06.2008 16:03
Bitte antworten an
Tapestry users users@tapestry.apache.org
An
Tapestry
Actually, at the end of the request, each variable instance is set to its
default value before giving the page instance back to the pool. Do you
initialize the member at declaration time ?
Can you us more code ?
-Message d'origine-
De : Ciaran Wood [mailto:[EMAIL PROTECTED]
Envoyé :
Here's the code:
public class Register {
@Component
private Form registerForm;
@Persist(session)
private Member member;
@PageLoaded
void pageLoaded(){
log.debug(member created);
member = new Member();
member.setCurrency(GBP);
PageLoaded is executed only once during the page pool instance creation.
I Think it's the same as setting a default value to your member variable, and
then the Form may always work on the same instance.
Can you try something like this :
@OnEvent(activate)
void pageLoaded(){
Excellent, that solved the problem. Thanks very much!
Ciaran
On 12/06/2008 3:52pm, Cordenier Christophe
[EMAIL PROTECTED] wrote:
@OnEvent(activate)
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
For information, I think that the PersistentFieldManager is told of a
modification only when you do a 'new'.
In your exemple, the Form is changing the properties of an existing bean.
The 'new' is called before the page is attached to the user request. The 'new'
must be called after
Hi Konstanin,
I don´t think Filips post was irony. It really is simple. Anyway answering your
question: Simply returning a component from a getter (in your case a Link from
getMyDynaObject) won´t cause tapestry to render it. For a component to be
rendered you have to place it somewhere in the
Yes, that's correct for the custom editor.
Have a look, for example, at:
http://tapestry.apache.org/tapestry5/tapestry-core/guide/beaneditform.html
Under the section Adding new property editors.
If you need a display, you can similarly add a contribution to
BeanBlockSource for your data-type,
--
View this message in context:
http://www.nabble.com/T5-UTF8-encoding-tp17804815p17804815.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Good Afternoon,
Who knows the problem of tomcat on the server.
Tomcat's war have 17 in my company
Memory (Initial memory pool: 512mb and Maximum memory pool: 1024mb)
Version:
-- Tomcat 5.5.26
-- JDK 6_05
Server:
-- Gigabyte, Core 2 Duo and Memory 2 gb (motherboard has maximum of
Thanks for trying to help me. And as I said I managed to get what I want by
creating custom component. With markup like:
t:if test=type1
t:pageLink ...
t:parameter name=else
t:if test=type2
t:pageLike ... another page and params here
t:parameter name=else
${simpleDescription}
Have you checked the content of allCustomers list after call the method
customerManager.getCustomersByKey(searchKey)?
Marcus
After some work I've achieved to be able to store and retrieve my foreign
caracters, but know poor of me I've tried to add a link to a textbox, like:
input text box content:
Hello Box speciall caracters test ñáòú
link test www.google.com click to search in google
When this input box is
Hi there,
I wasn't being ironic at all. (Nor am I now.)
It still looks to me like you only need a PageLink. It has three
parameters that you should use: page, context, and disabled. Page is the
page name, context is a list/array of context parameters, and disabled
decides whether to render a
Hi,
${} expansions in T5 are filtered, that's your problem. You need to use
the Output component with filter=false or the OutputRaw component to
output the value if you don't want it to be filtered.
-Filip
On 2008-06-12 20:21, maxthesecond wrote:
After some work I've achieved to be able to
Hi,
I think you'll have better luck getting an answer on the Tomcat users
list. :)
-Filip
On 2008-06-12 19:06, Estevam Henrique Portela Mota e Silva wrote:
Good Afternoon,
Who knows the problem of tomcat on the server.
Tomcat's war have 17 in my company
Memory (Initial memory pool: 512mb
Try to set some more memory for permgen space, eg.
/-XX:MaxPermSize=128m/ in case of Sun's JVM.
The correct value depends on the environment, you can use for example
JConsole to diagnose the JVM.
Regards:
Norbi
Estevam Henrique Portela Mota e Silva írta:
Good Afternoon,
Who knows the
Thanks, one more time.
What I did is to add the following parameter to my grid component
t:parameter name=nameDescriptionCell
t:outputraw value=product.namepicture/
/t:parameter
Unfortunatelly with no succes.
Things I've observed:
1) If I change the
Sorry again
I finally make it work, the problem was in the name parameter ,it's a little
bit strange but in some cases you have to write: t:parameter
name=namePropertyCell
and in others t:parameter name=PropertyCell
Anyway now working!
--
View this message in context:
When I put a beanEditForm component in my tml file as following:
t:beaneditform t:id=customer submitlabel=message:create-user/
And in page class
public class EditCustomer {
@Persist
private TblMenuItem customer;
public TblMenuItem getCustomer() {
return
33 matches
Mail list logo