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 directl
I have a LayoutCmpnt called AddUpdateLayout the contains the following form
AddUpdateLayout.tml
AddUpdateLayout.java
..
@Component(id="addUpdateForm")
private Form addUpdateForm;
..
Then I use this Layout for XYZAddUpdate.tml page like this
http://tapestry.apache.o
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
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
http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
When the page above renders I am getting the err
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
co
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 same
Yes, I agree that for tags Tapestry should pass data via URL. But in my
example I'm using form component.
As the result my form will be rendered into ... But even with that component when I'm passing
some data during onSubmit event for fo
Because the designers of HTML haven't figure out yet that an tag
should have a method attribute, like a .
Also, the URLs should not be particularly long, as you should be
putting in just the ids of objects. If objects are showing up a long
MIME encoded serialized strings, you may want to rethink
Thank you Anton. Both solutions are works good for me. But still I have a
question why Tapestry 5 is generating long URL for activation context
instead of sending these data using HTTP POST?
On Sun, Mar 23, 2008 at 12:54 AM, Anton Litvinenko <
[EMAIL PROTECTED]> wrote:
> To pass more than parame
Hi
I don't know why is Tap 4.1.5 slow for you, but as a workaround
instead of disabling caching you can try enabling the "reset service"
(-Dorg.apache.tapestry.enable-reset-service=true).
I wrote about it (in spanish) here:
http://weblog.amneris.es/2008/01/ztt-y-tapestry4.html
Andreas also wrote a
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 b
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 ()
{
List args = new ArrayList();
args.add (_firstObj.toStr
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
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:
>
> model="maps.countryMapx" t:value="country"
>
> I can see a blank, but it was not displayed as 'select', why? tha
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 crea
Hi,
i have this in my app.properties
id-blanklabel=select
then in the form:
I can see a blank, but it was not displayed as 'select', why? thanks
A.C.
--
View this message in context:
http://www.nabble.com/t5%3Aid-blanklabel-not-working-tp16235532p16235532.html
Sent from the Tapestry - U
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 jav
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?
>
>
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
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) {
setProduct
20 matches
Mail list logo