Hi Martin,
It works, thanks, I'll update that wiki.
A.C.
Martin Kersten-2 wrote:
>
> Hi A.C.
>
>
> If this works for you, can you do me a favor?
> Check out:
> http://wiki.apache.org/tapestry/Tapestry5HowToUseForms
>
> And add this multi button handling. I am to buzzy right
> now but
Hi A.C.
I asked the very same question before but in conjunction
with normal t:form component. Since the bean-editor is based on
that t:form component it should apply to this scenario as well:
Rule of Thumb: If you have a button you have an onSelected event!
So in your case:
class My
Hi,
We're in the process of developing a webapp using T5. The site leverages
session persistence on many pages, including a number of pages important for
the natural search content. It seems to us that levering a filter to strip
the jessionid from non-cookie enabled user agents would be an effectiv
Hi,
Following is a list of features that will make the use of
beaneditor/beaneditform easy:
1. RemoveAllExcept: in addition to remove, removeAllExcept will remove all
the properties except those listed.
2. Option to disable the display of labels, this is very useful when the
column contains act
Hello.
I already had this minor problem with Tapestry versions prior to T5, and it
seems to me that it still persists...
Anyway, sometimes I deploy my Tapestry application to various customers
which want to have dfferent text messages or maybe even outlook of some
pages. I can use CSS for so
Hi,
I like beaneditor, it's very powerful, however I found this 'remove' option
time consuming, many time I need to display or edit only a few fields, maybe
we can add another parameter like 'removeAllExcept'? this will remove all
the fields from the model except those listed, that will be a good
Hi,
How to determine which button is clicked in the following case:
Thanks,
A.C.
--
View this message in context:
http://www.nabble.com/T5%3A-determine-button-clicked-in-a-beaneditor-tp15841944p15841944.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
Does this actually work properly? I tried with 5.0.10 and 5.0.11-
SNAPSHOT.
A component like this:
http://tapestry.apache.org/schema/tapestry_5_0_0.xsd
">
${page}
will render the tags (outside the ) every time the
component is used (in another component, in my case). I checked in
The form will retrieve stock quote for the symbol entered. The Quote
object is then set on the response page. The response page is using
client persistence strategy via the following meta annotation
@Meta("tapestry.persistence-strategy=client")
The quote object is declared as following
public cl
Just want to share my solution. I don't like to do
"onchange='this.form.submit()'" on t:select input, because that can trigger
early validation errors before the user is actually ready to submit the
form. Also, by default the first element in t:select is selected, onchange
only triggers when th
I believe the wiki has code for a "client:form" persistent strategy
that persists data, but only inside elements.
I would also be concerned at the amount of data here; perhaps an
entire StockSymbol entity (or whatever) is being serialized into the
form, rather than just the stock ticker id.
On T
May be related to TAPESTRY-2229, which was just fixed this morning.
On Tue, Mar 4, 2008 at 12:50 PM, jack Nuzbit <[EMAIL PROTECTED]> wrote:
> Hi Marcus, looks like this is tapestry 5.0.11-SNAPSHOT specific. My fault
> for being too eager.
> I switched over to 5.0.10 and everything works fine.
>
Hi
It seems that, on a form submit, T5 automatically redirect to a "GET"
url with client state encoded in the URL. This produces a bookmarkable
URL which is very nice. However, I am running into the following problem
where T5 generates an extremely long "t:state:client" parameter as the
following,
Hi Marcus, looks like this is tapestry 5.0.11-SNAPSHOT specific. My fault
for being too eager.
I switched over to 5.0.10 and everything works fine.
In case this is a bug and not just a work in progress, to recreate it just
create a new project with the tapestry 5 archetype, change the tapestry
ver
You could have two onActivate() methods, maybe something like:
public class MyPage
{
@Persist private String _b;
@Inject private ComponentResources _resources;
Object onActivate(String a, String b)
{
_b = b;
return _resources.createPageLink(_resources.getPageName(), false, a);
}
I think if you look at the page structure, there are encloding
elements with a particular class you can use in a CSS selector.
On Tue, Mar 4, 2008 at 9:32 AM, Adam Zimowski <[EMAIL PROTECTED]> wrote:
> It looks like when there is enough pages in a grid to start wrapping,
> the page blocks (ancho
Hi Jack,
Can you post the code of this class?
http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
Login:
maybe the problem is there.
Marcus
Thanks for the suggestion Bill, I've just tried adding the following to the
containing page but the problem remains:
@Inject
private ComponentResources _resources;
Am I right in thinking that the beaneditform should work out of the box?
On Tue, Mar 4, 2008 at 6:03 PM, Bill Holloway <[EMAIL PROT
Hi Angelo,
by asking for a good practice I have one for you:
I use GWT + GWT-Ext works well (but this should work with
every kind of java script).
This example:
When your GWT component loads you simply add your
Button / Image behind the textfield of all divs
with a given cla
It's still grumbling about security.
Take a look in /etc/init.d/tomcat5.5
Find the line that says:
TOMCAT5_SECURITY=yes
And change it to
TOMCAT5_SECURITY=no
See if that works.
> -Original Message-
> From: MoritzGilsdorf [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 04, 2008 3
I believe that the "internal" APIs in T5 are "off limits". Injecting
ComponentResources, an interface, doesn't do what you want?
Bill h
On Tue, Mar 4, 2008 at 11:29 AM, jack Nuzbit <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I'm trying to use the beaneditform component but i'm getting the followin
It looks like when there is enough pages in a grid to start wrapping,
the page blocks (anchor elements) overlap each other (see attached).
Attached is a shot from Konqueror, but the same happens in IE6. I
tried adding my own CSS to fix this but only currently selected page
is wrapped around a span,
Hi All,
I'm trying to use the beaneditform component but i'm getting the following
exception bubbling up. Do i have to create a Service to implement the
InternalComponentResources class?
I can't find anything about this in any documentation so i'm inclined to
think i've misconfigured something but
I need an http forward like this:
http://example.org/mypage/a/b --> http://example.org/mypage/a
The last two path elements are activation context items. I'm chopping
off "/b" to shorten the URL to a form that is desirable for
bookmarking. I could persist the "/b" as a persistent page property,
Yeeswar,
The normal model I've seen for logon is something like this:
//Once created, this is shared within the session on any page where it
is declared. The name
//of the variable doesn't matter. You can have one page where it is
called user1 and another
//where it is called user2. The c
Hi Ted and Chris,
Thanks. Great help from u guys.
I have used @Persist("session") with my code and got it fixed. My
assumptions with the Page pooling was wrong. You guided me the right
way. Thanks.
Regards,
Yeeswar.
-Original Message-
From: Ted Steen [mailto:[EMAIL PROTECTED]
Sent: T
It's all here
http://tapestry.apache.org/tapestry5/tapestry-core/guide/appstate.html
2008/3/4, Yeeswara Nadapana (HCL Financial Services) <[EMAIL PROTECTED]>:
> Hi Chris and Ted,
>
> Thanks to you guys. I am new to Tapestry. Can you help me more in this
> context. Do I need to configure my AppM
Hi Chris and Ted,
Thanks to you guys. I am new to Tapestry. Can you help me more in this
context. Do I need to configure my AppModule.java with the
ApplicationStateCreator() to handle ASOs in my Tapestry project? Please
explain.
Thanks,
Yeeswara N.
-Original Message-
From: Ted Steen [mai
Tapestry-hibernate just provides Session
the application chooses what to inject...
I'll try out jumpstart when I catch some time...
maybe it is not much trouble to make it work outside EJB3...
Davor Hrg
On Tue, Mar 4, 2008 at 1:07 PM, Geoff Callender
<[EMAIL PROTECTED]> wrote:
> Hi Michael,
>
>
Hi Michael,
JumpStart requires a container that implements EJB3 simply because I'm
a big fan of it and my limited time prevents me addressing more than
one persistence and deployment model.
For purely historical reasons the container I chose was JBoss - they
had an EJB3 implementation out
Hi Greg,
I can't explain why this would be happening, as I'm successfully
running it on OS X 10.5 and Windows XP SP2, all with JBoss 4.2.2.GA on
Java 1.5, to browsers running Safari, Firefox, and IE 7.
What are the details of your operating environment? What's in the
JBoss log on the con
Exactly. Also, from what I can see you use the constructor for setting
up login-logic.
you should use public void onActivate() {...} for this, as the page
class is created only once.
2008/3/4, Chris Lewis <[EMAIL PROTECTED]>:
> I think you are expecting @Persist to work as @ApplicationState, and
I think you are expecting @Persist to work as @ApplicationState, and it
doesn't. Read about application state here:
http://tapestry.apache.org/tapestry5/tapestry-core/guide/appstate.html
This line is from the start of that page:
"Ordinary persistent page data is not appropriate, since persistent
f
Hi Chris and Ted,
Thanks for u fast replies. Here's what I am doing...
This is my header.java class:
@Persist
private boolean isLoggedIn = true;
public Header() {
LogonCheck logonCheck = new LogonCheck();
String logonStatus = logonCheck
If you can, you should paste some code. What you're saying sounds like a
logic problem, but it almost certainly has nothing to do with page
pooling. Page pooling has to do with created instances of your page
classes. These instances do not retain any kind of cached state. Instead
the relevant rende
What does your "isLoggedIn-logic" look like?
do you persist the state that tells if a person is logged in or not?
if possible, please show the parts of the code that handle login-logic.
This is definitely not some problem due to page pooling.
2008/3/4, Yeeswara Nadapana (HCL Financial Services) <
Hi,
I am using Tapestry 5.0.7 for my application. On my menu bar, I put some
links with . I have put some links under conditions
so as to check the Login status.
Problem is::: When I was not logged in, some links doesn't show up,
which is CORRECT. Now, I logs in and can find those links.
Thanks a lot! That was the (first) Problem.
Tomcat is now able to run the Webapp but is now showing the following Stack:
exception
javax.servlet.ServletException:
org/apache/tapestry/corelib/components/Loop$1
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:294)
org.
I think there is a better option than just using regex for email validation,
that is use apache common validator to do the same thing in an easy manner.
like
EmailValidator.getInstance().isValid(emailAddress);
Howard Lewis Ship wrote:
>
> I agree:
> - onblur vs. onform submit
> - option to va
Hi samlai,
you should be able to bind an EventListener to the ServerRegion-Field (onChange
or onSubmit should be your choice). This Listener can trigger an AJAX-Request
and so you should be able to update the Automcomplete-Model. (Don't know the
exact syntax, but some JavaAnnotation should hand
40 matches
Mail list logo