| Author |
Message |
|
|
hi,
can anyone offer a suggestion on how we get around this interesting little problem?
we have a modal window confirmation box, when viewed using 800 x 600 resolution the confirm button in the dialog window is below the fold (i.e. out of sight!)
Scrolling down doesn't help as the modal box maintains center, we end up with a modal window that is bigger than the browser window.
Can we disable this and preserve the way it looks across browsers?
Cheers,
Troy
|
 |
|
|
Hi All,
We have found a bug in our application that I am not sure how to explain what is causing this.
Seam 2.1.1.GA
IceFaces 1.7.2.SP1
Apache 2.3 (using mod_jk to pass app requests through to jboss)
JBoss 4.2.3 (using AJP connector to listen to Apache WS)
If you hit the application page, then clear your cookies from browser.
Restart the browser.
Hit the application again (page loads)
Any interaction with the back end (button click, ajax interaction etc) will cause the invalid session error message.
Can anyone offer some advice on what this might be?
Cheers,
Troy
|
 |
|
|
Hi All,
Was wondering if anyone could provide some tips on how to optimise the selectInputText control?
Our client is not satisfied that this control is working correctly because we have a one second delay between entering a character and retrieving a list to select from. As you can probably imagine, when trying to constrain a list on user input this is not the best response.
Is there a way we could cache our data list on the client and leverage this?
The basic setup is user enters a postcode, suburb (autocomplete) then a street name (autocomplete).
Cheers,
Troy
|
 |
|
|
We found this in Jira as well
http://jira.icefaces.org/browse/ICE-3934
We are running JMeter scripts to cause our behaviour, this jira suggests it is IE7 specific?
Cheers,
Troy
|
 |
|
|
Hi All,
We deploy our application with the static content hosted on a fronting apache webserver and as such this needs a different context root.
We have externalised this path so we can configure for our development environments, test, uat and production which all require different context roots here.
When I output the stylesheets using the ice:outputStyle link
<ice:outputStyle href="#{configManager.staticFileContext}/stylesheet/pizza-hut-css.css" />
where the configManager.staticFileContext = '/order' and the application context is also '/order', i get the following rendered in the browser.
<link type="text/css" rel="stylesheet" href="/order/order/stylesheet/pizza-hut-css.css"/>
This doesn't seem to be rendering this value from the / root but rather from the root of the webapplication it is deployed in.
How can I set this up so that images and stylesheets live in a different context?
Cheers,
Troy
|
 |
|
|
Hi,
This was happening for us once we set the asynchronous mode off
<!-- Specifies to the ICEfaces framework that synchronous update mode is to be
used. By default, ICEfaces uses asynchronous update mode to support
server-initiated updates (AJAX push). Setting to true will enable
synchronous update mode and disable AJAX push features. -->
<context-param>
<param-name>com.icesoft.faces.synchronousUpdate</param-name>
<param-value>true</param-value>
</context-param>
When this was false we got the nice little session timed out message.
When this was true, session timeout behaviour was stack trace.
Cheers,
Troy
|
 |
|
|
The resulting html from the above field
<div class="iceSelInpTxt suburb" width="150" style="display: inline;" size="23" rows="10" autocomplete="on">
<input id="j_id134:customerDetails_suburbInput" class="iceSelInpTxtTxt suburbTxt" type="text" value="Suburb*" style="width: 150px;" onmousedown="this.focus();" onfocus="setFocus(this.id);" onblur="setFocus('');" name="j_id134:customerDetails_suburbInput" autocomplete="off"/>
<div id="j_id134:customerDetails_suburbInputautoCompleteDiv" class="iceSelInpTxtList suburbList" style="display: none;"/>
</div>
None of the javascript events are passed through to the field.
Is this by design?
Cheers,
Troy
|
 |
|
|
Hi All,
How can i get the inputSelectText to submit and get a list of values to display while the user is typing?
We have just run our application past some usability people and not a single one of them could submit the form, mainly due to the fact that you have to stop typing and wait for this list to populate.
What I wanted to do was once the user had entered three characters into the field to submit and return the list. This way, the drop down list would be available to them by the time they had finished typing.
I have tried some javascript on the keypress event that checks if the user has entered 3 characters and tries to submit the form.
<ice:selectInputText id="customerDetails_suburbInput"
size="23"
styleClass="suburb #{customerDetailsValidator.suburbIsValid ? '' : 'listBoxError-border'}"
style="display:inline"
value="#{customerDetails.suburb}"
onfocus="javascript:clearInput(this, '#{messages[matadorLiteConstants.suburbDefaultKey]}');"
onblur="javascript:populateWithDefault(this, '#{messages[matadorLiteConstants.suburbDefaultKey]}');"
onkeydown="javascript:if(this.value.length == 3) { alert('3 chars!!'); iceSubmitPartial(form,this,event); }"
valueChangeListener="#{locationHelper.suburbChanged}"
partialSubmit="true"
immediate="true">
<s:selectItems var="suburb"
value="#{suburbsForPostcode}"
label="#{suburb}"/>
</ice:selectInputText>
This is passed through to the be on the div tag, not the input field so it doesn't seem to fire.
Can anyone offer any suggestions on how to make this work in a more user friendly manner?
Cheers,
Troy
|
 |
|
|
1.7.2.SP1 also doesn't render onblur and onfocus javascript
|
 |
|
|
Hi Judy,
I was looking for a means of not displaying the main page name (main.seam) after the context root when you land.
We wanted the URL for the order page to appear www.host/order rather than www.host/order/main.seam
The solution I ended using here was the http://tuckey.org/urlrewrite/ that is basically a build of mod rewrite.
Worked like a charm. I was unaware of Seams capability to do this, will investigate once we go live (deadlines looming!) and hopefully get back on this.
Cheers,
Troy
|
 |
|
|
Hi,
My initial problem was that I was missing seam-ui dependency in the web project (was using EAR build).
As per judy's post, my requirements ensured that I needed to implement custom validators on each field. This was done with a combination of creating my own hibernate validators or simply validating in the seam layer.
Cheers,
Troy
|
 |
|
|
Hi Judy,
Checked this out and it seems to do this via a redirection from an index.html page. We don't want to do this as it apparently effects the way the page is indexed.
What we want to do is to have the context root /order go to our order page? i.e. not using /order/main.seam
I have tried this in the welcome-file-list element in the web.xml but it doesn't work, either if i try the main.seam or the main.xhtml.
Is it possible to do this?
Cheers,
Troy
|
 |
|
|
Hi,
I found this JIRA that mentions this, however the workaround here also doesn't seem to work
http://jira.icefaces.org/browse/ICE-3573
My error seems to be the same as this one here, http://www.icefaces.org/JForum/posts/list/8014.page however I think my web.xml is correct.
Cheers,
Troy
|
 |
|
|
Hi Judy,
Thanks for the update on this. Have found and am implementing.
Cheers,
Troy
|
 |
|
|
Hi All,
I found this in Jira, http://jira.icefaces.org/browse/ICE-1005
I am just wondering if anyone had a workaround for those of us that really would like an onfocus and an onblur javascript event on these fields?
Cheers,
Troy
|
 |
|
|