On Wed, May 28, 2008 at 12:51 AM, Franz Amador-2 <[EMAIL PROTECTED]> wrote:
>
> Unsurprisingly, due to the package-name changes, t5-acegi and t5-components
> no longer work with the snapshot version of t5. Are there snapshot versions
> of them that use the new package names? I didn't see one for
Hi
i am using Jetty pluged in with eclipse.
Zaheer
Toby Hobson wrote:
>
> What application server are you using?
>
> Toby
>
> - Original Message
> From: zaxeer <[EMAIL PROTECTED]>
> To: users@tapestry.apache.org
> Sent: Friday, 23 May, 2008 1:40:54 PM
> Subject: Tapestry Page Pool h
Hi Mike,
I posted about how to turn the RequestExceptionHandler into a pipeline a
week or two ago:
http://www.mail-archive.com/search?q=RequestExceptionFilter&l=users%40tapestry.apache.org
You could use this approach, perhaps coupled with the Strategy service
I'm talking about in one of my po
Can't you just use it like a regular context parameter?
I thought coercions for enums was supported by Tapestry... although I
don't use it myself in contexts.
-Filip
Stephane Decleire skrev:
Is there a simple way to put an Enum value in the context of link in T5
? In T4, i used to use ognl .
it works with the literal prefix and the value of the enum but it's a
bit weird isn't it ?
Stephane
Filip S. Adamsen a écrit :
Can't you just use it like a regular context parameter?
I thought coercions for enums was supported by Tapestry... although I
don't use it myself in contexts.
-Fil
Sorry for disturbing again, but I'm a bit newbie in tapestry. At this moment
i have a Pojo called User, with several properties. The type of the list is
User class. I don't understand very good the GridRowClass... is a Pojo too?
which fields it has?
Sorry again for all this stuff...
2008/5/28 Ada
t5components SNAPSHOT reflects the package renaming
2008/5/28 Franz Amador-2 <[EMAIL PROTECTED]>:
>
> Unsurprisingly, due to the package-name changes, t5-acegi and t5-components
> no longer work with the snapshot version of t5. Are there snapshot
> versions
> of them that use the new package nam
Hi,
You're not disturbing - this is a mailing list, if you can't post to it,
what good is it? :)
Anyhow, YourGridRowClassType is User in your case. So if you want to
disable sorting on the username property, you would do it like this:
@Inject
private BeanModelSource beanModelSource;
Hi Marcus,
Thank you for tour answer, but unfortunately, this event, as well as the
others is not called in a property editor. And the class that holds the
form, and in which the events are fired is not aware of this property
editor, or at least I dont know how it could be...
José
Marcus a
Hi Guys,
just a little side note on Filip´s suggesion. Instead of initializing the
BeanModel in onActivate() you could do this:
private final BeanModel model; {
model = beanModelSource.create(User.class, false, componentResources);
model.get("username").sortable(false);
}
Mind the final. T
HI.. all,
I have a situation like this, i have a single form and two image buttons
(actually i am using >>");
nextPage = null;
}
public void onSelectFromNext(){
System.out.println("onSelectFromNext >>>");
nextPage = "Registr
As far as I know this only works with the Submit component...
At least what you're doing is how it's done when you use that.
-Filip
LakshithaS skrev:
HI.. all,
I have a situation like this, i have a single form and two image buttons
(actually i am using has done the form submission?
i trie
Hi Lakshitha,
the event handler Methods for Submit-Buttons end with "ed". See this for an
example
(http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry/corelib/components/Submit.html)
rename your methods to:
onSelectedFromUpload()
onSelectedFromNext()
That should fix it.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dear *,
in my application I have lots of persistent objects (regions, cities,
countries, etc), from the database which are used in
PropertySelectionModels and other UI elements.
My approach for localizing the names was to give them a "key" field
whic
http://wiki.apache.org/tapestry/HowTos
see the Resources / I18n section
On Wed, May 28, 2008 at 4:02 PM, Bastian Voigt <[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Dear *,
>
> in my application I have lots of persistent objects (regions, cities,
> countries, et
Also make sure you either have a public getter on your model or you
attach a property annotation:
@Property(write=false)
private BeanModel model;
And of course, in your *.tml you need to pass reference to model from
your class:
wrote:
> Hi,
>
> You're not disturbing - this is a mailing list, if
Hello Marcus,
Thank you for your answer, but the customization provided by the
BeanModel are about properties, their orders etc... A bean is built by a
call to newInstance, defined in the BeanModel interface. The way the
bean is built comes from InternalUtils.findAutobuildConstructor. This
cl
it works only wih submit component,
the submit component is pretty basic,
but you might easily create your own submit comp
by copy/paste the original
and add-in extra options you need
On Wed, May 28, 2008 at 2:45 PM, nille hammer
<[EMAIL PROTECTED]> wrote:
>
> Hi Lakshitha,
>
> the event handle
There are two good practices to do database i18n:
http://www.theserverside.com/tt/blogs/showblog.tss?id=HibernateInternational
http://java.sun.com/blueprints/guidelines/designing_enterprise_applications_2e/i18n/i18n5.html
We do quite the same with just one table for all texts.
Cheers,
Chris
Hi José,
You can put @Inject in the constructor you want Tapestry to use for
auto-instantiation. Should solve your problem.
-Filip
On 2008-05-28 15:59, José Paumard wrote:
Hello Marcus,
Thank you for your answer, but the customization provided by the
BeanModel are about properties, their o
Hello Filip,
From what I understand, that would involve changing the object model
(not so nice, I dont have the hand on that), and making a dependency
from this model to T5. I can already hear ppl screaming at that ;)
Am I right ?
Thank you,
José
Filip S. Adamsen a écrit :
Hi José,
You
Hi,
I must be doing something wrong, when trying to use snapshots, or
maven is just plain stupid, maybe I'm the stupid one :)
org.apache.tapestry
tapestry-core
${tapestry-release-version}
Well, you're right. But to me, at least, it's not that big of a deal.
The dependency will be to tapestry5-annotations, which is a very small
dependency.
Anyhow, developing Tapestry apps is just a hobby of mine - for now,
anyhow - so I make the decisions myself.
Sadly, I don't know of any oth
Hi Robin,
Is that the complete output from Maven? It's usually more detailed...
It looks alright to me, though.
-Filip
On 2008-05-28 21:26, Robin Helgelin wrote:
Hi,
I must be doing something wrong, when trying to use snapshots, or
maven is just plain stupid, maybe I'm the stupid one :)
The design pattern that we are starting to play with is to create beans
specifically for the forms. Then write code that ferries the data
between the form-bean and the actual persistent objects.
This gives you more grunt work, but it adds a point of abstraction and
flexibility. For the most
Hello,
i'm new to developing webapllications with tapestry and have some problems
there.
In my case i have a portal based on jetspeed 2.1.3 with tapestry-portlets.
My issue:
On a portal page there are three portlets.
One with the search input field and others two with information dependent on
sea
Hello,
I have an application where I use a zone to display content that changes
depending upon user input. This content can vary and I would like to
have different versions of the content served by a library of
components. Think if this a zone with various modes that depend upon
other user
I am a sole developer on my project, and I am also using Fernando's
approach. The "form beans" help solve order of data entry and other
dependencies that I just wouldn't want to encode in the persistent
model. In addition, I've found these "form beans" are a great way to
insert hard coded data an
Hi Robin,
could Maven's access to the internet be interupted (e.g. no/wrong proxy, no
access to internet at all, network problems, firewall...)? That really is a
short output and I once got sth. similar when I had no acces to the internet
and so Maven could not download the libs.
Greetz nille
Hey All,
Using tapestry-components, I'm trying to utilize the Mutiple Select
component but am getting: 'Could not find a coercion from type
org.apache.tapestry.internal.services.StringValueEncoder to type
org.apache.tapestry.commons.encoder.MultipleValueEncoder'. Does anyone have
an example of h
Hi,
I'm trying to create a T5 library using Eclipse, but... :(
Here are my steps and codes.
- New Java Project: t5lib
- Compiler compliance level is set to 5
src
src/pub/t5lib
src/pub/t5lib/LibraryModule.java
src/pub/t5lib/components
src/pub/t5lib/components/MyComponent.java (don't have a
Hi,
Can you show us some more of your code?
this way we can understand better and help you in what you are trying
to achieve...
Regards,
Marcelo.
2008/5/27, amritabisht <[EMAIL PROTECTED]>:
>
> I am sorry if i was not clear but this drop down is dhtml dorp-down. so even
> if i submit i will not
It looks like your LibraryModule was not loaded. To ensure it is, put
a System.out.println("Module loaded!") in your
contributeComponentClassResolver() method. Also check the generated
JAR to ensure everything is in the proper place.
--
Thiago
Hi Thiago,
You are right, LibraryModule was not loaded.
generated JAR:
META-INF
META-INF/MANIFEST.MF
pub
pub/t5lib
pub/t5lib/LibraryModule.class
pub/t5lib/components
pub/t5lib/components/MyComponent.class
any idea?
Thanks,
Marcus
Hi Zack, I think you need to define your getSelectModel(), this is my
getSelectModel method. Hope this helps.
public GenericMultipleSelectModel getSelectModel()
{
_districtList = _editService.getDistricts();
_selectModel = new
GenericMultipleSelectModel(_districtList,
EllipseD
Hi Ben,
Would you consider moving that to its own page and linking from the
"Tapestry 5 How Tos" page? Since this works with all IDEs, it probably
deserves its own page.
...Richard (who has been organizing the How To page for clarity)
-
On Wed, May 28, 2008 at 10:19 PM, Filip S. Adamsen <[EMAIL PROTECTED]> wrote:
> Hi Robin,
Hi.
> Is that the complete output from Maven? It's usually more detailed...
I skipped the non vital parts :)
> It looks alright to me, though.
Yes, and the matter of facts it actually works today makes me
I use the form component,and the form code: JSONStreamResponse onSuccess();
The json is like {'url':'loginpage'}.
how can i get this json data in my javascript method?
Is there a form submit callback method?
--
Yet Another Java EE Developer!
38 matches
Mail list logo