Have a look at the code for the 4.1 Email validator at
http://tapestry.apache.org/tapestry4.1/apidocs/src-html/org/apache/tapestry/form/validator/Email.html
That one should cover most cases.
Uli
mj123 schrieb:
I need a Regular expression that will validate an email adrress entered
Currently I
It would be better to inform us about the Tapestry version you are using
instead of sending us a disclaimer that is longer than the rest of your
mail.
Uli
Yeeswara Nadapana (HCL Financial Services) schrieb:
Hi,
Please suggest me a simple way to show my ArrayList of string objects
as
Zheng, Xiahong schrieb:
Hi,
I am exploring Tapestry (currently looking at 4.1.4 snapshot). So far,
the experience has been very positive. I was able to convert a Struts
based application to Tapestry4 in just a couple days. However, I still
need answer to the following questions,
1) Layout mana
Override the default StaleSession page with your own implementation.
Just create a page called e.g. MyStaleSession and use an
InfrastructureOverride in Hivemind like this:
Look here http://www.nabble.com/forum/ViewPost.jtp?post=7217351&framed=y
here
http://tapestry.apache.org/tapestry4.
Instructions on how to configure the correct maven repository can be
found at http://howardlewisship.com/tapestry-javaforge/ (linked to from
the tapestry-spring site):
howardlewisship.com
Tapestry @ JavaForge
http://howardlewisship.com/repository/
Also read this
http://www.nabble.com/
It's not broken it's just not generating directory listings.
Uli
HongDa Tang schrieb:
http://howardlewisship.com/repository/ seems to be broken. Does anyone know of
a mirror site for http://howardlewisship.com/repository/ where I can use maven
to retrieve tapestry-spring library version 1.0.
Please post the DirectLink definition and the rest of the logic you
wrote to switch tabs.
Pai911 schrieb:
Dear all:
The following is the template for three tabs.
When each tab is clicked, switchTab listener should be invoked to set the
tab property
and asynchrounously update [EMAIL PROTECTED
etTab(tabName);
}
I think it's more likely related to the version of IE
It seems to happen in certain version of IE
Thank you!!
Ulrich Stärk wrote:
Please post the DirectLink definition and the rest of the logic you
wrote to switch tabs.
Pai911 schrieb:
Dear all:
The following is th
switchTab(String tabName) {
this.setTab(tabName);
}
I think it's more likely related to the version of IE
It seems to happen in certain version of IE
Thank you!!
Ulrich Stärk wrote:
Please post the DirectLink definition and the rest of the logic you
wrote to switch tabs.
Pai911 schrieb:
D
This looks correct to me. I even tried your code with Tapestry 4.1.3 and
it works correctly both in Firefox and IE 6.0. Are you really sure, that
the whole page is reloading? How do you know?
Uli
Am Do, 17.01.2008, 08:13, schrieb Pai911:
>
> So, you read this in mail box
> Then I think I should r
thing as I suggested.
Uli
Ulrich Stärk schrieb:
http://howardlewisship.com/repository/com/javaforge/tapestry/tapestry-spring/1.0.0/tapestry-spring-1.0.0.pom
works OK. As does
http://howardlewisship.com/repository/com/javaforge/tapestry/tapestry-spring/1.0.0/tapestry-spring-1.0.0.jar
It&
ository/)
- Original Message
From: Ulrich Stärk <[EMAIL PROTECTED]>
To: Tapestry users
Sent: Wednesday, January 16, 2008 8:34:11 AM
Subject: Re: tapestry-spring
It's not broken it's just not generating directory listings.
Uli
HongDa Tang schrieb:
http://h
You should be able to do something like this:
@InjectObject("engine-service:page")
public abstract IEngineService getPageService();
and then construct your link like
String pageName = "SomePage";
ILink pageLink = getPageService().getLink(false, pageName);
Uli
Andy Pahne schrieb:
Hello,
I h
Page rewinding is a necessary mechanism to map HTML attribute names and
their values to the corresponding page properties. When the page is
rendered, Tapestry generates HTML attribute names and values for each
element inside your form. When the form is submitted the same mechanism
makes sure th
IIRC someone posted a T5 equivalent of one of these for T5 to this list
some time ago. You might want to search the archives.
Uli
Jan Vissers schrieb:
We use this quite often in T4, for web design/prototyping purposes.
-
To
--
/| /| | |
||__|| | Don't feed |
/ O O\__ |
/ \the trol
Angelo Turetta schrieb:
I think [EMAIL PROTECTED] (A.K.A. [EMAIL PROTECTED]) has well passed the
limit I would tolerate if the matter was in my hands
And for what matters, I would also inform his friends at wicket, which
being another of apache's projects should be bound by the same ethics
What's wrong with Filips answer?
Uli
riccaruf schrieb:
Hi guys,
any news for this question ?
thanks
-Rick
Filip S. Adamsen-2 wrote:
That would be - as you suggest - the pageBeginRender method.
-Filip
Dan Adams skrev:
Perhaps someone could clear something up for me. What is the order tha
I attached some minor documentation improvement to
http://issues.apache.org/jira/browse/TAPESTRY-1086 some time ago which
documents the need of a @Body component in order for client side
validation to work. Maybe someone could have a look at it and commit it...
Uli
Andreas Andreou schrieb:
D
Bind the value property of your checkbox to a page property.
E.g. in your page class:
public abstract boolean isChecked();
public abstract void setChecked(boolean checked);
and in your template:
Hotels
Uli
Am Mo, 18.02.2008, 13:03, schrieb Andy Pahne:
>
> Hello,
>
> I have a problem with wha
it might be the right time now to post your complete page class and page
template before we start doing wild guesses...
Uli
Am Mo, 18.02.2008, 15:34, schrieb Andy Pahne:
>
> Nope
>
>
>
> Andreas Andreou schrieb:
>> That's weird...
>> I have so many checkboxes working here...
>>
>> Perhaps you're
Andy Pahne schrieb:
Ulrich Stärk schrieb:
it might be the right time now to post your complete page class and page
template before we start doing wild guesses...
Here you are:
Unless you are calling setSearchForHotels() or
setSearchForHolidayHomes() in your parent class your code should
I just got this great idea how to do it in T4:
Use persistent fields and an EventListener like this:
@Persist("session")
public abstract Object getField();
@EventListener(elements="linkId1 linkId2 ...", events="onclick",
submitForm="yourFormId")
public void doSomething()
{
// do something i
Today I noticed a strange behaviour of T4's EventListeners. I wanted an
Any component which renders as a button to submit a form and call my
listener method after form submission. The docs say that's what the
EventListener's submitForm parameter is for. So I went about and wrote
an EventListene
Forgot to add code examples:
page class:
public abstract class TestPage extends BasePage
{
public abstract boolean getChecked();
@EventListener(targets="submitFormAsync", events="onclick",
submitForm="myForm", async=true)
public void submitFormAsync() {
System.out.println(
You could also go and reinvent the wheel. But if you were smart and
using T4 you'd just add async="true" to your form component and you are
set. If you also want to reload the comments on your page without
reloading the whole page wrap them in an Any component and pass its id
to the updateCompo
This also works out of the box with a DirectLink and you can even update
a component when some javascript or dom event is triggered by simply
adding an EventListener to your page class. E.g.
@EventListener(targets="targetComponent", events="onmousover")
public void updateSomething(IRequestCycle
This is the rendered code, could you please provide the corresponding
template and page class code?
Uli
Am Do, 21.02.2008, 13:28, schrieb Andy Pahne:
> Hi,
>
> I try to imlement a suggest feature with the Suggest component.
> Unfortunatly the suggestions do not render properly. I had a look at th
clude some css or
javascript somewhere that might interfere with the suggest component. If
you do include something try leaving it out.
Uli
Andy Pahne schrieb:
Ulrich Stärk schrieb:
> This is the rendered code, could you please provide the corresponding
> template and page
d. I can't see why it works for me but not
for you.
Do you have any entries in your info log? Mine is full of entries like
listSource was called
List contains 3 items, filter is 'de'
Uli
Andy Pahne schrieb:
Ulrich Stärk schrieb:
> Almost no is not none :)
>
> Your co
for your different behaviour in different browsers: I've got IE6 and
FF2 here and with both it works.
Uli
Andy Pahne schrieb:
Ulrich Stärk schrieb:
Correct - everything. And it works here... I don't get it.
It might be possible that your browser can't find ../css/demo.css
de
You are definitely experiencing some configuration issues here that have
nothing to do with Tapestry. Your webapp isn't even loaded. Please go and
read the Netbeans and Tomcat docs on how to deploy your webapp to Tomcat.
As for the problem with the manager app: check the Tomcat configuration
files,
I guess you could do this with the Script component. Please refer to the
documentation.
Uli
learner schrieb:
i have javascript function like below.how to put ognl message key inside my
alert as below...
function doSomething(){
doSomething();
alert('ognl:key ');
return callAnother()
Your placeHolder hast to be a Tapestry component not just a div
container. Just replace id="placeHolder" with jwcid="[EMAIL PROTECTED]"
and it should work.
Uli
Andy Pahne schrieb:
I am trying to show some parts of a page that were initially hidden,
depending on some event that is asynchrono
Oh sorry, sure it can only work if the whole form reloads because the
form has to know of the now present input field.
Uli
Andy Pahne schrieb:
Correction. It works when I update the whole form component, but not if
I try to update only the [EMAIL PROTECTED] component.
Thanks Ulrich, you po
My web apps have a layout of
context
|-- Home.html
|-- WEB-INF
| |-- app.application
| `-- Echo.html
`-- css
`-- style.css
Echo.html is the template for a component which gets included in Home.html. If I include jwcid="@Style" href="css/style.css" rel="stylesheet" type="text/css" media="
Quote:
This How-To was written and tested with the following configuration:
* Tapestry 4.0
So if you change this HOWTO to use T4.1's DTD please also make sure that everything else works with
T4.1 and update the "Tested Configuration" section. You should also emphasize somewhere in the
beg
In T4.1 have a look at the async and optionally the updateComponents parameters
of the Form component.
Uli
parker-jones schrieb:
I have a page, sort of a control panel, that I am using some ajax scripts,
such as a timer that continually updates a div tag, and other similar things
going on. I w
The second and third parameters to DefaultAutocompleteModel are the names
of fields of the objects you pass as the first parameter. I.e. if you had
a User object with the fields id and name and you wanted id to be the
keyField and name to be the labelField you would have to have getters for
those f
HHB schrieb:
Hi.
In a Tapestry 5 application, how to call EJBs?
Thanks.
Look it up using JNDI or some other method and use it.
Uli
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
HHB schrieb:
Is it possible to employ some kind of DI? what about writing a custom service
and register it with T5 application?
Ulrich Stärk wrote:
HHB schrieb:
Hi.
In a Tapestry 5 application, how to call EJBs?
Thanks.
Look it up using JNDI or some other method and use it.
Uli
You
Rob Smeets schrieb:
Hi guys,
I don't mean to cause any depression or controversy but I saw this research
results and thought you might want to know. Because this makes me worry
about the future of Tapestry.
According to the research, Tapestry users declined drastically by 45% for
the first time
According to java package naming conventions [1] the package name should
reflect the domain of the developing organization which is
org.apache.tapestry and not org.apache.tapestry5. These conventions are
there for a purpose (in this case to ensure uniqueness of package names
by using DNS names
If there's not too much information to be stored, you could cache the
result of your queries using one of tapestry's persitence mechanisms [1]
or in an ASO [2] and only re-execute your queries when the data has
changed.
Uli
[1]
http://tapestry.apache.org/tapestry5/tapestry-core/guide/persist.html
I'd use the pageAttached method.
Uli
Am Do, 22.05.2008, 11:00, schrieb Leon Derks:
> Hello
>
> Is the SetupRender method the correct place to check if the user has the
> priviliges to view the page?
>
> For example something like this:
>
> @SetupRender
> boolean setupRender() {
> if(user has
Have you tried this:
http://wiki.apache.org/tapestry/Tapestry5Utf8Encoding
This will ensure that pages served by Tapestry are UTF8 encoded. For me
this was enough to make T5 serve German UTF8 characters correctly.
Uli
Foror schrieb:
I'm using message properties files in UTF-8 with russian s
Indeed there is no automated way to upgrade to T5 but you also don't have to
abolish everything.
For example your T4 listener methods will become event handler methods, access to page properties
via ognl will be done using a new syntax. Other things have similar counterparts in T5. You still
ha
This has been discussed a dozen times before. Please search the list
archives for UTF-8 related topics.
Have a look at http://wiki.apache.org/tapestry/Tapestry5Utf8Encoding.
Uli
Marcelo lotif schrieb:
Hi all,
when i submit a form with a special character i get a crazy character on the
java cl
Hi all,
I'm giving a 4-day workshop on web development with Tapestry at my
university for some postgraduate students and wanted to ask if anybody
would be willing to share his/her presentation materials with me.
Thanks in advance,
Uli
Hi List,
I just stumbled over this problem while starting a new project using
maven. This project ought to depend on Tapestry 4.1.2-SNAPSHOT and
tapestry-spring 1.0.0 for Spring integration. Because tapestry-spring
1.0.0 depends on groupId tapestry and artifactIds tapestry and
tapestry-annota
Have a look at the Tapestry Workbench sample application, there are two
examples of how to display data as a tree. If I remember correctly one
of those uses the Table component of the contrib library to render itself.
Cheers,
Uli
Mateus Lucio dos Santos schrieb:
Hi !!!
I'm new to tapestry fr
You'll have a property for the list in page A and an abstract setter for this property. So now in
page B just inject page A using the @InjectPage annotation, call the setter for this list and return
the page object in your listener method.
Or use the PropertyUtils.write(pageObject, "propertyName"
Where's the problem to do the same thing with the name of the calling
page? Store the name in a string property of page B before activating it...
Uli
Paolo Scopa schrieb:
No prob.
As i said to uli, i might call B from different pages, not only A.
Maybe i should use a common interface for those
You forgot to write a corresponding page class for Page3. If you did
make sure that you either referenced it in your Page3.page or that you
put it into the package denoted by the
org.apache.tapestry.page-class-packages configuration property (see
http://tapestry.apache.org/tapestry4.1/usersguid
Hi,
could someone please update the docs for 4.0 and 4.1 to document the
client:app and client:page scopes introduced in July 2005? Maybe just copy
over the desciption from hibernate.persist.xml.
Cheers,
Uli
-
To unsubscribe,
Did so on saturday.
Uli
On Mi, 22.08.2007, 08:47, [EMAIL PROTECTED] sagte:
> please file a jira issue for this. Otherwise it'll get lost.
>
>> -Original Message-
>> From: Ulrich Stärk [mailto:[EMAIL PROTECTED]
>> Sent: Friday, August 17, 2007 6:41 PM
>>
Let Tapestry inject the infrastructure:contextPath object like
@InjectObject("infrastructure:contextPath")
public abstract String getContextPath();
Then write some computeUrl method similar to this one (just typed this in,
no guarantee that this will work).
public String computeUrl() {
Strin
Right now it seems that the path for the marker image is hardcoded. But
you could try to create a file org/apache/tapestry/field-error-marker.png
in your classpath and store your own marker there. This should override
the default marker. This is similar to
http://wiki.apache.org/tapestry/Tapestry5H
Well, rename computeUrl() to getYouNameIt() and access it using
ognl:youNameIt from your template or page specification.
Uli
#Cyrille37# schrieb:
Ulrich Stärk a écrit :
Let Tapestry inject the infrastructure:contextPath object like
@InjectObject("infrastructure:contextPath")
publi
And what exactly is the question?
Angelo Chen schrieb:
Thanks nick, it's just what I need, one more question:
Nick Westgate wrote:
There is a login example right here:
http://tapestry.apache.org/tapestry5/tapestry-core/guide/validation.html
Cheers,
Nick.
Angelo Chen wrote:
Hi,
I
() {
String locale = getLocaleItem().getLanguage();
return getContextPath() + "/Public/flags/" + locale + ".gif";
}
and then simplify your expression to ognl:computeUrl. It's a question of
style but I find it more readable that way.
Uli
#Cyrille37# schrieb:
Ulrich Stä
nent class
org.example.hilo.pages.Login, but are not present in the component template
but it still works, why?
Ulrich Stärk wrote:
And what exactly is the question?
Angelo Chen schrieb:
Thanks nick, it's just what I need, one more question:
Nick Westgate wrote:
There is a login example r
Well, some mandatory parameter of some component must not be null :-)
How about giving us a bit more? Page template, page class, line in the
template at which the error occurs...
Uli
Jacob Arnold schrieb:
I'm trying to get the DynamicSelectionList component working in an
existing Tapestry 4.
d the package names:
http://lombok.demon.co.uk/tapestry4Demo/pages/dynamicSelectionList/TestDSLComponent2Source.html
The error occurs on line 7 of TestDSLComponent2.page:
class="gov.nmcourts.caselookup.pages.TestDSLComponent2">
Thanks,
Jacob
Ulrich Stärk wrote:
Well, some m
ost(ApplicationServlet.java:168)
...
I'm guessing I have some strange configuration, since I know this code
works elsewhere. Here's how I specify the library in my .application file:
specification-path="classpath:/man/library/ManSH.library"/>
J
Ulrich Stärk wrote:
Plea
The Hibernate configuration element doesn't expect a package with annotated
classes as one might assume but expects an annotated package with package-level annotations like
@GenericGenerator. So you must explicitly add every annotated class to your Hibernate configuration
with a element (or do
Malin Ljungh schrieb:
Hi all,
I've got some annoying stack traces in my log from bots, primarily a bot
called LiteFinder but also Googlebot. (the LiteFinder seems to get lowercase
URLs which results in many org.apache.tapestry.PageNotFoundException since I
use uppercase first letter of my pages)
I just came to the same conclusion. The problem is with the
([-_\\.]*[A-Za-z0-9]+)* part of the regexp in the user as well as the
domain part. Apart from that this regexp will reject email addresses
which are valid according to RFC 3696 like [EMAIL PROTECTED]
Uli
andyhot schrieb:
hmmm - nice
I now remember where I saw that one before. Jeffrey Friedl included it
in "Mastering Regular Expressions". In print! :)
Uli
andyhot schrieb:
hmmm - nice report - looks like that specific email regex is problematic
when
the given string is not email and contains lots of chars (>25-30 result
in
I Just created a JIRA report and a fix for that problem.
https://issues.apache.org/jira/browse/TAPESTRY-1857
Uli
Ulrich Stärk schrieb:
I just came to the same conclusion. The problem is with the
([-_\\.]*[A-Za-z0-9]+)* part of the regexp in the user as well as the
domain part. Apart from that
eep for both of you guys, or is it some time
zone illusion?)
Thx again
Ch.
2007/10/24, andyhot <[EMAIL PROTECTED]>:
thx for all - i'll see if i can have the test do performance check,
and commit asap
Ulrich Stärk wrote:
I Just created a JIRA report and a fix for that problem.
http
I've got the rounded service encoded to the path /rounded by contributing
to the tapestry.url.ServiceEncoder configuration-id. The exact line in my
hivemodule.xml is . I now want to get the path the service is encoded to
programmatically in a component class but I can't see how. Any ideas?
Uli
-
I've got the rounded service encoded to the path /rounded by contributing
to the tapestry.url.ServiceEncoder configuration-id. The exact line in my
hivemodule.xml is . I now want to get the path the service is encoded to
programmatically in a component class but I can't see how. Any ideas?
Uli
-
0-9a-z]+";
Additionally, are email addresses like [EMAIL PROTECTED] allowed by the RFC?
They are allowed by some mail providers, I actually own one such address.
Ch.
2007/10/24, Ulrich Stärk <[EMAIL PROTECTED]>:
GMT +1
Uli
Christian Dutaret schrieb:
Thx for the swift fix. I&
zaxeer schrieb:
Hi devs,
thanks for your replies
i am already doing some thing like this in pageBeginRender
public void pageBeginRender(PageEvent event) {
if (event.getRequestCycle().isRewinding()) {
return;
}
if(getUSERINFO () == null){
set
T5 hast its own IoC container incorporated for which you could write a
new service and have it injected into your page classes using the
@Inject annotation. For more information consult the Tapestry IoC
documentation at http://tapestry.apache.org/tapestry5/tapestry-ioc/.
Uli
llonely schrieb:
Sounds like http://issues.apache.org/jira/browse/TAPESTRY-1806.
I suggest you write a very simple test demonstrating the issue and attach
it to the JIRA issue report.
Uli
On So, 4.11.2007, 20:48, spot_ sagte:
>
> Hi
>
> after upgrading my webapp from Tapestry 4.1.2 to 4.1.3 form components
> with
There are several ways to do this. One of them is writing a Hivemind
service which handles the SessionFactory and have that injected into your
pages (you have to make sure to properly open and close your sessions
though). A very good example can be found in Kent Tongs book
(http://www.agileskills2.
Hi all,
for the workshop I held with some students a month ago I created a maven archetype that uses
Tapestry, Hibernate and Spring. This one is very similar to the current tapestry-archetype but is
based on more recent Tapestry (4.1.3), Hibernate (3.2.5.ga) and Spring (2.0.7) versions and also
Ulrich Stärk schrieb:
Hi all,
for the workshop I held with some students a month ago I created a maven
archetype that uses Tapestry, Hibernate and Spring. This one is very
similar to the current tapestry-archetype but is based on more recent
Tapestry (4.1.3), Hibernate (3.2.5.ga) and Spring
An asset is nothing more than a representation of an URL to some kind of
image or style sheet. When asked to return it's content it will employ the
asset service to do so.
You should create an engine service that displays the image data with
content-type image/* and call it from your page (much lik
What version of Tapestry are you referring to? Tapestry 5 doesn't use
subclasses of BasePage anymore, that's Tapestry 4. But you are trying to
use T5s spring integration, that is a little bit odd...
Have a look here
http://www.nabble.com/another-tapestry-4.1.3-archetype-tf4754756.html#a13600914
Block as well as RenderBlock don't render the tag name as used in the
template, just the body specified within the Block component.
If you want some enclosing element just wrap it up in a div element:
Uli
Ken in nashua schrieb:
Well Upon examining the render
I had a similar problem with the FloatingPane Dojo widget disappearing
behing certain elements. In my case this was because Internet Explorer
interpreted the z-index CSS attribute (which forces the FloatingPane to
be rendered on top of every other element) different than Firefox.
While Firefox
With Tapestry 4.1 you would inject the WebRequest object and call
getParameterValue() on it (see
http://tapestry.apache.org/tapestry4.1/apidocs/org/apache/tapestry/web/WebRequest.html).
To inject the WebRequest use
@InjectObject("infrastructure:request")
public abstract WebRequest getRequest();
s on it
But first, read about the external service and about implementing
IExternalPage
Ulrich Stärk wrote:
With Tapestry 4.1 you would inject the WebRequest object and call
getParameterValue() on it (see
http://tapestry.apache.org/tapestry4.1/apidocs/org/apache/tapestry/web/WebRequest.htm
These are just guesses, I haven't tried them nor verified them.
I could imagine that the parameter isn't available via the WebRequest
because the page didn't get called by a GET request directly but with
the help of the service encoder, so your parameter isn't there anymore
when the page get's
Hi List,
I don't really understand when one should use the ExternalService and what exactly it is good for.
According to the JavaDocs and TiA the external service enables me to bookmark pages and pass
parameters to them.
But according to my understanding I can create a bookmark to every page in
eezers are used to decode-encode to strings making the
process transparent to the developer (you can add your own squeezers,
since for complex objects
the whole instance is serialized)
- ServiceEncoders are easy to writer + make nicer urls
On Nov 29, 2007 11:21 PM, Ulrich Stärk <[EMAIL PROTECTED
I can't follow you. You want a component to update itself asynchronously
upon a user's click on a DirectLink? Why don't you just use DirectLink's
updateComponents parameter with async="true"?
Uli
Kalle Korhonen schrieb:
I have a use case where I need to "click on" a directllink to
updatecompo
You could write some components against the JCR API and access the
underlying repository Magnolia uses (I don't know if this is possible
with OpenCms).
Have a look at the Jackrabbit website (that's the repository
implementation Magnolia uses) to learn how to register the repository
with JNDI. T
on the roadmap is to implement the
backend storage to be amazon s3. Performance is good because for example, all
the information to display a image is returned in a single lucene document.
meta information for the content is stored in the filesystem as xml files.
Phillip
- Original Message
Look harder :-)
http://wiki.apache.org/tapestry/SendingDiferentContentTypes
Apart from that this topic has been discussed several times on this list, just search the archives.
You might also want to look at the
http://tapestry.apache.org/tapestry4.1/apidocs/org/apache/tapestry/contrib/services
Hi list,
For a multi-language application I'd like my users to be able to input
data according to their locale, e.g. different date formats (dd.mm.)
or different ways of seperating decimal places (',' instead of '.'). In
T4 the translators took into account the user's locale but in T5 this
the user's browser. Is there some way to get an authoritative answer
as to which locale the user is using or do I have to see wheter the
PersistentLocale is set and if not take the one from RequestGlobals?
Uli
Ulrich Stärk schrieb:
Hi list,
For a multi-language application I'd like
y5/corelib/components/Output.html
for the input issue: i search for a suggestion too
2008/6/14 Ulrich Stärk <[EMAIL PROTECTED]>:
Hi list,
For a multi-language application I'd like my users to be able to input data
according to their locale, e.g. different date formats (dd.mm.)
tengxh schrieb:
Where can i get the new version t5.0.13?
5.0.13 is still being voted on. As soon as the polls are closed and
Howard has evaluated the votes he will put up the release. Give it a few
more days or use the snapshot releases.
Uli
getValidBaseTypes has to return an Object which implements
org.apache.tapestry5.SelectModel. If you want to filter out some enum
values that shouldn't be displayed you could extend EnumSelectModel and
overwrite the getOptions() method. In your own implementation make a
call to the super class'
Hi List,
I'd like my users to be able to input data in their respective locale.
For example in most european countries you use the ',' to seperate the
decimal places from the integer part of a number.
For a quick workaround I'm using a patched version of Tapestry wich adds
a Locale parameter
Or create a file package-info.java in your package directory and put
"package yourpackage;" into it. You can also add package documentation or
package-level annotations to it. If you use JavaDoc this file will then be
processed instead of package.html.
Uli
Am Do, 26.06.2008, 06:58, schrieb Daniel
1 - 100 of 600 matches
Mail list logo