Re: Live Class Reloading

2015-03-19 Thread Felix Scheffer
Hi Adam,

The example uses the maven jetty plugin to set the execution-mode property
to development (in the pom.xml file). So if you use the maven-jetty-plugin
(jetty:run) to start the server, live reloading should work out of the box.

Felix

Felix Scheffer
Dammstrasse 2
68549 Ilvesheim
Tel: 0151 / 15427385

http://www.pimdb.de
m...@pimdb.de

2015-03-19 7:06 GMT+01:00 Adam X vbgnm3c...@gmail.com:

 Hi Felix - I also, once again, just created project and it is production
 mode (not reporting development next to tapestry logo in the log output). I
 also did a simple test by changing tapestryVersion property (Index.java) to
 tapestryVersionn, expecting exception but none showing upon refreshing the
 browser. Furthermore, restarting the app, does show the exception page, but
 looks like it's production because no detailed exception report is
 generated. Adding JVM param tapestry.execution-mode=development does make
 it development, but again, this should not be necessary with
 configuration.add(SymbolConstants.PRODUCTION_MODE,
 false); unless I'm getting it wrong.

 My enviornment:

 As reported by: java --version :

 java version 1.7.0_76
 Java(TM) SE Runtime Environment (build 1.7.0_76-b13)
 Java HotSpot(TM) 64-Bit Server VM (build 24.76-b04, mixed mode)

 Remaining stack:

 Eclipse Luna Service Release 1a (4.4.1)
 Maven (m2e plug only) - no standalone
 RJR 1.3.3.201203161919 (with embedded Jetty 6.1.26) - as installed from
 Eclipse Marketplace
 Tapestry 5.3.7
 Ubuntu Trusty (14.04)

 Adam

 On Thu, Mar 19, 2015 at 2:16 AM, Felix Scheffer 
 fschef...@felix-scheffer.de
  wrote:

  Hi Adam,
 
  I just created a project using the archetype and live reloading works
 fine
  without tapestry.execution-mode=development.
 
  Are you sure that you are in not in production mode? Your log should
  contain 5.3.7 (development mode) next to the Tapestry logo.
 
  The CheckForUpdatesFilter should
  call ComponentTemplateSourceImpl.checkForUpdates() on a regular basis to
  detect template changes.
 
  Hope that helps.
 
  Felix
 
 
  2015-03-18 15:38 GMT+01:00 Adam X vbgnm3c...@gmail.com:
 
   Howdy,
  
   I'm returning to Tapestry after several years of inactivity and I'm
   attempting a new project with T5.3.7.
  
   Ran a standard tut and found out that Live Class Reloading (following
 the
   tutorial) does not work unless Eclipse RJR Run Config is amended with a
  JVM
   param: -Dtapestry.execution-mode=development
  
   But,
  
   DevelopmentModule.java
  
   contains:
  
   // The factory default is true but during the early stages of an
   // application
   // overriding to false is a good idea. In addition, this is often
   // overridden
   // on the command line as -Dtapestry.production-mode=false
   configuration.add(SymbolConstants.PRODUCTION_MODE, false);
  
   The Class Reloading page @
  http://tapestry.apache.org/class-reloading.html
  
   Says the following:
  
   If Live Class Reloading doesn't workProduction Mode
  
   Starting with Tapestry 5.3, Live Class Reloading only works when not in
   Production Mode. Check your application module (usually
 AppModule.java)
   to be sure you have:
   configuration.add(SymbolConstants.PRODUCTION_MODE, false);
  
   and that this isn't being overridden to true on your application's
   startup command line.
  
   All other issues such as automatic IDE build etc have been confirmed to
  be
   setup properly.
  
   So this suggests that simply adding configuration with PRODUCTION_MODE
   false should enable development mode and therefore live class
 reloading.
   But that's not the case. A raw startup project setup according to
   http://tapestry.apache.org/creating-the-skeleton-application.html ,
  which
   does have PRODUCTION_MODE false in DevelopmentMode.java and the run
   configuration JVM parameter *empty* appears to run as if production
 mode
  =
   true.
  
   Adam
  
 



