Ok. I found how can I validate that field.
On Dec 12, 2007, at 18:41, Josh Canfield wrote:
Look at your template, you are assigning an id to the TextField
component
that has a period in it:
t:TextField
t:id=itm.id
t:translate=stringTrs
t:value=itm.id
/
Try making the
Hello
OGNL is very nice but I would like to know how to manage classes changes
without testing every pages.
Exemple :
In pages we have some ognl expression like value=ognl:user.lastname
and we change the class's property getLastname() to getName(). Every
page are broken, And I could not find
hi guys
i am using expansion to output a Date object like
Your last login: ${lastLoginDate}
but how to format it ?? currently it gives the whole string as Wed Dec
12 18:36:38 SGT 2007
how to change it to like dd/mm/???
regards
Hi guys
there are several actions that need to display user the operation's status
e.g.
if user edit his profile, then the page looks like (the raw HTML)
h1Profile Updated/h1
pYour profile has been updated/p
a href=''Back to main page/a
therefore i need a generic feedback
Hi,
I have this service as follow, and I can see it 'defined' in the
servicestatus, but when use in a page, the variable globals is always null,
why?
public interface EMailer {
public String smtpHost();
}
public class EMailerImpl implements EMailer {
@Inject private ApplicationGlobals
Try the Output component, eg.
t:output value=lastLoginDate format=dateViewFormat/
with some extra java for the format:
private DateFormat _dateViewFormat = new SimpleDateFormat(dd/MM/
);
public DateFormat getDateViewFormat() {
return _dateViewFormat;
Hello,
Near each fields in a form, there is an error image with css classes
t-error-icon and t-invisible. The t-invisible class is removed if
the field is in error, to signal what field is faulty.
This behaviour is problematic with text browser.
Well, you will say that nobody use them
the @Inject annotation works only in pages
not in other services!!
if you need to inject a service into another service
define it in the constructor or set it in your builder method
see http://tapestry.apache.org/tapestry5/tapestry-ioc/
and there have been some new articles on ioc usage
in
try the outputlocale component in the howtowiki page, it works very well:
dapeng-2 wrote:
hi guys
i am using expansion to output a Date object like
Your last login: ${lastLoginDate}
but how to format it ?? currently it gives the whole string as Wed Dec
12 18:36:38
hi michael,
are you trying to implement OpenSessionInView by yourself?
tapestry-hibernate integration does it by default... you can take
a look at the source to see where you can apply filter the tapestry
way :) (see RequestFilter interface in Tapestry for example)
g,
kris
Michael Bernagou
hi,
you can use @Persist(flash) ... after the second request
the fields will be removed from the session automatically
have you thought about using a ASO (application state object)?
g,
kris
Dapeng [EMAIL PROTECTED]
13.12.2007 10:16
Bitte antworten an
Tapestry users
Yes exactly. I want to put the management of session lifecycle and
transaction and commit in a filter.
I don't want to use the Tapestry-hibernate right now since I'm new in
Hibernate and want to integrate it by myself first but ok, I'm going to
follow your clue and take a look at the source of
you can look at following thread:
http://www.nabble.com/T5-3A--27wrapping-27-hibernate-DAOs-as-services-to13462680.html#a13466570
it will explain roughly how tapestry-hibernate works... quite elegant
per thread a new session object is created and a transaction is
started. when the thread
Hello!
I wrote a page object, which contains 2 form componenet.
I use delegate for show only 1 of them.
In the page object's onSubmit method hande events, and decide which
form is showed next time.
It's works like this:
Object onSubmit() {
if( form1.isShow ) {
switch(
Francois Armand wrote:
Hello,
[...]
This behaviour is problematic with text browser.
Well, you will say that nobody use them anymore, but in the case of
blinded people, they use an equivalent that read pages for them, and
don't care of the CSS. The problem is that for this kind of browser,
Hi Francois,
the images are generate by the DefaultValidationDecorator.
You can provide your own (as i did :)) by implementing the
ValidationDecorator interface or extending BaseValidationDecorator.
Then you have to replace the DefaultValidationDecorator
in the environment with your
Kristian Marinkovic wrote:
Hi Francois,
Hello,
the images are generate by the DefaultValidationDecorator.
You can provide your own (as i did :)) by implementing the
ValidationDecorator interface or extending BaseValidationDecorator.
Then you have to replace the DefaultValidationDecorator
Yeah, I did that, put a custom sitemap.xml into the WEB-INF of my
application and added this to the hivemodule.xml:
service-point id=SiteMap interface=net.sf.tacos.services.SiteMap
invoke-factory service-id=hivemind.BuilderFactory
model=singleton
construct
I am trying to make SiteMap service working following instructions found
here:
http://tacos.sourceforge.net/hivemind/SiteMap.html
However, trying to run the application, I am having an exception that
boils down to the following:
No valid resource URL could be resolved:jar:file:/C:/Program
Don't remember for sure but I think it wants you to define your own
sitemap.xml file and set that on the service.
On Dec 13, 2007 11:30 AM, Kolesnikov, Alexander GNI
[EMAIL PROTECTED] wrote:
I am trying to make SiteMap service working following instructions found
here:
In my current project I have it set up basically the same way:
service-point id=SiteMap interface=...SiteMap
invoke-factory service-id=hivemind.BuilderFactory model=singleton
construct class=impl.SiteMapImpl
initialize-method=initialize
set-resource
I have a problem with my grid components...
the sortable image doesn't view transparancy when it's viewed by IE
does anyone know how to fix it or override the default image
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
You are lucky :))
Finally, the service seems to work. I've copied this thing from the
tacos-demo hivemodule:
implementation service-id=tacos.services.SiteMap
invoke-factory service-id=hivemind.BuilderFactory
model=singleton
construct
ehwouldn't know. It's been almost a decade since I used an
app-server I didn't create myself..
On Dec 13, 2007 12:07 PM, Kolesnikov, Alexander GNI
[EMAIL PROTECTED] wrote:
Just as an additional thought: can the reason be that I am running the
tacos-demo application on Tomcat 5.5 while
http://tacos.sourceforge.net/tacos4.1/tacos-core/tapdocs/index.html
I can add some docs on the soon-to-arrive (tacos-4.1.1) release,
http://tacos.sourceforge.net/tacos4.1/index.html
On Dec 13, 2007 7:22 PM, Kolesnikov, Alexander GNI
[EMAIL PROTECTED] wrote:
You are lucky :))
Finally, the
To override the default image I think you can specify a new image as a
parameter.
This is a problem with IE not handling PNG translucency correctly.
There are scripts that can fix this, but they are kind of hokey. I've
tried the WebFX with some success. You need to inject a js and a css,
and
You guys retarded or something?
Zsolt Salamon wrote:
I't works. thx.
But this is appear another problem:
If I use this html code:
t:TextField
t:id=itm_id
t:translate=stringTrs
t:value=itm.id
/
In the local properties file I definied thoose
That is a completely uncalled-for comment.
On Dec 13, 2007 10:45 AM, Tapestry240 [EMAIL PROTECTED] wrote:
You guys retarded or something?
Zsolt Salamon wrote:
I't works. thx.
But this is appear another problem:
If I use this html code:
t:TextField
t:id=itm_id
Uncalled for ? The first reply to this post is uncalled for. Doesn't make any
sense here.
Howard Lewis Ship wrote:
That is a completely uncalled-for comment.
On Dec 13, 2007 10:45 AM, Tapestry240 [EMAIL PROTECTED] wrote:
You guys retarded or something?
Zsolt Salamon wrote:
I't
Hi Dapeng,
Consider adding the message format binding prefix to your application.
http://wiki.apache.org/tapestry/Tapestry5HowToAddMessageFormatBindingPrefix
It does what you want and it's easy to localize the date format.
-Filip
Dapeng skrev:
hi guys
i am using expansion to output a Date
Initially I thought that you were a troll, but the company you work for is
advertising for developers on this list so maybe you are just ignorant of
basic etiquette? I'd like to point out that the list is for people of all
skill levels. Occasionally someone new will inadvertently reply to a
Abel Marrero Santos wrote:
I would like to build a @DirectLink which made the request in an
asynchronous way but request the client with a javascript confirmation
dialog before the AJAX request. I have tried [...]
But it didn't work. Even if I click on OK or Cancel the AJAX action
takes
On 12/14/07, Matt Brock [EMAIL PROTECTED] wrote:
That's great. Has it been written on JIRA yet?
Supposedly 4.1.4 will offer an upgraded dojo package. And hopefully to 1.0,
not 0.9.
rantWhich is precisely the reason why Tapestry should be Javascript
library-agnostic and allow hooks so you
Henrik Schlanbusch wrote:
Is it possible to upgrade to Dojo 0.9 when using T4.1.3?
And if it is possible, how do I do it?
Supposedly 4.1.4 will offer an upgraded dojo package. And hopefully to 1.0,
not 0.9.
rantWhich is precisely the reason why Tapestry should be Javascript
34 matches
Mail list logo