Just another byproduct of things that occur and run amuck within the app at
runtime
An unexpected application exception has occurred.Parameter 'cursor' of
component Home:gallerywidget is bound to null. This parameter is not allowed to
be null.
I guess I need to review all the code and see w
Well i have set all -Dtapestry.production-mode=true (beit true or false) in my
eclipse debug configurations, pom.xml's, AppModule.JAVA and web.xml.
The only place that I set this that actually had an effect on how the webapp
runs PROD MODE
Application 'app' (version 1.0-SNAPSHOT-1351774079811)
于 2012/11/2 1:31, Thiago H de Paula Figueiredo 写道:
On Thu, 01 Nov 2012 13:38:05 -0200, Rural Hunter
wrote:
yes, thanks guys. I know I can get it from service-status or source
code. I have already had a rough read of both. But if there is a doc
to briefly describe all those services and how t
Ulrich - I'll be curious to see what you come up with. I also use Shiro and
have the user stored in the database, and have been thinking that I need to
have a better way of having access to the current user (e.g. using some
annotation). I'm not entirely sure how this FieldConduit would work (what
L
On Thu, Nov 1, 2012 at 6:46 AM, wrote:
> public class Foo extends _Foo {
>
>@Inject @Symbol(value="baseDir") // not possible
>String baseDir;
>
>public String getAbsoluteLocalFilepath() {
>
>return baseDir + "/" + toUser.getId() + "/" + getFilename();
> }
> }
>
> The ret
On Thu, Nov 1, 2012 at 6:06 AM, wrote:
> I don't even know what CayenneService is ;)
A typo on my part. I was trying to reference the previous
TapestryCayenneService.
> For deleting/committing I inject an ObjectContext (with annotation
> @OCType(...) or ObjectContextProvider from tapestry5-ca
Thank you all, the problem is solved. I am using RunJettyRun now and
together with the settings that Kalle and Thiago posted, it works like a
charm.
The authors of RunJettyRun "strongly recommand" on their project page to use
DCEVM hot-deploy feature to work with RJR, it's really faster and faste
This one caught my eye:
The class must be one that Tapestry instantiates (a page, component, or mixin
class, or a Tapestry IOC service implementation that implements an interface)
I have a done of DAOs that implement an interface and are registered as
per-thread services and they never reload.
On Thu, 01 Nov 2012 17:05:59 -0200, Lenny Primak
wrote:
Do I detect a bit of NIH going on here? Please let me be mistaken.
Nope. As Howard said, it's a matter of licensing and also not having too
much code in the Tapestry project to maintain. The team doesn't have many
members and almo
On Thu, 01 Nov 2012 18:51:31 -0200, Kalle Korhonen
wrote:
http://jumpstart.doublenegative.com.au/jumpstart/examples/input/morecontroledit1/1
(BeanEditForm is comprised BeanEditor component and buttons)
Yep. Almost everything done by BeanEditForm is actually done by
BeanEditor. I don't eve
On Thu, 01 Nov 2012 17:01:09 -0200, Howard Lewis Ship
wrote:
That's odd ... I'd have to look into that, if I still used Eclipse!
I use Eclipse and RunJettyRun and I've never experienced context reloads.
Maybe, in your RunJettyRun run configurations, you have SourceMonitorList
-> Enable
http://jumpstart.doublenegative.com.au/jumpstart/examples/input/morecontroledit1/1
(BeanEditForm is comprised BeanEditor component and buttons)
Kalle
On Thu, Nov 1, 2012 at 1:30 PM, membersound wrote:
> HI,
>
> how can I display multiple objects for one single beaneditform? I mean: with
> all th
HI,
how can I display multiple objects for one single beaneditform? I mean: with
all the fields from several objects displayed with only one submit button at
the end.
I could only imagine to use t:add="prop1, prop2, prop3" and use
object1.prop
object2.prop
...
But with that I would lose a lot o
Ok that's not perfect but definitely sufficient for now. THanks!
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Grid-align-all-numbers-to-the-right-tp5717500p5717565.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
Fixed, thanks. If you file a CLA, it'll be faster to edit and fix
small issues in docs like these yourself than write an email about it.
Kalle
On Thu, Nov 1, 2012 at 12:47 PM, Paul Stanton wrote:
> http://tapestry.apache.org/beaneditform-guide.html
>
>
>
>
>
>
>
>
>
http://tapestry.apache.org/beaneditform-guide.html
the above eg throws an exception in t5.3+ on usage of
The element has been deprecated in Tapestry 5.3 in favour of
'tapestry:parameter' namespace.
-
Thanks a lot, that did it.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/template-class-reloading-and-gradle-s-jetty-run-tp5717491p5717562.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
Still, I bet t5conduit would be easier, and with less code / featues. Who says
that WRO4j works correctly at all times?
As a t5conduit user, it work great, works great with tapestry and I haven't had
a single bug with it.
On Nov 1, 2012, at 3:08 PM, Howard Lewis Ship wrote:
> Not extactly NIH
On Thu, Nov 1, 2012 at 11:56 AM, Andy Pahne wrote:
> RunJettyRun is a neat plugin which I have not been aware of. Unfortunatly
> for me it does the same: on every change of a template or class file, it
> reloads the whole context instead of simply reloading that one changed
> entity.
Preferences/
Not extactly NIH ... I will be letting WRO4J do all the heavy lifting.
The remainder doesn't amount to much.
On Thu, Nov 1, 2012 at 12:05 PM, Lenny Primak wrote:
> Do I detect a bit of NIH going on here? Please let me be mistaken.
>
> On Nov 1, 2012, at 3:04 PM, Jochen Frey wrote:
>
>> Amen!
>>
Do I detect a bit of NIH going on here? Please let me be mistaken.
On Nov 1, 2012, at 3:04 PM, Jochen Frey wrote:
> Amen!
>
> On Nov 1, 2012, at 12:00 PM, Howard Lewis Ship wrote:
>
>> We've also had a number of cases of committers coming on, dumping code
>> (without tests or documentation),
Yeah, I heard you are a great fan of IntelliJ. I might have to look into
that sometimes
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/template-class-reloading-and-gradle-s-jetty-run-tp5717491p5717556.html
Sent from the Tapestry - User mailing list archive at Nabble
Despite all of what you said I bet its still easier to take the library as
opposed to duplicate all that effort.
Like orders of magnitude easier.
I am sure the author is willing to donate the code, if he didn't do so already.
On Nov 1, 2012, at 3:00 PM, Howard Lewis Ship wrote:
> We've also had
Amen!
On Nov 1, 2012, at 12:00 PM, Howard Lewis Ship wrote:
> We've also had a number of cases of committers coming on, dumping code
> (without tests or documentation), and disappearing. That causes a lot
> of havoc. I'd prefer to have fewer features, better supported, than a
> large ecosystem
That's odd ... I'd have to look into that, if I still used Eclipse!
On Thu, Nov 1, 2012 at 11:56 AM, Andy Pahne wrote:
>
> RunJettyRun is a neat plugin which I have not been aware of. Unfortunatly
> for me it does the same: on every change of a template or class file, it
> reloads the whole conte
We've also had a number of cases of committers coming on, dumping code
(without tests or documentation), and disappearing. That causes a lot
of havoc. I'd prefer to have fewer features, better supported, than a
large ecosystem of broken and abandoned code.
On Thu, Nov 1, 2012 at 11:59 AM, Howard
It's not always as simple as that.
First, there is licensing; I can't just take a library; it has to be
properly granted to the ASF.
Second, I'm hesitant to take on code "from the wild"; ultimately, the
T5 committers (primarily myself) end up taking on the responsibility
for the code; t5conduit d
RunJettyRun is a neat plugin which I have not been aware of. Unfortunatly
for me it does the same: on every change of a template or class file, it
reloads the whole context instead of simply reloading that one changed
entity.
Though, I admit, it does that much quicker than gradle does, so I am al
Please consider t5conduit for inclusion into Tapestry.
It already supports CoffeeScript and LessCSS
No need to reinvent the wheel here.
On Nov 1, 2012, at 2:20 PM, Howard Lewis Ship wrote:
> The conversion from CoffeeScript to JavaScript occurs on the server.
>
> The generated JavaScript is qui
great answer, thanks.
so it is primarily a concern for tapestry committers in that case.
On 2/11/2012 5:20 AM, Howard Lewis Ship wrote:
The conversion from CoffeeScript to JavaScript occurs on the server.
The generated JavaScript is quite straight-forward for most cases.
CoffeeScript is more
The conversion from CoffeeScript to JavaScript occurs on the server.
The generated JavaScript is quite straight-forward for most cases.
CoffeeScript is more concise than JavaScript; it includes a couple of
higher-order features, such as really smart loops, and smarter
handling of function paramet
On Thu, 01 Nov 2012 16:02:21 -0200, Paul Stanton
wrote:
ok, our usage of the term 'monkey-patch' is where the misunderstanding
is. I mean, patch. not monkey-patch, in your definition.
That's why I always told my students: use the right words, the right
names, the right terminologies all
On 2/11/2012 4:59 AM, Thiago H de Paula Figueiredo wrote:
On Thu, 01 Nov 2012 15:34:43 -0200, Paul Stanton
wrote:
On 1/11/2012 9:37 PM, Thiago H de Paula Figueiredo wrote:
On Thu, 01 Nov 2012 01:10:16 -0200, Paul Stanton
wrote:
I've had to do some pretty in-depth debugging and patching
On Thu, 01 Nov 2012 15:34:43 -0200, Paul Stanton
wrote:
On 1/11/2012 9:37 PM, Thiago H de Paula Figueiredo wrote:
On Thu, 01 Nov 2012 01:10:16 -0200, Paul Stanton
wrote:
I've had to do some pretty in-depth debugging and patching of
tapestry's javascript in the past (particularly aroun
On 1/11/2012 9:37 PM, Thiago H de Paula Figueiredo wrote:
On Thu, 01 Nov 2012 01:10:16 -0200, Paul Stanton
wrote:
I've had to do some pretty in-depth debugging and patching of
tapestry's javascript in the past (particularly around zones) and at
least I can understand the source code because
On Thu, 01 Nov 2012 13:38:05 -0200, Rural Hunter
wrote:
yes, thanks guys. I know I can get it from service-status or source
code. I have already had a rough read of both. But if there is a doc to
briefly describe all those services and how to utilize them, it will be
very helpful and sav
I was unable to get Velocity to work, however I switched to FreeMarker and
was able to get things to work with the following configuration. This should
provide an example to anybody else who may encounter issues similar to the
ones I had.
pom.xml
org.freemarker
f
I agree with Rural that there is a need for a list of some kind.
As a partial solution, the Javadoc package summary pages list of most
of them, with brief descriptions for each:
Core Services:
http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/services/package-summary.html
AJAX S
On Thu, Nov 1, 2012 at 8:38 AM, Rural Hunter wrote:
> yes, thanks guys. I know I can get it from service-status or source code. I
> have already had a rough read of both. But if there is a doc to briefly
> describe all those services and how to utilize them, it will be very helpful
> and save a lo
yes, thanks guys. I know I can get it from service-status or source
code. I have already had a rough read of both. But if there is a doc to
briefly describe all those services and how to utilize them, it will be
very helpful and save a lot of time at least for beginners. Regarding
the current I
Hi,
The workaround seems to work.
I only process the facebook parameters on the first request from facebook
and store them in my session. Afterwards I can work with my own URLs without
problem, so I don't need the absolute URLs anymore.
Thanks for you help.
Regards,
Jelle
--
View this m
On Thu, 01 Nov 2012 12:06:55 -0200, membersound wrote:
HI,
Hi!
Grid doesn't care what kind of object you pass to its source parameter, as
long as it is a GridDataSource or something that can be coerced to it
(like Collections).
t:grid source="service.objects" row="service.object"
No
If you're not afraid of getting your hands dirty with a bit of source code,
download the tapestry sources and have a look at:
tapestry-core\src\main\java\org\apache\tapestry5\services\TapestryModule.java
tapestry-ioc\src\main\java\org\apache\tapestry5\ioc\services\TapestryIOCModule.java
The majori
On Thu, 01 Nov 2012 12:03:59 -0200, membersound wrote:
I think css cannot differ between strings and integers?
How could this be possible? I could only use css to align the whole table
columns to the right.
Grid doesn't support that. And, as I've said before but you seem to have
overlooked
Almost everything is service in Tapestry. /servicestatus to see a list
of all services (http://tapestry.apache.org/service-status.html). The
documentation at http://tapestry.apache.org/documentation.html does a
pretty good job documenting specific services.
Kalle
On Thu, Nov 1, 2012 at 5:51 AM, R
The FlowLogix library fixes this among may other datefield issues (
http://code.google.com/p/flowlogix )
On Nov 1, 2012, at 2:41 AM, Vladimir Bauer wrote:
> Hi
>
> There is blank year header in datefield component, rendering in IE8, see
> attached.
> Tapestry version 5.3.6
> It is ok in Fire
On Thu, 01 Nov 2012 11:13:19 -0200, membersound wrote:
Why not? That would be perfectly good, even recommended, object-oriented
Because it was just an example here, I want to apply some calculations
for some rows, which should not clutter my entities. And of course
itself rely again on ot
As far as I remember, no, but that' a good idea, at least for the most
useful services.
On Thu, 01 Nov 2012 10:51:12 -0200, Rural Hunter
wrote:
and what they do and how to extend them.
Read the Tapestry-IoC documentation.
--
Thiago H. de Paula Figueiredo
--
On Thu, 01 Nov 2012 11:46:00 -0200, John wrote:
Hi,
Hi!
I don't like how Juno shows all the maven dependencies in the root
project node, which is why I went back to Indigo and I also don't see
any of the maven tasks listed on the run menu. Is there a tweak to
organise the project more
This is why, under Eclispe, I would use the RunJettyRun plugin, which exe
uses Jetty directly off your workspace files and compiled classes. That
works perfectly.
Delegating out to Gradle means that, at best, when Eclipse compiles files,
they are copied to the directory served by Jetty, which only
Hi,
I did all of that except turning off hot code swapping. I just did not find,
where to turn that off in Eclipse. I found "Configuration - Java - Debug",
where I can adjust what happens if hot code swap fails or isn't available,
but I did not find, how to turn it off.
After working through the
HI,
must a t:grid row="object" always be in the backing page java class?
Or can I also have something like this:
t:grid source="service.objects" row="service.object"
class Page{
@Inject
@Property
private ObjectService service;
}
class ObjectService {
private List objects;
private Obje
I think css cannot differ between strings and integers?
How could this be possible? I could only use css to align the whole table
columns to the right.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Grid-align-all-numbers-to-the-right-tp5717500p5717524.html
Sent from the
I'm using Juno and I see the maven dependencies in same way that Indigo,
all in the folder called "Maven dependencies"... I think you can control
this by editing the project file called ".classpath" .
--
David Germán Canteros
2
Hi,
I don't like how Juno shows all the maven dependencies in the root project
node, which is why I went back to Indigo and I also don't see any of the maven
tasks listed on the run menu. Is there a tweak to organise the project more
manageably?
Any eclipse tools recomended for working with ta
Hello, I think I've configured chenillekit-template with my tapestry project
as followed.
org.chenillekit
chenillekit-template
1.3.3
public static void contributeVelocityService(MappedConfiguration configuration) {
Resource velocityConfig = n
Well the code I gave you was untested you could do a bit of debugging
yourself ;)
List topChildren = writer.getElement().getChildren();
Element div = (Element) topChildren.get(topChildren.size() - 1);
Element tbody = div.find("tbody");
--
View this message in context:
http://tapestry
OK got it, thank you very much!
> Why not? That would be perfectly good, even recommended, object-oriented
Because it was just an example here, I want to apply some calculations for
some rows, which should not clutter my entities. And of course itself rely
again on other entities, so the calcu
Close... but:
[ERROR] admin.UserProfilePage Render queue error in
AfterRender[admin/UserProfilePage:grid]:
org.apache.tapestry5.ioc.internal.util.TapestryException
org.apache.tapestry5.ioc.internal.util.TapestryException [at
classpath:admin/UserProfilePage.tml, line 9]
at
org.apache.tapest
and what they do and how to extend them. I think it would be very
helpful but cannot find such a list.
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.o
On Thu, 01 Nov 2012 09:57:13 -0200, membersound wrote:
Ja but then I have to add every myself in the tml files and
align them (eg with a custom css text-aligment tag).
No, you don't. Please read my message again.
--
Thiago H. de Paula Figueiredo
On Thu, 01 Nov 2012 10:06:34 -0200, membersound wrote:
Sorry, I think I didn't get it.
Nope, you didn't. :P
setupRender() {
model.add("result", pcSource.create("Product.class", "price"));
Does this even compile? I guess it should be model.add("result",
pcSource.create(Product.clas
Tapestry is interpreting the event as a property on your page. Change the
default binding prefix for the property to LITERAL:
@Parameter(required=true, defaultPrefix=BindingConstants.LITERAL)
private String event;
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Render-
When tapestry starts, it lists the registered components and mixins... Is the
mixin listed in the logs?
Do you have other custom components that are working?
Does the mixin code live inside the webapp?
Or is the mixin part of a component library?
(http://tapestry.apache.org/component-libraries.html
OK i placed it in the mixins package, and /now/ Tapestry complains about
missing rowEvent class :(
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Render-whole-table-grid-row-as-a-link-tp5717388p5717513.html
Sent from the Tapestry - User mailing list archive at Nabble.com
Sorry, I think I didn't get it.
Lets make an example here:
http://tapestry.1045711.n5.nabble.com/BeanModel-how-to-add-results-from-a-method-tp5717499p5717512.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---
Go through the troubleshooting section at
http://tapestry.apache.org/class-reloading.html ... let us know if you
still have a problem after checking each of those things.
On Nov 1, 2012 4:39 AM, "Andy Pahne" wrote:
>
> Hi,
>
> after being forced to work with other web frameworks for quite a while
> where do I have to place the mixin? I placed it into /components.
Mixins must live in basepackage.mixins
(http://tapestry.apache.org/component-mixins.html)
> RowType is the object that is displayed in the grid? Eg
> onRowClick(UserProfile user)?
Correct, it is the collection type backing the gri
Please vote for this issue: https://issues.apache.org/jira/browse/TAP5-2014
AKA "Zone highlight leaves behind an explicit background-color which overrides
css background-color"
On 01/11/2012, at 8:45 AM, membersound wrote:
> Yes zone.getBody().
>
> And I too use CSS, the style ...background-
Ja but then I have to add every myself in the tml files and
align them (eg with a custom css text-aligment tag). That's what I hoped to
avoid as I create my BeanModel completely in the backing java page class...
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Grid-align-
Could you provide more input on that?
This looks great, but cannot get it working.
-where do I have to place the mixin? I placed it into /components.
-RowType is the object that is displayed in the grid? Eg
onRowClick(UserProfile user)?
I implemented it that way, but rowclicks are not recognized
On Thu, 01 Nov 2012 09:23:25 -0200, membersound wrote:
Hi,
Hi!
is it possible to automatically align all numbers (int, double,
BigDecimal) to the right within a row?
Not completely automated. Notice that Grid adds the property name as a CSS
class in the elements. Now use CSS to format
On Thu, 01 Nov 2012 08:46:42 -0200, wrote:
getAbsoluteLocalFilepath() is called in page classes, e. g. to store a
file under this path. Another example for a method in Foo could be
public InlineFileStreamResponse getImageAsStream() ...
where we also need the baseDir.
With the above informat
On Thu, 01 Nov 2012 09:03:06 -0200, membersound wrote:
Hi,
Hi!
When I create a BeanModel, how can I add results eg from a method that is
not contained in the Entity-Object with which the BeanModel has been
created?
You can't pass the result itself, but you can implement a PropertyConduit
Great! Thanks.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/email-validation-stopped-working-tp5717401p5717502.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
To unsubscribe,
> I think Lance was onto the best ideas. The easiest would be to create a
Tapestry service for creating your Cayenne objects
That's not what I said, infact I said that a factory was a bad since there
are multiple sources for these objects.
I was suggesting a service:
public class FooServiceImpl
Hi,
is it possible to automatically align all numbers (int, double, BigDecimal)
to the right within a row?
Standard alignment is to the left which is fine for all strings, but I'd
like to have numbers aligned different.
Thanks
--
View this message in context:
http://tapestry.1045711.n5.nabble
Hi,
when I create a BeanModel, how can I add results eg from a method that is
not contained in the Entity-Object with which the BeanModel has been
created? Like:
Here I create a beanmodel for the class UserProfile. And I want to add a
field that gets its content from a method that is placed NOT i
I'm sorry, I inadvertently sent the mail, but I wasn't finished writing yet :(
continued:
> For example:
public class Foo extends _Foo {
@Inject @Symbol(value="baseDir") // not possible
String baseDir;
public String getAbsoluteLocalFilepath() {
return baseDir + "/"
On Thu, 01 Nov 2012 07:36:45 -0200, John wrote:
Hi,
Hi!
I've been using Indigo but the m2e and run jetty plugins seem to not
work well. Is there a particular Eclipse version that runs well with
these plugins and supports any tapestry aware editor plugins?
Just use the latest Eclipse av
On Thu, 01 Nov 2012 01:10:16 -0200, Paul Stanton
wrote:
I've had to do some pretty in-depth debugging and patching of tapestry's
javascript in the past (particularly around zones) and at least I can
understand the source code because it is a familiar language...
Replacing the source-code
I'm sorry I couldn't help much with tapestry's web framework at the moment
as I've been using the IoC for months and the web framework's details
aren't fresh in my mind ATM.
I think this should do for you:
http://jumpstart.doublenegative.com.au/jumpstart/examples/input/validators1
...this page is
> PS. Which version of Cayenne are you using?
Cayenne 3.1B1, Tapestry 5.3.6 and tapestry5-cayenne-server 0.5-SNAPSHOT
> PPS. Don't use CayenneService as a DAO for deleting/saving, either.
I don't even know what CayenneService is ;)
For deleting/committing I inject an ObjectContext (with annotati
I have that form in overlay, so I tried to use client-side validation to
avoid page refresh and simultaneously avoid complications with ajax form.
I`m quite a new to tapestry 5 and i was really surprised that there is no
client-side validation even though there is server-side counterpart...
..it
Hi,
after being forced to work with other web frameworks for quite a while, I am
glad to have a Tapestry project again, so I am back!
I set up a fresh project and I am running it with gradle's jettyRun plugin.
Unfortunatly I can't get template and class reloading to work.
In my AppModule class
This is not really a tapestry question.
Here's the standard maven project layout
http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html
Any files under src/main/resources will be available on the classpath (eg
Classloader.getResrouceAsStream(...))
Any files
86 matches
Mail list logo