Re: Weird behaviour, require js doesn't refresh changed js file immediately

2015-03-19 Thread Felix Scheffer
Hi,

for AMD modules, caching should be disabled by default.

The default value for the Cache-Control header in this case is:
max-age=60,must-revalidate. You can customize that by setting
SymbolConstants.OMIT_EXPIRATION_CACHE_CONTROL_HEADER.

Hope that helps!

Felix


2015-03-19 10:46 GMT+01:00 abangkis abang...@gmail.com:

 Sorry to brought up old thread. Does anyone know where I can set up the
 expiration time for require js module? Can I set it to zero or 1 second?

 Thanks.



 On Tue, Feb 10, 2015 at 10:21 PM, Howard Lewis Ship hls...@gmail.com
 wrote:

  For modules, which can't be fingerprinted with a checksum in the URL,
  Tapestry applies a short expiration time in development, and a much
 longer
  one in production. I suspect you are hitting that.  A hard refresh,
  clearing the local cache, should force the browser to request the updated
  resource.
 
  Sometimes the browser just refuses to get the resource; you can see this
  when it looks one way in the browser, and differently and correctly via
  curl or httpie.
 
  On Sun, Feb 8, 2015 at 10:49 PM, abangkis abang...@gmail.com wrote:
 
   Ok, my workaround is to add some kind of index number to log to
  javascript
   console such as : console.log(29. Google map is ready); I keep
  refreshing
   until the number is changed. For now it's good enough but hopefully
  there's
   a better solution in the future.
  
   On Sat, Feb 7, 2015 at 11:24 AM, abangkis abang...@gmail.com wrote:
  
Hi guys, another question about require js. So i experiment with
  creating
a new source folder in eclipse by the name of requiresrc. Under that
   folder
will reside the META-INF/modules/my_javascript.js file. This way
  eclipse
will deploy the META-INF/modules folder to the classes module
automatically. It worked.
   
The problem is when i change my_javascript.js file content. The
 content
doesn't get refreshed automatically. Hitting F5 and Shift-F5 doesn't
   change
it too. But after a while (5-10 second) then the content will be
  changed
automatically.
   
Looking around i found this related thread
   
  
 
 http://www.wenda.io/questions/4211439/force-refresh-doesnt-work-for-head-js.html
basically it says that F5 wouldn't work because of the dynamic script
loading. So, does anyone have a trick with this kind of thing?
 Because
   I'm
used of putting my js folder under WebApp folder and hitting refresh,
 tapestry would pick up the new content. Restarting the app every
 time
  i
change the js file would be a big pain.
   
Thanks :)
   
--
http://www.mreunionlabs.net/ http://www.mreunion-labs.net/
twitter : @mreunionlabs @abangkis
page : https://plus.google.com/104168782385184990771
   
  
  
  
   --
   http://www.mreunionlabs.net/ http://www.mreunion-labs.net/
   twitter : @mreunionlabs @abangkis
   page : https://plus.google.com/104168782385184990771
  
 
 
 
  --
  Howard M. Lewis Ship
 
  Creator of Apache Tapestry
 
  The source for Tapestry training, mentoring and support. Contact me to
  learn how I can get you up and productive in Tapestry fast!
 
  (971) 678-5210
  http://howardlewisship.com
  @hlship
 



 --
 http://www.mreunionlabs.net/ http://www.mreunion-labs.net/
 twitter : @mreunionlabs @abangkis
 page : https://plus.google.com/104168782385184990771



Re: Live Class Reloading

2015-03-18 Thread Felix Scheffer
Hi Adam,

I just created a project using the archetype and live reloading works fine
without tapestry.execution-mode=development.

Are you sure that you are in not in production mode? Your log should
contain 5.3.7 (development mode) next to the Tapestry logo.

The CheckForUpdatesFilter should
call ComponentTemplateSourceImpl.checkForUpdates() on a regular basis to
detect template changes.

Hope that helps.

Felix


