for quick fix, you can
add an element around the table and give id to it,
then you get the element by calling
(this code works if table is direct child... not that is hard to look
recursively for it)
var div = $(id);
var elem = div.firstChild;
while(elem && elem.tagName != "TABLE") elem=elem.next
Thanks Howard.
I have tried the suggestion Davor provided to use t:id instead before, but
without any luck. Since you think it is a bug, I would like to report this.
Can you tell me how to add this as a bug? I have not done this before. Since
I am working on adding the "drag-and-drop" table row t
Thank you for all the information & suggestions!
I think we will use IDEA first to learn to use T5
and then get back to ECLIPSE & NETBEANS 6
I would really like to persuade my boss to fund one projets
but in my experience, it's not that easy
Anyway, thank you all!
Pai911 wrote:
>
> Dear al
Hi,
How to use beaneditform with complex beans? it seems that beaneditform does
not render those user defined classes, here is an example that I found in
the list about the similar question for t4:
public class Item {
private ItemDetails details;
}
public class ItemDetails {
I have a grid table in "Roster.tml". The grid table prints out information
for "User(s)". An "User" has many properties including rank and status
defined as follow:
public enum Rank {INITIATE, MEMBER, GROUP_ADMIN}
public enum Status {NEW, OLD}
With the template below, the output value
2008/3/1, Davor Hrg <[EMAIL PROTECTED]>:
>
> I've added a new wiki page,
> this time it is not a tutorial, but usefull Eclipse code templates,
>
> page is:
> http://wiki.apache.org/tapestry/Tapestry5HowToEclipseCodeTemplates
>
>
> check the page, and try out the templates,
> any suggestion is welco
Indeed, I was not aware of that.
Pai911 wrote:
> Please see the "Flash demo" in here
>
> http://handyedit.com/index.html
>
> Best Regards,
>
>
> Chris Lewis-6 wrote:
>
>> Yeah that could be nice. I'm still confused about your statement
>> that this kind of support exists in Idea. In fact
This is tricky, but doable. You have to jump into a bit of the
internals to pull it off, however.
Really, Tapestry should add a service to assist in this, something
where you feed in a page instance or page name and get back a
Document. Add an issue to JIRA.
On Sat, Mar 1, 2008 at 11:06 AM, Oli
I've added a new wiki page,
this time it is not a tutorial, but usefull Eclipse code templates,
page is:
http://wiki.apache.org/tapestry/Tapestry5HowToEclipseCodeTemplates
check the page, and try out the templates,
any suggestion is welcome to make it even more usefull,
Also you are encouraged
Hello,
Is it possible to access the rendered page result from within a page
without calling the actual http:// address?
I would need this so that I can setup a page that generates xml (xsl-fo)
to be processed by fop [1] to convert it to pdf. That is much more
readable than generating the xm
Please add this as a bug; the Grid component should render informal
parameters into the element it renders.
On Sat, Mar 1, 2008 at 9:04 AM, Davor Hrg <[EMAIL PROTECTED]> wrote:
> I think you need to put t:id="userList" instead of id="userList"
>
> Davor Hrg
>
>
>
> On 3/1/08, DavidWei <[EMAIL P
I think you need to put t:id="userList" instead of id="userList"
Davor Hrg
On 3/1/08, DavidWei <[EMAIL PROTECTED]> wrote:
>
> I need to add a table id to the grid to display user list.
>
> Here is what I try to do:
> t:row="user" t:model="userModel"t:rowsPerPage="10" t:lean="true"
> t:rowClass=
Q: How do I implement a language selection?
A:
src/main/java/org/example/myapp/pages
public class SelectLanguage {
@Inject
private PersistentLocale persistentLocale;
public void onChangeLocale(final String language) {
persistentLocale.set(new Locale(language));
}
}
It's just as the error message says: No service implements the
EntityManager interface. You'll have to implement your own service for
now if you want to use that instead of a Session.
-Filip
lu dongping skrev:
hi all,
I'm a newbie here.
Now I can access db with the injected hibernate
hi all,
I'm a newbie here.
Now I can access db with the injected hibernate session .
But when I try to Inject an EJB3 EntityManager, following error occurs:
" No service implements the interface javax.persistence.EntityManager "
I guess a persistence.xml is needed at least
I need to add a table id to the grid to display user list.
Here is what I try to do:
I found the id field is not there in the table tag when I viewed source. It
is displayed as
How can I do? Thanks in advance.
--
View this message in context:
http://www.nabble.com/How-to-add-table-id-i
Jonathan Barker wrote:
> I tried running your test, which gives a lazy-loading exception trying to
> access the Set from BeanA. If you change your Hibernate mapping to
> use lazy="false" then the problem goes away.
>
Unfortunately this is no option because the object tree is too large.
> I don't
I've created a minimaly invasive patch for this some time ago,
https://issues.apache.org/jira/browse/TAPESTRY-2116
it only requires notion of transformable methods for ClassTransformation
so any field access inside them gets transformed
I've been patching tapestry with it since, because I use
thank you Howard!
Jessek wrote:
>
> Wasn't my idea, thank Howard for figuring it out. ;)
>
> On Fri, Feb 29, 2008 at 10:19 AM, Pai911 <[EMAIL PROTECTED]> wrote:
>>
>> For those who encountered this issue
>>
>> This issue ,as said by Jessek, is solved by "not" sharing Tapestry
>> related
>>
Yeah, I tend to break up big pages into smaller components, especially
if I can get any re-use out of it, which - it turns out - I often can.
-Filip
César Lesc skrev:
May be is a sign that you need to refactor your class because is
getting too many responsibilities. :)
César.
---
Hi,
I found beaneditform a time saver, so far I use it only on simple entities,
how to use it on entities that has a look up, something like following, what
is a best appraoch? thanks.
public class OrderLine {
Long id;
private Item item;
@ManyToOne(fetch = FetchType.LAZY)
@Joi
21 matches
Mail list logo