A comma separated list of properties would be great. Then you can hide
and sort columns as you like (didn't think about sorting yet).
Christoph
Thiago H. de Paula Figueiredo wrote:
> Em Tue, 28 Aug 2007 19:00:13 -0300, Daniel Jue <[EMAIL PROTECTED]>
> escreveu:
>
>> "Hacking" the beanmodel is de
I user it it works well
select component's html source is
Index
no
how to rectify it??
if i want to get this style ,how to modify the source
IT department
the value and display value is defferent.
2007/8/29, Marcelo lotif <[EMAIL PROTECTED]>:
> or update the wiki, whatever... use a bui
The problem continues... I will file a bug report.
Peter Stavrinides wrote:
Okay, I will try and build with this version... lets see if it makes a
difference.
Holger Stolzenberg wrote:
T4.1.2 is released and in the main repo:
http://mvnrepository.com/artifact/org.apache.tapestry/tapestry-fra
I've had an application based on Tap 4.0.2, Hibernate 3.1, Spring 1.2.5,
Acegi 1.0.0 with complicated inheritance and relationships, and Hibernate
interceptors.
I haven't touched the code in 10 months and it works like a charm.
I ran into issues during development with Class cast exceptions for
I have no experience with Portlets (or Tapestry 4, really ;-)
but PageRenderListener methods being called twice is normal
operation for form submits.
- first for the form "rewind"
- again for the actual rendering of the page
The usual boilerplate code is something like:
public void pageBegi
Hi Josh,
When i tested in the localhost, the speed is fast, so that behavor is not
noticeable, but when I put the war file in a slow server in the net, I can
notice that in Safari, not in IE and FireFox. I believe I have put those
pages/components in the right places. I did not notice reloading o
Hi Josh,
This error is interesting, it comes out only once even you have several
pages using the approach 2 and it works with the error around. adding
t:id="layout' eliminate the error message. probably a minor problem in the
error reporting?
A.C.
Josh Canfield-2 wrote:
>
> On 8/29/07, Angelo
Thx.
I'm using Spring 2.0.6 and the OpenSessionInView Filter (for Hibernate)
that comes with it - and have configured that in my web.xml. Doing some
thorough testing currently...
> Yes, although it depends on how you implement it. You need to ensure
> that the session is closed by HiveMind in a
Yes, although it depends on how you implement it. You need to ensure
that the session is closed by HiveMind in a threaded model, or
problems will arise while rendering. I do it thusly:
interface="com.myasd.db.dao.ISessionManagerFactory">
class="com.myasd.db.dao.HibernateSessionManagerFacto
When it comes to lazy loading?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On 8/29/07, Angelo Chen <[EMAIL PROTECTED]> wrote:
>
>
> Hi Josh,
>
> if I use the approach quoted below, I got an error like this from runtime
> console, and the title was not set:
>
> [ERROR] Login Embedded component(s) layout are defined within component
> class org.sample.t5.pages.Login, but ar
Hi Nick,
After I changed:
from:
configuration.add("tapestry.supported-locales", "zh,en");
to:
configuration.add("tapestry.supported-locales", "en,zh");
from:
persistentLocaleService.set(Locale.ENGLISH);
to:
persistentLocaleService.set(new Locale("en"));
it works now, I don't know what's t
I tried downgrading to OGNL 2.6.7 (I'm using Tapestry 4.1.3-SNAPSHOT).
Unfortunately, I get the following error after this change:
java.lang.NoClassDefFoundError: ognl/enhance/ExpressionAccessor
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDec
Thanks Kalle - you are correct in that it still works.
Thanks,
Matt
Kalle Korhonen-2 wrote:
>
> Matt,
>
> it's the OGNL expression compiler. It still works, you just see the
> exception logged as OGNL switches to interpreted mode, right? I've
> reported
> this issue as http://jira.opensympho
I discovered (by pure luck) that the following "validators" binding was
causing the problem:
When I removed the "validators" binding, everything works. Is Dojo's
client-side validation incapable of handling elements?
Thanks,
Matt
mraible wrote:
Matt,
it's the OGNL expression compiler. It still works, you just see the
exception logged as OGNL switches to interpreted mode, right? I've reported
this issue as http://jira.opensymphony.com/browse/OGNL-115. Vote for the
issue and downgrade your OGNL to 2.6.7. I wouldn't get my hopes up that
any
I have the following contrib:Table that reds a Set of users from the
servletContext (they're added to it as they login to maintain a list of
active users).
Even thought "userNames" is a list of User objects in the ServletContext,
javassist doesn't seem to recognize that. It seems to cast it to
[Background: I am beginning to abstract/distill my current application into
something more general, where the GUI can be customized through an
administrative interface without the admins having to touch GUI related
code.]
There was a post a while back regarding OGNL parsing of assets like CSS.
Thi
Hi
I am getting this when I click a radio button which changes my UI via
conditionals. If I go back and forth multiple times, eventually it breaks. I
am using AnySubmits to cause the form to be submitted. I understand that
during the submit I made a change that the rewind doesn't like. My que
I've got a new (and very strange) issue with client-side validation. When I
click on a submit button in a form, I get a blank popup with no messages in
it. If I disable JavaScript, the form submits without any validation errors.
Any idea why there's a popup when no validation errors exist?
Thank
I have a @FieldLabel that's written as follows:
Username
When the "usernameField" has an error, I want to change the class to "desc
error" or just "error". I've created my own ValidationDelegate and tried to
overwrite writeLabelAttributes(), but it doesn't seem to work.
Is there something I'm d
It sounds somewhat like you are trying to "share" a configuration between
two or more services.
This was legit in HiveMind (the precursor to Tapestry 5 IoC). However, in
the vast majority of cases, each service had at most one configuration
associated with it (often sharing the same name as the s
I'm not sure without seeing your code.
What is top of the list in your browser's preferred languages?
(In Firefox, Tools->Options->Advanced->Languages->Choose.)
Cheers,
Nick.
- Original Message -
From: "Angelo Chen" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, 29 August 2007 10:35 p.m.
Not sure about the best solution, but we use:
public static Class checkForCGLIB(Class type)
{
if (type.getName().contains("CGLIB"))
{
return type.getSuperclass();
} else return type;
}
Kalle
On 8/29/07, Jan Vissers <[EMAIL PROTECTED]> wrote:
>
> Pro
Hi, i have one problem.
I use Tapestry 4.0.2 and have written a portlet with some heavy
operations(loading data from database and reading preferences from portal
server)
All this operations are working from this method
public void pageBeginRender(PageEvent event) {
...
my own heavy ope
I also experienced some grief (4.0.x) with PropertySelectionModel when using
Hibernate. The behavior also changed between the PropertySelection
component and the Palette component because they use(d) different techniques
to find the matching item.
A good equality test and the tacos BeanProperty
Hi Jun,
yes, the property file is the problem. I have tried your site, it allows me
to type chinese there. but I have some new problem now, it uses always
app_zh.properties, can not switch to app.zh.
A.C.
Jun Tsai-2 wrote:
>
> 2007/8/29, Angelo Chen <[EMAIL PROTECTED]>:
>>
>>
>
> I think your
Hi Nick,
You are right, the properties file has to be escaped, it works now, thanks.
however I have observed some other problem:
It always uses the app_zh.properties, even I do:
persistentLocaleService.set(Locale.ENGLISH);
the only time it will use the app.properties content is, when I delete
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi *,
in my application I would like to pass informal CSS class parameters to
my submit buttons, so that the buttons look different from the input
fields.
How can I achieve this?
I have tried:
Result: the class parameter is not present in the htm
Hi, i have one problem.
I use Tapestry 4.0.2 and have written a portlet with some heavy
operations(loading data from database and reading preferences from portal
server)
All this operations are working from this method
public void pageBeginRender(PageEvent event) {
...
my own heavy ope
2007/8/29, Angelo Chen <[EMAIL PROTECTED]>:
>
>
> Hi Francois,
>
> I tried to modify the code, but
>
> requestGlobals.getHTTPServletRequest().setCharacterEncoding("UTF-8");
> configuration.add("Utf8Filter", utf8Filter); // handle UTF-8
>
> setCharacterEncoding and utf8Filter can not be resolved.
>
or update the wiki, whatever... use a built in service looks more
appropriate
:]
2007/8/29, Marcelo lotif <[EMAIL PROTECTED]>:
>
> Hi Davor,
> Can you send it to me?
>
> 2007/8/29, Davor Hrg <[EMAIL PROTECTED]>:
> >
> > thnx,
> > very nice example,
> >
> > I've liked it and modified it to use Tape
As I wrote before, your problem is most likely in your .properies encoding.
Please re-read my previous email.
Also carefully read the HowTo. T5.0.5 uses UTF-8 by default now, except for
form submissions. If you are handling forms you still need to add the
buildUtf8Filter() method, and also add th
Hi Francois,
I tried to modify the code, but
requestGlobals.getHTTPServletRequest().setCharacterEncoding("UTF-8");
configuration.add("Utf8Filter", utf8Filter); // handle UTF-8
setCharacterEncoding and utf8Filter can not be resolved.
However I can put some Chinese in the template(utf8), all
Hi Davor,
Can you send it to me?
2007/8/29, Davor Hrg <[EMAIL PROTECTED]>:
>
> thnx,
> very nice example,
>
> I've liked it and modified it to use Tapestry builtin service:
> PropertyAccess
> instead of beanutils. If you like I can update the wiki..
>
> Davor Hrg
>
> On 8/28/07, Marcelo lotif <[EM
Angelo Chen wrote:
Hi,
I'm trying out Chinese localization, I have following:
[...]
Have you tried this http://wiki.apache.org/tapestry/Tapestry5Utf8Encoding ?
--
Francois Armand
Etudes & Développements J2EE
LINAGORA SA - http://www.linagora.com
Tél.: +33 (0)1 58 18 68 28
---
InterL
The question marks suggest the problem is on the Java (server) side.
How are you encoding your Chinese characters in the properties files?
You must escape them, which is easiest using an Eclipse plugin like:
http://propedit.sourceforge.jp/index_en.html
Cheers,
Nick.
Angelo Chen wrote:
Hi,
I'
Hi,
I'm trying out Chinese localization, I have following:
configuration.add("tapestry.supported-locales", "en,zh");
two files app.properties, app_zh.properites, both file has one entry:
layout.home=Home
layout.home=主页
everything works in English, but when I switch:
persistentLocaleService
thnx,
very nice example,
I've liked it and modified it to use Tapestry builtin service:
PropertyAccess
instead of beanutils. If you like I can update the wiki..
Davor Hrg
On 8/28/07, Marcelo lotif <[EMAIL PROTECTED]> wrote:
>
> http://wiki.apache.org/tapestry/Tapestry5SelectObject
>
> --
> Atenc
Problem indeed has to do with the 'equality' check that is performed...
In there a class check likeif( obj instanceof MyClass ) is done, but
obj is a CGLIB enhanced instance, which yields to an unequal class.
What is the best solution to solve this?
-J.
Marcus Schulte wrote:
One thing to b
Okay, I will try and build with this version... lets see if it makes a
difference.
Holger Stolzenberg wrote:
T4.1.2 is released and in the main repo:
http://mvnrepository.com/artifact/org.apache.tapestry/tapestry-framework
My POM:
org.apache.tapestry
tapestry-framework
T4.1.2 is released and in the main repo:
http://mvnrepository.com/artifact/org.apache.tapestry/tapestry-framework
My POM:
org.apache.tapestry
tapestry-framework
4.1.2
org.apache.tapestry
tapestry-annotations
4.1.2
org.apache.tapestry
Correct me if I am wrong 4.1.2 is not released as yet, and not in the
main repository, so how else would I get to it?
[EMAIL PROTECTED] wrote:
But that POM does use snapshots.
You shouldn't need the repository
http://people.apache.org/repo/m2-snapshot-repository
at all.
Probably, there are no v
Hi Josh,
if I use the approach quoted below, I got an error like this from runtime
console, and the title was not set:
[ERROR] Login Embedded component(s) layout are defined within component
class org.sample.t5.pages.Login, but are not present in the component
template.
What I'm doing wrong her
44 matches
Mail list logo