2015-03-18 15:38 GMT+01:00 Adam X vbgnm3c...@gmail.com:

 Howdy,

 I'm returning to Tapestry after several years of inactivity and I'm
 attempting a new project with T5.3.7.

 Ran a standard tut and found out that Live Class Reloading (following the
 tutorial) does not work unless Eclipse RJR Run Config is amended with a JVM
 param: -Dtapestry.execution-mode=development

 But,

 DevelopmentModule.java

 contains:

 // The factory default is true but during the early stages of an
 // application
 // overriding to false is a good idea. In addition, this is often
 // overridden
 // on the command line as -Dtapestry.production-mode=false
 configuration.add(SymbolConstants.PRODUCTION_MODE, false);

 The Class Reloading page @ http://tapestry.apache.org/class-reloading.html

 Says the following:

 If Live Class Reloading doesn't workProduction Mode

 Starting with Tapestry 5.3, Live Class Reloading only works when not in
 Production Mode. Check your application module (usually AppModule.java)
 to be sure you have:
 configuration.add(SymbolConstants.PRODUCTION_MODE, false);

 and that this isn't being overridden to true on your application's
 startup command line.

 All other issues such as automatic IDE build etc have been confirmed to be
 setup properly.

 So this suggests that simply adding configuration with PRODUCTION_MODE
 false should enable development mode and therefore live class reloading.
 But that's not the case. A raw startup project setup according to
 http://tapestry.apache.org/creating-the-skeleton-application.html , which
 does have PRODUCTION_MODE false in DevelopmentMode.java and the run
 configuration JVM parameter *empty* appears to run as if production mode =
 true.

 Adam



Re: Unable to locate a single EntityManager. You must provide the persistence unit name as defined in the persistence.xml using the @PersistenceContext annotation.

2015-03-17 Thread Felix Scheffer
Hi Andreas,

I assume you have more than one persistence context. In this case you have
to add the @PersistenceContext annotation to your onSuccess() method.
Otherwise the system doesn't  know which persistence context it should use.

(The related code is in JpaInternalUtils.getEntityManager() and
in EntityManagerManagerImpl)

Hope that helps.

Felix

2015-03-17 11:16 GMT+01:00 Andreas Ernst a...@ae-online.de:

 Hi,

 i got a ejb with two entities.

 All is working fine, but if i persist the entity, it got this error:

 Unable to locate a single EntityManager. You must provide the persistence
 unit name as defined in the persistence.xml using the @PersistenceContext
 annotation.


   @Inject
   @PersistenceContext(unitName = de.aeits_ERDA-CCIS-EJB_ejb_1.01PU)
   private EntityManager entityManager;

   @Log
   @CommitAfter
   Object onSuccess() {
 logger.log(Level.INFO, erfolgreicher Login von {0}, user);
 try {
   Users users = entityManager.find(Users.class, user);
   logger.log(Level.INFO, User {0}, user);
   users.setIp(requestGlobal.getHTTPServletRequest().getRemoteAddr());
 //  entityManager.getTransaction().begin();
   entityManager.merge(users);
 //  entityManager.getTransaction().commit();
 } catch (Exception e) {
   logger.log(Level.INFO, Es ist ein Fehler aufgetreten: {0}, e);
 }
 return Index.class;
   }


 If i remove the annotation @CommitAfter and do it with
 entityManager.getTransaction().begin() and 
 entityManager.getTransaction().commit(),
 it works.

 Any hints?

 TIA
 Andreas
 --
 ae | Andreas Ernst | IT Spektrum
 Postfach 5, 65612 Beselich
 Schupbacher Str. 32, 65614 Beselich, Germany
 Tel: +49-6484-91002 Fax: +49-6484-91003
 a...@ae-online.de | www.ae-online.de
 www.tachyon-online.de

 -
 To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
 For additional commands, e-mail: users-h...@tapestry.apache.org




Re: [ANNOUNCEMENT] Project Arras

2014-11-15 Thread Felix Scheffer
Hi,

the demo does not check the credentials. just click on sign in and it
should work.

Felix


