Hi,
I have this problem, say I have a OrderRec:
public class OrderRec {
private Long qty;
private Long supplierID;
private Long itemNo;
// getters/setters omitted
}
now I have a Order page:
public class Order {
private OrderRec rec;
// getter/setter...
hi, i have a number of compilation errors after my upgrade from T5.0.5 to
T5.0.10. some of them were trivial to resolve, but i have no idea how to fix
all of these from AppModule.java:
1. in following i have now no reference to 'response' object. previously it
was given as argument in
Hi Angelo,
what kind of workflow you are referring to?
1. Order Page - Click
2. Supplier page shows up (same browser tab)
3. User selects supplier - Click
4. Order page shows up again + supplier is changed.
5. Order page is submitted
or would you like this one:
1. Order Page - Click
2.
Hi Robert,
You clearly outlined the simple case. I'm interested in the 2nd case: The
name of my block/ component is read from the database and I have to acquire
the block/ component from another page (where the name could also be in the
database).
I found Howards repy to an earlier thread [1].
The form is frequently used so I've added form event methods too..
checkout
http://wiki.apache.org/tapestry/Tapestry5HowToEclipseCodeTemplates
I you already imported the templates, remove old ones firts before
importing new,
or you'll have duplicates.
Ive put selected event there also since it
Hi
Quoting spot_ [EMAIL PROTECTED]:
how can I make shure, that only one request of a user is processed at the
same time. In other words: I want to dismiss a request of a user, if a
request of the same user is already running at the moment.
There is no clear answer to this question. And you
Hello,
I just tested if i can switch to 4.1.5 just to realize that the
localization issue is only partially fixed.
Szenario: Application with fallback localization, german and english
properties
application.properties, application_en.properties,
application_en_GB.properties,
the t5_eclipse_code_templates.xml looks like the old one
2008/3/3, Davor Hrg [EMAIL PROTECTED]:
The form is frequently used so I've added form event methods too..
checkout
http://wiki.apache.org/tapestry/Tapestry5HowToEclipseCodeTemplates
I you already imported the templates, remove old
True, but even if one was only able to remove 10% of the getters and
setters, wouldn't it be worth it ?
I think the Tapestry 5 way of doing thing is great, practically
everything is JAVA code. But, this also obviously means, more JAVA code.
So, Tapestry should also help the developer keep that
Thanks for the pointer.
I didn't find that issue when looking for something similar.
Davor Hrg wrote:
I've created a minimaly invasive patch for this some time ago,
https://issues.apache.org/jira/browse/TAPESTRY-2116
it only requires notion of transformable methods for ClassTransformation
Hi,
we already use a i18n parser in our libraries (released as GPL aka
lutinutil).
Is there a way to contribute messages properties? Haven't fund how to
yet :(
Thanks
Gabriel
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
some cache problems...
I've renamed it to fix it for sure :)
Davor Hrg
On 3/3/08, Sven Homburg [EMAIL PROTECTED] wrote:
the t5_eclipse_code_templates.xml looks like the old one
2008/3/3, Davor Hrg [EMAIL PROTECTED]:
The form is frequently used so I've added form event methods too..
@GenerateAccessors
has been aded yesterday to current dev version : T5.0.11
Davor Hrg
On 3/3/08, Martin Kersten [EMAIL PROTECTED] wrote:
One thing I can wish for is accessing properties by field when
using the expression language within a template.
For testing Howard is right but knowing
i dated it up for IDEA, thanx davor
http://wiki.apache.org/tapestry/Tapestry5HowToIdeaLifeTemplates
2008/3/3, Davor Hrg [EMAIL PROTECTED]:
The form is frequently used so I've added form event methods too..
checkout
http://wiki.apache.org/tapestry/Tapestry5HowToEclipseCodeTemplates
I you
Hi,
I know there are a lot of Topics available about this issue but I couldn't
find a helpful Solution.
I'm trying to deploy my webapp on a ubuntu 7.10 linux server using
tomcat5.5. Using jetty my webapp works fine. I also followed the
Instructions about
This is a very useful feature, I think many developers miss it
It would be nice if Grid support it too
2008/3/2, Howard Lewis Ship [EMAIL PROTECTED]:
This is not (yet) supported by BeanEditForm. I hope to add this in
the future, but that will be 5.1 not 5.0.
On Sat, Mar 1, 2008 at 1:45 AM,
just a guess ..
something might be messing up javassist,
some system permissions to byte code modification,
javassist in shared lib o sth ..
Davor Hrg
On 3/3/08, MoritzGilsdorf [EMAIL PROTECTED] wrote:
Hi,
I know there are a lot of Topics available about this issue but I couldn't
find a
Hi Davor,
This sounds interesting, question, how block be used in a popup window?
Davor Hrg wrote:
uh,
I assumed you were talking about popup window,
I'm doing such thing in my form and I just made a component
that triggers event when something is selected
Hi Martin,
Thanks for the fast answer, i tried the javascript approach and it works,
that does give me some idea, in an intranet app, there are so entities that
are used often in the lookup, maybe components like DateField can be built
for them and use in the UI, this will make the app like a
an aoutocompleter for entities would be relatively simple to implement
Davor Hrg
On 3/3/08, Davor Hrg [EMAIL PROTECTED] wrote:
to use popup window you need a separate page,
and pair of javascript functions to connect the page in
popup with parent page's input
I personaly don't like
to use popup window you need a separate page,
and pair of javascript functions to connect the page in
popup with parent page's input
I personaly don't like popup windows because they're slow to open,
a zone would make a better choice here..
.. I haven't played arround with it, just some
hi Davor,
In the case of zone, another area in the same page will be opened for the
user to do some query/selection and return the result back to main form when
done?
I tried jQuery with Thickbox, it pops up another window and we can do some
selection, although it appears like another window,
Hello everybody,
I have a problem with the new index pages. The system that shortens the url,
shorten too much I think...
Exemple in the Index.tml page a the Root of my Tapestry package :
html xmlns:t=http://tapestry.apache.org/schema/tapestry_5_0_0.xsd;
t:pageLink t:page=index
I try to handle a tristate property (true/false/null) with a radiogroup :
t:radiogroup id=prop1 value=property1
t:radio value=true/true
t:radio value=false/false
t:radio value=null/not defined
/t:radiogroup
but the selection of not defined set my
Does Tapestry itself provide a simpler way to do this? Alternating
row styles is very common and it would be nice to have this be more
automatic.
Ben
On Wed, Nov 28, 2007 at 5:54 PM, Angelo Chen [EMAIL PROTECTED] wrote:
Hi,
In your tml you define a css class:
style type=text/css
You can override and extend Grid like this:
package com.poi.egh.turntable.ui.components;
/**
* Grid component to be used in ProjectX.
*
* Provides the following extensions to the Tapestry TurntableGrid:
* ul
* liclass=odd for all odd rows/li
* /ul
*
* @author Christian Kouml;berl
*/
Hi Angelo,
If we use boolean type for cssClass, maybe we don't need a set method.
private boolean cssClass = false;
public String getRowClass() {
cssClass = !cssClass;
return (cssClass ? : zebra);
}
Marcus
Angelo Chen wrote:
In your tml you define a css class:
style
I am trying to use the Grid component to render an HTML table with
very specific CSS to make the table look like a table which is
currently being rendered with the displaytag library in a Struts2
application. Our current style sheet uses CSS selectors based on the
simple element name without any
Ooops, Hit enter too soon. Here is a resend
I am trying to use the Grid component to render an HTML table with
very specific CSS to make the table look like a table which is
currently being rendered with the displaytag library in a Struts2
application. Our current style sheet uses CSS selectors
I have something to avoid creating getter for zebra effect
the usage is simple
t:grid rowClass=cycle:line1,line2
or
t:grid rowClass=cycle:normal,zebra
or more than two
t:grid rowClass=cycle:line1,line2,line3
or any loop
t:loop ...
div class=${cycle:line1,line2}/div
/tloop
On Mon, Mar 3, 2008 at 12:54 PM, Ben Tomasini [EMAIL PROTECTED] wrote:
Ooops, Hit enter too soon. Here is a resend
I am trying to use the Grid component to render an HTML table with
very specific CSS to make the table look like a table which is
currently being rendered with the
Cool idea. I'm trying to come up with a name for this approach, so
far the best I have is multi-dimensional reuse. The idea that you
can customize not in terms of just what a component does with data,
but even where a flow of data comes from, is subtle and powerful.
On Mon, Mar 3, 2008 at 1:11
hi,
might be nice to include that in the tapestry-core as this has a very common
use.
Howard Lewis Ship wrote:
Cool idea. I'm trying to come up with a name for this approach, so
--
View this message in context:
http://www.nabble.com/T5%3A-Grid%27s-rowClass-tp13810748p15818201.html
I'm sorry that I don't have direct experience with OC4J.
My first step would be to use Jetty Launcher (or equivalent) to verify
that the application is built correctly before trying to track down
what horrid things Oracle has been doing.
The theory is that Tapestry is servlet-container agnostic
Did the test by moving all WEB-INF/classes stuff to WEB-INF/lib, and
although I see some log4j stuff going on; more specifically:
08/03/04 02:53:12 Oracle Containers for J2EE 10g (10.1.3.3.0) initialized
08/03/04 02:53:28 log4j:WARN No appenders could be found for logger
The first step is to add an issue to JIRA.
You did PACKAGE up the classes files as a new JAR, right? Just moving
won't accomplish anything.
On Mon, Mar 3, 2008 at 6:00 PM, Jan Vissers [EMAIL PROTECTED] wrote:
Did the test by moving all WEB-INF/classes stuff to WEB-INF/lib, and
although I see
Hold on...
Some interesting developments.
I see:
Package stuff in WEB-INF/lib
- /hellotap/start/ returns
'red color coded' message:
An unexpected application exception has occurred.
Page Start did not generate any markup when rendered.
This could be
I've got a strange problem: One of my pages (FinaliseReport) has a
button which has it's own listener:
input type=button jwcid=@Submit listener=listener:generateReport
value=Generate Report/
When clicked, the listener does some processing then returns its self
either via this or via
Never mind, I figured it out. When using an explicit listener with
@Submit, the forms listener is still called, after the submit's
listener. The form's listener was overriding the desired result, so now
my processing is done in the form's listener instead.
39 matches
Mail list logo