Hi All,
I am new to Tapestry. I am creating a test with Tapestry Testify and XPath.
Everything works fine except that in my test class I am not able to load
Messages from properties file stored in UTF-8 encoding.
In my RegistrationTest class I have tried the followings:
*#1*
private final Message
Thanks Andy... your suggestion gave me an idea...
If i output the start row from java method... i was able to sneak past this...
the parser seeks lonely single tags without a mate.
So I am able to do what I want now.
Best regards
and thanks... KEN
From: nhhockeypla...@hotmail.com
To: users@t
why not them remove and replace that with some code?
On Thu, Nov 8, 2012 at 5:55 AM, nhhockeyplayer nashua <
nhhockeypla...@hotmail.com> wrote:
>
> this is the error I am trying to avoid...
>
> An unexpected application exception has
> occurred.java.lang.RuntimeExceptionException
> assembling
this is the error I am trying to avoid...
An unexpected application exception has
occurred.java.lang.RuntimeExceptionException
assembling root component of page Home: Failure parsing template
classpath:org/tynamo/examples/hibernatesecurity/components/Gallery.tml:
The element type "tr" must be
This is where it talks about well-formed-ness
http://tapestry.apache.org/component-templates.html
I have a very special case where I need to turn off the closing tag logic so I
can do something programmable. I am a qualified developer and mature enough to
track my own markup. And plus I have g
Bonjour,
Le mercredi 07 novembre 2012, antalk a écrit...
> 1
> 240
>
> 100
> 0
> 10
> 300
>name="connection.provider_class">org.hibernate.connection.C3P0ConnectionProvider
> To you
Hi,
you can inject the session directly. please take a look at the
documentation.
G,
Kris
Am 07.11.2012 09:31 schrieb "John" :
> I got the JPA(with eclipselink) to work and have been using
> @NamedStoredProcedureQuery annotations in entities to obtain entity classes
> successully from SQLServer.
Xms/Xms control heap size
You need to set permsize, like this: -XX:*MaxPermSize*=256m
On Wed, Nov 7, 2012 at 11:23 PM, tapestry.kung.fu wrote:
> I am using Jetty plugin to run my app using maven. I am using Eclipse
> where I
> have tried these two things.
>
> Open Run Configuration for Maven B
Google is your friend...
-XX:MaxPermSize=XXXM
--
Chris
On Wed, Nov 7, 2012 at 8:23 PM, tapestry.kung.fu wrote:
> I am using Jetty plugin to run my app using maven. I am using Eclipse where I
> have tried these two things.
>
> Open Run Configuration for Maven Build
> 1) set "-Xms256m -Xmx2048m"
I am using Jetty plugin to run my app using maven. I am using Eclipse where I
have tried these two things.
Open Run Configuration for Maven Build
1) set "-Xms256m -Xmx2048m" in VM Arguments text box of JRE tab
2) set MAVEN_OPTS variable with value -Xmx2048m in Environment tab
None of them work
I guess you could implement it that way but it seems easier to install both
mixins with a component transformer and then just have a parameter on the
grid control the row rather than the existence of the grid mixin
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Can-I-att
On Wed, Nov 7, 2012 at 8:52 AM, Lance Java wrote:
> > Lance, you might be interested in
> https://issues.apache.org/jira/browse/TAP5-1606.
> Interesting, I think the @EmbeddedMixin functionality is cleaner than what
> I
> suggested. I do agree with HLS' comment on the issue that it breaks the
> bl
I have a need to call third party web services (vcenter) to access some
usage. They provides com.vmware.vim25.VimService which uses javax.xml.ws
client stubs to login to webservices. I wrote Test cases to login to vcenter
and those standalone Java code can login without any issue.
But If i try to
On Wed, 07 Nov 2012 14:52:42 -0200, Lance Java
wrote:
Lance, you might be interested in
https://issues.apache.org/jira/browse/TAP5-1606.
Interesting, I think the @EmbeddedMixin functionality is cleaner than
what I
suggested. I do agree with HLS' comment on the issue that it breaks the
bl
A stack works fine when every grid is guaranteed to put a value on the stack.
Since the mixin is optional, the environmental is also optional. So a nested
Grid might see an environmental from a parent Grid when the value should
have been null.
--
View this message in context:
http://tapestry.10
I don't think nested grids would be a problem because environment variables
are a stack
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Can-I-attach-an-instance-mixin-to-a-nested-component-tp5717741p5717785.html
Sent from the Tapestry - User mailing list archive at Nabble
> Lance, you might be interested in
https://issues.apache.org/jira/browse/TAP5-1606.
Interesting, I think the @EmbeddedMixin functionality is cleaner than what I
suggested. I do agree with HLS' comment on the issue that it breaks the
black box philosophy of components. But given the alternatives,
On Wed, Nov 7, 2012 at 8:13 AM, Lance Java wrote:
> > I've overwritten both the Grid class and the GridRows class to make it
> happen
> Sounds like this might be a problem that needs addressing then... perhaps
> there should be a mechanism in tapestry to add mixins to subcomponents?
>
Lance, you
Hi Robert,
Thanks, that solves my problem, didn't know it would be so easy :)
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/catch-events-from-Form-in-component-tp5717772p5717782.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---
> I've overwritten both the Grid class and the GridRows class to make it
happen
Sounds like this might be a problem that needs addressing then... perhaps
there should be a mechanism in tapestry to add mixins to subcomponents?
eg:
public Map getSubMixins() {
Map map = new HashMap();
map.put
> Why not the Environment for passing parameters?
Since all nested components will be able to see the environmental, you might
get unexpected behavior for a grid inside a grid.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Can-I-attach-an-instance-mixin-to-a-nested-com
Add this:
1
240
100
0
10
300
org.hibernate.connection.C3P0ConnectionProvider
To your hibernate.cfg.xml and make sure you have C3P0 as available library
on the classpath.
Sh
Hi,
If you're looking like:
page.tml:
mycomponent.tml:
...
Then, if you don't catch the form event within mycomponent, it will bubble up
and appear as if it came from mycomponent, so the event handler in page.tml
would look like:
onSubmitFromFoo() {
}
So you don't need to worry about m
Yes you can,
However ( in my case) i've overwritten both the Grid class and the GridRows
class to make it happen and use chennillekit's onEvent mixin:
Grid.class: ( not everything)
@Mixins("ck/OnEvent")
@Component(parameters = {
"columnIndex=inherit:columnIndex
I'm still searching for a way to resolve this - now in 5.3.6.
Anyone have ideas on what potentially could be done? Creative ideas welcome
:)
cheers
Magnus
On Thu, Oct 25, 2012 at 2:13 PM, Bård Magnus Kvalheim wrote:
>
> Regarding AssetPathConverter - should I open a JIRA for stack assets?
>>
>
Ok I think I found the answer: Event bubbling
Now my bigger problem is that I can't give the Form component inside the
Wizard component a dynamic id, because component ids are static.
What I was trying: (doesn't work)
Wizard.tml
...
Wizard.java
-
public String getFo
Is this on a production server connected to the public internet ?
If yes, it could be spiders/ crawlers / bots who are visiting your page and
find these url's as script in the html. They follow the link but as it's not
a 'Tapestry ajax' request, the server gives these responses.
We've had simila
On Wed, 07 Nov 2012 12:41:48 -0200, Lance Java
wrote:
I think I've got a solution:
1. GridMixin calls ComponentResources.storeRenderVariable(name, value) to
make config available to GridRowsMixin
2. GridRowsMixin calls
ComponentResources.getContainerResources().getRenderVariable(name)
3. Comp
Hi,
I'm working on an ajax multistep form wizard component for in our
webapplication.
I pass the different 'views' as informal parameters and delegate them to the
right place. In my component I have these view blocks surrounded with a Form
component. Now I would like to catch the Form events into
So, create an IOC service:
public interface Job implements Runnable {
// implementors of this must be careful with synchronization
public void updateJobConfig(JobConfig config);
}
public class JobServiceImpl implements JobService {
@Inject
private PeriodicExecutor executor;
privat
Ok but what do I have to set the class parameter?
I want to create a got5-jquery checkbox with a value change event in the
backing.
How would I have to change the following to make it work?
Thanks alot
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/jQuery-bind-examp
Hi,
I'd like to create some configurable job. It should basically run between
certain hours of the day, so CRON should be the way to go.
I also found an example for this:
public class AppModule {
@Startup
public static void scheduleJobs(
PeriodicExecutor executor,
sorry but the tml part was not well formatted:
here is it again:
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/T-5-3-6-Request-event-internalevent-was-not-handled-Error-Message-tp5717762p5717768.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
error was at hibernate jars. I used different once to omit error with maven.
Finally i cleaned (mvn eclipse:clean) )the project and its working. Thankx
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/What-am-i-doing-in-this-postgreSQL-configuration-tp5717755p5717767.html
I think I've got a solution:
1. GridMixin calls ComponentResources.storeRenderVariable(name, value) to
make config available to GridRowsMixin
2. GridRowsMixin calls
ComponentResources.getContainerResources().getRenderVariable(name)
3. ComponentResources.getComponentModel().getMixinClassNames() is a
The ValueEncoderSource error is usually caused by hibernate not being able to
access the database and the bottom of the stack trace is usually the reason.
In this case:
Caused by: java.lang.NoClassDefFoundError: Could not initialize class
org.hibernate.annotations.common.reflection.java.JavaReflec
I would try using an informal parameter on the grid instead of a Mixin. The
row mixin should be able to access that with
ComponentResources.getInformalParameter(String name, Class type)
so in your template
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Can-I-attach-
Ok, so rolling with your suggestion...
Let's assume that I use a CTW2 to attach a GridRowsMixin to every GridRows
component. And now, I attach a GridMixin to the Grid. Is there any way that
the GridRowsMixin can lookup the GridMixin? To rephrase my question, can a
mixin on a child component lookup
Dear everyone!
I got some strange errors in the logfile of my tapestry deployment
application all similar to this here:
[INFO] AppModule.TimingFilter Request time: 3 ms
[ERROR] TapestryModule.RequestExceptionHandler Processing of request failed
with uncaught exception: Request event 'intern
@Lance and @Taha - I can see how this might alleviate some of the large
numbers of zones I'm passing around as parameters to components though I
really still don't like the idea of keeping a bunch of references to zone
instances anywhere apart from perhaps at their point of injection in their
'home
Your stack trace is missing a very important part of it, the root cause,
probably ate by Tomcat, so we can't help. In addition, the problem doesn't
seem related to Tapestry and Tapestry-Hibernate at all, but instead
probably being a Hibernate configuration problem.
On Wed, 07 Nov 2012 11:18
===hibernate.cfg.xml===
org.postgresql.Driver
jdbc:postgresql://localhost:5432/thetable
org.hibernate.dialect.PostgreSQLDialect
postgres
postgres123
true
true
=== pom.xml ===
Mateen,
You really haven't defined what you consider to be a pop-up. Do you want
the new page content to be in a new browser window? Just use the standard
target="_blank" attribute. Or in the same window but temporarily obscuring
the content of the old one? Then use one of the modals I linked to.
On Wed, 07 Nov 2012 06:33:22 -0200, Lance Java
wrote:
The grid component contains a nested "rows" component of type GridRows.
Is there a way that I can attach a mixin to the nested GridRows instance?
I don't think so.
I realise that this can be done globally via a ComponentTransformWorker
On Wed, 07 Nov 2012 04:37:45 -0200, Jean-Michel OLTRA
wrote:
Hi all,
Hi!
Is there a way to get Tapestry-Hibernate working with an external
connection pool? I tried c3p0, and proxool.
Just configure Hibernate for that as if Tapestry-Hibernate wasn't involved.
--
Thiago H. de Paula F
Hi all,
Is there a way to get Tapestry-Hibernate working with an external
connection pool? I tried c3p0, and proxool.
Each of these gives me:
ERROR org.apache.tapestry5.ioc.Registry - Error invoking method public static
org.apache.tapestry5.hibernate.HibernateSessionManager
org.apache.tap
Hi,
If you are using tapestry5-jquery (http://tapestry5-jquery.com/), they have
a mixin that does this:
Reveal (http://tapestry5-jquery.com/mixins/docsreveal)
If you don't want to use tapestry5-jquery, you could always search for a
javascript 'popup' that fits your needs and create your own mixi
Have you tried the chenillekit module?
http://chenillekit.codehaus.org/chenillekit-tapestry/index.html
Or you can have a look at this one:
Weaves: https://github.com/intercommit/Weaves
Demo: http://intercommitweavesdemo.intercommit.cloudbees.net/popupwindowdemo
--
View this message in c
The grid component contains a nested "rows" component of type GridRows. Is
there a way that I can attach a mixin to the nested GridRows instance? I
realise that this can be done globally via a ComponentTransformWorker2 but
I'd like to apply an instance mixin.
FYI, here's the code that initialises
I got the JPA(with eclipselink) to work and have been using
@NamedStoredProcedureQuery annotations in entities to obtain entity classes
successully from SQLServer. This technique doesn't seem to work well or fit the
situation where the stored proc just returns output parameters (no entity class
50 matches
Mail list logo