2014-11-14 17:43 GMT+01:00 Charlouze m...@charlouze.com:

 Is it possible to have admin login and password for the cms demo ?

 2014-11-14 17:28 GMT+01:00 Felix Scheffer m...@felix-scheffer.de:

  Demo for arras-components:
  https://arras-components.herokuapp.com/
 
  Demo for arras-cms (should reset every 24h)
  http://arras-cms.herokuapp.com/
 
 
  Felix
 
 
  2014-11-13 14:48 GMT+01:00 Nathan Quirynen nat...@pensionarchitects.be
 :
 
   Looks nice (looking at the code)!
 
  Are there online demos running to show everything?
 
  Congratz on the work ;)
 
  Nathan
 
  On 13/11/14 14:43, George Christman wrote:
 
  Excellent, congrats!
 
  On Wed, Nov 12, 2014 at 1:44 PM, Kalle Korhonen 
 kalle.o.korho...@gmail.com kalle.o.korho...@gmail.com
  wrote:
 
 
   Looks nice, congrats!
 
  Kalle
 
  On Wed, Nov 12, 2014 at 9:27 AM, Felix Scheffer m...@felix-scheffer.de
 m...@felix-scheffer.de
  wrote:
 
 
   Hi all,
 
  I'm pleased to announce the release of arras-components and arras-cms.
  https://github.com/fscheffer/arras/
 
  *Arras-components* is set of components for Tapestry 5.4 (based on beta
  22).
  Currently the following components are part of the project:
  TabGroup, Dropdown, Lightbox, DataTable, Icon (fontawesome),
 
   RemoteSubmit,
 
   MediumEditor and Player (video and audio).
 
  Hopefully this list will grow further in the future.
 
  *Arras-cms* provides simple functionality to change the content of your
  site without actually having to redeploy it. It's using a WYSIWYG
 
   approach
 
   to change the content and is using tapestry-jpa to read and write
 content
  from and to a database.
 
  The jar files for both, arras-components and arras-cms, are available on
  Maven Central.
 
  If there are any questions or suggestions or feedback, feel free to
 
   contact
 
   me.
 
  Felix Scheffer
 
 
 
 
  --
 
 
  Een klare kijk op aanvullende pensioenen
 
  *Nathan Quirynen*
  03 340 04 60 | 0494 28 45 15
  nat...@pensionarchitects.be
 
  Follow us on Web http://www.pensionarchitects.be | Twitter
  http://www.twitter.com/pen_arch | LinkedIn
  http://www.linkedin.com/company/pension-architects | RSS
  http://feeds.feedburner.com/pensionarchitects | YouTube
  http://www.youtube.com/pensionarchitects
 
 
 



Re: [ANNOUNCEMENT] Project Arras

2014-11-15 Thread Felix Scheffer
Hi François

no, I have never been in Arras. I guess I have to add it to my list of
destinations now :-)

Felix


2014-11-15 0:24 GMT+01:00 françois facon fra.fa...@gmail.com:

 Nice!

 Have you ever been in Arras? It's also a nice place
 http://informationfrance.com/arras.php

 Congrats!

 François

 2014-11-12 18:27 GMT+01:00 Felix Scheffer m...@felix-scheffer.de:

  Hi all,
 
  I'm pleased to announce the release of arras-components and arras-cms.
 
  https://github.com/fscheffer/arras/
 
  *Arras-components* is set of components for Tapestry 5.4 (based on beta
  22).
  Currently the following components are part of the project:
  TabGroup, Dropdown, Lightbox, DataTable, Icon (fontawesome),
 RemoteSubmit,
  MediumEditor and Player (video and audio).
 
  Hopefully this list will grow further in the future.
 
  *Arras-cms* provides simple functionality to change the content of your
  site without actually having to redeploy it. It's using a WYSIWYG
 approach
  to change the content and is using tapestry-jpa to read and write content
  from and to a database.
 
  The jar files for both, arras-components and arras-cms, are available on
  Maven Central.
 
  If there are any questions or suggestions or feedback, feel free to
 contact
  me.
 
  Felix Scheffer
 



Re: [ANNOUNCEMENT] Project Arras

2014-11-14 Thread Felix Scheffer
Demo for arras-components:
https://arras-components.herokuapp.com/

Demo for arras-cms (should reset every 24h)
http://arras-cms.herokuapp.com/


