Using the default Eclipse "Generate hashcode() and equals()" from the Source
menu gives you these two methods but generated using fields rather than getters.
As Hibernate uses Proxy objects and only loads the actual object when a getter
is encountered, these generated methods can prove problemat
I can't stand Java's implementation of currency formats. What user is ever
going to remember to type in the correct currency sign? Better off using the
basic format and setting the fractions.
Small change to the above; in both methods replace the:
NumberFormat nf = NumberFormat.getCurrencyInstan
I had a similar problem today but was getting IllegalArgumentExceptions and
ClassCastExceptions. For anyone interested below is a basic Float Currency
converter. You use it like this:
|
| import java.text.NumberFormat;
|
| import javax.faces.component.UIComponent;
| import javax.face
It might be helpful to describe what functionality you require. From what
you've said so far it sounds like you want to pass in a parameter that is then
outjected for another component to use. Is this correct? So this bean is just
an intermediary?
Cheers,
Damian.
View the original post :
This has been discussed on this forum a lot. As Pete says in section 31.1.2 of
the doc linked to, if you want to use s:link or s:button inside an iterative
component then the list that the iterative component uses must be annotated
with @DataModel.
In your case your "cat" bean will be something
There's nothing wrong with that approach.
To call another bean from inside a bean you can either:
a) inject the bean using @In; or
b) create it inline using Component.getInstance("mybean")
Cheers,
Damian
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122873#
I gave up on Eclipse 3.3.1.1 on the Mac due to prolonged garbage collection.
Went back to 3.3.0 which works fine. Sounds like it must have been due to the
.ini issue that you mentioned.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4117363#4117363
Reply to
Wouldn't it be more sensible to change your entity?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116241#4116241
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116241
___
jbo
You're correct. I use the Hibernate session solely for this purpose too.
I haven't tried the components.xml definition of it. I just create it in my
codeSession session = (Session)entityManager.getDelegate();Cheers,
Damian.
View the original post :
http://www.jboss.com/index.html?module=bb&op=
I've just run into this problem again and am posting back here so I don't
forget again.
When trying to delete an entity that has existing relationships (eg. OneToMany)
you have to ensure that you clear the collection before removing the object.
eg:public void deleteGroup(Group group) {
|
Well the Seam way would be to use @Restrict annotations on your methods and
specify some security rules in your security.drl.
Check the docs.
Cheers,
Damian.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4115869#4115869
Reply to the post :
http://www.jbos
Try setting the scope of the Bean to @Scope(SESSION). It's likely that the Bean
isn't hanging around longer than the request and that is what is causing the
null.
Cheers,
Damian.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4115753#4115753
Reply to the po
As it says in the seam reference:The declaration is bidirectional
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4115174#4115174
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115174
I don't think that there's anything *wrong* with @RequestParameter, but it
isn't optional so your Bean containing it must always be passed it.
Using just page params is just as easy. You would do something like this:
test.xhtml:
|
|
|
| #{row.id}
Do you have any compilation errors?
Can you run any of the other ant tasks?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4114952#4114952
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4114952
__
I originally removed the IDs as I didn't want the user hacking around trying to
find someone else's data. It's the usual use-case I suppose and certainly
something that I do whenever I see IDs in the query string. I can check the
authorisation of the user in the find() or similar but the @DataMo
Oh dear. So all my hard work removing IDs from my application is wasted?
Exposing IDs in my app is a bit of an issue.
Do you know if it is just @DataModelSelection that is the problem or @DataModel
in general? Ie. if I use this:http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4114590#411
"[EMAIL PROTECTED]" wrote : It does? I can't see one...
|
| There is no support for caching created s:selectItems lists. If you want
it, file a feature request. Following a recent conversation with Gavin I
figured out how to make it work nicely.
I just saw it in the code completion on an s:s
My mistake, I thought you were referring to the built in pdf chart tags.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4114270#4114270
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4114270
Pretty cool.
However, you can currently include jFreecharts into your pdf using the existing
tag eg:
|
Where you encode your chart as an image and store as a byte array:
| private byte[] myChartImage;
|
| myChartImage = ChartUtilities.encodeAsPNG(myChart.createBufferedImage(300,
200)
Classic. There's even a p0rn site running Seam. Pass that onto your sales guys
for sure.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4114133#4114133
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4114133
That's been the dream of the larger BPM community for like a decade. Not even
close IMO. This isn't a criticism of Seam or jBPM in any way. You won't get
close no matter what framework you use and regardless of what some slick
salesman tries to tell you.
Worth a read:http://www.infoq.com/articl
Had a go with these today. The trick (as mentioned in the JIRA) is to use
render rather than redirect in the pages.xml. Also worth noting is to define
the page rule for the included pages not on the page doing the including. Maybe
obvious to most, but I was puzzled for a while as it's the opposi
I tried to recreate your issue but if I attempt this, Hibernate throws a
anonymous wrote : org.hibernate.StaleStateException : Batch update returned
unexpected row count from update [0]; actual row count: 0; expected: 1
I'm glad you raised this though as I'll make sure I handle this error. Not su
p:text has a rendered attribute.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4113221#4113221
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4113221
___
jboss-user mailing lis
It's friday, my pub lunch is settling nicely and I'm feeling verbose, so here's
a very basic example (probably some syntax errors but you get the drift):
| @Name("citySelectionBean")
| @Scope(ScopeType.CONVERSATION) // < This is important. You could also
use SESSION or a stateful bean
Many potential problems and an equal number of solutions. Post more of your
code.
Cheers,
Damian.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4112967#4112967
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4112967
_
Well not knowing your components.xml, I'd hazard a guess that maybe you should
check that your entityManager is null? Put in a log line checking something
like 'em==null' (or run it through a debugger).
And why not use @In
| EntityManager entityManager;rather than PersistenceContext? You defin
No worries. I think that the '/' in your Wiki title is the problem there.
Cheers,
Damian.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4112578#4112578
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4112578
___
The people on this forum really are very friendly and extremely helpful. It
just needs a reciprocal amount of effort - which starting a Wiki page would be
a good example of. Maybe start with something like "Understanding Seam
DataModels" and use this thread as a basis?
Regarding your question t
Just noticed that selectItems now has a cache attribute. I assume that this was
from http://jira.jboss.com/jira/browse/JBSEAM-2185. How should this be used? Do
you just specify a cache key eg cache="mylist" and if you have caching enabled
the list is cached?
Cheers,
Damian.
View the original
Put a hidden iframe on your page and target your PDF link to open in there.
Works for me. You may have to do some browser detection as well to get cross
browser coolness.
Cheers,
Damian.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4112190#4112190
Reply t
Have a read of the documentation around page parameters eg. in your page.xml
Cheers,
Damian.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4112187#4112187
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4112187
___
That was a while ago and that code is now working. If you post your page and
Bean I will see if I can help.
Cheers,
Damian.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111897#4111897
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posti
I've just experienced the same (or similar) problem. FAILED CONFIGURATION:
@BeforeClass init
| java.lang.NoSuchFieldError: mainDeployer
| at
org.jboss.seam.mock.embedded.BootstrapWrapper.createDeploymentGroup(BootstrapWrapper.java:28)
| at org.jboss.embedded.Bootstrap.deployResource
The servlet approach is easy. This 5 part tutorial is very good
http://linuxbeans.blogspot.com/2007/10/image-handling-in-seam-apps-part-i-db.html
Cheers,
Damian.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111537#4111537
Reply to the post :
http://www.j
ServletRequest request = (ServletRequest) FacesContext.getCurrentInstance()
| .getExternalContext().getRequest();
|
| String url = new StringBuffer(request.getScheme())
| .append("://").append(request.getServerName())
| .append(":")
| .append(request.getServerPort()
Have you looked at s:convertDateTime?
Cheers,
Damian.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4110852#4110852
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4110852
___
Are you using the hot deploy? I get the same thing happening with my Quartz
events. The hot deploy effectively doesn't deregister the old event and also
adds a new event.
Do you find that doing a full undeploy/reploy makes the event fire only once?
Cheers,
Damian.
View the original post :
h
This is a known issue and is easily avoided.
Increase the value of your concurrent-request-timeout in your components.xml to
a value that is suitable for your application. I've got mine set to 1
meaning that I want all methods completed within 10 seconds.
If a method doesn't complete within
Assuming that you're 3rd pages *.page.xml doesn't have a
(or a conversation started in any other way) then you can specify a
no-conversation-view-id. That should redirect your attempt to directly access
the 3rd page.
Cheers,
Damian.
View the original post :
http://www.jboss.com/index.html?m
In your persistence.xml (or hibernate.cfg.xml) set this property to false
Also look in the Seam Wiki
for the performance tips thread.
Cheers,
Damian
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4110092#4110092
Reply to the post :
http://www.jboss.com/in
Set up a navigation rule that directs the user to your reactivation page from
login (eg. based on some status):
|
|
|
|
|
|
|
|
|
You would set the status in the authenticato
Try making payrollExport conversation scoped eg @Name("payrollExport")
| @Scope(ScopeType.CONVERSATION)and then ensuring that you start a
conversation via pages.xml (or similar)
Cheers,
Damian.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108613#4108613
More interesting behviour around Issue #1. If you do multiple hot deploys you
can end up with an error (which looks suspiciously like the error when you do
the Async)Caused by: java.lang.IllegalArgumentException: method not found:
sayHelloBack for component: testObserver
| at org.jboss.sea
Two points that have got me recently around using the Extended EL for tables
with navigation links:
1. Your list still needs to be annotated with @DataModel for the extended EL to
pass the object. Otherwise it will be null.
2. In your pages.xml your navigation rule must have the from-action the
That will allow you to roll your own servlet to interact with the component.
Alternatively you could look at the WebServices section in the Seam docs (eg.
@WebService and @WebMethod)
Cheers,
Damian.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108355#4108
Have you tried calculating the value in your Bean and using the ?
Cheers,
Damian.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108351#4108351
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4108351
___
Don't think that you can. It's a Map so doesn't have that ability. It shouldn't
be too difficult to write your own MessageFormat type component though.
Cheers,
Damian.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108127#4108127
Reply to the post :
http:/
There are a plethora of options open to you here.
1. If the messages.properties message is just 'My date is'. Then you just print
out your date eg:#{messages['message']}
2. If the messages.properties message is 'My Date is {0}' then you could create
the message in your Bean using MessageFormat
@In Map messages;
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108086#4108086
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4108086
___
jboss-user mailing list
jboss-user@li
I think that you're after reveng.xml - check out the Hibernate tools docs.
Cheers,
Damian
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4107899#4107899
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4107899
___
The LazyInitializationException is a big clue. Have a look around the hibernate
documentation and especially as regards FetchType.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4107790#4107790
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=
You are trying to reRender the modal but you need to reRender a panel inside
the modal instead.
Cheers,
Damian.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4107493#4107493
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=repl
I assume that you're using a class that extends EntityHome. In your
persist/update/remove methods you can specify the message
eg:super.setCreatedMessage("hello")
or look at injecting the message bundle and using that:eg
| @In private Map messages;
| ...
| @Override
| public String persist
Issue #1 also seems to apply to Quartz jobs - ie. if I do a few hot deploys
before a Quartz job is scheduled then it will run a number of times
consecutively.
Cheers,
Damian.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4107079#4107079
Reply to the post :
You are probably getting concurrent request timeouts - your first click is
processing and the second click times out. Try increasing the value of
concurrent-request-timeout in your components.xml. Mine is set to 1.
Cheers,
Damian.
View the original post :
http://www.jboss.com/index.html?m
Only that it is usual and part of the framework.
Cheers,
Damian.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4107032#4107032
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4107032
Thanks Pete. I'll give raiseAsynchronousEvent a whirl.
1. http://jira.jboss.org/jira/browse/JBSEAM-2281
2. http://jira.jboss.org/jira/browse/JBSEAM-2280
Cheers,
Damian.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106702#4106702
Reply to the post :
http
just use something like
|
Cheers,
Damian.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106641#4106641
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106641
___
jboss-us
I've just implemented the Manager Component pattern as outlined in the docs
using @Unwrap and @Observer and it's working a treat.
Two small issues with it though:
1. When using incremental hot deploy (ie. WEB-INF/dev) the Event is fired as
many times as it's been since you last did a full depl
You're on the right path, however in the latest version of richfaces you can't
just reRender the modal you have to reRender something in it. Your best bet is
to have something like an or in the modal and
reRender that.
Cheers,
Damian.
View the original post :
http://www.jboss.com/index.htm
Yep. Or change your page to :
|
Cheers,
Damian.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106442#4106442
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106442
___
jbo
@Xinhua, that's an interesting way of doing it and feels more Seam-like than
using a Servlet. Have you had any problems with xhtml and the ajax4jsf filters
interfering with ExtJS?
One advantage of the servlet approach is that the page loads with the grid/tree
and then the call is made to the b
@Factory doesn't guarantee that the method is called first. Maybe you are
thinking of @Create?
@Factory will be called when you call it from a page (or wherever) and Seam
will place the value into the context variable so that it isn't called again
for the life of the context.
Cheers,
Damian
I had a play with the tree column component and used the json.org classes
(which I jar'd up) and pumped the JSON out with a servlet using Beans that had
a toJSONObject() method.
I tried using XStream and Jettison but the JSON produced was not valid for Ext.
It all worked when the page extension
If your Bean is CONVERSATION scoped does your pdf xhtml page join that
conversation? (eg. )
Cheers,
Damian.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4105998#4105998
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=
If you don't have Adobe Acrobat you can create a PDF with whatever tool (eg
Word [worstcase]) and then add the acrofields with iText itself to create a
template.
You can do anything with the stamping/overlay. It's very flexible. I'm adding a
table and also a rotated watermark.
@kukeltje: you
I've moved away from the tags for complex PDFs and started using existing PDFs
as templates and then writing data into them (acrofields) and over them (using
getOverContent) and then PdfStamping them as new PDFs. You end up with
something that looks very good while not having to write that much
I'm pretty sure that you won't be able to do this with ajax4jsf as it is now.
No ajax component will be able to perform a direct file upload as javascript
doesn't have access to the file system. I could be wrong on this as there is a
plethora of ajax upload widgets around the web, however these
With a new Seam Gen project you have to run the 'buildtest' ant task that will
create a persistence.xml in the 'test-build' directory. Hibernate tools will
work from that.
Maybe this should be added to the Seam docs?
Cheers,
Damian.
View the original post :
http://www.jboss.com/index.html?mo
I haven't seen any of the issues from that JIRA since I increased by
concurrent-request-timeout.
Cheers,
Damian.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4105351#4105351
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=rep
Do you have a larger stack trace that you can post? You may have compilation
errors in your rules.
Cheers,
Damian.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104254#4104254
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=r
if you are re-rendering from inside the loop (like you are) then you shouldn't
need to do anything:
|
|
|
|
|
|
|
|
|
| Note that the id is 'dayTimePanel'. When JSF renders this it
will assign incrementing IDs (something like j_xx:
Do you have you thirdPartyHelper in the Conversation scope (or Session). eg:
| @Name("thirdPartyHelper")
| @Scope(ScopeType.CONVERSATION)
If so then it could be that your suggestion action is taking too long and the
conversation is reset due to the concurrent-request-timeout. If you think tha
You can always include pages from outside 'view' with
eg:
Cheers,
Damian.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104014#4104014
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104014
__
Just put in a fixed id and JSF will generate a unique id. Ajax4jsf should
respect it too. Try checking the generated ids with firebug (or page source).
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104001#4104001
Reply to the post :
http://www.jboss.com/ind
Nor do I. I'm assuming that Hibernate is using this based on the
TemporalType.TIME.
I've asked this question on the Hibernate forums as well, but no answer there
yet.
Cheers,
Damian.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4103654#4103654
Reply to t
Cheers for the tip. I'll give it a go as well.
Is there any reason why @RequestParameter doesn't have a 'required' parameter
as well?
Cheers,
Damian.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4103185#4103185
Reply to the post :
http://www.jboss.com/i
Have you tried outjecting both copies into the Conversation context and then
just referencing them in the Bean backing the next page?
eg:
| @Out(ScopeType.CONVERSATION)
| Bean oldBean;
|
| @Out(ScopeType.CONVERSATION)
| Bean newBean;
Cheers,
Damian.
View the original post :
http://w
I've just tested this in my app and it does get set back to NULL in the
database. Post some of your code.
Cheers,
Damian.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4102865#4102865
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting
Posting your code always helps!
Cheers,
Damian.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4102858#4102858
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4102858
___
jboss
If you have the noSelection present and nothing is selected the value should be
null. Have you tested it? What value are you getting?
Cheers,
Damian.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4102650#4102650
Reply to the post :
http://www.jboss.com/ind
@RequestParameter doesn't have a 'required' attribute.
Cheers,
Damian.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4102437#4102437
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4102437
__
I have an entity with a field 'openTime' that is a MySQL TIME datatype.
Hibernate has converted this into an entity field as such:
@Temporal(TemporalType.TIME)
| @Column(name = "OPEN_TIME", length = 0)
| public Date getOpenTime() {
| return this.openTime;
| }
Meant to include that.
Mind you the problem I've had with @RequestParameter is that you can't use the
same Bean without providing it - ie. if it's not set then you get an error. How
have you overcome this?
Cheers,
Damian.
View the original post :
http://www.jboss.com/index.html?module=bb&op=
Have you tried right-clicking on the Test in Eclipse and going 'Run As ->
TestNG Test'?
Cheers,
Damian.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4102195#4102195
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4102
Have a look at injecting the FacesContext and the request parameter related
methods on the externalContext:
| @In FacesContext facesContext;
|
| private void hello() {
| Map parameters =
facesContext.getExternalContext().getRequestParameterMap();
| //or get the request itself
I haven't looked into the delegate/criteria stuff but my lazy-man's way of
doing this is:
| List customers = entityManager.createQuery("select c from
Customer as c "+
| " where c.customerId >= :minCustomerId"+
| " and c.customerId <= :maxCustomerId")
| .setParameter("minCustom
Looks like bacteria dividing. Could be the basis of a catchy slogan:
"Seam: spreads like salmonella!"
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101810#4101810
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101810
_
Are you trying to access a different Bean than what you have called the method
on? ie. your s:button called BeanA and you want to access properties of BeanB.
If so, then assuming BeanB has been outjected into the Conversation scope, you
just need to inject BeanB into your BeanA. eg in BeanA.java
I spent some time on the weekend looking at Ext integration with Seam using
JSON. I'd love to see your Seam Remoting approach. Are you able to post any
code?
Thanks,
Damian.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101697#4101697
Reply to the post :
The JSF/Ext project is called Lilya http://sharesource.org/project/lilya/. I
have...not (must avoid quotes...) used it so can...not comment.
When they get quotes working again people reading this thread will think that
I...am a nutter. Sigh.
Cheers,
Damian.
View the original post :
http://ww
Anyone else noticed that quotes are causing 404 errors in this forum?
Try previewing or submitting a post with any double or single quotes. Or is
this just everyone at my location?
Cheers,
Damian.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4100960#41009
Like Wesley, Im trying out the Flying Saucer renderer to generate PDFs but am
hitting the same issue. The PDF is generated but my entityManager is now null.
Also it looks like FS takes over rendering of the application somehow. I see
logging like this for every page component :
| 15:38:55,44
This is an easy option:
@In(value=#{identity.username})
| String username;
(had to remove double quotes as phpBB was choking on them for some reason)
Cheers,
Damian.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4100956#4100956
Reply to the post :
http:/
Stephan,
I'm facing a similar/same problem.
Can you please show some of your code, particularly around how you are using
the local variables.
Thanks,
Damian.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4100751#4100751
Reply to the post :
http://www.jbo
I've got a drop down with a list of all Countries (246). This is taking too
long to render on my page (roughly 4 seconds).
I've tried 4 different options:
1. Using s:selectItems and s:convertEntity
2. Using f:selectItems populated at login (session scoped)
3. Using a static list of f:selectItem(s
No worries.
[ur]http://jira.jboss.org/jira/browse/JBSEAM-2192[/url]
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4100627#4100627
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4100627
_
I had a bit of a performance problem with some pages that I have tracked back
to my use of '.containsKey()' on the Seam messages Abstract Map.
eg:
| @In
| Map messages; //This is the Seam messages bundle
|
| public void aMethod() {
|if(messages.containsKey("key.mykey")) {
|
1 - 100 of 341 matches
Mail list logo