Locale.JAPANESE = "ja"
You will need to supply an app_ja.properties.
This will also work for Local.JAPAN (ja_JP)
Cheers,
Lance.
On Wednesday, 11 April 2012, angelochen wrote:
> i did:
>
> configuration.add("tapestry.supported-locales", "en,zh,ru,jp");
>
> a little confusion is, the doc says 'ja
You will need to set the "encoder" attribute on your so that
tapestry can serialize / deserialize the values used to poplulate the form.
http://tapestry.apache.org/5.3.1/apidocs/org/apache/tapestry5/corelib/components/Loop.html
I'd also try to get rid of your mutable static data (Session) in fav
Hi Henrik!
You can override or decorate the ComponentMessageSourceImpl and enhance it
with your requirements.
Best regards,
Gerold
2012/4/10 Henrik von Schlanbusch
> Henrik von Schlanbusch enovate.no> writes:
>
> >
> > Hi
> >
> > We have made a locale service that extracts messages from the
Very strange. If it's any encouragement, the JumpStart demo site is served
through Apache Proxy, so it is possible.
Do you have this:
ProxyPreserveHost On
ProxyVia On
Also, although I doubt it's the problem, add "retry", e.g.
ProxyPass / http://localhost:8080/ retry=5
P
Has this issue been solved, posted into JIRA? Tapestry should be doing, at
the presentation level, EXACTLY what Hibernate is doing at the persistence
level, taking cues from the @Embedded annotation.
There is simply no guesswork involved in this. In other words,
If the registration object is
It wouldn't be too hard to write a mixin which looks for the annotation and
adds to the underlying model.
JIRA Created:
https://issues.apache.org/jira/browse/TAP5-1899
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/hibernate-Embedded-tp2435807p5635231.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
Thank you Lance Java it works...
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Issue-in-re-rendering-the-zone-block-tp5634811p5635232.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
--
thanks for the reply.
what's the difference of Local.JAPAN and Local.JAPANESE. does Local.JApAN
work for localhost:8080/jp ?
Lance Java wrote
>
> Locale.JAPANESE = "ja"
> You will need to supply an app_ja.properties.
> This will also work for Local.JAPAN (ja_JP)
>
> Cheers,
> Lance.
>
> On We
Hi,
i search an example how to create and use mixins.
Unfortunately, i cannot found anything to become smarter.
My idea - i write a mixin which set TextField disabled or not depends on
logged user.
My example code
class FieldMixin{
@Inject
private ComponentResources resources;
private Element e
The right syntax is :
2012/4/12 resign
> Hi,
> i search an example how to create and use mixins.
> Unfortunately, i cannot found anything to become smarter.
> My idea - i write a mixin which set TextField disabled or not depends on
> logged user.
>
> My example code
>
> class FieldMixin{
> @Inj
Hi,
your' right... but it still doesn't work
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/T5-2-6-mixins-example-tp5635318p5635342.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
Does the disabled attribute alread exist in your template.
If it is, according to the JavaDoc, the attribute method will not work. Try
with the forceAttributes method.
Can you also check if your SessionsState-annotated variable is correct, and
also the current element.
2012/4/12 resign
> Hi,
>
Hello Geoff,
I added the following to my apache config:
ProxyPreserveHost On
ProxyVia On
This fixed the problem with the ZoneUpdater.
Thanks a lot!
Regards,
Jelle
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Problem-using-ZoneUpdater-Mixin-and-Apache-Prox
following:
my textField is in table cell.
If i view into generated html, i can see that the - element is
"disabled"...
and generated HTML looks like
..
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/T5-2-6-mixins-example-tp5635318p5635389.html
Sen
I think, setting the disabled property in the beginRender phase is to
early, because the textfield is not rendered yet. So the current element is
th .
Do it in the afterRender phase.
Manu
2012/4/12 resign
> following:
>
> my textField is in table cell.
> If i view into generated html, i can se
exaclty my idea :-)
doesn't work too
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/T5-2-6-mixins-example-tp5635318p5635403.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
To u
Saying that your locale is "jp" is not really valid, you either specify
your language OR you specify your language/country (eg either "ja" or
"ja_JP) but never just the country as some countries speak multiple
languages.
en_GB and en_US will both default to "en" if a more specific message bundle
c
I have just tested. You should add the @MixinAfter annotation to your Mixin
class.
2012/4/12 resign
> exaclty my idea :-)
>
> doesn't work too
>
>
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com/T5-2-6-mixins-example-tp5635318p5635403.html
> Sent from the Tapestry -
YOU ARE MY HERO !!!
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/T5-2-6-mixins-example-tp5635318p5635438.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail
Hi Chris,
Did you try to replace your
@OnEvent(value = JQueryEventConstants.DROP)
void chris(Object[] context){
String contextString = (String)context[0];
setThedata(contextString + " dropped on ...");
}
by
@OnEvent(value = JQueryEventConstants.DROP,component="dropzone1")
void dropOnZone1(Objec
Hey,
Im having some trouble with the live class reloading using a jetty/intellij
setup.
I deploy the project as an exploded archive starting the jetty (6.1.x) via
intellij's (10.5) jettty integration. Everything starts up just fine and the
app is running. When i modify a page or tml, build the pr
Thanks Francois - that was simple.
My syntax was not quite like that and frustration got the better of me.
I'm also trying to create 5 of these drop zones, or 20 of them - dynamically -
i.e. add a drop zone on the fly. Probably by some custom component stuff down
the track - but for a hard code
Hi all,
I've taken on board all the suggestions and observations here about
AjaxFormLoop problems and fixes, and done a complete rewrite of the JumpStart
examples. I've put a beta on the demo site. Is every corner case handled now? I
sure hope so. See if you can find a hole in it.
http
I have the same issue with a formFragment.
The InternetExplorer seems to submit ALL values, regardless of whether
the formFragment is active or not.
That resulted in a lot of validation errors. I solved the problem by
manually validating everything in a validate() method instead of using
the annota
Hello Everyone-
Good evening.
This problem is resolved now. As I expected some other java script in the
application was causing the problem. The application was trying to attach a
event for every form components (like textfields, checkboxes as per the
functionality to track the unsaved changes).
Hello folks,
I just fixed a pretty serious bug:
https://issues.apache.org/jira/browse/TAP5-1860
Basically, turns out that protected fields in component classes was
not operating correctly for mutable fields (injections did work).
This fix is checked in to Subversion; I'll make available an rc-3
Tapestry 5.3.3-rc-3 is now available from the Apache Staging Repository
mavenRepo name: "Apache Staging", url:
"https://repository.apache.org/content/groups/staging";
(that's Gradle btw).
On Thu, Apr 12, 2012 at 3:25 PM, Howard Lewis Ship wrote:
> Hello folks,
>
> I just fixed a pretty ser
Turns out its mutable fields that don't work. I was fooled because my
tests mistakenly only attempted injected fields.
In any case, it is fixed in 5.3.3-rc-3.
On Wed, Apr 11, 2012 at 9:20 PM, Steve Eynon
wrote:
> Hello,
>
> Directly accessing instrumented fields (@Parameter etc...) from
> subcl
Oh sweet. That is good news, cheers!
--
Steve Eynon
---
"If at first you don't succeed,
so much for skydiving!"
On 13 April 2012 06:47, Howard Lewis Ship wrote:
> Turns out its mutable fields that don't work. I was fooled because my
> tests mistakenly only attem
What is the best approach to keep images (or other static content) outside of
war in regards to the tapestry. The reason I ask is because tapestry creates
url for the images like given below
/assets/1.0/ctx/images/assets/wolf_studio_1333577457955.jpg
so how do I map some external folder (place ou
I second this. Is it hard to include that?
Or is there a way for us to include it ourselves?
regards
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Javadoc-not-in-the-maven-builds-of-the-tapestry-5-3-tp4696293p5637306.html
Sent from the Tapestry - User mailing list arc
This would be great!
+1
On 13/04/2012, at 1:56 PM, bhorvat wrote:
> I second this. Is it hard to include that?
> Or is there a way for us to include it ourselves?
>
> regards
>
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com/Javadoc-not-in-the-maven-builds-of-
I have found this
New Asset Domains
If you wish to create new domains for assets, for example to allow assets to
be stored on the file system or in a database, you may define a new
AssetFactory and contribute it to the AssetSource service configuration.
anyone has any idea or experience in how t
34 matches
Mail list logo