Felix


2014-11-13 14:48 GMT+01:00 Nathan Quirynen nat...@pensionarchitects.be:

  Looks nice (looking at the code)!

 Are there online demos running to show everything?

 Congratz on the work ;)

 Nathan

 On 13/11/14 14:43, George Christman wrote:

 Excellent, congrats!

 On Wed, Nov 12, 2014 at 1:44 PM, Kalle Korhonen kalle.o.korho...@gmail.com 
 kalle.o.korho...@gmail.com
 wrote:


  Looks nice, congrats!

 Kalle

 On Wed, Nov 12, 2014 at 9:27 AM, Felix Scheffer m...@felix-scheffer.de 
 m...@felix-scheffer.de
 wrote:


  Hi all,

 I'm pleased to announce the release of arras-components and arras-cms.
 https://github.com/fscheffer/arras/

 *Arras-components* is set of components for Tapestry 5.4 (based on beta
 22).
 Currently the following components are part of the project:
 TabGroup, Dropdown, Lightbox, DataTable, Icon (fontawesome),

  RemoteSubmit,

  MediumEditor and Player (video and audio).

 Hopefully this list will grow further in the future.

 *Arras-cms* provides simple functionality to change the content of your
 site without actually having to redeploy it. It's using a WYSIWYG

  approach

  to change the content and is using tapestry-jpa to read and write content
 from and to a database.

 The jar files for both, arras-components and arras-cms, are available on
 Maven Central.

 If there are any questions or suggestions or feedback, feel free to

  contact

  me.

 Felix Scheffer




 --


 Een klare kijk op aanvullende pensioenen

 *Nathan Quirynen*
 03 340 04 60 | 0494 28 45 15
 nat...@pensionarchitects.be

 Follow us on Web http://www.pensionarchitects.be | Twitter
 http://www.twitter.com/pen_arch | LinkedIn
 http://www.linkedin.com/company/pension-architects | RSS
 http://feeds.feedburner.com/pensionarchitects | YouTube
 http://www.youtube.com/pensionarchitects




Re: [ANNOUNCEMENT] Project Arras

2014-11-13 Thread Felix Scheffer
Hi Nathan,

there is an online demo for arras-components:

https://arras-components.herokuapp.com/


I am still trying to get the demo for arras-cms up and running, but you can
also download the war file from
https://oss.sonatype.org/content/groups/public/com/github/fscheffer/arras-cms-demo/1.1.1/arras-cms-demo-1.1.1.war

and deploy it yourself (the demo is using the h2 in-memory database by
default).

Felix



2014-11-13 14:48 GMT+01:00 Nathan Quirynen nat...@pensionarchitects.be:

  Looks nice (looking at the code)!

 Are there online demos running to show everything?

 Congratz on the work ;)

 Nathan

 On 13/11/14 14:43, George Christman wrote:

 Excellent, congrats!

 On Wed, Nov 12, 2014 at 1:44 PM, Kalle Korhonen kalle.o.korho...@gmail.com 
 kalle.o.korho...@gmail.com
 wrote:


  Looks nice, congrats!

 Kalle

 On Wed, Nov 12, 2014 at 9:27 AM, Felix Scheffer m...@felix-scheffer.de 
 m...@felix-scheffer.de
 wrote:


  Hi all,

 I'm pleased to announce the release of arras-components and arras-cms.
 https://github.com/fscheffer/arras/

 *Arras-components* is set of components for Tapestry 5.4 (based on beta
 22).
 Currently the following components are part of the project:
 TabGroup, Dropdown, Lightbox, DataTable, Icon (fontawesome),

  RemoteSubmit,

  MediumEditor and Player (video and audio).

 Hopefully this list will grow further in the future.

 *Arras-cms* provides simple functionality to change the content of your
 site without actually having to redeploy it. It's using a WYSIWYG

  approach

  to change the content and is using tapestry-jpa to read and write content
 from and to a database.

 The jar files for both, arras-components and arras-cms, are available on
 Maven Central.

 If there are any questions or suggestions or feedback, feel free to

  contact

  me.

 Felix Scheffer




 --


 Een klare kijk op aanvullende pensioenen

 *Nathan Quirynen*
 03 340 04 60 | 0494 28 45 15
 nat...@pensionarchitects.be

 Follow us on Web http://www.pensionarchitects.be | Twitter
 http://www.twitter.com/pen_arch | LinkedIn
 http://www.linkedin.com/company/pension-architects | RSS
 http://feeds.feedburner.com/pensionarchitects | YouTube
 http://www.youtube.com/pensionarchitects




