In list there is a column with the delete funtion,but i want to user confirm
the action,in other word,I want to have a confirm window "do you really delete
this record",in t5,how to do this,give some idea,thanks.
Didn't find anything weird :)
Try excluding more of your pojo properties until you find which one
causes this...
Also, try the properties parameter as described at
http://tacos.sourceforge.net/tacos4.1/beanform/component-reference.html
instead of the exclude one
On Sat, Jun 14, 2008 at 5:24 AM,
So, you're saying that when you're creating a new bandPojo
it works, but when you're editing an existing one it fails?
I'm taking a look at the error messages + the beanform templates to see
why this is happening - is it possible to try T4.1.6-SNAPSHOT and
OGNL-2.7.3 in the meantime (just in case)
Hello all,
I'm having an issue with BeanForm (version 0.9). I have a feeling it's
something I'm missing - but I've done about all the research and probing I can
think of to no avail.
The particulars - I'm executing in Jetty 4.2.27 (old, I know - but it seems
rather trusty) on ubuntu linux. My t
today at work I was looking for a mistake adnd Isaw that the memory was
being full. The tables were making the memory full. I believe that I am
having problems with the aplication. How do I erase the memory and have it
full? I believe that its a persistence on the memory.
I used the probe to find o
I changed the shortcut configuration for the switch file feature and now it
works for me on my osx and windows machine using ctrl+alt+x.
Would be glad if someone could give it a go to see if the new shortcut
binding works well for you.
The fix is available in version 1.0.2 which is available throug
Hey Zack,
yes the action is supposed to switch from any template file to the according
java class file no matter if that file was open before or not.
So it works for you when you click the action from the menubar, right?
I think i will have a look if i can modify the shortcut so that it is
ctrl+al
This is also a nice resource from Sun:
http://java.sun.com/performance/reference/whitepapers/6_performance.html
JAVIER SANCHEZ
EDESA S.A.
On Fri, Jun 13, 2008 at 9:06 AM, 9902468 <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> @Persist annotation is bad for scalability and should be avoided where
> possib
You should include more information in your post: T5 version, Hibernate
version, relevant code.
>From your getHibernateTemplate(), it looks like you might be using the
Spring hibernate integration. Disappearing information in this case is
likely the result of mis-configured Spring transaction ma
I am using the plugin under Ganymede M7 on Windows XP.
The navigate-> menu optio n works there, however the binding is showing up
as Alt + x, which does not work. I changed the binding to Ctrl+Alt+X, and
now it works fine!
This is a great plugin for me, because my packages are nested very deep a
Ah there it is! I am running ubuntu which looks like it turns the shortcut
into Alt X which unfortunately opens the XML menu instead of switching to
the page. Also, is it supposed to switch from the page to the template?
Because it doesnt seem to work there even though there is no xml menu :\ It
Hello Tommy,
rewrite
to
If you explicitly name a model (t:model="option"), it has to be an
implementation of org.apache.tapestry.SelectModel. Your Enum "Option"
apparently is not an implementation of that. That causes the exception I think.
For Enums it is not necessary to explicitly name a
I use the getHibernateTemplate().saveOrUpdate(obj) to save the data,inputing
with beaneditform component of T5.After i click the create/update button ,i
query the table with sql analyse tool immediately,the new data exists,but after
a while ,the new data will lost.How can i save the new data int
My last post did not get a response so perhaps including some code might
help.
I have a mixin which I attach to a custom component but the component is
null in the afterRender method of my mixin
It appears that @InjectContainer is not working... is there something I need
to add to my component? (M
Hi,
@Persist annotation is bad for scalability and should be avoided where
possible. Of course, this cannot be always done.
If it is known that only couple of users uses the page (Admin console or
something.) then you can persist larger objects to session. And you don't
need to have that user o
Hi Peter,
Thanks for your help. Didn't know the two issues were one in the same. Damn
you javassist!
Zack
Peter Stavrinides wrote:
>
> Hi Zack
>
> These are well known issues with Javassist and JDK 6, see:
>
> http://www.nabble.com/TransformationException-ClassNotFoundException-td17156180.
That is not the case!
the jvm uses the PermGenSpace to store the classes meta-information
(eg. needed for reflection). everytime Tapestry reloads and enhances a
page a new class is generated and its meta-information gets stored in the
PermGenSpace. Even if the same page class has been enhanced b
Looking at ComponentModel it doesn't seem as though there is a way to get
components defined in the template, only those embedded with @Component. Is
there another way to do it?
Dan Adams
Senior Software Engineer
Interactive Factory
p: 617.235.5857
-
Hello,
i have to upgrade a Tapestry-Project from Vers. 5.0.6 to 5.0.11 and now
there are several problems with some components. For example, i want to
select items from a dropdown field. The code in the older Tapestry-Version
works fine, but now i get an exception in ValueEncoderSource which i c
Hi guys,
I had some problems like this too, and i want to know from you,
tapestry experts:
Do you think that the wrong usage of @Persist annotation can cause
problems like this? If we have more things to "persist", we will have
a bigger client session, combined with many clients all the time in a
t
Hi all,
I am trying to add a DAO layer in my application, using the sample code
provided at:
http://tapestry.formos.com/nightly/tapestry5/tapestry-hibernate/userguide.html
The problem is that the annotation @CommitAfter is missing
and HibernateTransactionDecorator cannot be found in the classpat
Hey Zack,
thanks for checking it out!
What OS are you running? I only tested it under OSX and the shortcut is
Ctrl+Option X. I think i read something in the eclipse docs that modifiers
can differ on OS's.
You can use the action and see the shortcut if you use the action from the
menubar:
Navigate
Hi Zack
These are well known issues with Javassist and JDK 6, see:
http://www.nabble.com/TransformationException-ClassNotFoundException-td17156180.html#a17182647
http://www.nabble.com/Re%3A-T5%3A-TransformationException-p16541145.html
In your case though you might be able to work around it by ad
Dear all,
Is there any plan in the future to include Javascript widget like
Dojotoolkit or Ext-JS in Tapestry-5 ? If there's no plan for that in the
future we want to include it in our project otherwise we'll be just using
the ones bundled with T5.
Best regards,
IMPORTANT NOTICE:
The informati
Hi, it's me again :-)
Filip S. Adamsen-2 wrote:
>
> 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
Add.java = http://pastebin.com/m6f3771f6
I am able to cause the error by adding a throw/catch around my session.save.
Although that is in the onSubmit() method so it shouldnt actually be running
on page load.
Zack
9902468 wrote:
>
> If possible please attach also the page (Add.java) and corres
26 matches
Mail list logo