I'm having problems figuring out how to prevent double clicks with a linkSubmit.
With a regular submit, you can just disable the submit button after
observing a FORM_PREPARE_FOR_SUBMIT_EVENT, but this doesn't seem to
work for a linkSubmit element.
Using T5.1.0.8-SNAPSHOT.
Any ideas? Have also t
Hey, wouldn't it be great if you could just reload your RESTful
service classes live while developing them? Oh that's right, that's
exactly what tapestry-resteasy 0.2.1 allows you to do! This is T5.2.x
specific maintenance release, updating the JAX-RS dependency to JBoss'
resteasy GA release 2.0.1.
Changing the value variable from long to Long solved it!
The problem was long being a primitive time, was getting initialized with 0,
and therefore automatically selecting the label with value 0.
Thanks Thiago!!
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/select-mo
On Fri, 03 Dec 2010 18:23:20 -0200, hese <1024h...@gmail.com> wrote:
Hi,
Hi!
I am populating a select model using OptionModelImpl.
The problem is when the page loads, the item with value=0 is getting the
focus automatically. I want the focus to stay on the first item in the
list. Why is th
Hi,
I am populating a select model using OptionModelImpl.
The problem is when the page loads, the item with value=0 is getting the
focus automatically. I want the focus to stay on the first item in the
list. Why is this happening?
for (Iterator it =idNames.keySet().iterator(); it.hasNext();
Hi,
I don't believe so, source for @Persist only seems to support the value
parameter to set the persistence type (client,session,flash). The
approach I use is to set any persisted values I want defaults for in a
pre-render stage (BeginRender usually). I like to group them all in one
method.
He meant the Maven Plugin for Eclipse : m2eclipse
___
Everton Agner Ramos
2010/12/3 robnangle
>
> No i am using the normal eclipse ide.
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com/First-Tapestry-app-with-Hibernate-tp3285845p3291024.html
> Se
On Fri, 03 Dec 2010 13:12:15 -0200, Angelo C.
wrote:
Hi,
Hi!
I need some scripting functions in t5 app, what are the options
available?
looks like Groovy is easier, I have included the groovy-all-minimal into
the app, but how to use it? looking for a sample usage, say just a
service
No i am using the normal eclipse ide.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/First-Tapestry-app-with-Hibernate-tp3285845p3291024.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---
Hi,
I need some scripting functions in t5 app, what are the options available?
looks like Groovy is easier, I have included the groovy-all-minimal into the
app, but how to use it? looking for a sample usage, say just a service class
in Groovy returning a string 'Hello', and how to call this from
Hi,
I was wondering whether it's possible to set or define a default value
for an object that is @Persist'd?
e.g something equivalent to:
public Object getPersistedObject() {
if (object == null) {
object = new Object();
object.setSomeValues(...);
}
return object;
}
Obviously
On Fri, 03 Dec 2010 11:05:31 -0200, Christian Koller
wrote:
Yes that's exactly what I face. What I would need is more than one
instance of the component and each instance with his own session value,
independent from the other instances.
But I guess this isn't possible.
You only need to
Hi all
Thank you for your answers.
I don't mean any client id related stuff. I mean the id of the component.
> The explanation is not correct. You have a single TimeSlot component instance
> in your template which is rendered n times. Instead of relying in @Persist
> inside the component, pass
Hi !
You could try with ...
( TimeSlot.tml )
...this clientId property is generated in the Java.Side with the following
method ( at SetupRender )
( TimeSlot.java )
@Property
private String myClientId;
@Inject
private ComponentResources componentResources;
@Inject
On Fri, 03 Dec 2010 09:54:54 -0200, Christian Koller
wrote:
Any ideas how to solve this?
Tapestry components ids are static, period. HTML ids are dynamic.
If I use a literal as the id, then it works, but then all the generated
timeSlot components within the loop will have the same id.
If
i guess it is about the dynamically generated id of the html element ...
the component should implement the interface ClientElement.
If it does you can call the method getClientId to obtain the id that is
used in the generated html.
g,
kris
Von:Everton Agner
An: Tapestry users
Datu
I believe he didn't misunderstood... the real problem is "which approach
should he get to work with dynamic components?".
Actually, I didn't need to use this yet but always wondered too.
___
Everton Agner Ramos
2010/12/3 Joost Schouten (ml)
> It sounds like you are confus
It sounds like you are confusing the t:id with the html dom id. I
think you are looking for:
http://tapestry.apache.org/schema/tapestry_5_1_0.xsd";>
Cheers,
Joost
On 3/12/10 12:54 PM, Christian Koller wrote:
I have the following template:
http://tapestr
I have the following template:
http://tapestry.apache.org/schema/tapestry_5_1_0.xsd";>
But Tapestry calls out:
Component id 'prop:index' is not valid; component ids must be valid Java
identifiers: start with a letter, and consist of letters, numbers and
under
19 matches
Mail list logo