[ANNOUNCEMENT] Project Arras

2014-11-12 Thread Felix Scheffer
Hi all,

I'm pleased to announce the release of arras-components and arras-cms.

https://github.com/fscheffer/arras/

*Arras-components* is set of components for Tapestry 5.4 (based on beta
22).
Currently the following components are part of the project:
TabGroup, Dropdown, Lightbox, DataTable, Icon (fontawesome), RemoteSubmit,
MediumEditor and Player (video and audio).

Hopefully this list will grow further in the future.

*Arras-cms* provides simple functionality to change the content of your
site without actually having to redeploy it. It's using a WYSIWYG approach
to change the content and is using tapestry-jpa to read and write content
from and to a database.

The jar files for both, arras-components and arras-cms, are available on
Maven Central.

If there are any questions or suggestions or feedback, feel free to contact
me.

Felix Scheffer


Tapestry 5.3.4 Release Candidates Hibernate

2012-06-12 Thread Felix Scheffer
Hi,

in 5.3.4-rc-5  tapestry-hibernate is using hibernate-core 4.x.x, so I
upgraded my hibernate code to hibernate 4.x.x and everythings seems to work
fine.

Now with 5.3.4-rc-6 tapestry-hibernate is using hibernate-core 3.6.0
again...

So can someone tell me what's going on here and what version of hibernate
will finally be used in 5.3.4?

Thanks,
Felix Scheffer


Re: Tapestry 5.3.4 Release Candidates Hibernate

2012-06-12 Thread Felix Scheffer
Thanks!

2012/6/12 Howard Lewis Ship hls...@gmail.com

 The change of Hibernate dependency was a  mistake made while
 converting over the Gradle build script changes from master to the 5.3
 branch. This occured in 5.3.4-rc-3 (I believe).  It has been
 corrected. Sorry about the trouble!

 On Tue, Jun 12, 2012 at 8:52 AM, Felix Scheffer fschef...@netzgut.net
 wrote:
  Hi,
 
  in 5.3.4-rc-5  tapestry-hibernate is using hibernate-core 4.x.x, so I
  upgraded my hibernate code to hibernate 4.x.x and everythings seems to
 work
  fine.
 
  Now with 5.3.4-rc-6 tapestry-hibernate is using hibernate-core 3.6.0
  again...
 
  So can someone tell me what's going on here and what version of hibernate
  will finally be used in 5.3.4?
 
  Thanks,
  Felix Scheffer



 --
 Howard M. Lewis Ship

 Creator of Apache Tapestry

 The source for Tapestry training, mentoring and support. Contact me to
 learn how I can get you up and productive in Tapestry fast!

 (971) 678-5210
 http://howardlewisship.com

 -
 To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
 For additional commands, e-mail: users-h...@tapestry.apache.org




Re: Upgrading to Hibernate Core 4.1.1 Final

2012-04-27 Thread Felix Scheffer
Hi,

i created a ticket for this:

https://issues.apache.org/jira/browse/TAP5-1922

Felix Scheffer

2012/4/27 netdawg net.d...@yahoo.com

 Thanks, kristian.  I tried that already (couple of times).  Thanks, though.

 --
 View this message in context:
 http://tapestry.1045711.n5.nabble.com/Upgrading-to-Hibernate-Core-4-1-1-Final-tp5669640p5669799.html
 Sent from the Tapestry - User mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
 For additional commands, e-mail: users-h...@tapestry.apache.org




BeanEditForm does NOT support informal parameters?

2012-04-25 Thread Felix Scheffer
Hi,

i am using a BeanEditForm and added a class attribute to it, i.e.:

