public class GenericCreatePage{
private T entity;
void onSuccess(){
orm.save(entity);
}
public void setter/getter
}
public class CreateUser exntends GenericCreatePage{
void onActivate(){
// Must instance the entity object.How to avoid or using generic
method?
setEntity(new Us
hi,
if I put following code in a pure html file and open it with IE, it works,
but if I put this in a T5 template then run the app, open it in a IE, the
'Welcome to...' will not display, any idea how to make this works? thanks.
Angelo
< p>
test ie
< !--[if IE]>Welcome to Internet Explorer
Hi Mahen,
Maybe this help,
server.xml:
...
...
...
...
Marcus
It is possible; you must make your own contribution to the
BeanBlockOverrideSource service configuration. In this way, you can
override how "text" data types are displayed or editted (or both).
Contibutions to BeanBlockOverrideSource do exactly that, override the
contributions to BeanBlockSource.
Hello,
I have simple question: I have extended TextField component with few new
futures (I called it Input), now I want to replace TextField component to my
Input component in BeanEditForm. Is it not painfull way without tapestry
corelib recompilation?
--
View this message in context:
http://www
I've been thinking for a while about adding remove() and replace()
methods to OrderedConfiguration and MappedConfiguration, and adding
other methods to OrderedConfiguration to allow minor tweaks to
dependencies. It just hasn't been a priority. It also leads to
ambiguities ... what if you remove a
Sounds the same as my issue with replacing the "Default" hibernate
config, which is stored in a OrderedConfiguration list.
(I ended up just putting a minimal dummy hibernate.cfg.xml in the
path, and then the configuration I made replaces the entire config
since it's loaded after the "Default".
Can
Hi,
My tapestry5-acegi module contains this:
public static void contributeHttpServletRequestHandler(
OrderedConfiguration configuration,
@InjectService("HttpSessionContextIntegrationFilter")
HttpServletRequestFilter httpSessionContextIntegrationFilter,
@InjectSer
Christian Gorbach wrote:
yep, this is mainly an IE flaw. IMHO tapestry should use the xmlModel
as the default model. (or use a mapped config for model selection..)
check
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/Markup
I reply to myself for if someone needs to do the same
>
> 1) Is this pattern feasible?
> 2) Shall I use the mixins aproach for doing this?
> 3) where can I found information to build up my javascript functions to
> embed the pagelink path?
> 4) how can I avoid the replication of javascrip
The preferred way would be via conditional comments in your document header.
http://www.quirksmode.org/css/condcom.html
http://msdn.microsoft.com/en-us/library/ms537512.aspx
There are probably browser hacks that would work as well, but if you've
used hacks in the past you've probably learned why
Thanks for your suggestion.
Actually it is not caused by session timeout, because by default session
timeout is 30 min. In my case, I refresh page just after 10 min. I think the
way I was doing somehow the value/reference of value was cleared by T5.
joshcanfield wrote:
>
> Instead of persisting
False alarm - once I had wiped my maven repository and got a fresh
snapshot of tapestry down things started working again.
Cheers,
Adriaan
On Tue, May 6, 2008 at 9:50 AM, Adriaan Joubert <[EMAIL PROTECTED]> wrote:
> Hi,
>
> since starting to use firefox 3 (upgrade to new ubuntu!), the tapestry
hi Tomasz,
This works, thanks. however, the its effect is, look just right in IE7 but
shift too much to the right in other browsers, any idea how to make this
works only in IE7?
Angelo
Tomasz Dziurko wrote:
>
> Override T5 default css file.
>
> Put this in every your page class or (better sol
Kalle Korhonen wrote:
Hey Ivan,
When you say "we", who are you referring to?
I mean my company.
In my mind, this flow aka
conversation support is absolutely the right solution for the problem. Are
you planning to share the code or include it with some other project?
Unfortunately, I can
Almost forgot :)
You need also add to tag in you tml file:
Regards
--
Tomasz Dziurko
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Override T5 default css file.
Put this in every your page class or (better solution) in TopPage from
all pages inherits. Just remember not to place TopPage in pages
package, so it won't be accessible to user (e.g. place it in package
org.myapp.commons).
@Inject
@Path("context:styles/style.css")
p
Ok, following the instructions at the end of the page pointed to by the link
below I could solve this issue :)
cheers,
janos
2008/5/6 János Jarecsni <[EMAIL PROTECTED]>:
> Hi all,
>
> I've found an answer to this from Howard (
> http://article.gmane.org/gmane.comp.java.tapestry.user/53987 ). He s
Hi all,
I've found an answer to this from Howard (
http://article.gmane.org/gmane.comp.java.tapestry.user/53987 ). He
says: "*Basically,
you shouldn't mix component classes with services classes. When you do so,
you need to define an interface for your components to implement.*"
Here's what I did
Look at
http://tapestry.apache.org/tapestry5/tapestry-core/guide/conf.html for
parameters tapestry.page-pool.hard-limit and tapestry.page-pool.soft-limit
Peter Stavrinides wrote:
Hi All,
I have a peculiar error turning up in our server logs, I am running a Tapestry
5 application on Tomcat 6:
Hi All,
I have a peculiar error turning up in our server logs, I am running a Tapestry
5 application on Tomcat 6:
Render queue error in BeginRender[hf/Client:wrapper.header.pagelink_0]: The
page pool for page 'hf/Home' (in locale en) has been exausted:
there are 20 instances currently being us
Hi,
I have a form like following, when the error is displayed, it is in the
correct position in all the browsers except IE7, the error was shifted to
the left, you can see it from the attached link, I trace the default.css, it
seems this is the problem:
HTML>BODY DIV.t-error LI {
margin-left
22 matches
Mail list logo