ry users
Subject: Re: T5 turn off form validation
what can that make sense for?
2008/6/19 Ezra Epstein <[EMAIL PROTECTED]>:
> How do I turn off form tracker / validation. Not just client side but
> the whole thing? Can I just use a plain HTML (not Tap) form?
>
>
>
&
Original Message-
From: Sven Homburg [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 19, 2008 10:50 AM
To: Tapestry users
Subject: Re: T5: Keep case (upper or lower) in page names and links
"Login" or "login" has the same effect with tapestry
2008/6/19 Ezra Epstein <
I've got a page called "Login" (first char is uppercase). There's a
form on it. When it posts back it takes me to "login" (lowercase) which
Tapestry treats as the same being case-insensitive. That's fine for
now, but I want to preserve case for the end user. How do I tell
Tapestry to send the u
java.net.URL.
On Wed, Jun 18, 2008 at 9:55 PM, Ezra Epstein
<[EMAIL PROTECTED]> wrote:
> I've got a simple form and an onSubmit() method. When the form
> submission succeeds I want to redirect to another site (full URL) but
> can't figure out how to do that.
>
>
>
> I
How do I turn off form tracker / validation. Not just client side but
the whole thing? Can I just use a plain HTML (not Tap) form?
I've got a simple form and an onSubmit() method. When the form
submission succeeds I want to redirect to another site (full URL) but
can't figure out how to do that.
I've tried:
@Inject
@Service("Response")
private Response tapestryResponse
There is no requirement that there be a class. You can just create your own
implementation of BeanModel and do whatever you choose. BeanModel is an
interface.
Cristian Gonzalo Gary <[EMAIL PROTECTED]> wrote:
For each name in column needs an attribute of a class.
I need to create a grid, with
Use the 'model' attribute of the grid to specify a model for the rows. Then in
your backing Java class create the model - e.g., on the pageLoaded() event, or
onActivate() or wherever. E.g.,
@Retain
private BeanModel _model;
void pageLoaded() {
_model = _beanModelSource.cre
And your web.xml file has:
org.springframework.web.context.ContextLoaderListener
And if the application context .xml files aren't in the standard place and
named the standard way you've also included:
contextConfigLocation
?
Steph <[EMAIL PROTECTED]
I imagine that if you use Spring's declarative transactions on the service
layer so that the read()/get() method does not start a read/write transaction
but the save() method does then changing the object without calling "save()"
should just work - you won't be in a read/write tx and so the chan
I think the answer is "yes", but I'm not sure what the question is. What is
dynamic? The columns? The underlying entity/object being displayed? Or do
you mean columns that can resize and be moved around via JavaScript?
Cristian Gonzalo Gary <[EMAIL PROTECTED]> wrote:
i need a grid with co
Why @Component of course
(aka, nevermind)
Ezra Epstein <[EMAIL PROTECTED]> wrote: Speaking of which, how does one get a
reference to a contained component in T5?
Marcelo Lotif wrote: The grid component have a method called
setSortColumnId(), but for use it,
you got to have a refere
ther framework like struts2 for instance :
If you have something like that in your form
[input]
When the form is submitted struts2 tries to find if the controller
features a user property, and then if user features a name property
If the answer is yes to both it calls controller.getUser().setName(&quo
Speaking of which, how does one get a reference to a contained component in T5?
Marcelo Lotif <[EMAIL PROTECTED]> wrote: The grid component have a method
called setSortColumnId(), but for use it,
you got to have a reference to the component in your page's class
2007/11/13, Christoph Jaeger :
>
>
Maybe you've got a different Model class. The add() method with a null conduit
works fine.
That said, I didn't realize you were inside a form. Howard as mentioned that
this is an area that needs work.
CarstenM <[EMAIL PROTECTED]> wrote:
Hi,
the line
model.add("action", null );
caused the Nu
The main requirement for folder structure is based on on Tapestry but on the
servlet specification. Web accessible files in a .war cannot but in the
WEB-INF folder. Tapestry lets you put .tml files either in the the regular
place for web accessible files or in the WEB-INF at the same location
I always pause when hearing "100% sure." An easy check/test is to remove the
offending and stick in a simple ${user} and see if indeed you get the
toString() value for your user object.
Michael Courcy <[EMAIL PROTECTED]> wrote: I'm 100% sure, user is not null
I have a getter and a setter for
This is another way to do it. Look at the code for TextStreamResponse. Write
your own StreamResponse impl that's backed by a ByteArrayInputStream.
(The reason I avoid that approach is (a) you create an InputStream to write a
response, so under the covers Tap5 is reading from it and writing to
You can override one of the page render methods (I think onactivate is one of
those, but check the Tap5 website) and return false to tell Tap to skip
the other steps of page rendering.
thanos <[EMAIL PROTECTED]> wrote:
thank you.
I tried that but I get a mix of xml and html erro String (i
If you're just returning an RSS feed you probably don't want any page wrapping,
etc. In that case you can:
@Inject
private Response _response;
You can then do things like setting headers and even write directly to the
container-provided OutputStream - bypassing the whole TextStreamResponse --
Maybe you could show more of your .tml (and .java) file(s). I'm new to Tap5
and all I've discovered so far in the realm of models is how to supply a one to
a BeanEditor and to a Grid. I've never gone to the level of t:gridcell and
from what I've learned one generally does not need to -- you ca
It's a two step process.
1. Define a model in your Java class. It's easy to just use the standard
definition and extend it like so:
@Inject
private BeanModelSource _beanModelSource;
@Inject
private ComponentResources _resources;
@Retain
private BeanModel _model;
Take a look at the pageLink component and its "context" parameter along with
activate/passivate methods on the target page.
Angelo Chen <[EMAIL PROTECTED]> wrote:
Hi,
I'd like to pass something like this to a page: /Inbox/123
List p = new ArrayList();
p.add("Inbox");
p.add("272");
Str
I'm wanting to add custom t:parameter elements to a beaneditor within a Form.
This is not a BeanEditorForm, but a vanilla Form element with a beaneditor
within it. Screencast #5 shows how to add custom t:parameter blocks to a
BeanEditorForm. I've tried similar with a BeanEditor - adding the b
24 matches
Mail list logo