t:beaneditform t:id=entity  ...  class=form-horizontal 
   ...
/t:beaneditform

but the class attribute does not appear in the actual html code:

form enctype=application/x-www-form-urlencoded
onsubmit=javascript:return Tapestry.waitForPage(event); action=...
method=post id=form

BeanEditForm has the @SupportsInformalParameters annotation, so am i
missing something or is this a bug?

Tapestry version is 5.3.3

Thanks a lot!

Felix Scheffer


Re: BeanEditForm does NOT support informal parameters?

2012-04-25 Thread Felix Scheffer
Thanks! That was fast :-)

I tried using RenderInformals

div
  t:beaneditform t:id=entity ...  t:mixins=RenderInformals
class=form-horizontal 
/div

and the result is:

div class=form-horizontal
   form ...
   /form
/div

now the class attribute is present, but on the wrong tag (should be on the
form tag).
Looks like the form tag has not been rendered when
RenderInformals.beginRender() method is called.

I would expected that BeanEditForm would call
resources.renderInformalParameters(writer); but it doesnt.  Very
confusing...

I also tried 5.3.2 and it's exactly the same.

Felix Scheffer


2012/4/25 Chris Mylonas ch...@opencsta.org

 was the sarcasm meter on that Lance?
 :)  - hard to tell at nearly midnight

 On 25/04/2012, at 11:22 PM, Lance Java wrote:

  Try adding the following attribute:
  t:mixins=renderInformals
 
  If it works, there's a bug ;)
 
  On Wednesday, 25 April 2012, Felix Scheffer fschef...@netzgut.net
 wrote:
  Hi,
 
  i am using a BeanEditForm and added a class attribute to it, i.e.:
 
  t:beaneditform t:id=entity  ...  class=form-horizontal 
   ...
  /t:beaneditform
 
  but the class attribute does not appear in the actual html code:
 
  form enctype=application/x-www-form-urlencoded
  onsubmit=javascript:return Tapestry.waitForPage(event); action=...
  method=post id=form
 
  BeanEditForm has the @SupportsInformalParameters annotation, so am i
  missing something or is this a bug?
 
  Tapestry version is 5.3.3
 
  Thanks a lot!
 
  Felix Scheffer
 


 -
 To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
 For additional commands, e-mail: users-h...@tapestry.apache.org




Re: BeanEditForm does NOT support informal parameters?

2012-04-25 Thread Felix Scheffer
Thanks guys for the quick response. Much appreciated!


2012/4/25 Chris Mylonas ch...@opencsta.org

 https://issues.apache.org/jira/browse/TAP5-1917

 Done.


 re: sarcasm earlier - there seems to be an increase in is this a bug?
 tacked onto each problem.  I thought you were just having a little fun on
 the list :)
 So far today, The List 1 : Tapestry-5.3.x 0

 Nice one Felix.

 Cheers
 Chris

 On 25/04/2012, at 11:49 PM, Lance Java wrote:

  It seems that BeanEditor has the same bug. Pls put that in the Jira too
 
  Might be an idea to search all components with
 @SupportsInformalParameters
  that don't call renderInformalParameters to find any others




Re: BeanEditForm does NOT support informal parameters?

2012-04-25 Thread Felix Scheffer
Grid works fine. It's using inheritInformalParameters

@Component(parameters = class=tableClass, inheritInformalParameters =
true)
private Any table;


2012/4/25 Chris Mylonas ch...@opencsta.org

 GridColoum suffers from the same thing having a look at the code.  There
 is no sign of resources.renderInformalParameters()
 Same for Grid.


 hehe what I've learned this week from the list, you'll have to
 contribute the NoFUD service to the registry with @EagerLoad to get in
 before the rest of it starts up.  Hopefully yuicompressor won't give you
 schtick in tomcat 7 for multi zoned AJAX with IE6*


 *please don't mind the embellishment.

 On 26/04/2012, at 12:06 AM, Lance Java wrote:

  I'm happy to call a bug a bug but I shall valiantly defend my baby
  (tapestry) from FUD


 -
 To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
 For additional commands, e-mail: users-h...@tapestry.apache.org