And how I can pass more than one parameter? Or did you mean I cannot pass
more than one parameter?
Thanks,
Yura.
On Sat, Mar 22, 2008 at 10:46 PM, SergeEby [EMAIL PROTECTED] wrote:
Hi,
You can pass more than one parameter.
/Serge
Yura Tkachenko wrote:
Hi All,
I've been reading
To pass more than parameter, a) from onPassivate method you should
return an object array:
Object[] onPassivate() {
return new Object[] {getProductId(), some string, true};
}
b) Then you either define onActivate method as
void onActivate(long productId, String xxx, Boolean yyy) {
Hi,
under what situation t5 will trigger sessionCreated of HttpSessionListener?
I notice that:
1) when a page has a @persist
2) when a page has a form?
what else?
--
View this message in context:
http://www.nabble.com/t5%3A-creation-of-session-tp16232654p16232654.html
Sent from the Tapestry
When you use @ApplicationStateObject
On Sun, Mar 23, 2008 at 4:05 AM, Angelo Chen [EMAIL PROTECTED] wrote:
Hi,
under what situation t5 will trigger sessionCreated of HttpSessionListener?
I notice that:
1) when a page has a @persist
2) when a page has a form?
what else?
--
Hello!
Sometime ago i needed to override default behavior of GridRows
component used inside the Grid (i needed to display more than one
table row for each grid row). For that sake i couldn't find anything
more elegant than extend both Grid and GridRows components (by
extending i mean extending
Hi,
i have this in my app.properties
id-blanklabel=select
then in the form:
input t:type=select name=country t:id=country
model=maps.countryMapx t:value=country/input
I can see a blank, but it was not displayed as 'select', why? thanks
A.C.
--
View this message in context:
I have a UserAddUpdate page with a property called readOnly. This property is
used to enable/disable components to simulate edit/read mode on the page.
The embedded AddressCmpnt template uses inherit:readOnly to enable/disable
its components.
I am now refactored the UserAddUpdate page and
ok, fixed, should have been country-blanklabel not id-blanklabel.
Angelo Chen wrote:
Hi,
i have this in my app.properties
id-blanklabel=select
then in the form:
input t:type=select name=country t:id=country
model=maps.countryMapx t:value=country/input
I can see a blank, but it
Thanks for this Davor,
I basically copied the code for ListBinding and overwrote the
public Object get() method and everything works great.
Petros
Davor Hrg wrote:
such construct is not yet possible,
OGNL is not used,
checkout http://wiki.apache.org/tapestry/Tapestry5HowTos
for code
Your onActivate method can also take varargs, as in
void onActivate (String... args)
{
_firstObj = restoreFirstObj(args[0]);
if (args[1] != null) _secondObj = restoreSecondObj(args[1]);
...
}
String[] onPassivate ()
{
ListString args = new ArrayListString();
args.add
I submitted issue for this a while back and Howard fixed this. You
will be able to access row again in 5.0.12.
https://issues.apache.org/jira/browse/TAPESTRY-2271
On Sun, Mar 23, 2008 at 7:22 AM, Anton Litvinenko
[EMAIL PROTECTED] wrote:
Hello!
Sometime ago i needed to override default
Actually, the conversion of parameters is based on ValueEncoders. For
example, using tapestry-hibernate, Hibernate entities are expressed in
URLs as their primary key (usually a number). They are converted back
from strings to numbers to entities when the event handler method is
invoked.
The
Looks like a bug. PageLoaderProcessor.java:249 is:
// This may return null if the parameter is not bound in the
loading component.
Binding existing =
loadingComponentBindingMap.get(loadingParameterName);
It looks like loadingComponentBindingMap may be null when the loading
The readOnly parameter belogs to the AddUpdateLayoutCmpnt and is declared
like this
@Property
private boolean readOnly;
I then use the AddUpdateLayoutCmpnt as the layout of this
div t:type=AddUpdateLayoutCmpnt
xmlns:t=http://tapestry.apache.org/schema/tapestry_5_0_0.xsd;
input
Hi,
I'm getting Javascript error when trying to use datefield component on my
form. This component works properly in Firefox but it doesn't work with IE7.
I'm getting js error: Object doesn't support this property or method on
the line 87 in file: /assets/tapestry/corelib/components/datefield.js
I have a LayoutCmpnt called AddUpdateLayout the contains the following form
AddUpdateLayout.tml
form t:id=addUpdateForm clientValidation=true
/form
AddUpdateLayout.java
..
@Component(id=addUpdateForm)
private Form addUpdateForm;
..
Then I use this Layout for
Hi all,
we are working on migration of tapestry4.0.2 to 4.1.5
We are using Tapesrtry 4.1.5 jars(tapestry-annotations-4.1.5.jar ,
tapestry-contrib-4.1.5.jar, tapestry-framework-4.1.5.jar,
tapestry-portlet-4.1.5.jar) and ognl-2.7.2.jar
we've changed
1. Ajax directlink to
17 matches
Mail list logo